List Info

Thread: Interesting Centos 4.5 yum weirdness.




Interesting Centos 4.5 yum weirdness.
user name
2007-09-05 15:52:44
I can't make heads or tails of this:

# rm -rf /var/cache/yum/*

# yum check-update
Setting up repositories
dries                     100% |=========================| 
951 B    00:00
fasttrack                 100% |=========================| 
951 B    00:00
csgfs                     100% |=========================| 
951 B    00:00
extras                    100% |=========================|
1.1 kB    00:00
maze                      100% |=========================| 
951 B    00:00
dag                       100% |=========================|
1.1 kB    00:00
2X                        100% |=========================| 
951 B    00:00
update                    100% |=========================| 
951 B    00:00
base                      100% |=========================|
1.1 kB    00:00
2X-extra                  100% |=========================| 
951 B    00:00
addons                    100% |=========================| 
951 B    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|
1.0 MB    00:00
dries     :
##################################################
4548/4548
Added 4548 new packages, deleted 0 old in 18.91 seconds
primary.xml.gz            100% |=========================| 
15 kB    00:00
fasttrack :
################################################## 33/33
Added 33 new packages, deleted 0 old in 0.24 seconds
primary.xml.gz            100% |=========================| 
21 kB    00:00
csgfs     :
################################################## 137/137
Added 137 new packages, deleted 0 old in 0.49 seconds
primary.xml.gz            100% |=========================| 
52 kB    00:00
extras    :
################################################## 212/212
Added 212 new packages, deleted 0 old in 1.04 seconds
primary.xml.gz            100% |=========================| 
77 kB    00:00
maze      :
################################################## 371/371
Added 371 new packages, deleted 0 old in 1.42 seconds
primary.xml.gz            100% |=========================|
1.6 MB    00:00
dag       :
##################################################
6897/6897
Added 6897 new packages, deleted 0 old in 38.10 seconds
primary.xml.gz            100% |=========================|
5.0 kB    00:00
2X        :
################################################## 10/10
Added 10 new packages, deleted 0 old in 0.20 seconds
primary.xml.gz            100% |=========================| 
95 kB    00:00
update    :
################################################## 304/304
Added 304 new packages, deleted 0 old in 2.23 seconds
primary.xml.gz            100% |=========================|
580 kB    00:00
base      :
##################################################
1518/1518
Added 1518 new packages, deleted 0 old in 9.47 seconds
primary.xml.gz            100% |=========================|
1.2 kB    00:00
2X-extra  :
################################################## 2/2
Added 2 new packages, deleted 0 old in 0.01 seconds
primary.xml.gz            100% |=========================| 
157 B    00:00
Added 0 new packages, deleted 0 old in 0.01 seconds

perl-TermReadKey.i386                    2.30-8             
   maze
[roottcs ~]# yum update
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages.
Please wait.
---> Downloading header for perl-Term-ReadKey to pack
into transaction set.
perl-Term-ReadKey-2.30-2. 100% |=========================|
3.9 kB    00:00
---> Package perl-Term-ReadKey.i386 0:2.30-2.2.el4.rf set
to be updated
--> Running transaction check

Dependencies Resolved

============================================================
=================
 Package                 Arch       Version         
Repository        Size
============================================================
=================
Installing:
 perl-Term-ReadKey       i386       2.30-2.2.el4.rf  dries  
           30 k
     replacing  perl-TermReadKey.i386 2.30-3.el4.rf


Transaction Summary
============================================================
=================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 30 k
Is this ok [y/N]: n
Exiting on user Command
Complete!

# cat /etc/redhat-release
CentOS release 4.5 (Final)

#

Note the apparent disagreement between update and
check-update about
what will actually be done (and no nothing has changed on
the
repositories in the mean-time, I've rerun it and cleared the
yum cache
and the problem persists).

Is check-update using different logic than update?

Maciej
_______________________________________________
CentOS-devel mailing list
CentOS-develcentos.org
http://lists.centos.org/mailman/listinfo/centos-devel

Re: Interesting Centos 4.5 yum weirdness.
country flaguser name
Denmark
2007-09-06 03:44:48
Maciej Żenczykowski wrote:
> I can't make heads or tails of this:
>
> # rm -rf /var/cache/yum/*
>
> # yum check-update
> Setting up repositories
> dries                     100%
|=========================|  951 B    00:00
> fasttrack                 100%
|=========================|  951 B    00:00
> csgfs                     100%
|=========================|  951 B    00:00
> extras                    100%
|=========================| 1.1 kB    00:00
> maze                      100%
|=========================|  951 B    00:00
> dag                       100%
|=========================| 1.1 kB    00:00
> 2X                        100%
|=========================|  951 B    00:00
> update                    100%
|=========================|  951 B    00:00
> base                      100%
|=========================| 1.1 kB    00:00
> 2X-extra                  100%
|=========================|  951 B    00:00
> addons                    100%
|=========================|  951 B    00:00
> Reading repository metadata in from local files
> primary.xml.gz            100%
|=========================| 1.0 MB    00:00
> dries     :
##################################################
4548/4548
> Added 4548 new packages, deleted 0 old in 18.91
seconds
> primary.xml.gz            100%
|=========================|  15 kB    00:00
> fasttrack :
################################################## 33/33
> Added 33 new packages, deleted 0 old in 0.24 seconds
> primary.xml.gz            100%
|=========================|  21 kB    00:00
> csgfs     :
################################################## 137/137
> Added 137 new packages, deleted 0 old in 0.49 seconds
> primary.xml.gz            100%
|=========================|  52 kB    00:00
> extras    :
################################################## 212/212
> Added 212 new packages, deleted 0 old in 1.04 seconds
> primary.xml.gz            100%
|=========================|  77 kB    00:00
> maze      :
################################################## 371/371
> Added 371 new packages, deleted 0 old in 1.42 seconds
> primary.xml.gz            100%
|=========================| 1.6 MB    00:00
> dag       :
##################################################
6897/6897
> Added 6897 new packages, deleted 0 old in 38.10
seconds
> primary.xml.gz            100%
|=========================| 5.0 kB    00:00
> 2X        :
################################################## 10/10
> Added 10 new packages, deleted 0 old in 0.20 seconds
> primary.xml.gz            100%
|=========================|  95 kB    00:00
> update    :
################################################## 304/304
> Added 304 new packages, deleted 0 old in 2.23 seconds
> primary.xml.gz            100%
|=========================| 580 kB    00:00
> base      :
##################################################
1518/1518
> Added 1518 new packages, deleted 0 old in 9.47 seconds
> primary.xml.gz            100%
|=========================| 1.2 kB    00:00
> 2X-extra  :
################################################## 2/2
> Added 2 new packages, deleted 0 old in 0.01 seconds
> primary.xml.gz            100%
|=========================|  157 B    00:00
> Added 0 new packages, deleted 0 old in 0.01 seconds
>
> perl-TermReadKey.i386                    2.30-8        
        maze
> [roottcs ~]# yum update
> Setting up Update Process
> Setting up repositories
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected
packages. Please wait.
> ---> Downloading header for perl-Term-ReadKey to
pack into transaction set.
> perl-Term-ReadKey-2.30-2. 100%
|=========================| 3.9 kB    00:00
> ---> Package perl-Term-ReadKey.i386
0:2.30-2.2.el4.rf set to be updated
> --> Running transaction check
>
> Dependencies Resolved
>
>
============================================================
=================
>  Package                 Arch       Version         
Repository        Size
>
============================================================
=================
> Installing:
>  perl-Term-ReadKey       i386       2.30-2.2.el4.rf 
dries              30 k
>      replacing  perl-TermReadKey.i386 2.30-3.el4.rf
>
>
> Transaction Summary
>
============================================================
=================
> Install      1 Package(s)
> Update       0 Package(s)
> Remove       0 Package(s)
> Total download size: 30 k
> Is this ok [y/N]: n
> Exiting on user Command
> Complete!
>
> # cat /etc/redhat-release
> CentOS release 4.5 (Final)
>
> #
>
> Note the apparent disagreement between update and
check-update about
> what will actually be done (and no nothing has changed
on the
> repositories in the mean-time, I've rerun it and
cleared the yum cache
> and the problem persists).
>
> Is check-update using different logic than update?
>   
Yes, it does.
checkupdate only checks updates based on the repositoty

updates does depsolving, that handles the obsoleting you are
seeing.
In most cases you will see the same result but in this case
the

perl-TermReadKey 2.30-3 -> 2.30-8 update detected by yum
checkupdate 

is overruled by the perl-Term-ReadKey obsoleting
perl-TermReadKey
 when doing the 'yum update'

Tim


> Maciej
> _______________________________________________
> CentOS-devel mailing list
> CentOS-develcentos.org
> http://lists.centos.org/mailman/listinfo/centos-devel
>   

_______________________________________________
CentOS-devel mailing list
CentOS-develcentos.org
http://lists.centos.org/mailman/listinfo/centos-devel

Re: Interesting Centos 4.5 yum weirdness.
user name
2007-09-06 04:30:31
Ah, okay, thanks for explaining it to me.

On 9/6/07, Tim Lauridsen <tlarasmil.dk> wrote:
> Maciej Żenczykowski wrote:
> > I can't make heads or tails of this:
> >
> > # rm -rf /var/cache/yum/*
> >
> > # yum check-update
> > Setting up repositories
> > dries                     100%
|=========================|  951 B    00:00
> > fasttrack                 100%
|=========================|  951 B    00:00
> > csgfs                     100%
|=========================|  951 B    00:00
> > extras                    100%
|=========================| 1.1 kB    00:00
> > maze                      100%
|=========================|  951 B    00:00
> > dag                       100%
|=========================| 1.1 kB    00:00
> > 2X                        100%
|=========================|  951 B    00:00
> > update                    100%
|=========================|  951 B    00:00
> > base                      100%
|=========================| 1.1 kB    00:00
> > 2X-extra                  100%
|=========================|  951 B    00:00
> > addons                    100%
|=========================|  951 B    00:00
> > Reading repository metadata in from local files
> > primary.xml.gz            100%
|=========================| 1.0 MB    00:00
> > dries     :
################################################## 4548/4548
> > Added 4548 new packages, deleted 0 old in 18.91
seconds
> > primary.xml.gz            100%
|=========================|  15 kB    00:00
> > fasttrack :
################################################## 33/33
> > Added 33 new packages, deleted 0 old in 0.24
seconds
> > primary.xml.gz            100%
|=========================|  21 kB    00:00
> > csgfs     :
################################################## 137/137
> > Added 137 new packages, deleted 0 old in 0.49
seconds
> > primary.xml.gz            100%
|=========================|  52 kB    00:00
> > extras    :
################################################## 212/212
> > Added 212 new packages, deleted 0 old in 1.04
seconds
> > primary.xml.gz            100%
|=========================|  77 kB    00:00
> > maze      :
################################################## 371/371
> > Added 371 new packages, deleted 0 old in 1.42
seconds
> > primary.xml.gz            100%
|=========================| 1.6 MB    00:00
> > dag       :
################################################## 6897/6897
> > Added 6897 new packages, deleted 0 old in 38.10
seconds
> > primary.xml.gz            100%
|=========================| 5.0 kB    00:00
> > 2X        :
################################################## 10/10
> > Added 10 new packages, deleted 0 old in 0.20
seconds
> > primary.xml.gz            100%
|=========================|  95 kB    00:00
> > update    :
################################################## 304/304
> > Added 304 new packages, deleted 0 old in 2.23
seconds
> > primary.xml.gz            100%
|=========================| 580 kB    00:00
> > base      :
################################################## 1518/1518
> > Added 1518 new packages, deleted 0 old in 9.47
seconds
> > primary.xml.gz            100%
|=========================| 1.2 kB    00:00
> > 2X-extra  :
################################################## 2/2
> > Added 2 new packages, deleted 0 old in 0.01
seconds
> > primary.xml.gz            100%
|=========================|  157 B    00:00
> > Added 0 new packages, deleted 0 old in 0.01
seconds
> >
> > perl-TermReadKey.i386                    2.30-8   
             maze
> > [roottcs ~]# yum update
> > Setting up Update Process
> > Setting up repositories
> > Reading repository metadata in from local files
> > Resolving Dependencies
> > --> Populating transaction set with selected
packages. Please wait.
> > ---> Downloading header for perl-Term-ReadKey
to pack into transaction set.
> > perl-Term-ReadKey-2.30-2. 100%
|=========================| 3.9 kB    00:00
> > ---> Package perl-Term-ReadKey.i386
0:2.30-2.2.el4.rf set to be updated
> > --> Running transaction check
> >
> > Dependencies Resolved
> >
> >
============================================================
=================
> >  Package                 Arch       Version       
  Repository        Size
> >
============================================================
=================
> > Installing:
> >  perl-Term-ReadKey       i386      
2.30-2.2.el4.rf  dries              30 k
> >      replacing  perl-TermReadKey.i386
2.30-3.el4.rf
> >
> >
> > Transaction Summary
> >
============================================================
=================
> > Install      1 Package(s)
> > Update       0 Package(s)
> > Remove       0 Package(s)
> > Total download size: 30 k
> > Is this ok [y/N]: n
> > Exiting on user Command
> > Complete!
> >
> > # cat /etc/redhat-release
> > CentOS release 4.5 (Final)
> >
> > #
> >
> > Note the apparent disagreement between update and
check-update about
> > what will actually be done (and no nothing has
changed on the
> > repositories in the mean-time, I've rerun it and
cleared the yum cache
> > and the problem persists).
> >
> > Is check-update using different logic than update?
> >
> Yes, it does.
> checkupdate only checks updates based on the repositoty
>
> updates does depsolving, that handles the obsoleting
you are seeing.
> In most cases you will see the same result but in this
case
> the
>
> perl-TermReadKey 2.30-3 -> 2.30-8 update detected by
yum checkupdate
>
> is overruled by the perl-Term-ReadKey obsoleting
perl-TermReadKey
>  when doing the 'yum update'
>
> Tim
>
>
> > Maciej
> > _______________________________________________
> > CentOS-devel mailing list
> > CentOS-develcentos.org
> > http://lists.centos.org/mailman/listinfo/centos-devel
> >
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-develcentos.org
> http://lists.centos.org/mailman/listinfo/centos-devel
>
_______________________________________________
CentOS-devel mailing list
CentOS-develcentos.org
http://lists.centos.org/mailman/listinfo/centos-devel

Re: Interesting Centos 4.5 yum weirdness.
country flaguser name
Belgium
2007-09-10 08:34:46
ON THURSDAY SEPTEMBER 6 2007, MACIEJ ?ENCZYKOWSKI WROTE:
> AH, OKAY, THANKS FOR EXPLAINING IT TO ME.
>
> ON 9/6/07, TIM LAURIDSEN <TLARASMIL.DK> WROTE:
> > MACIEJ ?ENCZYKOWSKI WROTE:
> > > I CAN'T MAKE HEADS OR TAILS OF THIS:
> > >
> > > # RM -RF /VAR/CACHE/YUM/*
> > >
> > > # YUM CHECK-UPDATE

[.....]

> > >====== INSTALLING:
> > >  PERL-TERM-READKEY       I386      
2.30-2.2.EL4.RF  DRIES             
> > > 30 K REPLACING  PERL-TERMREADKEY.I386
2.30-3.EL4.RF

[...]

> > >
> > > NOTE THE APPARENT DISAGREEMENT BETWEEN UPDATE
AND CHECK-UPDATE ABOUT
> > > WHAT WILL ACTUALLY BE DONE (AND NO NOTHING
HAS CHANGED ON THE
> > > REPOSITORIES IN THE MEAN-TIME, I'VE RERUN IT
AND CLEARED THE YUM CACHE
> > > AND THE PROBLEM PERSISTS).
> > >
> > > IS CHECK-UPDATE USING DIFFERENT LOGIC THAN
UPDATE?
> >
> > YES, IT DOES.
> > CHECKUPDATE ONLY CHECKS UPDATES BASED ON THE
REPOSITOTY
> >
> > UPDATES DOES DEPSOLVING, THAT HANDLES THE
OBSOLETING YOU ARE SEEING.
> > IN MOST CASES YOU WILL SEE THE SAME RESULT BUT IN
THIS CASE
> > THE
> >
> > PERL-TERMREADKEY 2.30-3 -> 2.30-8 UPDATE
DETECTED BY YUM CHECKUPDATE
> >
> > IS OVERRULED BY THE PERL-TERM-READKEY OBSOLETING
PERL-TERMREADKEY
> >  WHEN DOING THE 'YUM UPDATE'

HELLO,
THE 'PROBLEM' SHOULD BE FIXED NOW: I DELETED THE
PERL-TERM-READKEY RPMS SOME 
DAYS AGO WHEN I RECEIVED ALMOST THE SAME ERROR REPORT  THEY'RE
OBSOLETED BY 
THE PERL-TERMREADKEY PACKAGE.
KIND REGARDS,
DRIES
_______________________________________________
CENTOS-DEVEL MAILING LIST
CENTOS-DEVELCENTOS.ORG
HTTP://LISTS.CENTOS.ORG/MAILMAN/LISTINFO/CENTOS-DEVEL

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )