Re: Update issue - tar package problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> The issue seems to be that the package tar was somehow removed from your
> system.
>
> When you tried to update, the system saw that the package tar was
> removed from the system and that it was required by the "already
> installed" package redhat-lsb.
>
> This means that somehow, someone removed the package tar without regard
> for its dependencies ... creating several packages that had unmet
> dependency for tar in the rpm database.
>
> When adding packages, Yum can do two things ... install or update ...
> and it does each differently.
>
> When you "update" (even an individual package), yum is going to verify
> all the dependencies are met as well as to update the package.  In this
> case it was confused about the missing dependency that was somehow
> created by a forced removal.
>
> When you do an install (or localinstall), yum only tries to meet the
> dependencies for single package being installed, not all the
> dependencies for the entire rpm database plus the package being updated
> ... so it did not see that the already installed redhat-lsb package does
> not have  all its dependencies met.
>
> After tar is installed, all dependencies are met for redhat-lsb, so an
> update works fine.
>
> The problem all along is that someone did a force removal of tar (at
> least from the rpm database) with a --nodeps switch, thus creating a
> system with missing dependencies.
>
> The lesson is ... don't force remove packages manually unless you plan
> to repair the situation manually as well.

thanks for the response - tar has definately not been removed!

# rpm -q tar
tar-1.15.1-30.el5

# yum info tar
Loaded plugins: downloadonly, fastestmirror, rhnplugin
Loading mirror speeds from cached hostfile
Installed Packages
Name       : tar
Arch       : x86_64
Epoch      : 2
Version    : 1.15.1
Release    : 30.el5
Size       : 1.6 M
Repo       : installed
Summary    : A GNU file archiving program.
URL        : http://www.gnu.org/software/tar/
License    : GPL
Description: The GNU tar program saves many files together in one
archive and can
           : restore individual files (or all of the files) from that
archive. Tar
           : can also be used to add supplemental files to an archive
and to update
           : or list files in the archive. Tar includes multivolume support,
           : automatic archive compression/decompression, the ability to perform
           : remote archives, and the ability to perform incremental and full
           : backups.
           :
           : If you want to use tar for remote backups, you also need to install
           : the rmt package.

Available Packages
Name       : tar
Arch       : x86_64
Epoch      : 2
Version    : 1.15.1
Release    : 32.el5_8
Size       : 748 k
Repo       : centos-5-x86_64-01062012
Summary    : A GNU file archiving program
License    : GPL
Description: The GNU tar program saves many files together in one
archive and can
           : restore individual files (or all of the files) from that
archive. Tar
           : can also be used to add supplemental files to an archive
and to update
           : or list files in the archive. Tar includes multivolume support,
           : automatic archive compression/decompression, the ability to perform
           : remote archives, and the ability to perform incremental and full
           : backups.
           :
           : If you want to use tar for remote backups, you also need to install
           : the rmt package.

i know it seems like yum thinks its not there, but it is, This happens
on multiple systems also.

thanks
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux