LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-04-2008, 08:29 AM   #1
i_nomad
Member
 
Registered: Mar 2008
Distribution: RedHatES4
Posts: 144

Rep: Reputation: 15
Up2date generating error


Can someone please help. I have done an update -u the following error is seen:
...
rpm-4.3.3-26_nonptl.x86_64. ########################## Done.
rpm-build-4.3.3-26_nonptl.x ########################## Done.
rpm-devel-4.3.3-26_nonptl.x ########################## Done.
rpm-libs-4.3.3-26_nonptl.x8 ########################## Done.
rpm-python-4.3.3-26_nonptl. ########################## Done.
error: rpmts_HdrFromFdno: MD5 digest: BAD Expected(a5053f4848784dc2f91fc6c968e93bc7) != (583f7f9045b3949267bfaa4382272ca 2)
rpmdb-redhat-4-0.20080711.x An error has occurred:
rhn.rpclib.InvalidRedirectionError
See /var/log/up2date for more information

/var/log/up2date:

[Thu Sep 4 14:24:59 2008] up2date updating login info
[Thu Sep 4 14:24:59 2008] up2date logging into up2date server
[Thu Sep 4 14:25:00 2008] up2date successfully retrieved authentication token from up2date server
[Thu Sep 4 14:25:00 2008] up2date availablePackageList from network
[Thu Sep 4 14:25:18 2008] up2date File "/usr/sbin/up2date", line 1312, in ?
sys.exit(main() or 0)
File "/usr/sbin/up2date", line 813, in main
fullUpdate, dryRun=options.dry_run))
File "/usr/sbin/up2date", line 1160, in batchRun
batch.run()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 93, in run
self.__getPackages()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 225, in __getPackages
up2date.getPackage(pkg, wrapperUtils.printPkg, wrapperUtils.printRetrieveHash)
File "/usr/share/rhn/up2date_client/up2date.py", line 180, in getPackage
buf = rpcServer.doCall(repos.getPackage, pkg, msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 238, in doCall
ret = apply(method, args, kwargs)
File "/usr/share/rhn/up2date_client/repoDirector.py", line 37, in getPackage
return self.handlers[channel['type']].getPackage(pkg, msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/rpmSource.py", line 186, in getPackage
package = source.getPackage(pkg, MsgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/repoBackends/up2dateRepo.py", line 201, in getPackage
fd = self.s.getPackage(channel, filename, offset=startpoint)
File "/usr/lib/python2.3/site-packages/rhn/rpclib.py", line 622, in __call__
result = self._send(self._name, args)
File "/usr/lib/python2.3/site-packages/rhn/rpclib.py", line 290, in _request
raise InvalidRedirectionError("Too many redirects")

Can someone give me any indications as to how to resolve this.

Regards
 
Old 09-04-2008, 04:44 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Moved: This thread is more suitable in Red Hat and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 09-04-2008, 04:51 PM   #3
misconfiguration
Member
 
Registered: Apr 2007
Location: Indianapolis, Indiana
Distribution: RHEL, Fedora, AIX, HP-UX, FreeBSD, Slackware
Posts: 62

Rep: Reputation: 19
I'm having the same issues on RHEL 4 AS, I am trying to update kernel and kernel-devel. May be an issue with RedHat, did you happen to cntrl-c while up2date was running? I've seen that break up2date as well.
 
Old 09-05-2008, 02:34 AM   #4
i_nomad
Member
 
Registered: Mar 2008
Distribution: RedHatES4
Posts: 144

Original Poster
Rep: Reputation: 15
I had a vpn session into the server and on the local machine I clicked on an icon..maybe that is related.
I tied updating the kernel, rebooting and running update and the same error appears.

Last edited by i_nomad; 09-05-2008 at 02:54 AM.
 
Old 09-06-2008, 07:17 AM   #5
misconfiguration
Member
 
Registered: Apr 2007
Location: Indianapolis, Indiana
Distribution: RHEL, Fedora, AIX, HP-UX, FreeBSD, Slackware
Posts: 62

Rep: Reputation: 19
I have submitted a trouble ticket with Red Hat, I will let you know when my issue is resolved.
 
Old 09-10-2008, 03:16 AM   #6
Aristarque
LQ Newbie
 
Registered: Sep 2003
Location: Brussels, Belgium
Distribution: fedora, RedHat, Suse and much more
Posts: 4

Rep: Reputation: 0
Lightbulb

Hello,

I had the same problem, the cause was a ctrl-c that stopped the up2date process.

I resolved it by removing the faulty file from the /var/spool/up2date folder :

error: rpmts_HdrFromFdno: MD5 digest: BAD Expected(2b15b49e6f9093edbee638f384d00f04) != (dbd1ba8bba16696807bd8955b8531df8)
kdelibs-3.3.1-11.el4.i386.r An error has occurred:
rhn.rpclib.InvalidRedirectionError
See /var/log/up2date for more information
[root@castor ~]# ls /var/spool/up2date/kdelibs-3.3.1-11.el4.i386.r*
/var/spool/up2date/kdelibs-3.3.1-11.el4.i386.rpm
[root@castor ~]# rm /var/spool/up2date/kdelibs-3.3.1-11.el4.i386.rpm
rm: remove regular file `/var/spool/up2date/kdelibs-3.3.1-11.el4.i386.rpm'? y

The up2date -u command after that worked fine.

I hope this helps you.

Philippe
 
Old 09-10-2008, 04:48 AM   #7
i_nomad
Member
 
Registered: Mar 2008
Distribution: RedHatES4
Posts: 144

Original Poster
Rep: Reputation: 15
Aristarque,

Many thanks that seemed to resolve the issue. I can now close the ticket with Redhat!

Regards

Last edited by i_nomad; 09-10-2008 at 05:17 AM.
 
Old 07-29-2011, 05:43 PM   #8
hlopezv
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
Hello Aristarque

It worked for me too, i removed the trouble rpm and it works fine

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Up2date is timing out with up2date A socket error occurred: (110, 'Connection timed o mtag Linux - Newbie 7 03-12-2011 08:04 AM
dexconf:error: cannot generate configuration for generating xorg.conf deepclutch Debian 7 11-04-2007 05:13 AM
Error generating an audio CD with K3B nightrider Linux - Software 1 08-20-2005 10:51 PM
DNS Server generating error logs DavidPhillips Linux - General 2 06-18-2001 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration