Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
same problem with me, I'm using Red Hat Linux 2.1. I have successfully registered my system on RHN but when I am going to run the commoand up2date ...it show the first chanal screeen but on second step collecting pakages it held on 2%...can any body help me in this regard
Don't know how it broke, but up2date is giving me the errors below. I have tried removing all the files from /var/spool/up2date, but this did not help.
> kernel 2.4.20-28.8smp
> up2date-3.0.7.2-1
- My entitlement is up to date, so that is not an issue.
- I found some other threads with these exact same errors, but no working solutions have been posted thus far....
Does anyone know how to fix these (apparently Python)
~dean
]# up2date -fuv
Traceback (most recent call last):
File "/usr/sbin/up2date", line 801, in ?
main()
File "/usr/sbin/up2date", line 573, in main
fullUpdate, dryRun=options.dry_run))
File "/usr/sbin/up2date", line 737, in batchRun
batch.run()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 55, in run
self.__findPackagesToUpdate()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 86, in __findPackagesToUpdate
plist.run()
File "/usr/share/rhn/up2date_client/packageList.py", line 85, in run
self.addObsoletePackages(obsList)
File "/usr/share/rhn/up2date_client/packageList.py", line 109, in addObsoletePackages
for p in obsoletePackages:
TypeError: iteration over non-sequence up2date
When I do an 'up2date', DL and install go just fine, but when I restart my machine, there are now 3 'versions' (?) of RedHat 9 on my screen (I have used the 'up2date' feature twice since initial install). Does RH9 retain all previous 'up2date' installations so you can revert to an earlier install if a problem is encountered? Does this sort of emulate Windoze XP 'restore' feature?
Thanks for the info - I was afraid I had installed 3 separate OS. I suspected it was a 'restore' and I believe you that Window$ purloined form Linux. :-)
You can 'kinda' say that you have 3 seperate OSes installed... kinda. The different is, it's just a kernel. You don't have 3 calculators, and 3 notepads, 3 scandisks, and 3 defragmenters installed.
In order to get my Up2date working, I just removed the s from the https://, I can't remember exactly where I did it, except that it was in a configurations window, not in console, I was very tired and frustrated at the time, but maybe you can find this helpful.
ok heres another 1 for u guys not shure if it is directly related to up2date or not but ill give you what i have
[root@GW root]# up2date --nox -u
Traceback (most recent call last):
File "/usr/sbin/up2date", line 993, in ?
main()
File "/usr/sbin/up2date", line 612, in main
up2dateAuth.updateLoginInfo()
File "up2dateAuth.py", line 112, in updateLoginInfo
File "up2dateAuth.py", line 96, in login
File "up2dateAuth.py", line 48, in maybeUpdateVersion
File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 151, in getVersion
release, version = getOSVersionAndRelease()
File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 144, in getOSVersionAndRelease
raise up2dateErrors.RpmError(
up2date_client.up2dateErrors.RpmError: RPM error. The message was:
Could not determine what version of Red Hat Linux you are running.
If you get this error, try running
rpm --rebuilddb
root@GW root]# rpm --rebuilddb
error: db4 error(16) from dbenv->remove: Device or resource busy
[root@GW root]#
ps had a few db probs but ran "rpm -initdb" and "rpm -rebuilddb"
a similar problem here, but i feel it's masochistic in nature.
i got rh9 shoehorned into reiserfs partitions, with hdparm -a64 -c3 -d1 -k1 -m16 -n1 -u1 -X67 /dev/hda /dev/hdb. this puppy just screamed along fine until i went from rh's 2.4.20-30.9 to kernel 2.6.4. i did check the option for "configuration change" on the gui.
now i get this:
[root@owensby root]# up2date
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/sbin/up2date", line 993, in ?
main()
File "/usr/sbin/up2date", line 612, in main
up2dateAuth.updateLoginInfo()
File "up2dateAuth.py", line 112, in updateLoginInfo
File "up2dateAuth.py", line 96, in login
File "up2dateAuth.py", line 48, in maybeUpdateVersion
File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 151, in getVersion
release, version = getOSVersionAndRelease()
File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 134, in getOSVersionAndRelease
for h in ts.dbMatch('Providename', "redhat-release"):
TypeError: rpmdb open failed
[root@owensby root]#
did i leave something unchecked in the kernel config? is up2date totally incompatible with the 2.6 kernels? if the config change option is unchecked, it still does the same thing.
-O.
i would suggest getting rid of or not using up2date, and trying apt or yum or something else,
synaptic for gui users. When i was using redhat i remember up2date panel disappearing sometimes and i had once to reinstall it because of a bug(i followed instructions on redhat web site).
rpm are terrifics...maybe because i've been using debian for few years. I remember rpm hunting and dependencies or not seeing all available packages to install graphically(stuck with that funny GUI displaying only majors categories), hopefully there was the command line. Now i can't even think about using a rpm based distro , because personnaly(personnaly !!) i don't like rpm(package management), ram usage of redhat(slow and old pc),....
Any idea of what happen as script can't write /usr/share/rhn/RHNS-CA-CERT? I have root command. see below. But first remove /usr/share/rhn/RHNS-CA-CERT and also remove GPG-KEY because it will keep saying that I already has those files there so won't do anything, the trick is to remove those 2 files. But now, trying to downloading new-cert.sh via wget command, but cannot write to /usr/share/rhn/RHNS-CA-CERT? what i am doing wrong, need help? Have been reinstall more than 5 times so far, first modem, kppp, and now up2date? Thought it was cakewalk, but it didn't. Oh well, need your help, thanks.
[jlukocs@localhost jlukocs]$ su
Password:
[root@localhost jlukocs]# wget -q -O - https://rhn.redhat.com/help/new-cert.sh | /bin/bash
The script cannot write to /usr/share/rhn/RHNS-CA-CERT
Please run the command as root (in a shell -- use the "su" command)
I've read most of this thread and still can't figure out my problem. I updated the rpm's for up2date and updated the certificate. This solved part of my problem. Whenever i run up2date, it would freeze before it even started downloading the updates. After i did the 2 things mentioned above, i was able to at least start downloading. It only downloads 1-2 files if that then freezes again.
I tried running up2date -u and had the same problem. Any idea as to why it keeps freezing?
Is there any other up2date servers other than the default? Maybe my connection to that server timesout or something, anyone know a dif address i could try?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.