On Fri, Sep 14, 2007 at 16:20:50 +0000, - Tong - wrote: > Hi, > > Is it possible to temporarily disable a repository? > If so, how? > > I'm using ffmpeg from debian-multimedia repository, but I want to use the > version from official Debian lenny repository instead temporarily. What's > the easiest way of doing that? > > thanks > > Ref: > > $ apt-cache policy ffmpeg > ffmpeg: > Installed: 3:20070719-0.0 > Candidate: 3:20070719-0.0 > Version table: > *** 3:20070719-0.0 0 > 600 http://debian-multimedia.gnali.org testing/main Packages > 100 /var/lib/dpkg/status > 0.cvs20070307-6 0 > 600 http://gulus.usherbrooke.ca lenny/main Packages > 50 http://gulus.usherbrooke.ca unstable/main Packages > > % apt-get -t lenny install ffmpeg > Reading package lists... Done > Building dependency tree > Reading state information... Done > ffmpeg is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 1126 not upgraded.
Try apt-get install ffmpeg/lenny or apt-get install ffmpeg=0.cvs20070307-6 If you want to change priorities for an entire archive then you probably have to use package pinning (see the manpage for apt_preferences). -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]