FWIW, reading the code for trusty, I assume that

(1) burp 2.0.54 is not in a repo, only locally installed
(2) hence the code that checks whether the specified pin can be valid says "no" 
and ignores it, because it does not find any source, and thus concludes that 
the package only has available sources marked as "never".

Should be easy to fix.

** Also affects: apt (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: apt (Ubuntu Trusty)
       Status: New => Triaged

** Changed in: apt (Ubuntu)
       Status: Incomplete => Invalid

** Changed in: apt (Ubuntu Trusty)
   Importance: Undecided => Critical

** Changed in: apt (Ubuntu Trusty)
     Assignee: (unassigned) => Julian Andres Klode (juliank)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1821308

Title:
  apt-get upgrade ignores pinning preferences since 1.0.1ubuntu2.22

Status in apt package in Ubuntu:
  Invalid
Status in apt source package in Trusty:
  Triaged

Bug description:
  I have updated apt this morning:

  Start-Date: 2019-03-22  09:36:18
  Commandline: apt-get dist-upgrade
  Upgrade: apt:amd64 (1.0.1ubuntu2.20, 1.0.1ubuntu2.22), ...

  
  Afterwards, apt-get ignores my pinning preferences:

  # apt-get --dry-run upgrade
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculating upgrade... Done
  The following packages will be DOWNGRADED:
    burp
  0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
  Inst burp [2.0.54-1] (1.3.48-4 Ubuntu:14.04/trusty [amd64])
  Conf burp (1.3.48-4 Ubuntu:14.04/trusty [amd64])

  
  # cat /etc/apt/preferences.d/burp.pref
  Package: burp
  Pin: version 2.0.54*
  Pin-Priority: 1000

  
  This might be caused by bug 1814727 as it's the only thing I can see in the 
changelog regarding apt/pinning.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to