LinuxQuestions.org

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

jhibbets 10-14-2003 02:45 PM

Are you behind a proxy server? What's your set-up and check the output of rpm -q up2date.

https://rhn.redhat.com/help/faq/#61
How do I use RHN behind a firewall or HTTP proxy?

If you do not have any way to access an HTTPS site on the Internet, you will not be able to use RHN. But, if you do have access, but via an HTTP proxy only, you can configure the HTTP proxy by setting the "proxyUrl" and "enableProxy" settings in the configuration files for rhn_register and/or up2date.

Refer to the RHN User Guide for specific instructions:
http://rhn.redhat.com/help/basic/up2date-config.html

cmalmqui 10-18-2003 11:21 PM

well, I gave up on this red-hat-up-2-date service. Running RH8 it totally @#$( my system after updating. I guess it was too much drop and drag, click here and there.
:-)
/christian/

robertmarkbram 10-22-2003 06:55 AM

After updating up2date, can't launch up2date!
 
RH9 - up2date isn't up2date! ( post #1)

Hi All!

As per this bug fix for up2date:
https://rhn.redhat.com/help/latest-up2date.pxt

I installed the latest up2date.. and then attempted to update my package profile on the RHN servers with:

up2date -p

as root. It returned the following:

Error communicating with server. The message was:
Proxy Authentication Required


I am behind a firewall, so I tried the command with the correct proxy details:
up2date -p --proxy=proxy.monash.edu.au:8080 --proxyUser=user --proxyPassword=password
and still I got:

Error communicating with server. The message was:
Proxy Authentication Required

When I launch "RedHat Network Alert Icon" the "Available Updates" tab it does show some available updates but when I click "Launch up2date" either a) nothing happens at all or b) I get asked for the root password and then nothing happens.

Any ideas on what I can do to fix this would be most appreciated!

Rob
:)

biggles 10-27-2003 09:49 PM

different up2date problem
 
Hi

I updated my SSL cert weeks ago but just updated from RH8 to RH9 and up2date simply won't run. From the terminal it sits there looking like it's doing something before "timing out" and giving me a new blank terminal line. Several other programs do this including rhn register and network device control.

I don't get any error messages at all. The command up2date -p works though.

Thanks in advance.

Regards
Kingsley

biggles 10-30-2003 10:52 AM

I fixed it. I installed and ran aptget which updated everything except the kernel. Then up2date ran and I updated that. My network device control now runs without segmentation faults too. Still have some problems but I think I can work them out.

Kingsley

Wix 10-30-2003 09:35 PM

NVIDIA Drivers and kernel-2.4.20-20.9
 
I update to kernel-2.4.20-20.9 and when I try to install the NVIDIA drivers I get an error saying that it cant find the kernel header files and I need to install the kernel source rpm. I have installed kernel-2.4.20-20.9 about 20 times.

misc 10-30-2003 10:39 PM

No need to install that 20 times. Just install the package named kernel-source-2.4.20-20.9.i386.rpm once. :D up2date kernel-source

Btw, that problem does not belong into this thread.

Silly Sam 10-31-2003 05:23 PM

Found some interesting but silly news about Up2Date from the Red Hat site. "Updates only via Red Hat Network. Last updates end April 2004." Here is the link with some interesting topics regarding our support from Red Hat http://www.redhat.com/software/whichproduct/ I really like reading the far right column and the future of Red Hat...

I guess with the Fedora Project, Red Hat is phasing out support for all of Redhat 9 and previous versions. Am I reading this correctly?

Silly Sam

misc 10-31-2003 11:33 PM

Quote:

Am I reading this correctly?
No, since the Fedora Project is not the reason for the end-of-life dates of Red Hat Linux products. You're very late with your discovery. The end-of-life dates of Red Hat Linux products are known for a quite long time already. They've been published at http://www.redhat.com/errata almost a year ago and discussed in many places. Apparently, you have missed all of that. But it is correct that there won't be a Red Hat Linux 10.

Silly Sam 11-01-2003 08:49 AM

Quote:

Originally posted by misc
No, since the Fedora Project is not the reason for the end-of-life dates of Red Hat Linux products.
Misc,

Then why is Red Hat discontinuing to support a product less than a year old (Release March 2003 )?

I for one am a newbie as indicated by my previous posts, and did not see this discontinued support anywhere in the Up2date forum. I am merely trying to just inform some of the others users out there who may not be aware of this or did not read the Fedora Project: Announcing New Direction.


This is very frustrating because everyone want to get away from the M$ empire, but when Red Hat pulls a stunt like this, dropping support makes newbies a little weary. What I was looking for and failed to place in my previous post is what alternative is their for us who would like to continue to use Red Hat 9 or is this basically the end of it?

Quote:


You're very late with your discovery.

I guess we are both late then with this information since it was posted 40 days after your original post in the Fedora Project: Announcing New Direction.

Sincerely,
Silly Sam

misc 11-01-2003 09:49 AM

Quote:

I guess we are both late then with this information since it was posted 40 days after your original post in the Fedora Project: Announcing New Direction.
I don't understand that comment. Red Hat Linux end-of-life dates were announced around October 2002, if memory serves correctly. At the time Red Hat Linux 9 was published, it was clear the errata support period would end one year later in April 2004 [unless Red Hat chose to extend the support].

Quote:

What I was looking for and failed to place in my previous post is what alternative is their for us who would like to continue to use Red Hat 9 or is this basically the end of it?
Find here a somewhat recent thread that should answer your question:
http://www.linuxquestions.org/questi...hreadid=110206

ozstar 11-03-2003 02:48 AM

cant access /etc/sysconfig/rhn/up2date
 
Hi,

Like the rest of the gang I'm having trouble with the up2date stuff.

Got this message...

cant access /etc/sysconfig/rhn/up2date

a few times even using this option..

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

although it did give the message it was updating.

Should I be concerned?

misc 11-03-2003 03:54 AM

Did you run the wget command as "root" user?
What do you get upon running "ls -la /etc/sysconfig/rhn/up2date"?

ozstar 11-03-2003 04:46 PM

At the root command line I get..

Input/Output error.

I am shown that I have 60 updates to get but when I click on the button to do it, zip happens.

Thanks

misc 11-03-2003 05:20 PM

I don't whether that was supposed to answer my two question. You must be able to view the /etc/sysconfig/rhn/up2date file, because it's your up2date config file. If you're unable to view it as "root", you have a serious problem. You should not get an I/O error.

As another step, try something else. Open an X terminal, such as "xterm" and run "up2date --nox -u" in there. What do you get?

ozstar 11-03-2003 06:10 PM

Sorry.. Yes I am in root as root user and initiated the command you suggested but that was the result.

I have looked for xterm but cannot see it. I am using KDE and Gnome GUI interfaces.

misc 11-04-2003 01:32 AM

With KDE or GNOME you can run konsole or gnome-terminal instead of xterm. If need be, start it via the ALT+F2 "Run Command" box and not via menus.

cat /etc/sysconfig/rhn/up2date should give you the output of the config file. I don't understand at all where you get an input/output error. That could indicate harddisk corruption.

DavidPhillips 11-04-2003 08:23 PM

go to the redhat network and setup an account there. MAybe you need a different username

ozstar 11-05-2003 01:22 AM

Hi,

Okay, I used the command cat /etc/sysconfig/rhn/up2date and got..

cat: /etc/sysconfig/rhn/up2date: Input/output error.

I will look into opening a new account as well, altho' I think this is a sw problem.

I also d/l the up2date progs again just in case one was corrupted but I still get the same result..

App not located up2date blah App up2date gnome

I run the command in the root dir and the 2 progs (up2date and up2date gnome) are there also so I don't know why it can't see them.

Thanks.

misc 11-05-2003 01:29 AM

Quote:

cat: /etc/sysconfig/rhn/up2date: Input/output error.
It's a hardware problem or damaged file-system. "cat" would simply print the file contents, even if the file were empty. It's a plain text config file. See whether you've got kernel errors in /var/log/messages.

ozstar 11-05-2003 05:09 AM

Hi,

I checked the messages file and looked at the last 3, 4 days and there was no error mentioned anywhere.

I looked in the rhn dir and the only up2date file there was a key signature file.

is this where is supposed to be a config file ?
I have also now noticed that the up2date button on my desktop has now gone since i have been trying to update.

The last thing it said was 60 updates, no ignores but when I tried to update, zip happened.

Any more ideas ?

ozstar 11-05-2003 05:49 AM

Hi,

BTW I now have the button back and it shows me the 61 files available but tells me Iu should update up2date first.

I managed to get the new cert down and ran up2date up2date and got this..

[root@LinuxBox root]# wget -q -O - https://rhn.redhat.com/help/new-cert.sh | /bin/bash
The file /usr/share/rhn/RHNS-CA-CERT has already been updated.
No further action is necessary.
[root@LinuxBox root]# up2date up2date
warning: can't access /etc/sysconfig/rhn/up2date
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/configdlg.py", line 220, in finish
if self.writeValues(button):
File "/usr/share/rhn/up2date_client/configdlg.py", line 204, in writeValues
dlg = gnome.ui.GnomeErrorDialog(_(
AttributeError: 'module' object has no attribute 'GnomeErrorDialog'
There was some sort of I/O error: [Errno 5] Input/output error: '/etc/sysconfig/rhn/up2date'
[root@LinuxBox root]#

misc 11-05-2003 07:07 AM

Run "up2date --configure".

DavidPhillips 11-05-2003 12:39 PM

you may want to try it from a command line


up2date -u

I used to use that all the time since my computer has no monitor and stuff. Now it is setup to update automagically.

ozstar 11-05-2003 03:28 PM

Thanks guys but..

Tried both of the commands and got the same result.

First the message..

warning: can't access /etc/sysconfig/rhn/up2date

then a GUI panel come up 'RedHat Network Configuration with three tab option at top.

General..
The only auto filled in box is this ..Select RH Server option : https://xmlrpc.rhn.redhat.com/XMLRPC

Retrieval ..
Only ticked items.. Do not upgrade packs when local config file has been modified
Use GPG to verify pak
Pak storage dir: /var/spool/up2date

Packages Exceptions
kernel*

When I click this I get the same few errro lines that was in my previous post, exactly.

I went to the var/spool dir ans there are two text files there..
Redhat-Linux 8 with a bunch of numbers and the saem with (obsulate) in the name and same numbers.

I also unticked the ''Do not upgrade packs when local config file has been modified', but still got the same message.

BTW.
I am doing this in root using the Root Console Konsole.
Both new update files are in /root

Thanks again.. hope this helps..

fintan 11-06-2003 05:31 AM

Quick question
 
Is it possible to set up a central server that will download all the up to date packages then ditribute them to say 3 other servers? Thanks

fintan

DavidPhillips 11-06-2003 12:55 PM

you need to be root, and check that that folder exists



you can configure a machine to download the updates. The problem is that if the system on machines are not the same then you will download the wrong updates.If they are the same then you could just use nfs to share the folder.

CletusJones 11-06-2003 04:00 PM

The problem that I've been having with up2date is different than everyone else's problems...

I was able to download and install the new SSL certificate as well as the update to up2date without incident. However, when I run up2date it will download the packages for a while and eventually just stop transmitting/receiving data altogether. I'm a poor college student living on my own, so I've got dialup ATM but I don't see that being an issue because I can download the updates for my Win2k box just fine...

Any ideas?

ozstar 11-06-2003 05:55 PM

Hi,

In trying to get to the up2date dir in /etc/sysconfig/rhn/up2date
I get this in terminal,

David@LinuxBox sysconfig]$ cd rhn

[David@LinuxBox rhn]$ cd up2date

bash: cd: up2date: Input/output error

[David@LinuxBox rhn]$ ls

ls: up2date: Input/output error

rhn-applet rhnsd systemid up2date-keyring.g

There is no up2date dir or file in rhn !

What should there be?

Thanks..

DavidPhillips 11-06-2003 06:22 PM

ls -l /etc/sysconfig/rhn
total 36
drwxr-xr-x 2 root root 4096 Oct 29 15:13 clientCaps.d
-rw-r--r-- 1 root root 270 Nov 3 04:46 rhn-applet
-rw-r--r-- 1 root root 13 Oct 29 15:13 rhnsd
-rw-r--r-- 1 root root 1666 Nov 3 01:52 sources
-rw------- 1 root root 1316 Nov 3 21:45 systemid
-rw------- 1 root root 1315 Nov 3 16:57 systemid.save
-rw------- 1 root root 3429 Nov 3 21:48 up2date
-rw------- 1 root root 2155 Jan 15 2003 up2date-keyring.gpg
-rw------- 1 root root 97 Nov 3 01:13 up2date-uuid




download the proper up2date rpm and force install it manually

ozstar 11-06-2003 08:04 PM

Wow.. Sort of short, aren't I ?

What is the best command to make from the root command line to get this down and force it?

Thanks

DavidPhillips 11-06-2003 09:08 PM

for redhat 8

curl -C - -O 'https://download-3.rhn.redhat.com/download/1068260497/33277cbd5539d23e6c7b993a9d8c056454c31b96/0/0/rhn/repository/NULL/up2date/3.0.7.2-1/i386/up2date-3.0.7.2-1.i386.rpm'

curl -C - -O 'https://download-3.rhn.redhat.com/download/1068260780/bac5061d539994a3d8af7a47af62e41c29dc321b/0/0/rhn/repository/NULL/up2date-gnome/3.0.7.2-1/i386/up2date-gnome-3.0.7.2-1.i386.rpm'


md5sum up2date*


compare output with this, if ok proceed. If not download again.

* up2date-3.0.7.2-1.i386.rpm - MD5 Checksum: 15bc5dc918916bca3a5c29148979716e
* up2date-gnome-3.0.7.2-1.i386.rpm - MD5 Checksum: 1ae89cf79880f3bc5de7b86eb1d47a2b


rpm -iv --force up2date*

ozstar 11-06-2003 10:21 PM

Sould this be done in root dir or rhn ? Thanks

ozstar 11-06-2003 10:53 PM

Okay, in root dir,


[root@LinuxBox root]# md5sum up2date*

15bc5dc918916bca3a5c29148979716e up2date-3.0.7.2-1.i386.rpm
1ae89cf79880f3bc5de7b86eb1d47a2b up2date-gnome-3.0.7.2-1.i386.rpm

[root@LinuxBox root]# ls -l
total 640
-rw-r--r-- 1 root root 2182 Nov 17 2002 anaconda-ks.cfg
drwx------ 3 root root 4096 Nov 6 15:30 Desktop
drwx------ 6 root root 4096 Nov 3 15:55 evolution
-rw-r--r-- 1 root root 15135 Nov 17 2002 install.log
-rw-r--r-- 1 root root 0 Nov 17 2002 install.log.syslog
-rw-r--r-- 1 root root 851 Nov 3 11:30 ks.cfg
-rw-r--r-- 1 root root 486806 Nov 7 13:59 up2date-3.0.7.2-1.i386.rpm
-rw-r--r-- 1 root root 118686 Nov 7 13:59 up2date-gnome-3.0.7.2-1.i386.rpm

[root@LinuxBox root]# rpm -iv --force up2date*
Preparing packages for installation...
up2date-3.0.7.2-1
rpmdb: /var/lib/rpm/Sha1header: Input/output error
error: cannot open Sha1header index using db3 - Input/output error (5)
up2date-gnome-3.0.7.2-1
rpmdb: /var/lib/rpm/Sha1header: Input/output error
[root@LinuxBox root]#

Can't believe the probs I'h having here!!

Appreciate the help.. I'd be totally lost without it!

Where should i go now?

DavidPhillips 11-07-2003 12:14 AM

try this

rpm --rebuilddb


This will likely fail due to your problem and you will need to go to more drastic measures.

I do not know what will happen if you do this...


rm -f /var/lib/rpm/*
rpm --initdb
rpm -i -v --force --nodeps --noscripts --notriggers --excludepath / up2date*

rpm --rebuilddb

ozstar 11-07-2003 12:56 AM

Hey, go get yourself a nice cup of coffee on me !!

Seems like the db was corrupted, as the 'rebuild' command alone fixed it.

It has downloaded all the paks but has now said i did not select kernel 2.4.2.0 archg i686 etc...

Should I get this as well or go with the default

Thanks

DavidPhillips 11-07-2003 02:44 AM

by default kernel packages are excluded. You should update it however with this command

up2date -uf


you could also use up2date --configure to remove kernel* from the package exceptions

ozstar 11-07-2003 05:07 PM

Thank you David.

For others maybe with same problem, I followed David's advice to the letter and these were my final screens. At this point I still have 1 pak left which is the message at the bottom of this post.

[root@LinuxBox root]# rpm -iv --force up2date*

Preparing packages for installation...
up2date-3.0.7.2-1
rpmdb: /var/lib/rpm/Sha1header: Input/output error
error: cannot open Sha1header index using db3 - Input/output error (5)
up2date-gnome-3.0.7.2-1
rpmdb: /var/lib/rpm/Sha1header: Input/output error

[root@LinuxBox root]# rpm --rebuilddb

[root@LinuxBox root]# rpm -iv --force up2date*
Preparing packages for installation...
up2date-3.0.7.2-1
up2date-gnome-3.0.7.2-1
[root@LinuxBox root]# up2date -uf

Fetching package list for channel: redhat-linux-i386-8.0...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-8.0...
########################################

Fetching package list for channel: redhat-linux-i386-8.0...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-8.0...
########################################

Testing package set / solving RPM inter-dependencies...
########################################
XFree86-4.2.1-21.i386.rpm: ########################## Done.
iptables-1.2.8-8.80.2.i386. ########################## Done.
kernel-2.4.20-20.8.i686.rpm ########################## Done.
perl-5.8.0-88.3.i386.rpm: ########################## Done.
stat-3.3-4.i386.rpm: ########################## Done.
pam-devel-0.75-46.8.0.i386. ########################## Done.
Preparing ########################################### [100%]

Installing...
1:XFree86 ########################################### [100%]
2:iptables ########################################### [100%]
3:kernel ########################################### [100%]
4:perl warning: /usr/lib/perl5/5.8.0/Net/libnet.cfg saved a/5.8.0/Net/libnet.cfg.rpmorig
########################################### [100%]
error: unpacking of archive failed: cpio: lstat
There was a fatal RPM install error. The message was:
There was a rpm unpack error installing the package: perl-5.8.0-88.3
You have new mail in /var/spool/mail/root
[root@LinuxBox root]#

Well, this is where I am now.

DavidPhillips 11-07-2003 06:47 PM

looks like perl rpm had a problem, however it seems that rpm and up2date are working now. how's your disk space holding up?

ozstar 11-07-2003 07:03 PM

I am fine with HD space. I have 15GB left on c:

Yes up2 is working and so is the install. Just the Perl.. Is that a prblem.. Will I ever need it?

DavidPhillips 11-07-2003 07:06 PM

well you must already have a working version on there, it's just trying to update to a newer version.

one thing you can do is to try the up2date gui, it will let you pick which updates to install and you could update everything that works. Then you could try to fix the pearl update. Maybe it was just a bad download. If you remove the files from /var/spool/up2date you can download it again.

ozstar 11-07-2003 07:56 PM

Thanks.. I'll try that on Monday.. Gotta get out of the city for w'kend to clear the brain!! Have a good weekend.

David 2!

Blackrose1 11-07-2003 08:39 PM

Ok, I'm running rh8 and I've tried all the up2date stuff rh suggested, including the "no deps" thing, and I haven't been able to complete registration... I get "error registering server name" . Furthermore, with recent downloads of ANYTHING either rpm or .tar, I see the package on my screen but when I try to move or open any of these files, the computer doesn't recognize them! H-E-L-P!

DavidPhillips 11-07-2003 09:23 PM

Are you using a proxy?

Did you install the new up2date rpm?


show us the output of this command..

rpm -q up2date


and this one..

cat /etc/sysconfig/rhn/up2date

Blackrose1 11-08-2003 03:58 PM

ok when I ran the first command: rpm -q up2date I got this:
up2date-3.0.7-1
up2date-3.0.7.2-1
and when I ran the second... I got
"bash: cat/etc/sysconfig/rhn/up2date: No such file or directory"

Blackrose1 11-08-2003 03:59 PM

btw, what does "affero" mean?

DavidPhillips 11-09-2003 12:49 AM

It's strange you have two versions of up2date, maybe that's the problem


There should be a space between cat and the rest of it


Affero is a site for making comments or donations for help received, check it out.

Blackrose1 11-12-2003 01:35 PM

oh, ok. Now, back to my issue.... I do appreciate your being around, and I'd like to know what I can to to enable my system to upgrade, especially so I can a: get my new printer to working via CUPS,
b: get my media players (xmms) and (xplayer) to work.
thanks for all suggestions.

yardgnome 11-12-2003 05:25 PM

g++ install with up2date
 
Ok, I know this is a super basic easy question, but I can't seem to find the answer. I'm using Redhat 9. How do you install g++ using up2date? I can't figure out what package it's in. Thanks.

DavidPhillips 11-12-2003 06:48 PM

isn't it part of gcc?



`up2date gcc`


All times are GMT -5. The time now is 06:59 AM.