Re: Can you query installed .src.rpm's - and delete - Solved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mogens Kjaer wrote:
David Timms wrote:
...
I can see they got installed under /usr/src/redhat, but what is the most foolproof way to get rid of particular ones ?
Stuart: I used your delete key method for a few but found that bits of the SOURCES are all through that directory with other things I wanted to keep, Mogens found the following much neater method, thanks anyway...

A quick google search on "SRPMS remove" came up with:
drat. I was trying "remove src rpm" "delete .src.rpm" and so on.

Check page 9 on:
http://people.redhat.com/tcallawa/Callaway-RPMBestPractices-Summit2006.pdf
Excellent, thanks Mogens, Tom's pdf is actually quite a handy presentation. So: 1. .src.rpm {SRPMS} do not get installed into the rpm database; you can't use rpm to query whether they are present. You can check what spec files are in /usr/src/redhat/SPECS

2. you can use rpmbuild to remove an SRPM by:
# cd /usr/src/redhat/SPECS
# rpmbuild --rmsource --rmspec glglobe.spec

DaveT.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux