LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-2003, 07:34 PM   #1
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Rep: Reputation: 30
Exclamation Up2date Problems go here


I see a lot of people posting that have problems with up2date. As many of you know Red Hat's SSL certificate expired recently:

SSL Connection Errors

On August 28th, the SSL certificates used by up2date, rhn_register, and the RHN applet expired. Systems attempting to connect to RHN using an older certificate will receive 'certificate verify failed' errors. Please see the following instructions to download the latest versions of up2date and rhn_register.

Here is the link you will need to get the new rpm files:
https://rhn.redhat.com/help/latest-up2date.pxt

*** Follow the instructions and you will be OK ***

The easiest thing to do is to download the RPMs you need into one directory, cd to the directory, and run
rpm -Fvh *.rpm

Then you can test to make sure that everything works with 'up2date -p'

Common Issues:
1) You run the rpm command and it appears to complete but you still get errors.

1a) Check the file name. If you used IE to download your files sometimes this puts a '[1]' into the files name. Make sure you rename the files without the '[1]'.

2) I ran rpm -F up2date -or- rpm -F up2date-gnome and I get a dependency issue.

2a) If you have both up2date and up2date-gnome installed then you need to freshen then at the same time. The instructions above tell you a short cut, but the full command is:
rpm -Fvh up2date-3.1.23.2-1.i386.rpm up2date-gnome-3.1.23.2-1.i386.rpm
-or-
rpm -Fvh up2date-*.rpm

These are just some of the common things I've seen this week, add on as you like and reference this thread when people are having problems with this.
 
Old 09-04-2003, 07:52 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,455
Blog Entries: 54

Rep: Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897
I guess it'd be best to make it a sticky for now.
Hopefully this all ends up as some form of Frequently Answered Questions...
 
Old 09-06-2003, 09:27 AM   #3
lub0
Member
 
Registered: Aug 2003
Location: Glasgow Scotland
Posts: 92

Rep: Reputation: 15
Talking RH8 up2date....Success at last

Hi all,

I have been really struggling with this new up2date thing for a few days now. I have been reading the postings about this, but with no joy. I am fairly new to RH and "rpm's" so I had to delve into the man pages concerning what commands to use. Until now I had tried various commands for instance:

rpm -Fvh up2date-3.1.23.2-1.i386.rpm
warning: up2date-3.1.23.2-1.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
python >= 2.2.2 is needed by up2date-3.1.23.2-1
rhpl >= 0.81-2 is needed by up2date-3.1.23.2-1
up2date = 3.0.7.2 is needed by (installed) up2date-gnome-3.0.7.2-1


rpm -U up2date*.rpm....

Still nuffin!

So I tried: rpm -Fvh --nodeps up2date*
warning: up2date-3.0.7.2-1.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ############################ [100%]
1:up2date ############################ [ 50%]
2:up2date ############################ [100%]

Success..

If any knows how this worked, or if I have totally "Totalled" my Linux box. Please let me know.. Also will this cause any unwanted future problems..


Lub0




Linux Lewis IS the heavyweight champion of the world.....
 
Old 09-07-2003, 01:52 PM   #4
yakko
Member
 
Registered: Apr 2002
Location: I live here.
Distribution: Trying to find one.
Posts: 62

Rep: Reputation: Disabled
Today I finally got the chance to try and update up2date and I get this when I try to install the rpms.

error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm


Any help that can be offered is greatly appreciated.
 
Old 09-07-2003, 05:00 PM   #5
yakko
Member
 
Registered: Apr 2002
Location: I live here.
Distribution: Trying to find one.
Posts: 62

Rep: Reputation: Disabled
Figured it out. I wasn't logged in as root.
 
Old 09-07-2003, 05:35 PM   #6
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: fedora, slackware, suse
Posts: 448

Rep: Reputation: 31
1) I had a download problem with mozilla 1.5b. If I use the right mouse button to "save link target as", for example, rhn_register-2.8.27-1.7.3.i386.rpm is 393674 bytes with obviously the wrong checksum, as opposed to 196463 bytes (with the right checksum). A direct click works, with an indication the "the site has suggested that .... be handled as an attachment.

2) I already had rhn_register-2.8.27-1.7.3.i386.rpm installed, so rpm -Fvh did not work. (I still got an SSL error.) I used rpm -Uvh --force *.rpm. It needed to update the certificate. Then all is fine.

3) Thanks for posting this. I was wondering what was going on. Hey, the advantage is I have never had the RHN respond and download files so quickly, I think a lot of other people are in the same boat.. Now might be the time to attempt the up2date 7.3 -> 9.0 extravaganza I've been thinking of. On a duplicate install, of course.
 
Old 09-07-2003, 07:23 PM   #7
lub0
Member
 
Registered: Aug 2003
Location: Glasgow Scotland
Posts: 92

Rep: Reputation: 15
RH8 up2date

This appears to be a big problem with RH users at the moment. I have seen so many postings about this, I could write a book about it.

All the best


Lub0


 
Old 09-07-2003, 08:27 PM   #8
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Just a side note... I haven't used up2date since I started using apt for RPM.

<< http://ayo.freshrpms.net/ >>
 
Old 09-08-2003, 01:44 PM   #9
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Original Poster
Rep: Reputation: 30
Re: RH8 up2date....Success at last

Quote:
Originally posted by lub0

So I tried: rpm -Fvh --nodeps up2date*
warning: up2date-3.0.7.2-1.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ############################ [100%]
1:up2date ############################ [ 50%]
2:up2date ############################ [100%]

Success..
I've had to use the --nodeps options a few times with different people. You should be OK. As long as you have python and rhpl installed:
rpm -q python rhpl
your gold!
 
Old 09-08-2003, 01:53 PM   #10
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Original Poster
Rep: Reputation: 30
Additional way to update ssl cert:

[Secret way ??]

wget -q -O - https://rhn.redhat.com/help/new-cert.sh | /bin/bash

Then you can run "up2date up2date".

Last edited by jhibbets; 09-08-2003 at 01:57 PM.
 
Old 09-08-2003, 08:17 PM   #11
lub0
Member
 
Registered: Aug 2003
Location: Glasgow Scotland
Posts: 92

Rep: Reputation: 15
ThX

Thanks man..............

I think the other packages you mentioned were installed ok.



Lub0


 
Old 09-09-2003, 11:18 PM   #12
DistroDuck
LQ Newbie
 
Registered: Jul 2003
Location: Portland, OR
Distribution: Red Hat Linux 9
Posts: 14

Rep: Reputation: 1
I too struggled with making the Up2date and Up2date-gnome rpms work; failed dependencies.

I noticed the little message at the bottom of the RHN annuncement saying that alternatively (but not recommended), I could just simply download the SSL certificate;

open a terminal window, log in as root, and type:

wget -q -O - https://rhn.redhat.com/help/new-cert.sh | /bin/bash

then ran up2date again.

It Worked!
 
Old 09-12-2003, 04:31 AM   #13
pcdunx
Newbie
 
Registered: Aug 2003
Location: UK
Distribution: RH9, IPCop, Censornet
Posts: 9

Rep: Reputation: 0
SSL error

I have done a clean install of RH9 using Server options, but I cannot get the up2date working.

I have followed the instructions on RHN to download latest version of up2date, but it's still not working.

I did install RH9 as Server on this pc some months ago, but couldnt get up2date to work then either, so I wiped the disk and re-installed as Desktop and up2date was ok.

All this was prior to the certificate expiry, so I don't think it has anything to do with that.

If I run Terminal and type "up2date --register" it launches the up2date window, but as soon as I click on Forward to take me to step 1 the Terminal window fills with code, the last line of which is:-

SSL ERROR: [('SSL routines', 'SSL23_WRITE', 'ssl handshake failure')]

This pc is connected to the internet using ISDN2 via an NT4 server running MS Proxy.

I am desperate to get this machine up and running so I can experiment with using it as a proxy server (squid I believe is the baby), then I can kill of the MS server - yipee!!

Any help would be greatly appreaciated thanks.

Dunx

p.s - I am a real Linux newbie, so simple instructions are very welcome, like "press the big button marked ON, use the keyboard to type in your user name and password, use the mouse to click on the red hat thingy, go up to System Tools, select Terminal, etc, ect - I think you get the drift!!!"
 
Old 09-12-2003, 06:17 AM   #14
lub0
Member
 
Registered: Aug 2003
Location: Glasgow Scotland
Posts: 92

Rep: Reputation: 15
Hi, I am afraid I am a bit of a newbie myself, all I can say on this subject is I tried everthing to get my up2date to work, I kept getting an error like the one you got. I overcame the it with "rpm -Fvh --nodeps up2date*"
warning: up2date-3.0.7.2-1.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ############################ [100%]
1:up2date ############################ [ 50%]
2:up2date ############################ [100%]


It installed fine and I was able to download all the updates.....

Hope this is of some help to you..


Lub0
 
Old 09-12-2003, 06:48 AM   #15
pcdunx
Newbie
 
Registered: Aug 2003
Location: UK
Distribution: RH9, IPCop, Censornet
Posts: 9

Rep: Reputation: 0
Thanks lub0, i will give that a try.

Just out of interest when you installed RH did you set it up as a Server or Desktop install ??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration