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

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

 



David Timms wrote:
Hi, had a bit of a look for how to remove various src rpms that I've messed with when trying to track bags etc. I though they may be tracked in the rpm database, but google nor maximum rpm do not seem to have an answer.

a src rpm is little more than a cpio archive, they are not 'installed' as such, but unpacked into a location defined using the %_topdir rpm macro (defaults to /usr/src/redhat)

I can see they got installed under /usr/src/redhat, but what is the most foolproof way to get rid of particular ones ?

rm :)

A src rpm will have put files in
/usr/src/redhat/SPECS and /usr/src/redhat/SOURCES

if you have run rpmbuild commands, there may also be files in
/usr/src/redhat/BUILD
as well as the SRPMS and RPMS/<arch> subdirectories

removing the apprpriate files from these dirs will 'uninstall' the source packages.

Regards

Stuart Sears
--
Stuart Sears RHCA etc


--
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