LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2004, 02:29 AM   #1
poiuytrewq
Member
 
Registered: Jul 2004
Posts: 107

Rep: Reputation: 15
loads of rpms i dont want


in /var/spool/up2date there is about 300 mb of rpms and hdr files that i dont want, and my linux partition is out of space, can i just delete them? or are they needed by the system?
(some of the programs i have installed, but it seems a waste to have it installed and im rpm form)

(on FC1)

Last edited by poiuytrewq; 11-20-2004 at 02:30 AM.
 
Old 11-20-2004, 02:31 AM   #2
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
Was given this advice before - just install whats not already and get shot of the rest

mkdir ~/RPMS
mv /var/spool/up2date/*.rpm ~/RPMS
rm -f /var/spool/up2date/*
rpm -ivh --test ~/RPMS/*.rpm

Look for errors relating to corrupt files, and delete any that are
corrupt.

mv ~/RPMS/*.rpm /var/spool/up2date
rm -f /var/lib/rpm/rm __db.*
rpm --rebuilddb

Double check the sources listed in "/etc/sysconfig/rhn/sources".

up2date-nox --list

Last edited by The_JinJ; 11-20-2004 at 02:33 AM.
 
Old 11-20-2004, 02:46 AM   #3
poiuytrewq
Member
 
Registered: Jul 2004
Posts: 107

Original Poster
Rep: Reputation: 15
thanks for the help man, but i dont quite understand you.

1) on rpm -ivh --test ~/rpms/*.rpm, what exactly am i looking for?

2) first you say make sure everythign is installed and then delete it all, but your instructions say only to delete the ones with errors from the --test, am i reading the instructions wrong?

3) no clue ehat you are saying with the last 2 lines
 
Old 11-20-2004, 02:53 AM   #4
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
Quote:
Originally posted by poiuytrewq
thanks for the help man, but i dont quite understand you.

1) on rpm -ivh --test ~/rpms/*.rpm, what exactly am i looking for?

2) first you say make sure everythign is installed and then delete it all, but your instructions say only to delete the ones with errors from the --test, am i reading the instructions wrong?

3) no clue ehat you are saying with the last 2 lines
1) Tests the moved rpms to see if installed or there are any conflicts
2) There will be rpms there that are already installed, others you may want to install
3) Basically rebuilds the rpm list of packages and up2dates list so both know where they're at and whats installed etc

Hope it's a bit clearer now....
 
Old 11-20-2004, 03:42 AM   #5
poiuytrewq
Member
 
Registered: Jul 2004
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by The_JinJ
1) Tests the moved rpms to see if installed or there are any conflicts
2) There will be rpms there that are already installed, others you may want to install
3) Basically rebuilds the rpm list of packages and up2dates list so both know where they're at and whats installed etc

Hope it's a bit clearer now....
perfect, yes i get it.

and after i have done all that then i delete what is left yes? rpms and headers?

p.s. thanks fro your help

Last edited by poiuytrewq; 11-20-2004 at 03:48 AM.
 
Old 11-20-2004, 09:33 AM   #6
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
Quote:
Originally posted by poiuytrewq
perfect, yes i get it.

and after i have done all that then i delete what is left yes? rpms and headers?

p.s. thanks fro your help
Whats left should be partial downloads, already installed stuff etc so it can be deleted
 
  


Reply



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
Sony Eyetoy drivers for FC3. Im new and dont know how to compile & i cant find rpms Nike Static Linux - Hardware 4 04-24-2006 01:37 PM
installed dropline, root loads kde3.2, user loads drop pgrimes Linux - Software 7 06-28-2004 06:11 PM
new to linux dont what distro to use dont no much command xman2007 Linux - Newbie 3 01-02-2004 05:32 PM
Things dont work when you dont understand withoutaclue Linux - Newbie 3 03-12-2003 09:51 AM
linuxconf RPMs dont load properly chef Linux - Newbie 0 09-01-2001 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration