[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#256189: apt: problem with regex



On Friday, June 25, 2004 11:35 AM, Igor Genibel <igenibel@debian.org> wrote:

> Package: apt
> Version: 0.5.25
> Severity: important
>
> When trying to remove all python2.2 package I used:
> apt-get remove --purge python2.2\* and apt tried to remove all
> *python2.* packages specifying they match the regex python2.2*

They do. The regex you specified says "the literal text 'python2' followed
by any single character, followed by zero or more occurences of the
character '2'". AFAICS, every single package listed in the log you provided
matches that regex.

If you actually wanted to remove all python2.2 packages, then

  apt-get remove --purge 'python2\.2.*'

would be more accurate.

Regards,




Reply to: