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

Bug#325717: marked as done (apt: wrong position of the wildcard character for packages names)



Your message dated Tue, 30 Aug 2005 14:10:16 +0100
with message-id <1c4701c5ad64$301ba4a0$eb00010a@andromeda>
and subject line Bug#325717: apt: wrong position of the wildcard character for packages names
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Aug 2005 12:45:30 +0000
>From arnaud.casteigts@labri.fr Tue Aug 30 05:45:30 2005
Return-path: <arnaud.casteigts@labri.fr>
Received: from 26.mail-out.ovh.net [213.186.42.179] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EA5UY-0001pw-00; Tue, 30 Aug 2005 05:45:30 -0700
Received: (qmail 22149 invoked by uid 503); 30 Aug 2005 12:45:49 -0000
Received: (QMFILT: 1.0); 30 Aug 2005 12:45:49 -0000
Received: from b6.ovh.net (HELO mail154.ha.ovh.net) (213.186.33.56)
  by 26.mail-out.ovh.net with DES-CBC3-SHA encrypted SMTP; 30 Aug 2005 12:45:49 -0000
Received: from b0.ovh.net (HELO queue-out) (213.186.33.50)
	by b0.ovh.net with SMTP; 30 Aug 2005 12:45:21 -0000
Received: from mail154.ha.ovh.net (10.0.50.154)
  by mail154.ha.ovh.net with SMTP; 30 Aug 2005 12:45:18 -0000
Received: from b0.ovh.net (HELO queue-pre) (213.186.33.50)
	by b0.ovh.net with SMTP; 30 Aug 2005 12:45:18 -0000
Received: from colossus.labri.fr (HELO ?147.210.8.117?) (webmaster@casiodos.org@147.210.8.117)
  by ns0.ovh.net with SMTP; 30 Aug 2005 12:45:18 -0000
Message-ID: <[🔎] 43145430.2060008@labri.fr>
Date: Tue, 30 Aug 2005 14:42:24 +0200
From: Arnaud Casteigts <arnaud.casteigts@labri.fr>
User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050802)
X-Accept-Language: fr, en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: apt: wrong position of the wildcard character for packages names
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Ovh-Remote: 147.210.8.117 (colossus.labri.fr)
X-Ovh-Local: 213.186.33.20 (ns0.ovh.net)
X-Spam-Check: fait|type 1&3|0.0|H 0.5
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: apt
Version: 0.6.38
Severity: minor

When invoking apt-get install or remove with the * character :

for example : apt-get remove kernel-image-2.6*

apt behave as if the * were at one char before (kernel-image-2.*)

-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (700, 'unstable'), (600, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages apt depends on:
ii  libc6                         2.3.5-5    GNU C Library: Shared 
libraries an
ii  libgcc1                       1:4.0.1-6  GCC support library
ii  libstdc++5                    1:3.3.6-9  The GNU Standard C++ 
Library v3

apt recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 325717-done) by bugs.debian.org; 30 Aug 2005 13:10:58 +0000
>From debian-bts@adam-barratt.org.uk Tue Aug 30 06:10:58 2005
Return-path: <debian-bts@adam-barratt.org.uk>
Received: from mail0.avcosystems.co.uk [195.224.236.86] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EA5tC-0003D1-00; Tue, 30 Aug 2005 06:10:58 -0700
Received: from lexx.avco ([192.168.0.1] helo=andromeda)
	by mail0.avcosystems.co.uk with esmtp (Exim 4.52 #1 (Debian))
	id 1EA5sg-00082a-Ma; Tue, 30 Aug 2005 14:10:26 +0100
Received: from 127.0.0.1 (AVG SMTP 7.0.344 [267.10.17]); Tue, 30 Aug 2005 14:10:26 +0100
Message-ID: <1c4701c5ad64$301ba4a0$eb00010a@andromeda>
From: "Adam D. Barratt" <debian-bts@adam-barratt.org.uk>
To: "Arnaud Casteigts" <arnaud.casteigts@labri.fr>
Cc: <325717-done@bugs.debian.org>
References: <[🔎] 43145430.2060008@labri.fr>
Subject: Re: Bug#325717: apt: wrong position of the wildcard character for packages names
Date: Tue, 30 Aug 2005 14:10:16 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
X-AVCO-Scan-Signature: 39307fb75dc1305ea2a62b446e8cc53a
Delivered-To: 325717-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.1 required=4.0 tests=BAYES_44,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Tuesday, August 30, 2005 1:42 PM, Arnaud Casteigts
<arnaud.casteigts@labri.fr> wrote:

> Package: apt
> Version: 0.6.38
> Severity: minor
>
> When invoking apt-get install or remove with the * character :
>
> for example : apt-get remove kernel-image-2.6*
>
> apt behave as if the * were at one char before (kernel-image-2.*)

apt is doing exactly as you requested. From apt-get(8):

          If no package matches the given expression  and  the  expression
          contains one of '.', '?' or '*' then it is assumed to be a POSIX
          regular expression, and it is applied to all  package  names  in
          the  database. Any matches are then installed (or removed). Note
          that matching is done by substring so  'lo.*'  matches  'how-lo'
          and  'lowest'.  If this is undesired, anchor the regular expres-
          sion with a '^' or '$' character, or create a more specific reg-
          ular expression.

The regular expression you've provided matches "kernel-image-2 followed by
any character except newline, followed by zero of more occurences of the
character '6'". To remove all packages with names starting
"kernel-image-2.6", the appropriate command would be:

  apt-get remove '^kernel-image-2\.6.*'

Closing this as documented behaviour.

Regards,

Adam



Reply to: