On Fri, 24 Oct 2008 13:33:45 -0200, Eduardo M KALINOWSKI wrote:

>> I was experiencing with an unstable package, now I'd like to
>> downgrade this package...

>> $ apt-cache policy nfs-common
>> nfs-common:
>>   Installed: 1:1.1.3-2
>>   Candidate: 1:1.1.3-2
>>   Version table:
>>  *** 1:1.1.3-2 0
>>          40 http://ftp.fr.debian.org unstable/main Packages
>>         100 /var/lib/dpkg/status
>>      1:1.1.2-6lenny1 0
>>          50 http://ftp.fr.debian.org testing/main Packages
>>      1:1.0.10-6+etch.1 0
>>         500 http://debian.theralys.com etch/main Packages
>>
>> $ sudo apt-get install nfs-common=1.1.2-6 Reading package lists... Done
>> Building dependency tree... Done
>> E: Version '1.1.2-6' for 'nfs-common' was not found
>>
>> How do I downgrade to 1.1.2 ?
>>   
> Try apt-get install nfs-common=1.1.2-6lenny1, that's the correct version
> (not only 1.1.2-6).

Not enough -- also need the '1:' part (i.e., 1:1.1.2-6lenny1):

  % apt-cache policy nfs-common
  nfs-common:
    Installed: (none)
    Candidate: 1:1.1.2-6lenny1
    Version table:
       1:1.1.3-2 0
           50 http://gulus.usherbrooke.ca unstable/main Packages
       1:1.1.2-6lenny1 0
          300 http://gulus.usherbrooke.ca lenny/main Packages

  % apt-get install nfs-common=1.1.2-6lenny1
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  E: Version '1.1.2-6lenny1' for 'nfs-common' was not found

See, won't work. But...

  % apt-get install nfs-common=1:1.1.3-2
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following extra packages will be installed:
    libevent1 libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common portmap
  The following NEW packages will be installed:
    libevent1 libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common portmap

Adding the '1:' part allows me to install from unstable even the candidate
is from lenny, without any pinning!

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to