[Aptitude-devel] Bug#701664: Bug#701664: Aptitude 0.6.3-3.2+squeeze1 still ignores /etc/apt/preferences.d/*
Bernard Rosset
be.rosset at gmail.com
Mon Feb 25 22:05:25 UTC 2013
Always RTFM...
The '.list' extension was a mimic of my sources list files, I was not
thinking it would cause trouble, even though I thought about that
hypothesis doing it.
I get the same problem whether I use aptitude or apt-get, the '.' is not
tolerated. Strange.
No bug then, maybe just a feature I consider not being intuitive.
Thanks for the quick & efficient answer!
---
*Bernard Rosset**
*
On Mon, Feb 25, 2013 at 4:23 PM, Axel Beckert <abe at debian.org> wrote:
> Control: tag -1 + moreinfo
>
> Hi Bernard,
>
> Bernard Rosset wrote:
> > Package: aptitude
> > Version : 0.6.3-3.2+squeeze1
> >
> > The content of files in /etc/apt/preferences.d/* are not taken into
> account
> > by aptitude. You still need to use /etc/apt/preferences
> > Following the bug report
> > #557580<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557580>,
> > this bug is already supposed being resolved by aptituve v0.6.3-3.2:
> [...]
> > me at pc:~$ cat /etc/apt/preferences.d/deb-multimedia.list
>
> According to the documentation, a file with this file name will be
> ignored by apt, too, so it should be correct if aptitude ignores it:
>
> From apt_preferences(5):
>
> Note that the files in the /etc/apt/preferences.d directory are
> parsed in alphanumeric ascending order and need to obey the
> following naming convention: The files have no or "pref" as
> filename extension and which only contain alphanumeric, hyphen
> (-), underscore (_) and period (.) characters - otherwise they
> will be silently ignored.
>
> So please check:
>
> * Does "apt-get" / "apt-cache policy" also ignore that file?
> * Does aptitude no more ignore the file if you remove the .list file
> name suffix?
>
> Regards, Axel
> --
> ,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
> : :' : | Debian Developer, ftp.ch.debian.org Admin
> `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
> `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20130225/8877366f/attachment.html>
More information about the Aptitude-devel
mailing list