Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 5585  / 1 Year ago, thu, february 16, 2023, 10:01:34

I upgraded my libcups package to 1.6 in hopes to fix something but I just buggered things up more. So I want to reinstall it to the version on the repository (1.5.3 I think).



I've tried to do a reinstall using



~#: apt-get install --reinstall libcups2


but that tells me it cannot be downloaded so refuses to upgrade.



I can't just do:



~#: apt-get remove libcups2
~#: apt-get install libcups2


as that wants to remove 299 packages along with it. Totaling 668MB so I am hesitant as that will probably take 6 hours to download on my connection.


More From » apt

 Answers
4

OK, this is too long for a comment. First, check the available versions:



apt-cache madison libcups2


In my system (10.04) it gives output like this:



  libcups2 | 1.4.3-1ubuntu1.9 | http://de.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
libcups2 | 1.4.3-1ubuntu1.9 | http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
libcups2 | 1.4.3-1 | http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
cups | 1.4.3-1 | http://de.archive.ubuntu.com/ubuntu/ lucid/main Sources
cups | 1.4.3-1ubuntu1.9 | http://de.archive.ubuntu.com/ubuntu/ lucid-updates/main Sources
cups | 1.4.3-1ubuntu1.9 | http://security.ubuntu.com/ubuntu/ lucid-security/main Sources


If I want to install one particular version, I'd do



apt-get install --reinstall libcups2=1.4.3-1ubuntu1.9


Possibly, you might need the option --purge as well. (beware, this will wipe your slate clean, including any configuration files).


[#30489] Thursday, February 16, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cugure

Total Points: 188
Total Questions: 110
Total Answers: 103

Location: Dominican Republic
Member since Sun, Sep 4, 2022
2 Years ago
;