[Bug 891696] Re: /etc/apt/preferences and /etc/apt/preferences.d/* are ignored.
Mika Suomalainen
mika.henrik.mainio at hotmail.com
Tue Mar 6 04:42:10 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
If I recall correctly, it happened with both, apt-get and aptitude.
Torsten Spindler <torsten at canonical.com> wrote:
>Can you remember if it failed with aptitude, not apt? I think there is
>a
>pending bug on preferences.d support for aptitude.
>
>--
>You received this bug notification because you are subscribed to the
>bug
>report.
>https://bugs.launchpad.net/bugs/891696
>
>Title:
> /etc/apt/preferences and /etc/apt/preferences.d/* are ignored.
>
>Status in “apt” package in Ubuntu:
> Incomplete
>
>Bug description:
> Apt pinning is not possible, because /etc/apt/preferences and
> /etc/apt/preferences.d/* files are ignored.
>
> I know that they are ignored, because I made syntax error (after I had
> set up pinnings on both computers and noticed that they didn'' work on
> Ubuntu) in that file with two computers running different
> distribution. Debian gave error, Ubuntu didn't do anything.
>
> Apt pinning with these files is referred from wiki pages and man
> pages.
>
> I am using Ubuntu 11.10
> Package version is 0.8.16~exp5ubuntu13
> % apt-get --version
>apt 0.8.16~exp5ubuntu13 laitealustalle i386 käännöksen päiväys Oct 6
>2011 15:25:29
> Tuetut moduulit:
> *Ver: Standard .deb
> *Pkg: Debian dpkg interface (Priority 30)
> Pkg: Debian APT solver interface (Priority -1000)
> S.L: 'deb' Standard Debian binary tree
> S.L: 'deb-src' Standard Debian source tree
> Idx: Debian Source Index
> Idx: Debian Package Index
> Idx: Debian Translation Index
> Idx: Debian dpkg status file
> Idx: EDSP scenario file
>
> I expected packages to get pinned.
>
> What happened instead: apt just ignored /etc/apt/preferences and
> /etc/apt/preferences.d/
>
> Steps to reproduce:
>1. Write anything to /etc/apt/preferences or some file in
>/etc/apt/preferences.d/
> 2. That file is ignored in Ubuntu (with Debian you get error).
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: apt 0.8.16~exp5ubuntu13
> ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
> Uname: Linux 3.0.0-12-generic i686
> NonfreeKernelModules: nvidia wl
> ApportVersion: 1.23-0ubuntu4
> Architecture: i386
> Date: Thu Nov 17 18:20:44 2011
>InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386
>(20110427.1)
> SourcePackage: apt
> UpgradeStatus: Upgraded to oneiric on 2011-10-09 (39 days ago)
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/ubuntu/+source/apt/+bug/891696/+subscriptions
Mika Suomalainen
> gpg --keyserver keyserver.ubuntu.com --recv-keys 62FE66853913CB03
-----BEGIN PGP SIGNATURE-----
Version: APG v1.0.8
iQEuBAEBCAAYBQJPVZWeERxNaWthIFN1b21hbGFpbmVuAAoJEGL+ZoU5E8sDmNsH
/jkgYmdPfIthEW1Rb3M15TaAuwUAgvRkRSECW83r/gyJevtcDBJKqd/jxLKUInqM
+Zf0cWCl629UTzSP9tgkjki3rkaCppZ3H1ygvHSe2w//naCmFhJl60pbHBxZhZoL
ua5MRRlPoTO5TQhVPGnnxtcASB92WrzMgfNT+EvJtJJuT48gs3/dpmZmX/hRPYuH
LObQQwQG3vTWbd61rWrDDUaD6jEqEWkP0uC3HlRUQWw8wcAGLOTgnNkko3nFpUjp
xElSuzbDxP0wLIm3tqaDYLukTEpVGQB3RPsoUSyhRUa/x6N6vno6xljdA7AFTjdP
Q4/oCQ6NfixqQIO966D6m5o=
=QYKU
-----END PGP SIGNATURE-----
--
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/891696
Title:
/etc/apt/preferences and /etc/apt/preferences.d/* are ignored.
Status in “apt” package in Ubuntu:
Incomplete
Bug description:
Apt pinning is not possible, because /etc/apt/preferences and
/etc/apt/preferences.d/* files are ignored.
I know that they are ignored, because I made syntax error (after I had
set up pinnings on both computers and noticed that they didn'' work on
Ubuntu) in that file with two computers running different
distribution. Debian gave error, Ubuntu didn't do anything.
Apt pinning with these files is referred from wiki pages and man
pages.
I am using Ubuntu 11.10
Package version is 0.8.16~exp5ubuntu13
% apt-get --version
apt 0.8.16~exp5ubuntu13 laitealustalle i386 käännöksen päiväys Oct 6 2011 15:25:29
Tuetut moduulit:
*Ver: Standard .deb
*Pkg: Debian dpkg interface (Priority 30)
Pkg: Debian APT solver interface (Priority -1000)
S.L: 'deb' Standard Debian binary tree
S.L: 'deb-src' Standard Debian source tree
Idx: Debian Source Index
Idx: Debian Package Index
Idx: Debian Translation Index
Idx: Debian dpkg status file
Idx: EDSP scenario file
I expected packages to get pinned.
What happened instead: apt just ignored /etc/apt/preferences and
/etc/apt/preferences.d/
Steps to reproduce:
1. Write anything to /etc/apt/preferences or some file in /etc/apt/preferences.d/
2. That file is ignored in Ubuntu (with Debian you get error).
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apt 0.8.16~exp5ubuntu13
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
NonfreeKernelModules: nvidia wl
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Thu Nov 17 18:20:44 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: apt
UpgradeStatus: Upgraded to oneiric on 2011-10-09 (39 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/891696/+subscriptions
More information about the foundations-bugs
mailing list