Debian Bug report logs - #593360
apt skips trailing '+' from package names

Package: apt; Maintainer for apt is APT Development Team <deity@lists.debian.org>; Source for apt is src:apt.

Reported by: Michal Suchanek <michal.suchanek@ruk.cuni.cz>

Date: Tue, 17 Aug 2010 14:03:01 UTC

Severity: normal

Done: David Kalnischkies <kalnischkies+debian@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, hramrach@centrum.cz, Debian Live Project <debian-live@lists.debian.org>:
Bug#593360; Package live-helper. (Tue, 17 Aug 2010 14:03:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michal Suchanek <michal.suchanek@ruk.cuni.cz>:
New Bug report received and forwarded. Copy sent to hramrach@centrum.cz, Debian Live Project <debian-live@lists.debian.org>. (Tue, 17 Aug 2010 14:03:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Michal Suchanek <michal.suchanek@ruk.cuni.cz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-helper: cannot build with kernel package which ends with a +
Date: Tue, 17 Aug 2010 16:00:02 +0200
Package: live-helper
Version: 2.0~a23-1
Severity: normal


When setting LH_LINUX_PACKAGES=linux-image-2.6.35-um and LH_LINUX_FLAVOURS=amd64+ the kernel live-helper attempts to install is linux-image-2.6.35-um-amd64

This makes building with git kernel impossible.

Workaround is to pass --apt apt to lh config.

On irc twb suggested that this is because the tool used by live-helper
to install packages by default eats the trailing + and that apt in sid
has this functionality as well so this will break completely in the
future.

-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (900, 'stable'), (700, 'testing'), (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages live-helper depends on:
ii  live-build                    2.0~a23-1  Debian Live - System Build Scripts

live-helper recommends no packages.

live-helper suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#593360; Package live-helper. (Thu, 02 Sep 2010 14:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Thu, 02 Sep 2010 14:06:03 GMT) Full text and rfc822 format available.

Message #10 received at 593360@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: Michal Suchanek <michal.suchanek@ruk.cuni.cz>
Cc: 593360@bugs.debian.org
Subject: Re: Bug#593360: live-helper: cannot build with kernel package which ends with a +
Date: Thu, 02 Sep 2010 16:01:45 +0200
reassign 593360 apt
retitle 593360 apt skips trailing '+' from package names
thanks

On 08/17/2010 04:00 PM, Michal Suchanek wrote:
> On irc twb suggested that this is because the tool used by live-helper
> to install packages by default eats the trailing + and that apt in sid
> has this functionality as well so this will break completely in the
> future.

live-build uses apt by default. i don't see what we can or should do
here. if apt doesn't support a '+' at the end of a package name, then
this is a bug in apt.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Bug reassigned from package 'live-helper' to 'apt'. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Thu, 02 Sep 2010 14:06:04 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions live-build/2.0~a23-1. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Thu, 02 Sep 2010 14:06:05 GMT) Full text and rfc822 format available.

Changed Bug title to 'apt skips trailing '+' from package names' from 'live-helper: cannot build with kernel package which ends with a +' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Thu, 02 Sep 2010 14:06:06 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#593360; Package apt. (Thu, 02 Sep 2010 14:57:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Kalnischkies <kalnischkies+debian@gmail.com>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Thu, 02 Sep 2010 14:57:07 GMT) Full text and rfc822 format available.

Message #21 received at 593360@bugs.debian.org (full text, mbox):

From: David Kalnischkies <kalnischkies+debian@gmail.com>
To: Michal Suchanek <michal.suchanek@ruk.cuni.cz>, 593360@bugs.debian.org
Cc: daniel@debian.org
Subject: Re: Bug#593360: live-helper: cannot build with kernel package which ends with a +
Date: Thu, 2 Sep 2010 16:54:42 +0200
Hi,

i don't know what live-helper does, how it uses APT nor anything else
which could be useful to reproduce this here so for a few steps to
reproduce it would be fabulous - bonus points if it involves only calling
APT and not live-helper…

(and maybe the difference between the produced call if --apt apt is
given compared to not…)
APT version used would be interesting for example, too.


> On irc twb suggested that this is because the tool used by live-helper
> to install packages by default eats the trailing + and that apt in sid
> has this functionality as well so this will break completely in the
> future.

APT "eats" since basically ever - and + on remove/purge/install if
a package with this name doesn't exist as said by the apt-get manpage
at the end of the first paragraph for "install" as this "eating" is
interpreted in a default-action changing method, so
apt-get install g++ ,
apt-get install g+++ and
apt-get remove g+++
do all the same thing.

What is true is that in the version in sid and soon-to-be testing the code for
parsing of the commandline was changed a lot, so yes, in theory we could
have introduced a bug with it, but for this the commandline triggering this
bug would be interesting…

The obvious example with g++ (as APT is written in c++) at least works as
expected with apt 0.8.0 … (i am not completely sure, but one experimental
release was broken in this way if i remember correctly).


Best regards

David Kalnischkies




Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#593360; Package apt. (Thu, 02 Sep 2010 15:12:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Thu, 02 Sep 2010 15:12:08 GMT) Full text and rfc822 format available.

Message #26 received at 593360@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: David Kalnischkies <kalnischkies+debian@gmail.com>
Cc: Michal Suchanek <michal.suchanek@ruk.cuni.cz>, 593360@bugs.debian.org
Subject: Re: Bug#593360: live-helper: cannot build with kernel package which ends with a +
Date: Thu, 02 Sep 2010 17:04:02 +0200
On 09/02/2010 04:54 PM, David Kalnischkies wrote:
> i don't know what live-helper does, how it uses APT nor anything else
> which could be useful to reproduce this here so for a few steps to
> reproduce it would be fabulous - bonus points if it involves only calling
> APT and not live-helper…

live-helper just calls one single 'apt-get install' to install all
packages in one shot.

in order to reproduce it, you can create a simple repository containing
a binary package which ends with a '+' in the name, and apt-get install
that package.

as said previously, nothing live-helper related at all here.

> (and maybe the difference between the produced call if --apt apt is
> given compared to not…)

--apt is to select apt or aptitude to be used. however, you can ignore
that - it's bogus information of the reporter anyway; live-helper uses
apt by default since way before lenny.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Reply sent to David Kalnischkies <kalnischkies+debian@gmail.com>:
You have taken responsibility. (Fri, 05 Nov 2010 23:21:06 GMT) Full text and rfc822 format available.

Notification sent to Michal Suchanek <michal.suchanek@ruk.cuni.cz>:
Bug acknowledged by developer. (Fri, 05 Nov 2010 23:21:06 GMT) Full text and rfc822 format available.

Message #31 received at 593360-done@bugs.debian.org (full text, mbox):

From: David Kalnischkies <kalnischkies+debian@gmail.com>
To: Michal Suchanek <michal.suchanek@ruk.cuni.cz>
Cc: daniel@debian.org, 593360-done@bugs.debian.org
Subject: Re: Bug#593360: live-helper: cannot build with kernel package which ends with a +
Date: Sat, 6 Nov 2010 00:16:56 +0100
Hi,

On Thu, Sep 2, 2010 at 17:04, Daniel Baumann <daniel@debian.org> wrote:
> in order to reproduce it, you can create a simple repository containing
> a binary package which ends with a '+' in the name, and apt-get install
> that package.

I waited now a relatively long time to be hit by a lightning stroke, but
this hasn't happened. I simple can't reproduce it as already said in
my first mail: works with g++ from debian archive and even after writing
a small apt testcase for it with the packages g++, apt and apt+ all
commands i issue have the expected result…


>> (and maybe the difference between the produced call if --apt apt is
>> given compared to not…)
>
> --apt is to select apt or aptitude to be used. however, you can ignore
> that - it's bogus information of the reporter anyway; live-helper uses
> apt by default since way before lenny.

… that and this remark suggests me more that something is wrong in the
setup Michal used which is completely unrelated to apt and live-helper
and therefore not a bug in APT.
So i am closing that one now - but feel free to reopen if this seems wrong.


Still, thanks for the report & best regards

David Kalnischkies

P.S.: This assumes that Daniel can't reproduce it as his reproduction
instructions look more like a "doesn't live-helper related" than a
"yes, happens for me, too".




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 04 Dec 2010 07:35:12 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 21:22:43 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.