On Ma, 18 iun 13, 18:00:37, Roland Hieber wrote:
> Hi,
>
> I want to pin the libav* packages from deb-multimedia so they get a
> lower priority than the libav packages in the default Debian repos.
>
> My sources.list looks like this:
>
> $ cat /etc/apt/sources.list /etc/apt/sources.list.d/*list
> # deb [arch=amd64,i386] http://debian.tu-bs.de/debian/ wheezy main
> contrib non-free
>
> deb [arch=amd64,i386] http://debian.tu-bs.de/debian/ wheezy main contrib
Side note: you don't need to add the architecture to sources.list, apt
will automatically use all architectures configured with dpkg.
>
> My preferences look like this:
>
> $ cat /etc/apt/preferences.d/*.pref
> Package: libavdevice53
> Pin: release o=Unofficial Multimedia Packages
> Pin-Priority: 250
>
> (/etc/apt/preferences is empty and "Unofficial Multimedia Packages" is
> what
> http://debian-multimedia.informatik.uni-erlangen.de/debian-multimedia/dists/testing/Release
> says for the Origin: header)
Looks good to me.
> But nevertheless, apt still assigns a prio of 500:
>
> $ apt-cache policy libavdevice53
> libavdevice53:
> Installed: 6:9.3-1
> Candidate: 7:0.10.3-dmo1
> Package pin: 7:0.10.3-dmo1
> Version table:
> 7:0.10.3-dmo1 250
> 500
> http://debian-multimedia.informatik.uni-erlangen.de/debian-multimedia/
> testing/main amd64 Packages
> *** 6:9.3-1 250
> 100 /var/lib/dpkg/status
> 6:0.8.6-1 250
> 500 http://debian.tu-bs.de/debian/ wheezy/main amd64 Packages
>
>
> However, if I change the pinning to Package: *, everything works as
> expected (for all packages of course, but I don't need that :P)
>
> Is this a PEBCAK, or is this a bug in apt?
It's certainly strange. Are you sure there's no typo in the file (i.e.
you copy-pasted and not copied the contents to the e-mail)? Could you
please also attach the output of:
apt-cache policy
apt-cache policy libavdevice53:amd64
apt-cache policy libavdevice53:i386
Which one is your main architecture (dpkg --print-architecture)?
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
Attachment:
signature.asc
Description: Digital signature