Re: rpm problem

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

 



On Wed, 2005-08-24 at 10:17 -0600, Ashley M. Kirchner wrote:
>     I keep a local mirror of all the released updates.  Then I log in to 
> each machine that needs updating, do an NFS mount of the storage server 
> containing the updates and run 'rpm -Fvh *.rpm'.  This works for all of 
> my FC3 machines.  However, recently I started having problems with my 
> FC4 ones:
> 
>     [3] $> mount -t nfs -o rw,hard,intr storage:/storage /mnt/storage
>     [4] $> cd /mnt/storage/RH/Updates/4/
>     [5] /mnt/storage/RH/Updates/4/ $> rpm -Fvh i386/*.rpm
>     warning: package glibc = 2.3.5-10.3 was already added, skipping 
> glibc < 2.3.5-10.3
>     error: error reading from file i386/glibc-2.3.5-10.3.i686.rpm
>     [6] /mnt/storage/RH/Updates/4/ $>
> 
>     Trying to install just glibc-2.3.5-10.3.i686.rpm, I get the 
> following errors:
> 
>     [15] /mnt/storage/RH/Updates/4/ $> rpm -Fvh 
> i386/glibc-2.3.5-10.3.i686.rpm
>     error: Failed dependencies:
>         glibc-common = 2.3.5-10.3 is needed by glibc-2.3.5-10.3.i686
>         glibc = 2.3.5-10 is needed by (installed) 
> glibc-headers-2.3.5-10.i386
>         glibc = 2.3.5-10 is needed by (installed) glibc-devel-2.3.5-10.i386
> 
> 
>     Looking at currently installed packages for glibc, I have:
> 
>     [20] $> cat /var/log/rpm/rpmpkgs | grep glibc
>     glibc-2.3.5-10.i686.rpm
>     glibc-common-2.3.5-10.i386.rpm
>     glibc-devel-2.3.5-10.i386.rpm
>     glibc-headers-2.3.5-10.i386.rpm
>     glibc-kernheaders-2.4-9.1.94.i386.rpm
> 
> 
>     Looking at what's in the update mirror for glibc, I find:
> 
>     [23] $> ls -l /mnt/storage/RH/Updates/4/i386/glibc-*
>     -rw-rw-r--  1 60001 537  4436547 Aug 23 12:07 
> i386/glibc-2.3.5-10.3.i386.rpm
>     -rw-rw-r--  1 60001 537  5997620 Aug 23 12:07 
> i386/glibc-2.3.5-10.3.i686.rpm
>     -rw-rw-r--  1 60001 537 15323069 Aug 23 12:07 
> i386/glibc-common-2.3.5-10.3.i386.rpm
>     -rw-rw-r--  1 60001 537  2026880 Aug 23 12:07 
> i386/glibc-devel-2.3.5-10.3.i386.rpm
>     -rw-rw-r--  1 60001 537   610014 Aug 23 12:07 
> i386/glibc-headers-2.3.5-10.3.i386.rpm
>     -rw-rw-r--  1 60001 537  1114586 Aug 23 12:07 
> i386/glibc-profile-2.3.5-10.3.i386.rpm
>     -rw-rw-r--  1 60001 537   102815 Aug 23 12:07 
> i386/glibc-utils-2.3.5-10.3.i386.rpm
> 
> 
>     Now, if I try to install the i386 version of the same rpm, it works 
> just fine.  So, why does it fail with the i686 one?  I've already ruled 
> out corruption and/or server or connection problems.  I've even 
> redownloaded the entire mirror (from a different mirror-source) on the 
> local FC4 machine, just to try and got the same problem.
> 
>     Anyone have any light to shed here?

See if this works:
cd /mnt/storage/RH/Updates/4/i386
# rpm -Uvh \
glibc-2.3.5-10.3.i686.rpm \
glibc-common-2.3.5-10.3.i386.rpm \
glibc-devel-2.3.5-10.3.i386.rpm \
glibc-headers-2.3.5-10.3.i386.rpm

If you've mirrored the "repodata" directory along with the packages
themselves, you could actually use yum:

/etc/yum/repos.d/fedora-updates.repo:

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
baseurl=file:///mnt/storage/RH/Updates/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

"yum update" would then get updates from your mirror.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux