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

Bug#127657: marked as done (apt-get remove doesn't do what's expected when package name has to be matched)



Your message dated Thu, 3 Jan 2002 19:32:56 -0700 (MST)
with message-id <[🔎] Pine.LNX.3.96.1020103193208.25843A-100000@wakko.deltatee.com>
and subject line Bug#127657: apt-get remove doesn't do what's expected when package name has to be matched
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; 3 Jan 2002 19:03:10 +0000
>From doug@digitalbrain.com Thu Jan 03 13:03:10 2002
Return-path: <doug@digitalbrain.com>
Received: from mail.digitalbrain.com (tiefighter.digitalbrain.com) [213.254.160.19] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16MD8w-0004uI-00; Thu, 03 Jan 2002 13:03:10 -0600
Received: from localhost (localhost.localdomain [127.0.0.1])
	by tiefighter.digitalbrain.com (Postfix) with ESMTP id B6573109EF5
	for <submit@bugs.debian.org>; Thu,  3 Jan 2002 19:02:58 +0000 (GMT)
Received: from fie.brain (fie.brain [10.0.0.21])
	by tiefighter.digitalbrain.com (Postfix) with ESMTP id CB0F4109E81
	for <submit@bugs.debian.org>; Thu,  3 Jan 2002 19:02:57 +0000 (GMT)
Received: by fie.brain (Postfix, from userid 1008)
	id 830A7BD68; Thu,  3 Jan 2002 19:02:56 +0000 (GMT)
Date: Thu, 3 Jan 2002 19:02:56 +0000
From: Doug Balmer <doug@digitalbrain.com>
To: submit@bugs.debian.org
Subject: apt-get remove doesn't do what's expected when package name has to be matched
Message-ID: <[🔎] 20020103190254.GA15024@digitalbrain.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.24i
X-Virus-Scanned: by AMaViS perl-11
Delivered-To: submit@bugs.debian.org

Package: apt
Version: 0.5.4

It looks like 'apt-get remove' assumes you want to install the package when it has to regex match the package name.

fie:/etc# apt-get remove elm+
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting elm-me+ instead of elm
Sorry, elm-me+ is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 45  not upgraded.
fie:/etc# apt-get remove elm-me+
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  elm-me+ 
0 packages upgraded, 0 newly installed, 1 to remove and 45  not upgraded.
Need to get 0B of archives. After unpacking 2730kB will be freed.
Do you want to continue? [Y/n]


---------------------------------------
Received: (at 127657-done) by bugs.debian.org; 4 Jan 2002 02:33:02 +0000
>From jgg@debian.org Thu Jan 03 20:33:02 2002
Return-path: <jgg@debian.org>
Received: from ike-ext.ab.videon.ca [206.75.216.35] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 16MKAI-0001NR-00; Thu, 03 Jan 2002 20:33:02 -0600
Received: (qmail 15292 invoked from network); 4 Jan 2002 02:32:57 -0000
Received: from unknown (HELO wakko.deltatee.com) ([24.82.81.190]) (envelope-sender <jgg@debian.org>)
          by ike-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
          for <doug@digitalbrain.com>; 4 Jan 2002 02:32:57 -0000
Received: from localhost
	([127.0.0.1] helo=wakko.deltatee.com ident=jgg)
	by wakko.deltatee.com with smtp (Exim 3.16 #1 (Debian))
	id 16MKAC-0006iu-00; Thu, 03 Jan 2002 19:32:56 -0700
Date: Thu, 3 Jan 2002 19:32:56 -0700 (MST)
From: Jason Gunthorpe <jgg@debian.org>
X-Sender: jgg@wakko.deltatee.com
To: Doug Balmer <doug@digitalbrain.com>, 127657-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#127657: apt-get remove doesn't do what's expected when package name has to be matched
In-Reply-To: <[🔎] 20020103190254.GA15024@digitalbrain.com>
Message-ID: <[🔎] Pine.LNX.3.96.1020103193208.25843A-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 127657-done@bugs.debian.org


On Thu, 3 Jan 2002, Doug Balmer wrote:

> Package: apt
> Version: 0.5.4
> 
> It looks like 'apt-get remove' assumes you want to install the package
> when it has to regex match the package name. 

The trailing plus is documented in the man page to install packages (even
if the operation is remove) similarly the trailing minus does remove.

You should not use them in regex's like that.

Jason



Reply to: