[Yum] Damaged Headers error

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

 



Hi Everyone, forgive me if this problem was addressed in previous
threads...I've been scouring around the old archives to see if other had
the same problem.  There were a lot of postings in regards to setting up a
local repository for a small network (which is what I am doing for the CS
dept here), but I haven't seen anyone with the
error messages I'm getting.  I hope you can help, I'll be as specific as
possible.  I am a student worker, learning the ropes, so if what I say
seems rudimentary it is more for my benefit.

Right now I am testing the package download with two machines.  Both the
rpm caching server and the workstation (that will download from the
caching server) are x86 arch, and fitted with RedHat 8.0.

Caching server: In the yum.conf, the settings are pretty much default,
except for the cachedir which I set it to /var/www/html/yum-repositiory/
I am using http as a transfer medium between the caching serv. and the
workstation.  When I run 'yum update', the headers from the Duke U
repositories download without problem.  I start the httpd daemon.

The structure of directory after download looks like this:
/var/www/html/yum-repository/header.info

/var/www/html/yum-repository/8.0 base/
/var/www/html/yum-repository/8.0 base/header.info
/var/www/html/yum-repository/8.0 base/headers/
/var/www/html/yum-repository/8.0 base/packages/

/var/www/html/yum-repository/8.0 updates/
/var/www/html/yum-repository/8.0 updates/header.info
/var/www/html/yum-repository/8.0 updates/headers/
/var/www/html/yum-repository/8.0 updates/packages/

Workstation: Here is the problem: I set the yum.conf file for the base and
updates to point to the local repositories in my caching server.  On the
server side, initially there
were syntax errors, until after looking over the log files, I noticed that
yum is attaching /headers/header.info to the end of my url.  I also
noticed that there are two header.info file, one in each the base and
update, and another one in the yum-repository directory.  I am not sure
which one is more accurate, so I picked the header.info in the individual
8.0 base and 8.0 updates, placed each individual header.info into the
./8.0 base/headers/ and ./8.0 updates/headers/ directories.

On the workstation side, the cachedir is default, which is
/var/cache/yum/.
Now the error I am getting is this for every headers:
**************START ERROR MESSAGES**************
...
getting /var/cache/yum/base/headers/vsftpd-0-1.1.0-1.i386.hdr
Damaged Header /var/cache/yum/base/headers/vsftpd-0-1.1.0-1.i386.hdr
damaged header /var/cache/yum/base/headers/vsftpd-0-1.1.0-1.i386.hdr try -
1
getting /var/cache/yum/base/headers/vsftpd-0-1.1.0-1.i386.hdr
Damaged Header /var/cache/yum/base/headers/vsftpd-0-1.1.0-1.i386.hdr
damaged header /var/cache/yum/base/headers/vsftpd-0-1.1.0-1.i386.hdr try -
2
getting /var/cache/yum/base/headers/vsftpd-0-1.1.0-1.i386.hdr
Damaged Header /var/cache/yum/base/headers/vsftpd-0-1.1.0-1.i386.hdr
damaged header /var/cache/yum/base/headers/vsftpd-0-1.1.0-1.i386.hdr try -
3
...

nulist = 840
uplist = 137
newlist = 703
obslist = 0
Resolving dependencies
IOError - # 2 - No such file or directory
******************END ERROR MESSAGES***************

When I look into the /var/cache/yum directory on the workstation I see
that the headers were downloaded...whether they are corrupted or not I
don't know how to check for that.  Can you explain to me what the errors
mean?

Ultimately, I would like to be able to cache the packages themselves
without installing them, because eventually the caching server will be
caching packages for different RH distros.  I read on one of the archives
where Seth Vidal suggested using rsync to safely download the
packages...but I'm still learning to grasp that command.  But oh well, one problem at a time...

I looked around for a yum HOWTO on setting up caching servers,,,did I miss
one while browsing through the archives?

Thanks for your patience,
Theresa




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux