0

sudo apt upgrade output

Reading package lists... Done
Building dependency tree        
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:  
click-apparmor : Depends: python3-apparmor-click (= 0.3.17) but 0.3.18 is installed
libubuntu-app-launch4 : Depends: ubuntu-app-launch (= 0.12+17.04.20170404.2-0ubuntu2) but 0.9+16.10.20160928-0ubuntu1 is installed
ubuntu-app-launch-tools : Depends: ubuntu-app-launch (= 0.12+17.04.20170404.2-0ubuntu2) but 0.9+16.10.20160928-0ubuntu1 is installed
url-dispatcher-tools : Depends: url-dispatcher (= 0.1+17.04.20170328-0ubuntu2) but 0.1+16.10.20160816.1-0ubuntu1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or 
specify a solution).

sudo apt --fix-broken install output

dpkg: error processing package click-apparmor (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
click-apparmor
E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo dpkg --configure -a output

Setting up click-apparmor (0.3.18) ...
router configuration specified twice
Usage: click [OPTION]... [ROUTERFILE]
Try 'click --help' for more information.
dpkg: error processing package click-apparmor (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
click-apparmor
wjandrea
  • 14,109
  • 4
  • 48
  • 98
Anticipating
  • 1
  • 1
  • 1
  • Your non-Ubuntu sources seem to be causing a version conflict. Disable your non-Ubuntu sources, and uninstall *all* packages from those non-Ubuntu sources. Once you are back to stock Ubuntu, upgrades will work again. – user535733 Apr 20 '17 at 02:24

0 Answers0