-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
The steps how I encountered this were: 1. Add pinning for Debian Sid. 2. "aptitude update" 3. "aptitude upgrade" and aptitude wants to upgrade to Debian Sid. (I cannot test does this still happen, because I don't have Ubuntu installed anywhere right now :(.) 1.3.2012 11:57, Torsten Spindler kirjoitti: > I've added two files to /etc/apt/preferences.d, one containing a > pin, the other nonsense: > > $ cat /etc/apt/preferences.d/apache Package: apache2 Pin: release > n=lucid Pin-Priority: 900 > > Package: apache2 Pin: release n=precise Pin-Priority: 100 > > $ cat /etc/apt/preferences.d/wurst just a test > > Upon 'apt-cache policy apache2' I get an error for wurst and the > pinning (sort of) worked: apache2: Installed: (none) Candidate: > 2.2.14-5ubuntu8 Package pin: 2.2.14-5ubuntu8 Version table: > 2.2.22-1ubuntu1 900 500 http://archive.ubuntu.com/ubuntu/ > precise/main i386 Packages 2.2.14-5ubuntu8 900 500 > http://archive.ubuntu.com/ubuntu/ lucid/main i386 Packages N: Can > not read /etc/apt/sources.list.d/a.list. E: Invalid record in the > preferences file /etc/apt/preferences.d/wurst, no Package header > > Not sure why 2.2.22-1ubuntu1 is listed with 900 instead of 100, > though. Can you provide steps to reproduce your problem? > > > ** Changed in: apt (Ubuntu) Status: New => Incomplete > - -- Mika Suomalainen > Hotmail: >> gpg --keyserver keyserver.ubuntu.com --recv-keys >> 7969153703D41B0D > GMail: >> gpg --keyserver keyserver.ubuntu.com --recv-keys >> 67D0EF32C0151D5C > TouchLay (revoked): >> gpg --keyserver keyserver.ubuntu.com --recv-keys >> EB3FC5CC8751C396 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPUSOdAAoJEHlpFTcD1BsN9rEIAJkV9TiqMmYGsgFltIHwiYMl 4b1bCPdJ7HnF0Qn9mtsaZ3359ZaGo5XnjiN1gpWTpfTgmzIfFpks5o/0K95snY3D M3rnn8bgFb2jzadScJi9TLYwpHO/pycPO+VifVt5Sosfe05V8tFU2U5Y1IPLXCMr axZvniZ5+FCncX4MATBiUBBf4pjD3IAuIhOd2UwH+Mfw/M+jH0jNC7GiPhVpTU8a 3zob4WIMAr87+nEEEKlULOjSH5i4nwrf6DbcLay6hKPPg6jrmZB5GU0Mt3MFXkev vh4udh0psAZRjfR3m9iYFCXKgNJLlTJbJF9QlDV3r9hV2VBm3Whb7hk2qEC1g88= =gXIz -----END PGP SIGNATURE----- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/891696 Title: /etc/apt/preferences and /etc/apt/preferences.d/* are ignored. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/891696/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
