[Bug 1245929] [NEW] apt pinning preferences are ignored

Braiam Peguero 1245929 at bugs.launchpad.net
Tue Oct 29 15:40:38 UTC 2013


Public bug reported:

I've seen already the "possible related" but either they have been fixed
or doesn't apply.

I'm trying to set the PPA's with lower priority than normal releases
using:

Package: *
 Pin: origin "ppa.launchpad.net"
 Pin-Priority: 400

This works without problems in Debian, but in Ubuntu ppa.launchpad.net
keeps it's 500 priority:

apt-cache policy | grep ppa
 500 http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu/ raring/main i386 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu/ raring/main amd64 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ raring/main i386 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ raring/main amd64 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ raring/main i386 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ raring/main amd64 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu/ raring/main i386 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu/ raring/main amd64 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/phablet-team/tools/ubuntu/ raring/main i386 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/phablet-team/tools/ubuntu/ raring/main amd64 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/libreoffice/libreoffice-4-0/ubuntu/ raring/main i386 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/libreoffice/libreoffice-4-0/ubuntu/ raring/main amd64 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/kilian/f.lux/ubuntu/ raring/main i386 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/kilian/f.lux/ubuntu/ raring/main amd64 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/juju/stable/ubuntu/ raring/main i386 Packages
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/juju/stable/ubuntu/ raring/main amd64 Packages
     origin ppa.launchpad.net

This is not desirable. I've tried other combinations such:

Pin: release o=LP-PPA-saiarcot895-chromium-beta
(for each of the ppa's)

Pin: release v=13.04,o=LP-PPA-juju-stable,a=raring,n=raring,l=juju stable packages,c=main
(again, for each of the ppa's)

release l=juju stable packages
(also tried labels alone)

Etc. None of them works.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: apt 0.9.7.7ubuntu6
ProcVersionSignature: Ubuntu 3.8.0-32.47-generic 3.8.13.10
Uname: Linux 3.8.0-32-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.5
Architecture: amd64
Date: Tue Oct 29 11:19:09 2013
MarkForUpload: True
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug raring

-- 
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/1245929

Title:
  apt pinning preferences are ignored

Status in “apt” package in Ubuntu:
  New

Bug description:
  I've seen already the "possible related" but either they have been
  fixed or doesn't apply.

  I'm trying to set the PPA's with lower priority than normal releases
  using:

  Package: *
   Pin: origin "ppa.launchpad.net"
   Pin-Priority: 400

  This works without problems in Debian, but in Ubuntu ppa.launchpad.net
  keeps it's 500 priority:

  apt-cache policy | grep ppa
   500 http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu/ raring/main i386 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu/ raring/main amd64 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ raring/main i386 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ raring/main amd64 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ raring/main i386 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ raring/main amd64 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu/ raring/main i386 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu/ raring/main amd64 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/phablet-team/tools/ubuntu/ raring/main i386 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/phablet-team/tools/ubuntu/ raring/main amd64 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/libreoffice/libreoffice-4-0/ubuntu/ raring/main i386 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/libreoffice/libreoffice-4-0/ubuntu/ raring/main amd64 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/kilian/f.lux/ubuntu/ raring/main i386 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/kilian/f.lux/ubuntu/ raring/main amd64 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/juju/stable/ubuntu/ raring/main i386 Packages
       origin ppa.launchpad.net
   500 http://ppa.launchpad.net/juju/stable/ubuntu/ raring/main amd64 Packages
       origin ppa.launchpad.net

  This is not desirable. I've tried other combinations such:

  Pin: release o=LP-PPA-saiarcot895-chromium-beta
  (for each of the ppa's)

  Pin: release v=13.04,o=LP-PPA-juju-stable,a=raring,n=raring,l=juju stable packages,c=main
  (again, for each of the ppa's)

  release l=juju stable packages
  (also tried labels alone)

  Etc. None of them works.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: apt 0.9.7.7ubuntu6
  ProcVersionSignature: Ubuntu 3.8.0-32.47-generic 3.8.13.10
  Uname: Linux 3.8.0-32-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.5
  Architecture: amd64
  Date: Tue Oct 29 11:19:09 2013
  MarkForUpload: True
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list