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

Bug#817113: marked as done (apt: buggy string expansion)



Your message dated Tue, 8 Mar 2016 13:47:12 +0100
with message-id <20160308124711.GA8999@crossbow>
and subject line Re: Bug#817113: apt: buggy string expansion
has caused the Debian Bug report #817113,
regarding apt: buggy string expansion
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
817113: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817113
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.0.9.8.2
Severity: normal

an odd bug,.. here when I do
"apt-cache show streamer0.10-plugins-good", reveals the description for package "gstreamer0.10-plugins-good".
--- End Message ---
--- Begin Message ---
Hi,

On Tue, Mar 08, 2016 at 02:11:26AM -0500, westlake wrote:
> an odd bug,.. here when I do
> "apt-cache show streamer0.10-plugins-good", reveals the description for
> package "gstreamer0.10-plugins-good".

This is actually a feature: The '.' in the package name triggers apt to
interpret the string "streamer0.10-plugins-good" as it doesn't match
a package name as a regular expression (it tries a few other things as
well, but the regex part is the most 'surprising' perhaps).

You can see the same happening with other commands as well:
$ LANG=C apt install streamer0.10-plugins-good -s
[…]
Note, selecting 'gstreamer0.10-plugins-good' for regex 'streamer0.10-plugins-good'
Note, selecting 'gstreamer0.10-plugins-good-dbg' for regex 'streamer0.10-plugins-good'
Note, selecting 'gstreamer0.10-plugins-good-doc' for regex 'streamer0.10-plugins-good'
[…]

Unfortunately we can't display the message we print in such interactive commands
like install in non-interactive commands like show as this would interfere with
the output and break plenty of tools relying on this behavior expecting only valid
(pseudo) package records on show without intermixed "comments".


So, as this isn't a bug per-se and we can't make the behavior more obvious
without introducing breakage, I am closing this report – but still thanks for
taking the time to report it!


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: