FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-21-2010, 01:06 PM
Stuckey
 
Default Debian-Multimedia

Hello,

I have the debian-multimedia in my sources.list file, and so far I've
just been commenting it in/out whenever I want to install something
from it. I only want certain packages from it, the ones that I can't
get from the regular repository. How can I configure aptitude so that
it will only pull the packages that I tell it to from debiam-multimedia?


I'm using Sid. Here's my sources.list file:

#### unstable ########
deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free

#deb http://ftp.de.debian.org/debian squeeze main contrib non-free

#### dmm #########
#deb http://www.debian-multimedia.org sid main

Thanks,
Stuckey


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 20100221150630.1783210k05y2j5ra@webmail.uni-wuerzburg.de">http://lists.debian.org/20100221150630.1783210k05y2j5ra@webmail.uni-wuerzburg.de
 
Old 02-21-2010, 02:18 PM
Rob Owens
 
Default Debian-Multimedia

On Sun, Feb 21, 2010 at 03:06:30PM +0100, Stuckey wrote:
> Hello,
>
> I have the debian-multimedia in my sources.list file, and so far I've
> just been commenting it in/out whenever I want to install something from
> it. I only want certain packages from it, the ones that I can't get from
> the regular repository. How can I configure aptitude so that it will only
> pull the packages that I tell it to from debiam-multimedia?
>
> I'm using Sid. Here's my sources.list file:
>
> #### unstable ########
> deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
> deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free
>
> #deb http://ftp.de.debian.org/debian squeeze main contrib non-free
>
> #### dmm #########
> #deb http://www.debian-multimedia.org sid main
>
This info comes from backports.org, but it should also apply to
debian-mulitmedia.org, as far as pinning priority goes:


If you want to get your packages from backports upgraded automatically
the following entry in /etc/apt/preferences should be sufficient:

Package: *
Pin: release a=lenny-backports
Pin-Priority: 200


I *think* your pin line should read like this:
Pin: origin www.debian-multimedia.org

I have lenny-backports pinned at 200, and it does not install anything
from backports w/o me specifying it. It will automatically upgrade
existing backports packages with newer versions of backports packages as
they come out.

See man apt_preferences for more details.

-Rob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100221151839.GB8278@aurora.owens.net">http://lists.debian.org/20100221151839.GB8278@aurora.owens.net
 
Old 02-22-2010, 06:00 AM
Freeman
 
Default Debian-Multimedia

On Sun, Feb 21, 2010 at 03:06:30PM +0100, Stuckey wrote:
> Hello,
>
> I have the debian-multimedia in my sources.list file, and so far
> I've just been commenting it in/out whenever I want to install
> something from it. I only want certain packages from it, the ones
> that I can't get from the regular repository. How can I configure
> aptitude so that it will only pull the packages that I tell it to
> from debiam-multimedia?
>
> I'm using Sid. Here's my sources.list file:
>
> #### unstable ########
> deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
> deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free
>
> #deb http://ftp.de.debian.org/debian squeeze main contrib non-free
>
> #### dmm #########
> #deb http://www.debian-multimedia.org sid main
>

Guess I always wanted the upgrade if there was a package in multimedia.

Refer: man apt_preferences; Apt's Default Priority Assignments

Apt preferences docs interchange terms like they were dice in street craps,
or my head is a fish bowl, which may be a possibility.

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.

Aptitude will try to satisfy dependencies to do what you ask. Commenting
the multimedia source out might even lower the those packages priorities in
an unrelated resolution attempt by Aptitude. I believe I've seen Aptitude
remove packages after I closed a source.

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

Then you will have to watch and edit for version changes.

--
Kind Regards,
Freeman


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100222070025.GB7355@Europa.office">http://lists.debian.org/20100222070025.GB7355@Europa.office
 
Old 02-22-2010, 06:10 AM
Freeman
 
Default Debian-Multimedia

On Sun, Feb 21, 2010 at 11:00:25PM -0800, evenso wrote:

Erratum:

>
> 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.
>

Should read "downgrade from a higher *version* (Multimedia packages)."
Although "release" is also true.

--
Kind Regards,
Freeman


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100222071005.GC7355@Europa.office">http://lists.debian.org/20100222071005.GC7355@Europa.office
 
Old 02-22-2010, 07:18 AM
Andrei Popescu
 
Default Debian-Multimedia

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
 
Old 02-22-2010, 12:06 PM
Stuckey
 
Default Debian-Multimedia

Thanks for the replies.

So I've edited /etc/apt/preferences such:
stuckey@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@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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100222140652.784745m35g0o9pik@webmail.uni-wuerzburg.de">http://lists.debian.org/20100222140652.784745m35g0o9pik@webmail.uni-wuerzburg.de
 
Old 02-23-2010, 10:15 AM
Stuckey
 
Default Debian-Multimedia

Is it still necessary for me to set a target release? How do I do this?

Thanks,
Stuckey

Quoting Chris Bannister <mockingbird@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@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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20100223121200.GD20070@fischer







--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 20100223121538.17436c3plavez3yy@webmail.uni-wuerzburg.de">http://lists.debian.org/20100223121538.17436c3plavez3yy@webmail.uni-wuerzburg.de
 
Old 02-23-2010, 10:59 AM
Stuckey
 
Default Debian-Multimedia

Quoting Chris Bannister <mockingbird@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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20100223130236.GA20905@fischer




Thanks. I'll remember not to top post.

Gruesse,
Stuckey



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 20100223125925.11338srmhmqqt5i5@webmail.uni-wuerzburg.de">http://lists.debian.org/20100223125925.11338srmhmqqt5i5@webmail.uni-wuerzburg.de
 
Old 02-23-2010, 11:12 AM
Chris Bannister
 
Default Debian-Multimedia

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@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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100223121200.GD20070@fischer">http://lists.debian.org/20100223121200.GD20070@fischer
 
Old 02-23-2010, 11:13 AM
"Wayne
 
Default Debian-Multimedia

Stuckey wrote:

Quoting Chris Bannister <mockingbird@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.


<<< SNIP >>>





Thanks. I'll remember not to top post.


And also remember to trim your posts. Delete all that does not
apply to your reply.


Thanks from those of us who have download limits and those who
pay for the bytes received.

Wayne


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4B83C652.10608@gmail.com">http://lists.debian.org/4B83C652.10608@gmail.com
 

Thread Tools




All times are GMT. The time now is 09:27 AM.

VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org