[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CUPS



At 09:46 PM 3/2/2012, Charles Kroeger wrote:
> Is there anyway to downgrade to the previous version, or would that
> be non-productive?

I'm sure there are more elegant ways to do it but I would do this:

first the command:

#dpkg -l | grep cups

on my system you would see this, the unstable versions.

[everything installed would be proceeded by the 'ii' symbols]

ii  cups1.5.2-5   Common UNIX Printing System(tm) - server
ii  cups-bsd 1.5.2-5  Common UNIX Printing System(tm) - BSD commands
ii cups-client 1.5.2-5 Common UNIX Printing System(tm) - clientprograms(SysV)
ii cups-common   1.5.2-5 Common UNIX Printing System(tm) - common files

etc. etc...

Then the command:

#apt-cache show cups

Among a lot of information on the versions in the cache supposing you
had 'apt-cache' installed and the relevant sources.list, you would see:

Version: 1.5.0-13  [testing in AMD64 and i386]

Version: 1.5.2-5  [unstable in AMD64 and i386]

Version: 1.4.4-7+squeeze1  [stable in AMD64 and i386]

From this example if 'I' wanted to downgrade from 'unstable' to 'testing' I
would, based on what I saw from the '#dpkg -l | grep cups' command
remove i.e. 'purge' in this case all the unstable versions installed.

#dpkg -P cups1.5.2-5 cups-bsd1.5.2-5 cups-client1.5.2-5 cups-common1.5.2-5
etc etc..that is to say all the installed unstable version numbers.

after that use the command:

#dpkg -i cups1.5.0-13 cups-bsd1.5.0-13 etc etc..until you've reinstalled all
the testing versions of the unstable versions you just removed.

--
CK

Charles -

Thanks.

I am trying to install the stable version.  I can't make it work.

Here is what I did:

rosenberg:/var/www/Webpages2# apt-get purge cups

apt-get --purge autoremove

rm -r /etc/cups

Here is the result of an attempted install:

rosenberg:/var/www/Webpages2# dpkg -P  cups1.5.2-5
dpkg: warning: ignoring request to remove cups1.5.2-5 which isn't installed.
rosenberg:/var/www/Webpages2#  dpkg -i cups1.4.4-7
dpkg: error processing cups1.4.4-7 (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 cups1.4.4-7

Help and advice, please.

Ethan


Reply to: