quick apt command help...

Derek Broughton news at pointerstop.ca
Thu Jun 15 14:23:23 UTC 2006


ZephyrQ wrote:

> Arnaud_B wrote:
>> do you mean debian unstable?
>> if yes you need to do:
>> $wget http://tinyurl.com/lbhwg
>> $sudo dpkg -i gphoto2
>> if you mean dapper(which is not unstable because current stable...):
>> $wget http://tinyurl.com/ot8gk
>> $sudo dpkg -i gphoto2
>> Edgy repositories are not yet open from what I know...
>> Hope this helps,
>> A.
> 
> Thanx for the help, but unfortunately, I've been down this road.
> 
> What I need is a way to use Apt to retrieve and install gphoto2 with
> dependencies from the unstable branch (still trying to get an iRiver
> going) and I can't seem to find the command I need.
> 
> I do not have unstable in my sources.list as I'm trying to not
> 'confuse' breezy before an update to dapper.

There really is no such "command".  What you can do is add apt "pinning". 
NB!  I'm no expert at this!

Add Debian unstable to your sources.list.

In /etc/apt/preferences, add:

  Package: *gphoto*
  Pin: release o=Debian
  Pin-Priority: 650

  Package: *
  Pin: release o=Debian
  Pin-Priority: -1

This makes anything with 'gphoto' in the name have a priority of 650 (higher
than the default 500) and anything else in a Debian repository have a
priority of -1 (uninstallable).

Try the install, it'll no doubt fail because of dependencies, then add new
entries for the missing packages until it works.  By the time you have all
the dependencies working, it may be trying to remove your Gnome or KDE
install, because something (many things, actually) in Debian is
incompatible with Breezy.
-- 
derek





More information about the ubuntu-users mailing list