LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Up2date Problems go here (http://www.linuxquestions.org/questions/red-hat-31/up2date-problems-go-here-89379/)

jhibbets 09-04-2003 07:34 PM

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.

unSpawn 09-04-2003 07:52 PM

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...

lub0 09-06-2003 09:27 AM

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


:newbie:

Linux Lewis IS the heavyweight champion of the world.....:D

yakko 09-07-2003 01:52 PM

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.

yakko 09-07-2003 05:00 PM

Figured it out. I wasn't logged in as root.
:newbie:

fsbooks 09-07-2003 05:35 PM

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.

lub0 09-07-2003 07:23 PM

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


:newbie:

ranger_nemo 09-07-2003 08:27 PM

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

<< http://ayo.freshrpms.net/ >>

jhibbets 09-08-2003 01:44 PM

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!

jhibbets 09-08-2003 01:53 PM

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".

lub0 09-08-2003 08:17 PM

ThX
 
Thanks man..............

I think the other packages you mentioned were installed ok.



Lub0


:newbie:

DistroDuck 09-09-2003 11:18 PM

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!:)

pcdunx 09-12-2003 04:31 AM

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!!!"

lub0 09-12-2003 06:17 AM

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

pcdunx 09-12-2003 06:48 AM

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 ??


All times are GMT -5. The time now is 08:58 PM.