Re: apt-get remove/purge with regex gives unexpected result

2014-02-20 Thread Richard Hector
On 13/02/14 06:04, Sven Joachim wrote: > On 2014-02-12 17:25 +0100, rpr nospam wrote: > >> In order to uninstall all libreoffice packages I ran the following >> apt-get command with a simple regular expression: >> >> $ sudo apt-get remove 'libreoffice.*' >> Reading package lists... Done >> Buildin

Re: apt-get remove/purge with regex gives unexpected result

2014-02-13 Thread rpr nospam
On Wed, 12 Feb 2014 18:04:49 +0100 Sven Joachim wrote: > > My interpretation of that paragraph is that apt-get first tries to > interpret the pattern as a wildcard (see glob(7)) and only tries a > regular expression match if the glob produces no matches. Sven, it seems you are right. I tried the f

Re: apt-get remove/purge with regex gives unexpected result

2014-02-12 Thread Sven Joachim
On 2014-02-12 17:25 +0100, rpr nospam wrote: > In order to uninstall all libreoffice packages I ran the following > apt-get command with a simple regular expression: > > $ sudo apt-get remove 'libreoffice.*' > Reading package lists... Done > Building dependency tree > Reading state information...

apt-get remove/purge with regex gives unexpected result

2014-02-12 Thread rpr nospam
On an installation of Debian GNU/Linux 7.0 with subsequent updates from testing (Linux 3.12.9-1 amd64) I noticed a strange output while running "apt-get remove" or "apt-get purge" in order to remove/purge libreoffice packages. Here are the libreoffice packages: $ dpkg-query -l 'libreoffice*' | ta