Click to See Complete Forum and Search --> : Redhat up2date question
kalmen
10-14-2003, 07:26 PM
Hi,
how to check the configuration of the redhat 8's , up2date application
setup , I want to find out where is the directory of the downloaded
file , so that I can clear or delete some old rpm, because system
is complaining that my drive space is not enough .
It is save to delete those rpm(those up2date downloaded files) right ?
Thanks.
AnonyPuss
10-14-2003, 07:40 PM
The up2date RPMs are located in /var/spool/up2date/
and, yes it's safe to delete them.
kalmen
10-15-2003, 08:19 PM
thanks,
i found the directory, and deleted all the files,
(I shouldn't delete those header files,but i did ,then it took me a long
time to redownload those header files agains ,:p )
and I downloaded all the new update RPMs,
the problem now i face is ,I skipped up2date install all the applications(RPM), I shut down pc to go to bed,
the next morning try to resume installation,but couldn't resume to install
all the skipped application(there is no function to resume whatever I skipped...), does it mean that I have to install those
rpm one by one manually ?
pezplaya
10-15-2003, 08:24 PM
try apt-get for redhat8
http://apt.freshrpms.net/
#apt-get update
#apt-get dist-upgrade
AnonyPuss
10-15-2003, 09:41 PM
Originally posted by kalmen
thanks,
i found the directory, and deleted all the files,
(I shouldn't delete those header files,but i did ,then it took me a long
time to redownload those header files agains ,:p )
and I downloaded all the new update RPMs,
the problem now i face is ,I skipped up2date install all the applications(RPM), I shut down pc to go to bed,
the next morning try to resume installation,but couldn't resume to install
all the skipped application(there is no function to resume whatever I skipped...), does it mean that I have to install those
rpm one by one manually ?
I haven't run into that situation before, but I wouldn't think so. I find that the best way to use up2date is with Konsole rpm -u. Up2date should pick up where it left off and notice whether or not you have some or all rpms ready for install.
Oh, and I agree that you should get apt-get and use synaptic as the front end for it. It works great and you don't have to register and fill out questionaires to keep using it like you do with the free version of up2date.
Just a suggestion, but when I use up2date, I always keep those rpms on a network share so that if I have to ever reinstall them I don't have to waste so much time downloading them all over again.
Have fun.
kalmen
10-17-2003, 07:41 PM
How to change the up2date download directory
from var/spool/up2date to point to somewhere else ?
AnonyPuss
10-17-2003, 08:55 PM
In Red hat 9.0, when you first configure up2date, it gives you the option to change to another directory, not sure about 8.0, but I'm assuming that it's the same. I haven't tried to change it afterwards though. Sorry I'm not much help with this.
Just out of curiousity, why would you want to change the directory?
ernieg
10-17-2003, 09:32 PM
In case you can't change the configuration to point to another location (Other than /var/spool/up2date) You can always use a symbolic link.
For instance, if you have space in /usr/local you can create a directory there called /usr/local/up2date, then move the contents of /var/spool/up2date to /usr/local/up2date. Then delete the directory /var/spool/up2date and run the following command:
ln -s /usr/local/up2date /var/spool/up2date
Now even though up2date thinks its accessing /var/spool/up2date, the files are actually (Physically) in /usr/local/up2date.
Hope this helps. I've used this trick for a number of applications and circumstances. One of the things I love about Unix/Linux!
adikgede
10-19-2003, 02:02 AM
I think you might be happier with apt-get at freshrpms.net. None the less if you want to get to know up2date better you can start by using rpm
open a console and use rpm to check out up2date
rpm -qi up2date
will give you general information about the program.
rpm -qc up2date
will tell you where the configuration files are.
rpm -qc up2date
/etc/logrotate.d/up2date
/etc/pam.d/rhn_register
/etc/pam.d/up2date
/etc/pam.d/up2date-config
/etc/pam.d/up2date-nox
/etc/security/console.apps/rhn_register
/etc/security/console.apps/up2date
/etc/security/console.apps/up2date-config
/etc/security/console.apps/up2date-nox
/etc/sysconfig/rhn/rhnsd
/etc/sysconfig/rhn/up2date
/etc/sysconfig/rhn/up2date-keyring.gpg
/etc/sysconfig/rhn/up2date-uuid
/etc/sysconfig/rhn/up2date
looks like a good file to look at.
less /etc/sysconfig/rhn/up2date
and you will see :
"# Automatically generated Red Hat Update Agent config file, do not edit.
# Format: 1.0...."
Okay well we aren't supposed to configure it by hand so lets see what kind of programs are in up2date
rpm -ql up2date | grep bin
will give us :
rpm -ql up2date | grep bin
/usr/bin/go-rhn.sh
/usr/bin/rhn_register
/usr/bin/up2date
/usr/bin/up2date-config
/usr/bin/up2date-nox
/usr/sbin/rhn_check
/usr/sbin/rhn_register
/usr/sbin/rhnreg_ks
/usr/sbin/rhnsd
/usr/sbin/up2date
/usr/sbin/up2date-config
/usr/sbin/up2date-nox
And there you have it : /usr/bin/up2date-config
running that program will allow you change some of the settings you have asked about here and more.