If I follow your instructions:
 
$ sudo apt-get install libcups2=2.1.3-4 cups libcupscgi1=2.1.3-4 
libcupsimage2=2.1.3-4 libcupsmime1=2.1.3-4 libcupsppdc1=2.1.3-4 
cups-core-drivers cups-daemon ghostscript cups-client=2.1.3-4 cups-ppdc 
cups-filters printer-driver-gutenprint cups-filters

Reading package lists... Done
Building dependency tree       
Reading state information... Done
cups-filters is already the newest version (1.8.3-2ubuntu3.1).
cups-filters set to manually installed.
ghostscript is already the newest version (9.18~dfsg~0-0ubuntu2.3).
ghostscript set to manually installed.
cups-ppdc is already the newest version (2.1.3-4ubuntu0.2).
cups-ppdc set to manually installed.
cups-daemon is already the newest version (2.1.3-4ubuntu0.2).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 cups : Depends: cups-server-common (>= 2.1.3-4) but it is not going to be 
installed
 cups-bsd : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4 is to be 
installed
            Depends: cups-client (= 2.1.3-4ubuntu0.2) but 2.1.3-4 is to be 
installed
 cups-daemon : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4 is to be 
installed
               Recommends: cups-browsed but it is not going to be installed
 printer-driver-gutenprint : Depends: libgutenprint2 (>= 5.2.11) but it is not 
going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a 
solution).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1676621

Title:
  cups : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to be
  installed

Status in cups package in Ubuntu:
  Confirmed

Bug description:
  This is related to this bug
  https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1642790

  After `sudo apt-get -f install`, it removed cups and marked a bunch of
  cups packages as unnecessary

  `sudo apt-get autoremove` removed them.

  Now when I try to re-install cups, I get this error:

  ```
  ☀  sudo apt-get install cups cups-daemon cups-core-drivers                    
                          Mod master
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   cups : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to be installed
          Depends: libcupscgi1 (>= 1.4.2) but it is not going to be installed
          Depends: libcupsmime1 (>= 1.4.0) but it is not going to be installed
          Recommends: printer-driver-gutenprint but it is not going to be 
installed
   cups-core-drivers : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to 
be installed
   cups-daemon : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to be 
installed
                 Depends: libcupsmime1 (>= 1.5.0) but it is not going to be 
installed
                 Recommends: cups-browsed but it is not going to be installed
  E: Unable to correct problems, you have held broken packages.

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1676621/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to