On Saturday, 12 October 2013 11:23 PM, Reindl Harald
<h.reindl(a)thelounge.net> wrote:
if you want get a feeling in waht these ends type the follwoing as root
after you prepeared a rescue-disc because not rpm, nor yum nor even sshd
will work any longer and you need to copy the package files by hand
to their location - have fun, tried it in a VM
"rpm -e --nodeps nss-softokn-freebl"
Well, with --nodeps you already allow rpm to remove a package without knowing which
other packages it might affect. I tried it with yum(8) instead, after resolving a huge
list of dependencies possibly involving _every_ installed package it could find, including
libc.so.6 & systemd, finally yum refused to remove it. That is smart.
===
[~ @ 23:30]# yum remove nss-softokn-freebl
...
--> Running transaction check
---> Package foomatic-db.noarch 0:4.0-38.20130604.fc19 will be erased
---> Package icc-profiles-basiccolor-printing2009.noarch 0:1.2.0-3.fc19 will be erased
---> Package kernel-modules-extra.x86_64 0:3.11.3-201.fc19 will be erased
--> Finished Dependency Resolution
Error: Trying to remove "systemd", which is protected
Error: Trying to remove "yum", which is protected
===
Yum(8) already has some intelligence built into it to protect a naive user from possible
disasters. Considering that, it is okay to let user remove other packages at will.
---
Regards
-Prasad
http://feedmug.com