Locked my self in dependencies hell

greenblower228

New Member
Joined
Jun 2, 2023
Messages
4
Reaction score
0
Credits
45
E: Version '2.28' for 'libc6' was not found
root@ihor:/rescue# apt-get install r-base
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:
libc-bin : Depends: libc6 (< 2.29) but 2.36-9 is to be installed
libc-dev-bin : Depends: libc6 (< 2.29) but 2.36-9 is to be installed
libc6 : Breaks: openssh-server (< 1:8.1p1-5) but 1:7.9p1-10+deb10u2 is to be installed
libc6-dev : Depends: libc6 (= 2.28-10+deb10u2) but 2.36-9 is to be installed
libgcc-s1 : Depends: gcc-12-base (= 12.2.0-14) but it is not installable
libnih1 : Depends: libc6 (< 2.29) but 2.36-9 is to be installed
r-base : Depends: r-base-core (>= 3.5.2-1) but it is not going to be installed
Depends: r-recommended (= 3.5.2-1) but it is not going to be installed
Recommends: r-base-html but it is not going to be installed
Recommends: r-doc-html but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

root@ihor:/# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.29) but 2.36-9 is installed
libc-dev-bin : Depends: libc6 (< 2.29) but 2.36-9 is installed
libc6 : Breaks: openssh-server (< 1:8.1p1-5) but 1:7.9p1-10+deb10u2 is installed
libc6-dev : Depends: libc6 (= 2.28-10+deb10u2) but 2.36-9 is installed
libgcc-s1 : Depends: gcc-12-base (= 12.2.0-14) but it is not installable
libnih1 : Depends: libc6 (< 2.29) but 2.36-9 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
root@ihor:/#
 


Which release are you running? E.G. libc6 2.36-9 suggests Bookworm.

Have you recently done: sudo apt update && sudo apt full upgrade

What does your sources list say? Can you Copy and Paste the result here so we can see it? : cat /etc/apt/sources.list
 
There are few services running on this core, this is actually Debian 10.13 (buster) witch was kindly provided by my vps hosting provider, i've decided to compile some php, and installed few dependencies, but get stuck after updating to the version 2.36-9, locked my self inside. Don't know how to get system back to function
 
maybe someone will share tar with latest 'buster' files needed to resolve this issues cause I have uncommitted changes on this projects
 
Do you have a link to your post on Debian Users Forum, please?
 

Staff online


Top