Apt is not working due to unmet dependencies

I know that this problem is talked about on ask ubuntu many times but I still failed to solve it with the solutions I have met.

Output of sudo apt-get purge calibre is:

sudo: unable to resolve host ubuntu 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:  click : Depends: python3-click-package (= 0.4.43+16.04.20160203-0ubuntu3) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

Any other apt command will lead to "unmet dependencies" error. The methods mentioned in How do I resolve unmet dependencies after adding a PPA?: sudo apt-get -f install or sudo dpkg --configure -a or removing ppa didn't help.

My /etc/apt/sources.list is:

# deb cdrom:[Ubuntu-MATE 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main multiverse restricted  universe deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial main multiverse restricted universe #Added by   software-properties  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial main restricted deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial restricted multiverse #Added by software-properties  ## Major bug fix updates produced after the final release of the ## distribution. deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-updates main restricted deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-updates universe restricted main multiverse #Added by   software-properties  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial universe # deb-src http://hk.archive.ubuntu.com/ubuntu/ xenial universe deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-updates universe # deb-src http://hk.archive.ubuntu.com/ubuntu/ xenial-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial multiverse # deb-src http://hk.archive.ubuntu.com/ubuntu/ xenial multiverse deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-updates multiverse # deb-src http://hk.archive.ubuntu.com/ubuntu/ xenial-updates multiverse  ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-backports main restricted universe multiverse deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-backports main restricted universe multiverse #Added by     software-properties  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu xenial partner # deb-src http://archive.canonical.com/ubuntu xenial partner  deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-security main restricted deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-security universe restricted main multiverse #Added by  software-properties deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-security universe # deb-src http://security.ubuntu.com/ubuntu xenial-security universe deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-security multiverse # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse 

My /etc/apt/sources.list.d/*:

deb http://ppa.launchpad.net/accessibility-dev/ppa/ubuntu xenial main deb-src http://ppa.launchpad.net/accessibility-dev/ppa/ubuntu xenial main deb http://ppa.launchpad.net/accessibility-dev/ppa/ubuntu xenial main deb-src http://ppa.launchpad.net/accessibility-dev/ppa/ubuntu xenial main deb http://ppa.launchpad.net/flexiondotorg/hal-flash/ubuntu xenial main deb-src http://ppa.launchpad.net/flexiondotorg/hal-flash/ubuntu xenial main deb http://ppa.launchpad.net/flexiondotorg/hal-flash/ubuntu xenial main deb-src http://ppa.launchpad.net/flexiondotorg/hal-flash/ubuntu xenial main ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main # deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main # deb http://ppa.launchpad.net/js-reynaud/kicad-4/ubuntu xenial main # deb-src http://ppa.launchpad.net/js-reynaud/kicad-4/ubuntu xenial main # deb http://ppa.launchpad.net/js-reynaud/kicad-4/ubuntu xenial main # deb-src http://ppa.launchpad.net/js-reynaud/kicad-4/ubuntu xenial main deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main # deb http://ppa.launchpad.net/moka/daily/ubuntu xenial main # deb-src http://ppa.launchpad.net/moka/daily/ubuntu xenial main # deb http://ppa.launchpad.net/moka/daily/ubuntu xenial main # deb-src http://ppa.launchpad.net/moka/daily/ubuntu xenial main # deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04/ / # deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04/ / # deb http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/ / # deb http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/ / deb http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu xenial main deb-src http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu xenial main deb http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu xenial main deb-src http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu xenial main # deb https://dl.ring.cx/ring-nightly/ubuntu_16.04/ ring main # deb https://dl.ring.cx/ring-nightly/ubuntu_16.04/ ring main # deb http://archive.ubuntukylin.com:10006/ubuntukylin trusty main # deb http://archive.ubuntukylin.com:10006/ubuntukylin trusty main deb http://repository.spotify.com stable non-free deb http://repository.spotify.com stable non-free deb http://ppa.launchpad.net/stellarium/stellarium-releases/ubuntu xenial main deb-src http://ppa.launchpad.net/stellarium/stellarium-releases/ubuntu xenial main deb http://ppa.launchpad.net/stellarium/stellarium-releases/ubuntu xenial main deb-src http://ppa.launchpad.net/stellarium/stellarium-releases/ubuntu xenial main deb http://ppa.launchpad.net/ubuntu-mate-dev/welcome/ubuntu xenial main deb-src http://ppa.launchpad.net/ubuntu-mate-dev/welcome/ubuntu xenial main deb http://ppa.launchpad.net/ubuntu-mate-dev/welcome/ubuntu xenial main deb-src http://ppa.launchpad.net/ubuntu-mate-dev/welcome/ubuntu xenial main 

Please anyone help me bring my ubuntu back??

Replay

Category: apt Time: 2016-07-30 Views: 1

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.158 (s). 12 q(s)