dnf versus yum

Reindl Harald h.reindl at thelounge.net
Sun Jan 5 19:22:43 UTC 2014


Am 05.01.2014 20:06, schrieb Chris Adams:
> Once upon a time, Reindl Harald <h.reindl at thelounge.net> said:
>> http://akozumpl.github.io/dnf/cli_vs_yum.html#dnf-erase-kernel-deletes-all-packages-called-kernel
> 
> Frankly, that's a dumb "feature" to have the package manager know
> "magic" things about some names.  Why is it dumb?  Because some people
> then depend on magic "features".  Is this "feature" even documented
> anywhere?  I don't see it in the yum man page for example.
> I never knew that "yum erase kernel" wouldn't actually remove all
> packages named "kernel", because I would never say "erase the kernel"
> and expect something to not erase the kernel.

others did because the tried what things are doing

> This is Unix; system programs are expected to "do what I say".  Don't
> try to code "do what I mean" into it (because what you mean is probably
> different from what I mean)

i say the same thing to the autopager and cutted output of
systemctl and journalctl and the repsonse there is "we are
not Unix, we are Linux"

so somewhere in time Fedora should decide if it follows the
unix-way or not, there are many decisions helping endusers
where i would say a technican "don't do that" and nobody cares

so in case of destory the system *yes* protect from happen it
and allow to do with force flags but not by accident
_________________________________

following your argumentation this should be removed too?

[root at honeypot:~]$ rm -rf /
rm: it is dangerous to operate recursively on `/'
rm: use --no-preserve-root to override this failsafe


-------------- 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/20140105/a31bdead/attachment.sig>


More information about the devel mailing list