[Bug 1465814] [NEW] Apt did the opposite of what I told it to do when it asked me a yes or no question

The Unknown 1465814 at bugs.launchpad.net
Tue Jun 16 19:00:56 UTC 2015


Public bug reported:

Today I executed the command:

    sudo apt-get dist-upgrade

And this was the output:

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      aptdaemon aptdaemon-data python-aptdaemon python-aptdaemon.gtk3widgets
      python3-aptdaemon python3-aptdaemon.gtk3widgets python3-aptdaemon.pkcompat
      wpasupplicant
    8 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
    Need to get 1,146 kB of archives.
    After this operation, 3,072 B of additional disk space will be used.
    Do you want to continue? [Y/n] 

So I answered 'y' (without the quotes), and this was the output:

    Abort.

And it seemingly aborted instead of doing what I said, although when I
ran the command again, it installed the upgrades instead of aborting,
but I just thought that I should report this as it seemed buggy as this
is not what it is meant to do.

---

OS Information:

    Description:	Ubuntu 15.04
    Release:	15.04

Package Information:

    apt:
      Installed: 1.0.9.7ubuntu4
      Candidate: 1.0.9.7ubuntu4
      Version table:
     *** 1.0.9.7ubuntu4 0
            500 http://gb.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
            100 /var/lib/dpkg/status

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- Today I have the command:
+ Today I executed the command:
  
      sudo apt-get dist-upgrade
  
  And this was the output:
  
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Calculating upgrade... Done
      The following packages will be upgraded:
        aptdaemon aptdaemon-data python-aptdaemon python-aptdaemon.gtk3widgets
        python3-aptdaemon python3-aptdaemon.gtk3widgets python3-aptdaemon.pkcompat
        wpasupplicant
      8 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
      Need to get 1,146 kB of archives.
      After this operation, 3,072 B of additional disk space will be used.
      Do you want to continue? [Y/n] 
  
  So I answered 'y' (without the quotes), and this was the output:
  
      Abort.
  
  And it seemingly aborted instead of doing what I said, although when I
  ran the command again, it installed the upgrades instead of aborting,
  but I just thought that I should report this as it seemed buggy as this
  is not what it is meant to do.
  
  ---
  
  OS Information:
  
      Description:	Ubuntu 15.04
      Release:	15.04
  
  Package Information:
  
      apt:
        Installed: 1.0.9.7ubuntu4
        Candidate: 1.0.9.7ubuntu4
        Version table:
       *** 1.0.9.7ubuntu4 0
              500 http://gb.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
              100 /var/lib/dpkg/status

** Summary changed:

- When I answered "y" to a question, it aborted
+ Apt did the opposite of what I told it to do when it asked me a yes or no question

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1465814

Title:
  Apt did the opposite of what I told it to do when it asked me a yes or
  no question

Status in apt package in Ubuntu:
  New

Bug description:
  Today I executed the command:

      sudo apt-get dist-upgrade

  And this was the output:

      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Calculating upgrade... Done
      The following packages will be upgraded:
        aptdaemon aptdaemon-data python-aptdaemon python-aptdaemon.gtk3widgets
        python3-aptdaemon python3-aptdaemon.gtk3widgets python3-aptdaemon.pkcompat
        wpasupplicant
      8 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
      Need to get 1,146 kB of archives.
      After this operation, 3,072 B of additional disk space will be used.
      Do you want to continue? [Y/n] 

  So I answered 'y' (without the quotes), and this was the output:

      Abort.

  And it seemingly aborted instead of doing what I said, although when I
  ran the command again, it installed the upgrades instead of aborting,
  but I just thought that I should report this as it seemed buggy as
  this is not what it is meant to do.

  ---

  OS Information:

      Description:	Ubuntu 15.04
      Release:	15.04

  Package Information:

      apt:
        Installed: 1.0.9.7ubuntu4
        Candidate: 1.0.9.7ubuntu4
        Version table:
       *** 1.0.9.7ubuntu4 0
              500 http://gb.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
              100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1465814/+subscriptions



More information about the foundations-bugs mailing list