[CentOS-devel] Interesting Centos 4.5 yum weirdness.

Maciej Żenczykowski zenczykowski at gmail.com
Thu Sep 6 09:30:31 UTC 2007


Ah, okay, thanks for explaining it to me.

On 9/6/07, Tim Lauridsen <tla at rasmil.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
> > [root at tcs ~]# 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-devel at centos.org
> > http://lists.centos.org/mailman/listinfo/centos-devel
> >
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> http://lists.centos.org/mailman/listinfo/centos-devel
>


More information about the CentOS-devel mailing list