PDA

View Full Version : Updating..



teishu
10th February 2007, 01:50 AM
Hi, I can't update using the PUP.... Gets to about 70% of finding updates... and crashes :S any ideas ?

Wayne
10th February 2007, 02:08 AM
Hi, I can't update using the PUP.... Gets to about 70% of finding updates... and crashes :S any ideas ?

Do it from a Terminal logged in as root:

su -

give password, then:

yum update

Wayne

teishu
10th February 2007, 10:19 AM
When i type yum, or yum update this is what i get:

[root@localhost ~]# yum update
Loading "installonlyn" plugin

and it stays there no CPU activity or network activity.... Has it stopped ?

gotencool
10th February 2007, 10:52 AM
Try cleaning yum's cache: yum clean all
Then, yum list updates. This may list availables updates.
Then, yum update (if updates list is too long, this will be slow)

sideways
10th February 2007, 10:54 AM
You may need to reset the rpm database also, to do this type (as root)


rm -f /var/lib/rpm/__db.*
rpm --rebuilddb

This will take a couple of minutes, then do a 'yum clean all' and try the updates again

teishu
10th February 2007, 12:49 PM
It wont let me run, Yum clean all...

[root@localhost ~]# yum clean all
Loading "installonlyn" plugin

stays at that still...

sideways
10th February 2007, 12:53 PM
did you rebuild the database first? Are you logged in as root?

teishu
10th February 2007, 06:21 PM
did you rebuild the database first? Are you logged in as root?

ah.. i'll do that then report back..

teishu
10th February 2007, 09:57 PM
ok, so rebuilt the databse and did yum clean all. now when i run yum update, it sticks at Setting up repositories

any thoughts ?

teishu
10th February 2007, 10:05 PM
ah... think its sorted now.. thanks