Code: Select all
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:
aptitude : Depends: aptitude-common (= 0.8.7-1) but it is not going to be installed
Depends: libcwidget3v5 but it is not going to be installed
Recommends: libparse-debianchangelog-perl but it is not going to be installed
code : Depends: libgconf-2-4 but it is not going to be installed
libc-bin : Depends: libc6 (< 2.25) but 2.26-4 is to be installed
locales : Depends: libc-bin (> 2.26) but 2.24-11+deb9u1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
code : Depends: libgconf-2-4 but it is not installed
libc-bin : Depends: libc6 (< 2.25) but 2.26-4 is installed
locales : Depends: libc-bin (> 2.26) but 2.24-11+deb9u1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
Code: Select all
dpkg: dependency problems prevent processing triggers for libc-bin:
libc-bin depends on libc6 (<< 2.25); however:
Version of libc6:amd64 on system is 2.26-4.
dpkg: error processing package libc-bin (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent configuration of code:
code depends on libgconf-2-4; however:
Package libgconf-2-4 is not installed.
dpkg: error processing package code (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of locales:
locales depends on libc-bin (>> 2.26); however:
Version of libc-bin on system is 2.24-11+deb9u1.
dpkg: error processing package locales (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc-bin
code
locales
Additional information :
My version of debian is stretch
There are two files in my /etc/sources.list.d/ directory, and their combined content is :
Code: Select all
deb http://deb.debian.org/debian/ stretch main
deb-src http://deb.debian.org/debian/ stretch main
deb http://ftp.fr.debian.org/debian/ stretch main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ stretch main non-free contrib
#deb http://security.debian.org/debian-security stretch/updates main contrib non-fr$
#deb-src http://security.debian.org/debian-security stretch/updates main contrib no$
# stretch-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stretch-updates main contrib non-free
# deb http://ftp.de.debian.org/debian testing main
deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main
Fixing this issue is made even more difficult and annoying by the fact that I can't install some of the utilities which would fix my problem due to apt-get not working half the time. Even if I don't use apt-get, I've also run into this problem while installing something directly through dpkg. I hope you know how to fix it. thanks.