LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-18-2004, 07:44 PM   #136
wgself
LQ Newbie
 
Registered: Jan 2004
Location: Charlottesville, VA
Distribution: RedHat 8.0
Posts: 9

Rep: Reputation: 0

That's why I'm trying to get it fully patched before the pull the plug.
 
Old 01-19-2004, 04:41 AM   #137
imsajjadali
Member
 
Registered: Jan 2004
Location: Faisalabad-Pakistan
Distribution: Red Hat Linux 2.1 Advance Server
Posts: 102

Rep: Reputation: 15
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
 
Old 01-20-2004, 06:57 PM   #138
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try running this from the command line


up2date -u
 
Old 01-21-2004, 03:15 PM   #139
emwssecurity
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
up2date errors - no solution yet!

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
 
Old 02-20-2004, 10:21 AM   #140
sgtbob
Member
 
Registered: Jan 2004
Location: Kansas
Distribution: Windows 7, iMAC Lion 8.5, Ubuntu
Posts: 92

Rep: Reputation: 15
Question Up2date

Unable to find this issue and it is bugging me.

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?
 
Old 02-20-2004, 02:46 PM   #141
VxJasonxV
Member
 
Registered: Apr 2003
Location: Mesa, AZ
Distribution: RH9, LFS5, Knoppix 3.2/3.3 (Live), FC1, FC2, MDK10CE, MDK10OE, Gentoo
Posts: 51

Rep: Reputation: 15
those are RH9 kernels. Well, those are just kernels really. It's not smart to boot into an older kernel unless a new one fails to boot.

It's a fail safe.

...sure, it's system restore, Windows just stole it from Linux (duh) .
 
Old 02-20-2004, 03:03 PM   #142
sgtbob
Member
 
Registered: Jan 2004
Location: Kansas
Distribution: Windows 7, iMAC Lion 8.5, Ubuntu
Posts: 92

Rep: Reputation: 15
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. :-)
 
Old 02-20-2004, 03:10 PM   #143
VxJasonxV
Member
 
Registered: Apr 2003
Location: Mesa, AZ
Distribution: RH9, LFS5, Knoppix 3.2/3.3 (Live), FC1, FC2, MDK10CE, MDK10OE, Gentoo
Posts: 51

Rep: Reputation: 15
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.

1 set of applications, 3 kernels. Good stuff .
 
Old 02-21-2004, 09:32 PM   #144
linux-fan64
LQ Newbie
 
Registered: Feb 2004
Location: Wisconsin, USA
Distribution: Mandrake 10 Official
Posts: 17

Rep: Reputation: 0
Dude, THANK YOU! You are a life saver!!


<Where do i send the check?>
 
Old 02-22-2004, 04:17 PM   #145
JWMthree
LQ Newbie
 
Registered: Feb 2004
Location: New Castle, PA
Distribution: Kubuntu 6.10 Edgy Eft
Posts: 1

Rep: Reputation: 0
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.
 
Old 03-01-2004, 02:11 AM   #146
hyper_man
LQ Newbie
 
Registered: Mar 2004
Distribution: redhat 9.0
Posts: 1

Rep: Reputation: 0
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"

Last edited by hyper_man; 03-01-2004 at 02:15 AM.
 
Old 03-21-2004, 06:09 PM   #147
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: OpenSuSE Tumbleweed
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
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.
 
Old 03-24-2004, 12:37 AM   #148
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
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),....

Last edited by mrcheeks; 03-24-2004 at 12:38 AM.
 
Old 03-24-2004, 01:17 PM   #149
Keynote
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Rep: Reputation: 0
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)
 
Old 04-04-2004, 04:46 PM   #150
chaoscl
LQ Newbie
 
Registered: Jun 2001
Posts: 17

Rep: Reputation: 0
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?

Running Redhat 9.0, fresh install.
AMD XP 2100+
512mb ddr pc2700
WD 80gig 7200rpm

Last edited by chaoscl; 04-04-2004 at 04:49 PM.
 
  


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
Problems with up2date... monkiidansu Fedora 12 09-26-2005 10:37 AM
Problems with up2date mohd281 Linux - Newbie 13 08-17-2005 03:13 AM
Up2date problems dreyes81 Linux - Newbie 2 07-10-2005 02:22 PM
up2date problems... chiefreborn Linux - Software 3 06-14-2005 02:57 AM
up2date problems Arc4ne Linux - Security 5 08-27-2004 09:28 PM

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

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