Discussion:
uninstall --force package
(too old to reply)
Bob Tennent
2018-03-21 02:38:46 UTC
Permalink
When testing a package upgrade under preparation, I
like to temporarily uninstall the existing package to
prevent missing files from being taken from the texlive
installation. But the other day I had a brain cramp and
entered the command in the Subject, which immediately
removed the whole installation.

I'd like to suggest that if there are arguments after
"uninstall" (other than --force), that something like the
following should be the result:

Unexpected argument; did you mean "remove [--force] ..." ?

Or let uninstall/remove/erase be synonyms but require an
explicit "--all" option to uninstall/remove/erase everything.

Bob T.
Norbert Preining
2018-03-23 14:05:26 UTC
Permalink
Hi Bob,
Post by Bob Tennent
removed the whole installation.
Indeed, that is what is the documented behaviour ;-)
Post by Bob Tennent
Or let uninstall/remove/erase be synonyms but require an
explicit "--all" option to uninstall/remove/erase everything.
This is what we decided to do.
remove [--force] <pkg> ...
removes packages, --force ignores dependencies (all as before)
remove [--force] --all
uninstalls TeX Live, --force without asking
and uninstall == remove.
If you pass more options to rmeove --all ... then an error will be
given.

Sorry for the inconveniences and thanks for the report!!

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Loading...