apt-get always fails when I try anything.
I can't install, remove, update, upgrade and even dist-upgrade.
When I try
sudo apt-get update
I got this message :
E: Some index files failed to download. They have been ignored, or old ones used instead.
apt-get install
E: Unmet dependencies.
apt-get upgrade :
The following packages have unmet dependencies: libc-dev-bin :
nullDepends: libc6 (> 2.22) but 2.19-0ubuntu6.6 is installed libc-l10n :
nullBreaks: locales (< 2.21-1) libc6-dbg : Depends: libc6 (= 2.22-3) but
2.19-0ubuntu6.6 is installed libc6-dev : Depends: libc6 (= 2.22-3) but 2.19-0ubuntu6.6 is installed libc6-i386 : Depends: libc6 (=
2.22-3) but 2.19-0ubuntu6.6 is installed plymouth : Depends: init-system-helpers (>= 1.18) but 1.14 is installed plymouth-label :
nullDepends: plymouth (= 0.8.8-0ubuntu17.1) but 0.9.2-3 is installed W:
nullIgnoring Provides line with DepCompareOp for package libjpeg62 W:
nullIgnoring Provides line with DepCompareOp for package
nullphp-psr-http-message-implementation W: Ignoring Provides line with
nullDepCompareOp for package php-psr-log-implementation W: Ignoring
nullProvides line with DepCompareOp for package php-seclib W: Ignoring
nullProvides line with DepCompareOp for package php-sabre-http W: Ignoring
nullProvides line with DepCompareOp for package php-math-biginteger W:
nullIgnoring Provides line with DepCompareOp for package pypy-cffi W:
nullIgnoring Provides line with DepCompareOp for package
nullpypy-cffi-backend-api-max W: Ignoring Provides line with DepCompareOp
nullfor package pypy-cffi-backend-api-min W: Ignoring Provides line with
nullDepCompareOp for package python-cffi-backend-api-max W: Ignoring
nullProvides line with DepCompareOp for package
nullpython-cffi-backend-api-min W: Ignoring Provides line with
nullDepCompareOp for package python3-cffi-backend-api-max W: Ignoring
nullProvides line with DepCompareOp for package
nullpython3-cffi-backend-api-min W: Ignoring Provides line with
nullDepCompareOp for package libjpeg62 W: Ignoring Provides line with
nullDepCompareOp for package python-cffi-backend-api-max W: Ignoring
nullProvides line with DepCompareOp for package
nullpython-cffi-backend-api-min W: Ignoring Provides line with
nullDepCompareOp for package python3-cffi-backend-api-max W: Ignoring
nullProvides line with DepCompareOp for package
nullpython3-cffi-backend-api-min W: You may want to run apt-get update to
nullcorrect these problems E: Unmet dependencies. Try using -f.
Best Answer
Open software and updates other software tab Untick any repository you dont think should be their like if wine is still their even after you uninstalled it or you dont need the repo (be careful dont delete just untick ,just in case you need it again for some software again sometime in future) close it ,it will ask for refresh cancel it
you can comment out repositorys in terminal also just edit the file
and comment the repos you don't need