Till:

$ sudo dpkg -P --force-depends libcups2
dpkg: libcups2:amd64: dependency problems, but removing anyway as you requested:
 openjdk-8-jre-headless:amd64 depends on libcups2.
 libsane-hpaio:amd64 depends on libcups2 (>= 1.6.0).
 libcupscgi1:amd64 depends on libcups2 (= 2.1.3-4ubuntu0.2).
 printer-driver-ptouch depends on libcups2 (>= 1.4.0).
 cups-client depends on libcups2 (= 2.1.3-4ubuntu0.2).
 libgs9:amd64 depends on libcups2 (>= 1.4.0).
 google-chrome-stable depends on libcups2 (>= 1.4.0).
 printer-driver-c2esp depends on libcups2 (>= 1.4.0).
 cups-filters-core-drivers depends on libcups2 (>= 1.7.0).
 printer-driver-foo2zjs depends on libcups2 (>= 1.4.0).
 cups-pk-helper depends on libcups2 (>= 1.6.0).
 cups-bsd depends on libcups2 (= 2.1.3-4ubuntu0.2).
 libcupsimage2:amd64 depends on libcups2 (= 2.1.3-4ubuntu0.2).
 libcupsfilters1:amd64 depends on libcups2 (>= 1.7.0).
 libcupsppdc1:amd64 depends on libcups2 (= 2.1.3-4ubuntu0.2).
 libfreerdp-plugins-standard:amd64 depends on libcups2 (>= 1.4.0).
 libqt5printsupport5:amd64 depends on libcups2 (>= 1.4.0)
(Reading database ... 592347 files and directories currently installed.)
Removing libcups2:amd64 (2.1.3-4ubuntu0.2) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 chromium-browser : Depends: libcups2 (>= 1.4.0) but it is not installed
 cups-browsed : Depends: libcups2 (>= 1.7.0) but it is not installed
 cups-bsd : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but it is not installed
 cups-client : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but it is not installed
 cups-daemon : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but it is not installed
 cups-filters : Depends: libcups2 (>= 1.7.0) but it is not installed
 cups-filters-core-drivers : Depends: libcups2 (>= 1.7.0) but it is not 
installed
 cups-pk-helper : Depends: libcups2 (>= 1.6.0) but it is not installed
 cups-ppdc : Depends: libcups2 (>= 1.6.2) but it is not installed
 gnome-control-center : Depends: libcups2 (>= 1.6.0) but it is not installed
 gnome-settings-daemon : Depends: libcups2 (>= 1.6.0) but it is not installed
 google-chrome-stable : Depends: libcups2 (>= 1.4.0) but it is not installed
 libcupscgi1 : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but it is not installed
 libcupsfilters1 : Depends: libcups2 (>= 1.7.0) but it is not installed
 libcupsimage2 : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but it is not installed
 libcupsmime1 : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but it is not installed
 libcupsppdc1 : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but it is not installed
 libfreerdp-plugins-standard : Depends: libcups2 (>= 1.4.0) but it is not 
installed
 libgs9 : Depends: libcups2 (>= 1.4.0) but it is not installed
 libgtk-3-0 : Depends: libcups2 (>= 1.6.2) but it is not installed
 libgtk2.0-0 : Depends: libcups2 (>= 1.6.2) but it is not installed
 libqt5printsupport5 : Depends: libcups2 (>= 1.4.0) but it is not installed
 libreoffice-core : Depends: libcups2 (>= 1.4.0) but it is not installed
 libsane-hpaio : Depends: libcups2 (>= 1.6.0) but it is not installed
                 Recommends: hplip (= 3.16.3+repack0-1) but it is not installed
 openjdk-8-jre-headless : Depends: libcups2 but it is not installed
 printer-driver-c2esp : Depends: libcups2 (>= 1.4.0) but it is not installed
 printer-driver-foo2zjs : Depends: libcups2 (>= 1.4.0) but it is not installed
                          Recommends: cups
 printer-driver-ptouch : Depends: libcups2 (>= 1.4.0) but it is not installed
 python-cups : Depends: libcups2 (>= 1.6.0) but it is not installed
 python3-cups : Depends: libcups2 (>= 1.6.0) but it is not installed
 samba-libs : Depends: libcups2 (>= 1.6.0) but it is not installed
 system-config-printer-udev : Depends: libcups2 (>= 1.6.0) but it is not 
installed
 unity-control-center : Depends: libcups2 (>= 1.6.0) but it is not installed
 unity-settings-daemon : Depends: libcups2 (>= 1.6.0) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
held packages.
E: Unable to correct dependencies
$ 
$ sudo apt-get install -f libcups2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 cups-bsd : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4 is to be 
installed
 cups-client : Depends: libcups2 (= 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
 libcups2 : Breaks: libcups2:i386 (!= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to be 
installed
 libcups2:i386 : Breaks: libcups2 (!= 2.1.3-4ubuntu0.2) but 2.1.3-4 is to be 
installed
 libcupscgi1 : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4 is to be 
installed
 libcupsimage2 : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4 is to be 
installed
 libcupsmime1 : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4 is to be 
installed
 libcupsppdc1 : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4 is 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 Ubuntu
Touch seeded 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/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to