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

Bug#855937: marked as done (apt-get's error messages don't include its name.)



Your message dated Fri, 24 Feb 2017 22:47:41 +0100
with message-id <20170224224632.GA31591@debian.org>
and subject line Re: Bug#855937: apt-get's error messages don't include its name.
has caused the Debian Bug report #855937,
regarding apt-get's error messages don't include its name.
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.)


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

Running apticron, manually or by cron, results in

    E: Held packages were changed and -y was used without --allow-change-held-packages.

Using strace, I found this is from one of the commands it runs and can
trigger it directly.

    # /usr/bin/apt-get -q -y --ignore-hold --allow-unauthenticated \
    >     -s dist-upgrade
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Calculating upgrade...
    The following held packages will be changed:
      hhvm
    The following packages will be upgraded:
      hhvm
    1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
    E: Held packages were changed and -y was used without --allow-change-held-packages.
    #

apt-get should be producing error messages that start with its program
name, as is the Unix tradition, otherwise tracking down the culprit from
scripts and pipelines is more difficult.

--- End Message ---
--- Begin Message ---
Control: tag -1 wontfix
Control: severity -1 wishlist

On Thu, Feb 23, 2017 at 02:14:13PM +0000, Ralph Corderoy wrote:
> Package: apt
> Version: 1.2.19
> 
> Running apticron, manually or by cron, results in
> 
>     E: Held packages were changed and -y was used without --allow-change-held-packages.
> 
> Using strace, I found this is from one of the commands it runs and can
> trigger it directly.
> 
>     # /usr/bin/apt-get -q -y --ignore-hold --allow-unauthenticated \
>     >     -s dist-upgrade
>     Reading package lists...
>     Building dependency tree...
>     Reading state information...
>     Calculating upgrade...
>     The following held packages will be changed:
>       hhvm
>     The following packages will be upgraded:
>       hhvm
>     1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
>     E: Held packages were changed and -y was used without --allow-change-held-packages.
>     #
> 
> apt-get should be producing error messages that start with its program
> name, as is the Unix tradition, otherwise tracking down the culprit from
> scripts and pipelines is more difficult.

Not going to happen. The output has been this way for almost 20 years, 
we're not suddenly going to prepend stuff to it - that would actually 
break things.

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev
                  |  Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline').  Thank you.

--- End Message ---

Reply to: