Re: how to uninstall preload?

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

 



On 20Jul2010 13:39, Rudolf Kastl <che666@xxxxxxxxx> wrote:
| 2010/7/20 Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx>:
| > On Tuesday 20 July 2010 01:19 AM, Adalbert Prokop wrote:
| >> A simple
| >>
| >> su -c "rpm -e preload"
| >>
| >> will also work.
| >
| > However that is not recommended, at least that is what I know. This
| > leaves yum in a state where it is unaware of the removed rpm.
| 
| This is wrong. yum is just a frontend for rpm.

Indeed.

| > It is
| > always recommended to use yum over rpm directly. :)
| 
| Yum makes things easier. rpm itsself can handle more complex
| situations (system troubleshooting etc)

In particular, if I want to remove _exactly_ one package, I will always
use rpm and not yum.

Yum descends the packagae dependency tree and offers to also remove the
package that require the package I asked to remove. Easy to do damage
that way.

Rpm also descends the dependency tree, but will refuse the remove of if
another package depends on the one I asked to remove. Safer!

So Adalbert's "rpm -e preload" advice is good advice.

It happens that nothing depends on preload (I know this because I
routinely remove it from systems because it modifies binaries and that
sets off annoying alerts in our integrity monitoring software).

So:
  yum is recommended because is makes a lot of common tasks much easier
  rpm is fine though, provided you are ok with its limitations;
    as described above - sometimes I want those limitations

The package state is kept entirely in the rpm database - it is safe, as
far as the database integrity goes, to mix use of rpm and yum as suits
your needs.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Wagner's music is better than it sounds.        - Mark Twain
-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux