Cannot remove texlive – would result in removal of systemd

asked 2015-12-26 16:21:15 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Hello,

some weeks ago stupid me decided I couldn't live without texlive-scheme-full anymore. Now I am stuck with almost 5 thousand texlive packages (which I can't even remember being part of texlive-scheme-full, but they are here now, after an update). However, when I try to remove any texlive package, I get

occam ~ $ sudo dnf remove texlive
Dependencies resolved.
Error: The operation would result in removing the following protected packages: systemd.

which seems wrong. What do? I assume this is a bug in dnf? This is Fedora 23, up to date on everything but 5000 texlive packages (which is why I REALLY want them gone).

Thank you in advance.

edit retag flag offensive close merge delete

Comments

Try to undo the transaction. With dnf history find the transaction number and with dnf history undo trans_numb remove the installed packages.

skytux gravatar imageskytux ( 2015-12-26 17:30:16 -0600 )edit

@skytux That doesn't work, because some packages have been updated and are no longer recognized as "the same package that was installed three weeks ago".

daemonism gravatar imagedaemonism ( 2015-12-27 03:30:24 -0600 )edit

Ohh I see... :(

skytux gravatar imageskytux ( 2015-12-27 13:51:35 -0600 )edit