[Yum] header updates
Magnus Hebden-Smith
magnus at csl.co.uk
Thu Feb 12 15:27:42 UTC 2004
Hi
I think I'm closer to solving the problem, well finding a work around.
Today I have taken a fresh download of the Redhat 8 updates, ran the
yum-arch and it worked ! The only difference in this from previous
attempts is the place where I downloaded the files from.
Now seeing that this worked I compared it to my Redhat 9 dir where
yum-arch didn't work. The difference was ( as you suggested Seth )
links. It wasn't soft links though, it was hard links.
( ls -al of Redhat 8 dir where the yum-arch worked )
[root at devon 9]# ls -al ../8.0/en/os/i386/ | head -4
total 631316
drwxrwsr-x 2 504 503 16384 Jan 14 18:29 .
drwxrwsr-x 8 504 503 4096 Oct 7 2002 ..
-rw-rw-r-- 1 504 503 227321 Apr 28 2003
ark-3.0.5a-1.i386.rpm
-rw-rw-r-- 1 504 503 94325 Apr 21 2003
arpwatch-2.1a11-17.8.0.2.i386.rpm
-rw-rw-r-- 1 504 503 1186860 Apr 28 2003
( ls -al of Redhat 9 dir where the yum-arch didnt work )
[root at devon 9]# ls -al en/os/i386/ | head -4
total 216896
drwxrwsr-x 2 504 503 8192 Feb 12 02:03 .
drwxrwsr-x 8 504 503 4096 Feb 11 16:43 ..
-rw-rw-r-- 271 504 503 1236389 Feb 3 23:58
arpwatch-2.1a11-7.9.1.i386.rpm
-rw-rw-r-- 271 504 503 1236389 Feb 3 23:58
balsa-2.0.6-2.i386.rpm
The important number here was the 271 in the Redhat 9 dir tree. This
was telling me ( I think ) that there was 271 hard links to this file.
I took a copy of it used unlink on the file which deleted it :( The
copy howvever when copied back was correct with just 1 hardlink. This
now works in yum-arch.
My solution is to find a different download location for my headers..
Dont know why the files have so many hard links ?
Anyhow, have a sort of fix so I'm happy
cheers
mags
On Thu, 2004-02-12 at 14:04, Magnus Hebden-Smith wrote:
> Hi Seth
>
> Thanks for the reply.
>
> No there not symlinks.
>
> The yum-arch starts off like this
>
> [root at devon 9]# yum-arch -vv .
> Digesting rpm - XFree86-4.3.0-2.90.43.src.rpm - 1/273
> Digesting rpm - LPRng-3.8.19-3.1.src.rpm - 2/273
>
> Already found tuple: netpbm i386:
> en/os/SRPMS/LPRng-3.8.19-3.1.src.rpm
> Digesting rpm - cdrtools-2.0-11.9.1.src.rpm - 3/273
>
> Already found tuple: netpbm i386:
> en/os/SRPMS/cdrtools-2.0-11.9.1.src.rpm
> Digesting rpm - balsa-2.0.6-2.src.rpm - 4/273
>
> Already found tuple: netpbm i386:
> en/os/SRPMS/balsa-2.0.6-2.src.rpm
> Digesting rpm - bash-2.05b-20.1.src.rpm - 5/273
>
> ..and carries on for the rest of the rpms upto 273/273, where it says
> this....
>
> Already found tuple: netpbm i386:
> en/os/noarch/wl-2.10.1-1.1.noarch.rpm
> Digesting rpm - wl-common-2.10.1-1.1.noarch.rpm - 272/273
>
> Already found tuple: netpbm i386:
> en/os/noarch/wl-common-2.10.1-1.1.noarch.rpm
> Digesting rpm - wl-xemacs-2.10.1-1.1.noarch.rpm - 273/273
>
> Already found tuple: netpbm i386:
> en/os/noarch/wl-xemacs-2.10.1-1.1.noarch.rpm
>
> Total: 273
> Used: 272
> Src: 0
>
> Writing header.info file
>
> The header file is then empty.
>
> The version of yum is yum-2.0.4-1 on a Redhat 9 box
>
> Thanks
> mags
>
>
>
> On Thu, 2004-02-12 at 13:45, seth vidal wrote:
> > > I generated the header dir by executing
> > >
> > > yum-arch /var/www/html/yum/updates/redhat/9/
> > >
> > > This appears to do the right thing but my headers.info file is empty.
> > > My assumption is that this should get populated with the info needed to
> > > install the rpms for the clients.
> >
> > Are these files symlinks?
> > What output do you get when you run yum-arch
> > what about if you add a -v
> > what version of yum is this?
> >
> > -sv
> >
> >
> > _______________________________________________
> > Yum mailing list
> > Yum at lists.dulug.duke.edu
> > https://lists.dulug.duke.edu/mailman/listinfo/yum
>
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
More information about the Yum
mailing list