Re: rpm -e question

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

 



On Thu, 2010-08-26 at 10:48 -0700, JD wrote:
> Running rpm -e <pkgname>
> does not delete the binaries and other files that
> were installed by the package; and I see no option
> to rpm in the man page to remove the package's files.
> So far I have had to remove them manually after I
> remove the package. But that is a hit and miss operaton
> because I cannot always remember to do
> 
> rpm -ql --provides <pkgname>
> 
How about:
yum erase <pkgname>
> 
> and delete the files listed (after doing rpm -e).
> 
> I know there are dangers to providing such a feature
> and use it accidentally and do damage:
> 
> for example, you need the ability to boot different
> version of the kernel.
> Since a kernel package also installs header files in /usr/include
> and firmware files in /lib, then such an accidental usage
> of such an option could wreak havoc.
> 
> But isn't that always the case with so many other commands,
> which if they are used without full knowledge of the consequences,
> then indeed we get to be hit by those consequences.
> 
> Does anyone agree that rpm should have an option such as
> --delete-files  to delete tha package's installed files ??
> 
> 


-- 
Aaron Konstam <akonstam@xxxxxxxxxxxxx>

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux