[SWLUG] lost and got back CUPS then cannot reinstall driver

Stephen stephanos at writeme.com
Thu Mar 18 08:57:29 UTC 2010



Neil Greenwood wrote:
> On 17 March 2010 08:08, Stephen Constantinou
> <stephenthegreek at ntlworld.com> wrote:
>> Dear Neil and anyone else
>>
>> Thanks for the help and here are the results.
>> I have made comments in ()
>>
>>  From pc with cups NOT able to list my printer driver
>> ----------------------------------------------------
>> stephanos at dell:~$ sudo apt-cache policy cups
>> [sudo] password for stephanos:
>> cups:
>>   Installed: 1.3.9-17ubuntu3.6 (on the laptop this line says “... 3.4”)
>>   Candidate: 1.3.9-17ubuntu3.6
>>   Version table:
>>  *** 1.3.9-17ubuntu3.6 0
>>         500 http://gb.archive.ubuntu.com jaunty-updates/main Packages
>>         500 http://security.ubuntu.com jaunty-security/main Packages
>>         100 /var/lib/dpkg/status
>>      1.3.9-17ubuntu1 0
>>         500 http://gb.archive.ubuntu.com jaunty/main Packages
>> stephanos at dell:~$
>> ----------------------------------------------------
>>
>>  From laptop with cups able to list my printer driver
>> ----------------------------------------------------
>> stephanos2 at stephanos2-laptop:~$ sudo apt-cache policy cups
>> [sudo] password for stephanos2:
>> cups:
>>   Installed: 1.3.9-17ubuntu3.4 (this is 3.6 on the PC)
>>   Candidate: 1.3.9-17ubuntu3.6
>>   Version table:
>>      1.3.9-17ubuntu3.6 0
>>         500 http://gb.archive.ubuntu.com jaunty-updates/main Packages
>>         500 http://security.ubuntu.com jaunty-security/main Packages
>>  *** 1.3.9-17ubuntu3.4 0 (this one is not in/on the PC?)
>>         100 /var/lib/dpkg/status
>>      1.3.9-17ubuntu1 0
>>         500 http://gb.archive.ubuntu.com jaunty/main Packages
>> stephanos2 at stephanos2-laptop:~$
>> ----------------------------------------------------
>>
> 
> 
> Right, so looking at that, we need to:
> 1. stop the laptop upgrading from the version that works,
> 2. get the desktop back to the version that works.
> 
> I don't know adept, since I use Ubuntu. I've not done it before (even
> under Gnome), so I'm explaining my method to discover the correct
> process, in case that helps you find out how to do it. Do you prefer
> using the GUI, or are you happy using the command line?
> 
> In synaptic (the Gnome package manager), I choose the package and then
> in the Properties, there is a Versions tab. At the bottom, it gives
> some help about how to force the installation of a specific version
> ("use the Package > Force Version menu option"). I would guess that
> there is a similar option in adept. There's also a 'Lock Version'
> option on the same menu which will prevent it upgrading on the laptop.
> 
> On the command line, you can use 'apt-get hold cups' (or 'aptitude
> hold cups') on the laptop to stop it upgrading. You can use 'apt-get
> install cups=<version>' to force it to downgrade on the desktop. So
> for your particular case, you would use 'apt-get install
> cups=1.3.9-17ubuntu3.4'.
> 
> OK, I forgot to include the 'sudo' command on all the command-line
> examples above.
> 
> It looks like in this case, the GUI is easier; I normally prefer the
> command-line, but the GUI helps guide you to the correct options. I'd
> seen the '=<version>' on a blog post recently, which certainly helped
> along with a check on Google.
> 
> 
> HTH
> Cofion,
> Neil.
> 
> _______________________________________________
> SWLUG Discussion List - Discuss at swlug.org
> http://swlug.org/mailman/listinfo/discuss

Dear Neil

Lots of good advice, thanks.

On the PC I tried the:
   sudo apt-get install cups=1.3.9-17ubuntu3.4 and got the following
stephanos at dell:~$ sudo apt-get install cups=1.3.9-17ubuntu3.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version ‘1.3.9-17ubuntu3.4’ for ‘cups’ was not found
stephanos at dell:~$

Next I tried Synaptic and indeed found several entries such as
cups          1.3.9-17ubuntu3.6
cups-bsd      1.3.9-17ubuntu3.6
cups-dbg      1.3.9-17ubuntu3.6
cups-common   1.3.9-17ubuntu3.6
libcups2      1.3.9-17ubuntu3.6

Each noted that version 3.7 was available and when I followed the 
Package > Force Version for each of the above, I was offered 3.7 and 
what I think was a lesser version: 1.3.9-17ubuntu1 (Jaunty).  I tried 
this for the first package cups 1.3.9-17ubuntu3.6 but this did not bring 
the printer option I need.

I used Synaptic to upgrade to 3.7 but that did not help either.

Thanks for the assistance.

Hope to hear from Neil or anyone with further suggestions

Stephen



More information about the Swlug mailing list