LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Up2Date - How to find & delete source RPMs? (https://www.linuxquestions.org/questions/linux-general-1/up2date-how-to-find-and-delete-source-rpms-318838/)

ziphem 04-30-2005 03:35 PM

Up2Date - How to find & delete source RPMs?
 
Hi, I am watching my HD room shrink and shrink. I'd like to free up more room, so I decided to poke around my configuration for up2date. In "Red Had Network Configuration" under "Retrieval / Installation" the checkbox "Retrieve source RPM along with binary package" was checked off.

I assume that takes up a lot of room, especially since I have "enable RPM rollbacks" checked off (I don't think I'd even know how to roll anything back). But in any case, I've unchecked that source RPM option. I assume that the source RPMs are still on the HD somewhere, and when I tried to do a search, nothing came up.

I'd appreciate it if someone could tell me whether the source RPMs are in fact stored on the HD, and if so, where, and whether it would be ok to just delete them,

Thanks very much!!

ShaneK 04-30-2005 07:21 PM

Just did this for the same reason! I wasn't sure where they were hidden either, so I just did a search for files named "rpm", and found them. If you have the rollback checkbox checked, you will find the rpms in /var/spool/up2date/repackage. I've never downloaded the source files with my installations/updates, but my first guess would be under /usr/src. When I emptied out /var/spool/up2date/repackage, I cleared out almost a gig of space. Have you ever updated the kernel with the GUI version of up2date? Both my brother and I are running FC3, and it wrecked things badly when we tried to update the kernel. YUM is a CLI tool that seems to work just great for me, and when you want to get rid of all your old rpms, you just do:

Code:

# yum clean all
and you're clean.

ziphem 05-01-2005 05:23 PM

Hey, thanks for the info. I couldn't find the src.rpms - really weird, especially since I searched the whole HD and nothing came up.

In any case, I did find the archived RPMs, and burned them onto dvd, and then deleted all the files in there. My Linux partition has about 7 Gigs total (the rest of the HD is for Windows). I saw my Linux partition usage drop from 96% to about 65% - I was able to free up 2 gigs by deleting those files. So, you saved me from painfull repartition work. Thanks a lot for the info!!


All times are GMT -5. The time now is 12:56 AM.