Koozali.org: home of the SME Server

Yum - revisited (sorry)

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Yum - revisited (sorry)
« on: September 03, 2007, 03:21:17 PM »
Hi all.

Rather new, but not too doff.  I can't remember if my 7.2 updated properly the 1st time, but for the past 2 weeks it's been hung up on "Header is not complete"
Now I *have* trawled the forums - this is not a new issue.I have done what some others suggested:
# yum update
also this:
# yum update --disablerepo=* --enablerepo=smeos --enablerepo=smeaddons --enablerepo=smeupdates

I get the same result every time : [Error 1] "Header is not complete"

I'm worried - the server won't update!
If anyone sorted out a similar issue, would you PLEEZE let me know?
SME Server is a fantastic product - thank you!

Offline jonic

  • *
  • 103
  • +1/-0
Re: Yum - revisited (sorry)
« Reply #1 on: September 03, 2007, 04:17:47 PM »

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Yum - revisited (sorry)
« Reply #2 on: September 03, 2007, 04:44:54 PM »
Hi, Jonic,
I followed the instructions you referred me to on "Updating to SME 7.2", although I had done a fresh install from CD.
I have successfully used the same CD in the past.
This is what happened - clearly the error was not resolved.
The update is downloaded 4 times, each time failing on "Header is not complete". Frustrating:

<cut>
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package perl-File-MMagic.noarch 0:1.27-2.el4 set to be updated
---> Package perl-LDAP.noarch 0:0.34-1.el4.rf set to be updated
---> Package perl-Log-Agent.noarch 0:0.307-1.el4.rf set to be updated
---> Package perl-Net-Server.noarch 0:0.97-1.el4.rf set to be updated
---> Package bind-libs.i386 20:9.2.4-27.0.1.el4 set to be updated
---> Package perl-Clone.i386 0:0.27-1.el4 set to be updated
---> Package perl-Crypt-OpenSSL-RSA.i386 0:0.25-1.el4.rf set to be updated
---> Package tar.i386 0:1.14-12.5.1.RHEL4 set to be updated
---> Package clamd.i386 0:0.91.2-1.el4.rf set to be updated
---> Package ocrad.i386 0:0.17-1.el4.rf set to be updated
---> Package perl-Error.noarch 0:0.17008-2.el4.rf set to be updated
---> Package vixie-cron.i386 4:4.1-49.EL4 set to be updated
---> Package perl-GSSAPI.i386 0:0.24-1.el4.rf set to be updated
---> Downloading header for mysql-server to pack into transaction set.
mysql-server-4.1.20-2.RHE 100% |=========================| 9.8 MB    05:19     
http://centosl.centos.org/centos/4.5/updates/i386/RPMS/mysql-server-4.1.20-2.RHEL4.1.0.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
<cut>

Regards,
SME Server is a fantastic product - thank you!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Yum - revisited (sorry)
« Reply #3 on: September 03, 2007, 09:42:07 PM »
ardugh
Quote
..."Header is not complete"...
...Now I *have* trawled the forums...

That's not the only/best place to search anymore as all/most bugs are reported to the bug tracker.

Go here
http://bugs.contribs.org/ (you do not need to login to search, but you do need to login to post or comment)
click on Advanced (near the top)
In the Products field select SME Server Release 7.x
In the Summary field select contains all of the words/strings
In the search string field type
Header complete
Click Search

which finds
http://bugs.contribs.org/show_bug.cgi?id=2978

If that doesn't resolve your problem (ie wait a day), then please confirm in server manager Software installer panel that only the correct repositories are enabled (highlighted) ie as per the link given earlier) and also run yum clean all, and if still not updating then lodge a bug report.
...

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Yum - revisited (sorry)
« Reply #4 on: September 03, 2007, 11:20:25 PM »
Thanks, RayMitchell

I tried the advice given by the bug report - it didn't resolve the problem.
I registered with bug tracker & was about to file a new bug when I remembered a poster said he fetched the updates manually and did a local install. Well, I tried the 1st one that yum was barfing on: clamav-db-0.91.2-1.el4.rf.i386.rpm

I was able to wget the file from the 1st mirror: http://mirror.pacific.net.au/linux/smeserver/releases/7/smeupdates/i386/RPMS/
(Yum had said the "Header is not complete", trying another mirror)
Did local install followed by signal-event post-upgrade; signal-event reboot and yum update.
This time yum update completed successfully  :D
Looks like clamav-db had to complete before yum could proceed? Anyway, no point in filing a bug if my issue is resolved?

Best regards.
SME Server is a fantastic product - thank you!