[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Broke /etc/apt/preferences when trying to use just one package from unstable.



Le samedi 26 juillet 2008, Florian Kulzer a écrit :

[SNIP]

> Your apt_preferences has multiple matches for certain repositories
> and your last two rules put the priority of more or less everything
> to -1. I am not surprised that apt starts to become weird.
>
> Your goal can be achieved much simpler, with just one rule in
> preferences:
>
> Package: *
> Pin: release a=unstable
> Pin-Priority: 1
>
> This means that testing will normally be preferred to unstable
> (unless you ask for a package that is not in testing yet). In other
> words, you can upgrade your testing system like before, and whenever
> you want one or more packages from unstable you can call apt-get with
> "-t unstable", e.g.:
>
> apt-get -t unstable install flashplugin-nonfree

You can achieve the same behaviour by just adding this option in 
apt.conf :

APT::Default-Release stable;
>
> --
> Regards,            | http://users.icfo.es/Florian.Kulzer
>           Florian   |

Regards

-- 
Why Debian : http://www.debian.org/intro/why_debian

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: