From: Stuckey on 22 Feb 2010 08:10 Thanks for the replies. So I've edited /etc/apt/preferences such: stuckey(a)debian:~$ cat /etc/apt/preferences Package: * Pin: origin www.debian-multimedia.org Pin-Priority: 200 And now, when I do "apt-cache policy mplayer" I get: debian:/home/stuckey# apt-cache policy mplayer mplayer: Installed: (none) Candidate: 1.0~rc3+svn20090405-1+b1 Version table: 1:1.0.rc2svn20100219-0.0 0 200 http://www.debian-multimedia.org sid/main Packages 1.0~rc3+svn20090405-1+b1 0 500 http://ftp.de.debian.org unstable/main Packages 1.0~rc3+svn20090405-1 0 100 /var/lib/dpkg/status I assume that means that when I just removed it, and then reinstalled it, that it took it from ftp.de.debian.org. So with such a configuration, how can I tel it that I want to install mplayer from debian-multimedia? Gruesse, Stuckey Quoting Andrei Popescu <andreimpopescu(a)gmail.com>: > On Sun,21.Feb.10, 23:00:25, Freeman wrote: > >> Nevertheless, my read is that if you install one of Marillat's sid packages, >> it will be 1.) a higher version of the 2.) same release from the 3.) >> Multimedia distribution. >> >> If you set your target release as described to unstable, unstable packages >> from the debian distribution will receive a priority of 990. That will not >> allow an automatic upgrade to a different distribution (Multimedia) but it >> also will not allow an automatic downgrade from a higher release. > > Only debian-multimedia is not a different distribution, just a different > source: > > $ apt-cache policy mplayer > mplayer: > Instalat: 1:1.0.rc2svn20100219-0.0 > CandideazÄ: 1:1.0.rc2svn20100219-0.0 > Tabela de versiuni: > *** 1:1.0.rc2svn20100219-0.0 0 > 500 http://www.debian-multimedia.org sid/main Packages > 100 /var/lib/dpkg/status > 1:1.0.rc2svn20091220-0.0 0 > 500 http://www.debian-multimedia.org squeeze/main Packages > 1.0~rc3+svn20090405-1+b1 0 > 500 http://debian.networx-bg.com sid/main Packages > 500 http://ftp.at.debian.org squeeze/main Packages > 1.0~rc2-17+lenny3 0 > 500 http://ftp.at.debian.org lenny/main Packages > > As you can see, debian-multimedia and my regular Debian source have same > priority and setting Default-Release will affect both, but the > "higher"[1] version from debian-multimedia is still installed > automatically. > > [1] I write "higher" with quotes because the actual version is smaller, > but Christian Marillat is using an epoch to get his version before the > official one. > >> I think you should just set your target release to unstable and leave >> Multimedia open. >> >> If you have to pin a package with a target release set, you'll have to pin >> it between 991-1000 to get the upgrade. >> >> Package: < package_name > >> Pin: version < n.n.n* > >> Pin-Priority: 991 > > Just pinning debian-multimedia to a lower priority than the official > source should be enough. What ever you (the OP) are trying out, use > apt-cache policy <package> to test. mplayer is a good package to test > because it exists in both repos. > > Regards, > Andrei > -- > Offtopic discussions among Debian users and developers: > http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic > -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100222140652.784745m35g0o9pik(a)webmail.uni-wuerzburg.de
From: Chris Bannister on 23 Feb 2010 06:10 On Mon, Feb 22, 2010 at 02:06:52PM +0100, Stuckey wrote: > Thanks for the replies. > > So I've edited /etc/apt/preferences such: > stuckey(a)debian:~$ cat /etc/apt/preferences > > Package: * > Pin: origin www.debian-multimedia.org > Pin-Priority: 200 > > And now, when I do "apt-cache policy mplayer" I get: > > debian:/home/stuckey# apt-cache policy mplayer > mplayer: > Installed: (none) > Candidate: 1.0~rc3+svn20090405-1+b1 > Version table: > 1:1.0.rc2svn20100219-0.0 0 > 200 http://www.debian-multimedia.org sid/main Packages > 1.0~rc3+svn20090405-1+b1 0 > 500 http://ftp.de.debian.org unstable/main Packages > 1.0~rc3+svn20090405-1 0 > 100 /var/lib/dpkg/status > > I assume that means that when I just removed it, and then > reinstalled it, that it took it from ftp.de.debian.org. > > So with such a configuration, how can I tel it that I want to > install mplayer from debian-multimedia? apt-get install -t debian-multimedia mplayer -- Chris. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100223121200.GD20070(a)fischer
From: Stuckey on 23 Feb 2010 06:20 Is it still necessary for me to set a target release? How do I do this? Thanks, Stuckey Quoting Chris Bannister <mockingbird(a)earthlight.co.nz>: > On Mon, Feb 22, 2010 at 02:06:52PM +0100, Stuckey wrote: >> Thanks for the replies. >> >> So I've edited /etc/apt/preferences such: >> stuckey(a)debian:~$ cat /etc/apt/preferences >> >> Package: * >> Pin: origin www.debian-multimedia.org >> Pin-Priority: 200 >> >> And now, when I do "apt-cache policy mplayer" I get: >> >> debian:/home/stuckey# apt-cache policy mplayer >> mplayer: >> Installed: (none) >> Candidate: 1.0~rc3+svn20090405-1+b1 >> Version table: >> 1:1.0.rc2svn20100219-0.0 0 >> 200 http://www.debian-multimedia.org sid/main Packages >> 1.0~rc3+svn20090405-1+b1 0 >> 500 http://ftp.de.debian.org unstable/main Packages >> 1.0~rc3+svn20090405-1 0 >> 100 /var/lib/dpkg/status >> >> I assume that means that when I just removed it, and then >> reinstalled it, that it took it from ftp.de.debian.org. >> >> So with such a configuration, how can I tel it that I want to >> install mplayer from debian-multimedia? > > apt-get install -t debian-multimedia mplayer > > -- > Chris. > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org > Archive: http://lists.debian.org/20100223121200.GD20070(a)fischer > > -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100223121538.17436c3plavez3yy(a)webmail.uni-wuerzburg.de
From: Stuckey on 23 Feb 2010 07:00 Quoting Chris Bannister <mockingbird(a)earthlight.co.nz>: > On Tue, Feb 23, 2010 at 12:15:38PM +0100, Stuckey wrote: >> Is it still necessary for me to set a target release? How do I do this? > > Please!. Don't top post on this list. > > Well if you dont have the "-t debian-multimedia" then it will installed > from the higher value preffered repository, but if you fave already > installed from debian-multimedia then updates for that package will be > installed by debian-multimedia. See? > > e.g. > > apt-get install -t debian-multimedia mplayer > > then later on if there is an update of mplayer in debian-multimedia, it > will be installed with an apt-get dist-upgrade. > > man apt_prefernces > > -- > Chris. > > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org > Archive: http://lists.debian.org/20100223130236.GA20905(a)fischer > > Thanks. I'll remember not to top post. Gruesse, Stuckey -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100223125925.11338srmhmqqt5i5(a)webmail.uni-wuerzburg.de
From: Chris Bannister on 23 Feb 2010 07:00 On Tue, Feb 23, 2010 at 12:15:38PM +0100, Stuckey wrote: > Is it still necessary for me to set a target release? How do I do this? Please!. Don't top post on this list. Well if you dont have the "-t debian-multimedia" then it will installed from the higher value preffered repository, but if you fave already installed from debian-multimedia then updates for that package will be installed by debian-multimedia. See? e.g. apt-get install -t debian-multimedia mplayer then later on if there is an update of mplayer in debian-multimedia, it will be installed with an apt-get dist-upgrade. man apt_prefernces -- Chris. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100223130236.GA20905(a)fischer
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: regexp for rename command - please help! Next: Controlling User Logins Using Pam |