LinuxQuestions.org
Visit Jeremy's Blog.
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 11-02-2005, 06:04 PM   #1
imemyself
Member
 
Registered: Feb 2004
Location: Wichita, KS
Distribution: CentOS 4, SuSE 10, Tiger
Posts: 110

Rep: Reputation: 15
up2date Broken in CentOS?


I'm having some issues with up2date in CentOS. First, let me give you some background:

I was up2dating to CentOS 4.2 a week or so ago. When it was installing the packages, somewhat messed up. The box was unusable - the load averages were like 15 or so. Top showed useradd taking up 99% of the CPU. Killing it didn't do anything, and this was already about 3 or 4 hours after it started instaling the updates, so I rebooted it. Once I got it running again, I had problems trying to update. Basically, IIRC, it wasn't letting me update stuff, because a package wasn't the latest version, and it wouldn't let me install the latest version or something like that. up2date wouldn't work, yum wouldn't work, manually trying to solve the dependencies wouldn't work so I tryed rpm --rebuilddb. That didn't help anything, so I restore the RPM db's from a backup. I know, that probably wasn't the best thing in the world to do, but I was pretty much out of ideas. So, I restored the RPM database, and the up2dated to CentOS 4.2(from 4.1). That went fairly well. However, since then, I haven't been able to run up2date(GUI or console version - yum works as far as I can tell). When I run up2date, it eventually gets to the "Fetching obsoletes list for channel: centos4-addons" and hangs there. It doesn't matter if I disable that channel, it will just hang on another channel then. I've tried installing an old version of up2date over the newer version, and the old version(from the CentOS 4.0 DVD) worked fine, atleast to update up2date to the new, 4.2, version. The new version though, still does not work. When I start it from a console, I get:

Code:
An error has occured:
exceptions.keyError
See /var/log/up2date for more information
An error has occured:
exceptions.ValueError
See /var/log/up2date for more information
/var/log/up2date:

Code:
[Sun Oct 30 23:41:14 2005] up2date
[Wed Nov  2 17:47:45 2005] up2date availablePackageList from network
[Wed Nov  2 17:47:45 2005] up2date Unable to import repomd support so repomd support will not be available
[Wed Nov  2 17:47:49 2005] up2date Could not find an approriate arch for package [['kernel-smp', '2.6.9', '22.0.1.EL', '', 'x86_64', '1000', 'centos4-Updates', 'RPMS/kernel-smp-2.6.9-22.0.1.EL.x86_64.rpm']], skipping
[Wed Nov  2 17:47:49 2005] up2date The latest version of kernel-smp was not available for this arch. Skipping
[Wed Nov  2 17:47:49 2005] up2date   File "/usr/share/rhn/up2date_client/gui.py", line 1438, in onChannelsPageNext
    self.pkgList = self.pList.getPackagesToInstall()
   File "/usr/share/rhn/up2date_client/packageList.py", line 643, in getPackagesToInstall
    self.__findBestArchPackages()
   File "/usr/share/rhn/up2date_client/packageList.py", line 612, in __findBestArchPackages
    del self.packagesToUpdate[pkey]

[Wed Nov  2 17:47:50 2005] up2date   File "/usr/share/rhn/up2date_client/gui.py", line 1517, in onSkippedPagePrepare
    maxlength = max(map(lambda x: len(x[0][0]), self.skipPkgList)) * 8
It almost seems like its some kind of a python error from that, but it really doesn't mean anything to me. Any ideas of what's fscked with up2date on this box?
 
Old 11-02-2005, 06:15 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Up2date is obsolete. Use Yum.
 
  


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
URGENT: Up2date broken in RHEL 3.0? Neowulf Linux - Enterprise 1 09-15-2005 07:39 AM
centos 4: up2date update fails pcandpc Linux - General 3 08-17-2005 08:07 PM
Whats the differnce between Centos and CentOS? duffmckagan cAos 1 06-12-2005 12:23 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM
up2date broken? chadi Linux - General 1 10-15-2004 12:21 PM

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

All times are GMT -5. The time now is 12:49 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