dnf versus yum

Reindl Harald h.reindl at thelounge.net
Sun Jan 5 23:29:57 UTC 2014



Am 05.01.2014 23:53, schrieb Chris Adams:
> Once upon a time, Reindl Harald <h.reindl at thelounge.net> said:
>> where would it be useful to uninstall base-package and YUM/DNF itself
>> bringing your system in a non-recoverable state?
> 
> I already offered a couple of examples that you ignored (just a couple
> that came to mind, certainly not an exhaustive list): when you have a
> system that doesn't load a kernel from the filesystem, such as a VM
> environment where the boot process is external.

border cases where you can use --nodeps

> Another is if you need to re-install the kernel RPM because files have
> been removed, overwritten, etc.; "yum reinstall" is documented (unlike
> this magic "feature") to not handle multi-install packages like the
> kernel.  The only way is going to be to "yum erase" and "yum install".

this is *really* a border case where download and "rpm -Uvh --force"
is the way to go

> Also, even removing every kernel RPM will not render your system
> "non-recoverable".  You can always use a boot CD, and in modern Fedora
> systems, the "rescue" kernel/initramfs are never removed (not owned by
> any RPM), so you should always be able to boot that

you can do that, i can do that
the ordianry user - i doubt



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140106/902e914e/attachment.sig>


More information about the devel mailing list