LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-02-2021, 12:22 AM   #1
BudiKusasi
Member
 
Registered: Apr 2017
Distribution: Artix
Posts: 345

Rep: Reputation: 15
To ensure the current upgraded Debian testing has libc6 > 2.28


Tried to have debian testing by upgrade it via apt package manager, so it was done
Code:
$ cat /etc/debian_version /etc/os-release 
bullseye/sid
PRETTY_NAME="Debian GNU/Linux bullseye/sid"
NAME="Debian GNU/Linux"
and listed all to ensure a newer libc6, but surprisingly it's not upgraded yet so then:
Code:
$ sudo apt upgrade libc6/testing
...

The following packages have unmet dependencies:
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-9 is to be installed
 libc6 : Breaks: libgegl-0.4-0 (< 0.4.18) but 0.4.16-0.1~mx19+1 is to be installed
 libc6-dev : Depends: libc6 (= 2.28-10) but 2.31-9 is to be installed
 libgcc1:i386 : Depends: libc6:i386 (>= 2.2.4) but it is not installable
How can it be not upgraded having libc6 > 2.28 which is (mostly) only 2.31 distributed now as printed above, although it's already full upgrade ?
Please help solve.

Last edited by BudiKusasi; 03-02-2021 at 01:36 AM.
 
Old 03-02-2021, 01:13 AM   #2
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
The first thing that comes to mind is apt install --fix-missing which normally resolves issues with dependencies
 
Old 03-02-2021, 01:40 AM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,887
Blog Entries: 28

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Try using Synaptic or aptitude and manually force the packages to upgrade.
Either way you are probably going to break your system.

Or just write down the broken packages and remove them then upgrade and reinstall them.
Probably easier to just backup your data and configs and install testing/sid.
 
Old 03-02-2021, 08:56 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by BudiKusasi View Post
Tried to have debian testing by upgrade it via apt package manager, so it was done
Code:
$ cat /etc/debian_version /etc/os-release 
bullseye/sid
PRETTY_NAME="Debian GNU/Linux bullseye/sid"
NAME="Debian GNU/Linux"
and listed all to ensure a newer libc6, but surprisingly it's not upgraded yet so then:
Code:
$ sudo apt upgrade libc6/testing
...

The following packages have unmet dependencies:
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-9 is to be installed
 libc6 : Breaks: libgegl-0.4-0 (< 0.4.18) but 0.4.16-0.1~mx19+1 is to be installed
 libc6-dev : Depends: libc6 (= 2.28-10) but 2.31-9 is to be installed
 libgcc1:i386 : Depends: libc6:i386 (>= 2.2.4) but it is not installable
How can it be not upgraded having libc6 > 2.28 which is (mostly) only 2.31 distributed now as printed above, although it's already full upgrade ?
Please help solve.
The way it is done to move from stable to testing is to remove all references to the stable from your sources.list. You put in its place testing where stable or buster was. An apt update then apt dist-upgrade will upgrade the entire distribution to the new one chosen. Them packages are not upgrading if you have the references telling the system they are available by leftover entries in the sources.list. Below I show the procedure as you can see if I wanted to I can update my Pi to testing using it with the correct libc6 versions being installed.


Code:
root@buster-raspi:~# apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Get:4 http://deb.debian.org/debian-security buster/updates/main arm64 Packages [263 kB]
Get:5 http://deb.debian.org/debian buster-backports/main arm64 Packages.diff/Index [27.8 kB]
snip...
root@buster-raspi:~# apt -s dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@buster-raspi:~# nano /etc/apt/sources.list
root@buster-raspi:~# cat /etc/apt/sources.list
#deb http://deb.debian.org/debian buster main contrib non-free
#deb http://deb.debian.org/debian-security buster/updates main contrib non-free
# Backports are _not_ enabled by default.
# Enable them by uncommenting the following line:
# deb http://deb.debian.org/debian buster-backports main contrib non-free
#deb http://deb.debian.org/debian/ buster-backports main contrib non-free # raspi 4 needs a kernel and raspi-firmware newer than buster's

deb http://deb.debian.org/debian testing main contrib non-free

root@buster-raspi:~# apt update
Get:1 http://deb.debian.org/debian testing InRelease [142 kB]
Get:2 http://deb.debian.org/debian testing/main arm64 Packages [8,097 kB]
Get:3 http://deb.debian.org/debian testing/main Translation-en [6,267 kB]
snip....
Reading state information... Done
489 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@buster-raspi:~# apt -s dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils libatomic1 libbind9-161 libboost-atomic1.67.0 libboost-iostreams1.67.0
  libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libcdio18 libcodec2-0.8.1
  libcppunit-1.14-0 libcroco3 libdc1394-22 libdns1104 libdns1110 libdrm-etnaviv1 libice6 libicu63
  libisc1100 libisc1105 libisccc161 libisccfg163 libjs-excanvas libjs-jquery-metadata
  libjs-jquery-tablesorter libjs-mochikit libllvm7 liblua5.2-0 liblwres161 libmpdec2 libmysofa0
  libperl5.28 libpgm-5.2-0 libpython-stdlib libpython2-stdlib libpython2.7 libpython2.7-minimal
  libpython2.7-stdlib libpython3.7-minimal libpython3.7-stdlib libreadline7 libsm6 libtinyxml2-6a
  libtorrent20 libvpx5 libx264-155 libx265-165 perl-modules-5.28 python-minimal python-six python2
  python2-minimal python2.7 python2.7-minimal python3.7 python3.7-minimal usb.ids
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libapache2-mod-php7.3 libldb1 php7.3 php7.3-cgi php7.3-cli php7.3-common php7.3-curl php7.3-json
  php7.3-mbstring php7.3-opcache php7.3-readline python python-asn1crypto python-cffi-backend
  python-cheetah python-configobj python-crypto python-cryptography python-dbus python-dnspython
  python-enum34 python-gi python-gpg python-ipaddress python-ldb python-sabyenc python-samba
  python-talloc python-tdb
The following NEW packages will be installed:
  adwaita-icon-theme alsa-topology-conf alsa-ucm-conf at-spi2-core bind9-libs bsdextrautils
  calendar cpp cpp-10 dbus-user-session dconf-gsettings-backend dconf-service gcc-10-base
  glib-networking glib-networking-common glib-networking-services gsettings-desktop-schemas
  gtk-update-icon-cache hicolor-icon-theme libapache2-mod-php7.4 libapt-pkg6.0 libatk-bridge2.0-0
  libatk1.0-0 libatk1.0-data libatspi2.0-0 libblas3 libboost-iostreams1.74.0 libboost-thread1.74.0
  libbpf0 libcairo-gobject2 libcbor0 libcdio19 libcodec2-0.9 libcolord2 libcrypt1 libdav1d4
  libdc1394-25 libdconf1 libdeflate0 libdns-export1110 libdns1110 libepoxy0 libffi7 libfido2-1
  libgbm1 libgcc-s1 libgdk-pixbuf-2.0-0 libgdk-pixbuf-xlib-2.0-0 libgfortran5 libgtk-3-0
  libgtk-3-bin libgtk-3-common libhogweed6 libicu67 libip4tc2 libip6tc2 libisc-export1105
  libisc1105 libisl23 libjs-sphinxdoc libjs-underscore libjson-c5 libjson-glib-1.0-0
  libjson-glib-1.0-common liblapack3 liblcms2-2 libldb2 liblist-moreutils-xs-perl libllvm11
  liblua5.3-0 libmaxminddb0 libmd0 libmpc3 libmpdec3 libmpfr6 libmysofa1 libnettle8 libnsl2
  libnss-nis libnss-nisplus libperl5.32 libpgm-5.3-0 libpocketsphinx3 libprocps8 libproxy1v5
  libpython3.9 libpython3.9-minimal libpython3.9-stdlib librabbitmq4 librdmacm1 libreadline8
  librest-0.7-0 libsoup-gnome2.4-1 libsoup2.4-1 libsphinxbase3 libsrt1.4-gnutls libtinyxml2-8
  libtorrent21 libudfread0 liburing1 libuv1 libvpx6 libvulkan1 libwayland-server0 libx264-160
  libx265-192 libxcb-randr0 libxcomposite1 libxxhash0 libyaml-0-2 libz3-4
  linux-image-5.10.0-3-arm64 logsave mailcap media-types mesa-vulkan-drivers ncal
  notification-daemon ocl-icd-libopencl1 perl-modules-5.32 php7.4 php7.4-cli php7.4-common
  php7.4-json php7.4-opcache php7.4-readline pocketsphinx-en-us python3-certifi
  python3-cffi-backend python3-chardet python3-cheetah python3-cherrypy3 python3-configobj
  python3-cryptography python3-dbus python3-dnspython python3-feedparser python3-gi python3-gpg
  python3-idna python3-jaraco.functools python3-ldb python3-markdown python3-more-itertools
  python3-notify2 python3-openssl python3-pkg-resources python3-portend python3-pygments
  python3-repoze.lru python3-requests python3-requests-toolbelt python3-routes python3-sabyenc
  python3-samba python3-simplejson python3-six python3-talloc python3-tdb python3-tempora
  python3-tz python3-urllib3 python3-webob python3-yaml python3.9 python3.9-minimal runit-helper
  systemd-timesyncd
The following packages have been kept back:
  libpython2-stdlib python2 python2-minimal
The following packages will be upgraded:
  apache2 apache2-bin apache2-data apache2-utils apparmor apt apt-utils attr avahi-daemon
  base-files base-passwd bash bc bind9-host bsdmainutils bsdutils busybox bzip2 ca-certificates
  coreutils cpio cron curl dash dbus debconf debconf-i18n debianutils diffutils dirmngr dmidecode
  dmsetup dosfstools dpkg e2fsprogs eatmydata fdisk ffmpeg file findutils firmware-brcm80211
  firmware-linux-free fontconfig fontconfig-config fonts-dejavu-core fonts-glyphicons-halflings
  gdbm-l10n geoip-database gir1.2-glib-2.0 git git-man gnupg gnupg-l10n gnupg-utils gpg gpg-agent
  gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv grep groff-base gzip hdparm hostname
  ibverbs-providers ifupdown init init-system-helpers initramfs-tools initramfs-tools-core
  iproute2 iptables iputils-ping isc-dhcp-client isc-dhcp-common javascript-common klibc-utils
  kmod krb5-locales less libacl1 libaom0 libapache2-mod-php libapache2-mod-xsendfile libapparmor1
  libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libapt-pkg-perl libasound2
  libasound2-data libass9 libassuan0 libasyncns0 libatomic1 libattr1 libaudit-common libaudit1
  libavahi-client3 libavahi-common-data libavahi-common3 libavahi-compat-libdnssd1 libavahi-core7
  libavcodec58 libavdevice58 libavfilter7 libavformat58 libavresample4 libavutil56 libbind9-161
  libblkid1 libbluray2 libbrotli1 libbs2b0 libbsd0 libbz2-1.0 libc-bin libc-l10n libc6 libcairo2
  libcap-ng0 libcap2 libcap2-bin libcdio-cdda2 libcdio-paranoia2 libcephfs2 libchromaprint1
  libcom-err2 libcryptsetup12 libcups2 libcurl3-gnutls libcurl4 libdaemon0 libdatrie1 libdb5.3
  libdbus-1-3 libdebconfclient0 libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common libdrm-etnaviv1
  libdrm-nouveau2 libdrm-radeon1 libdrm2 libeatmydata1 libedit2 libelf1 liberror-perl libestr0
  libexpat1 libexporter-tiny-perl libext2fs2 libfastjson4 libfdisk1 libflac8 libflite1
  libfontconfig1 libfreetype6 libfribidi0 libfstrm0 libgcrypt20 libgdbm-compat4 libgdbm6
  libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgeoip1 libgfapi0 libgfrpc0
  libgfxdr0 libgirepository-1.0-1 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-0
  libglib2.0-data libglusterfs0 libglvnd0 libglx-mesa0 libglx0 libgme0 libgmp10 libgnutls30
  libgomp1 libgpg-error0 libgpgme11 libgraphite2-3 libgssapi-krb5-2 libharfbuzz0b libibverbs1
  libice6 libidn11 libidn2-0 libiec61883-0 libiptc0 libisccc161 libisccfg163 libiw30
  libjack-jackd2-0 libjansson4 libjpeg62-turbo libjs-bootstrap libjs-excanvas libjs-jquery
  libjs-jquery-metadata libjs-jquery-tablesorter libjs-jquery-ui libjs-moment libk5crypto3
  libkeyutils1 libklibc libkmod2 libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2 libldap-common
  liblilv-0-0 liblist-moreutils-perl liblmdb0 liblocale-gettext-perl liblognorm5 libltdl7
  liblua5.2-0 liblwres161 liblz4-1 liblzma5 libmagic-mgc libmagic1 libmediainfo0v5 libmnl0
  libmount1 libmp3lame0 libmpg123-0 libncurses6 libncursesw6 libnetfilter-conntrack3 libnewt0.52
  libnftnl11 libnghttp2-14 libnl-3-200 libnl-genl-3-200 libnl-route-3-200 libnorm1 libnpth0
  libnspr4 libnss-mdns libnss3 libnuma1 libogg0 libopenal-data libopenal1 libopencore-amrnb0
  libopencore-amrwb0 libopenjp2-7 libopenmpt0 libopus0 libp11-kit0 libpam-modules
  libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpango-1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libparted2 libpcre2-8-0 libpcre3 libpcsclite1 libpipeline1 libpixman-1-0
  libpng16-16 libpopt0 libpostproc55 libprotobuf-c1 libpsl5 libpulse0 libpython2.7
  libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib librados2 libraw1394-11
  libregexp-assemble-perl librsvg2-2 librsvg2-common librtmp1 librubberband2 libsamplerate0
  libsasl2-2 libsasl2-modules libsasl2-modules-db libsdl2-2.0-0 libseccomp2 libselinux1
  libsemanage-common libsemanage1 libsensors-config libsensors5 libsepol1 libserd-0-0
  libsgutils2-2 libslang2 libsmartcols1 libsnappy1v5 libsndfile1 libsodium23 libsord-0-0
  libsox-fmt-alsa libsox-fmt-base libsox3 libsoxr0 libspeex1 libsqlite3-0 libsratom-0-0 libss2
  libssh-gcrypt-4 libssh2-1 libssl1.1 libstdc++6 libswresample3 libswscale5 libsystemd0 libtalloc2
  libtasn1-6 libtdb1 libtevent0 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl
  libthai-data libthai0 libtiff5 libtinfo6 libtirpc-common libtirpc3 libtwolame0 libuchardet0
  libudev1 libunistring2 libusb-1.0-0 libutempter0 libuuid1 libva-drm2 libva-x11-2 libva2
  libvdpau1 libvidstab1.1 libvorbis0a libvorbisenc2 libvorbisfile3 libwavpack1 libwayland-client0
  libwayland-cursor0 libwayland-egl1 libwbclient0 libwebp6 libwebpmux3 libwrap0 libx11-6
  libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
  libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 libxcursor1
  libxdamage1 libxext6 libxfixes3 libxi6 libxkbcommon0 libxml2 libxmlrpc-core-c3 libxtables12
  libxvidcore4 libzen0v5 libzmq5 libzstd1 libzvbi-common libzvbi0 linux-image-arm64 locales locate
  login logrotate lsb-base lsscsi man-db mawk mediainfo mesa-va-drivers mesa-vdpau-drivers
  mime-support mount nano ncurses-base ncurses-bin ncurses-term net-tools netbase openssh-client
  openssh-server openssh-sftp-server openssl p7zip p7zip-full par2 parted passwd patch perl
  perl-base php php-common php-geoip pigz pinentry-curses powermgmt-base procps psmisc
  publicsuffix python-six python2.7 python2.7-minimal python3 python3-minimal raspi-firmware
  readline-common rsync rsyslog rtorrent sabnzbdplus samba samba-common samba-common-bin
  samba-dsdb-modules samba-libs samba-vfs-modules screen sensible-utils sg3-utils shared-mime-info
  sox sqlite3 ssh ssl-cert systemd systemd-sysv sysvinit-utils tar tasksel tasksel-data tdb-tools
  tzdata ucf udev unrar unzip usb.ids usbutils util-linux va-driver-all vdpau-driver-all
  vim-common vim-tiny whiptail wireless-tools wpasupplicant x11-common xauth xkb-data xxd xz-utils
  zlib1g
486 upgraded, 168 newly installed, 29 to remove and 3 not upgraded.
Inst base-files [10.3+deb10u8] (11 Debian:testing [arm64])
Conf base-files (11 Debian:testing [arm64])
Inst debianutils [4.8.6.1] (4.11.2 Debian:testing [arm64])
Conf debianutils (4.11.2 Debian:testing [arm64])
Inst bash [5.0-4] (5.1-2+b1 Debian:testing [arm64])
Conf bash (5.1-2+b1 Debian:testing [arm64])
Inst bsdmainutils [11.1.2+b1] (12.1.7 Debian:testing [all]) []
Inst bsdextrautils (2.36.1-7 Debian:testing [arm64]) []
Inst gcc-10-base (10.2.1-6 Debian:testing [arm64]) []
Conf gcc-10-base (10.2.1-6 Debian:testing [arm64]) []
Inst libgcc-s1 (10.2.1-6 Debian:testing [arm64]) []
Conf libgcc-s1 (10.2.1-6 Debian:testing [arm64]) []
Inst locales [2.28-10] (2.31-9 Debian:testing [all]) []
Inst openssh-server [1:7.9p1-10+deb10u2] (1:8.4p1-4 Debian:testing [arm64]) []
Inst libc6 [2.28-10] (2.31-9 Debian:testing [arm64]) [libc-bin:arm64 ]

Last edited by HappyTux; 03-02-2021 at 09:05 AM. Reason: Clarified the wording
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgraded to -current from 14.2 and then upgraded multilib, breaking everything dimm0k Slackware 1 02-16-2020 05:20 PM
[SOLVED] keyboard stopped working in X when I upgraded udev from 1.75 to 1.82After I upgraded RandomTroll Slackware 3 07-26-2012 02:48 PM
debian testing vs debian stable with testing repositories? wanas Debian 5 02-28-2009 10:23 PM
libc6-dev version conflicts with libc6 in Dapper peppill Ubuntu 2 12-04-2006 01:13 PM
has anyone upgraded to testing or unstable mi6 Libranet 1 01-02-2004 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration