
sudo apt install build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libr0 : Depends: libbinutils (< 2.31.2) but 2.35.2-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
apt policy libr0
프로그램
libr0:
Installed: 4:14.0.6-0debian10.0.0+0~a
Candidate: 4:14.0.6-0debian10.0.0+0~a
Version table:
*** 4:14.0.6-0debian10.0.0+0~a 500
500 http://q4os.org/qtderepo buster/main amd64 Packages
100 /var/lib/dpkg/status
apt policy libbinutils
프로그램
libbinutils:
Installed: 2.31.1-16
Candidate: 2.35.2-2
Version table:
2.35.2-2 500
500 http://ftp.de.debian.org/debian bullseye/main amd64 Packages
*** 2.31.1-16 500
500 http://ftp.debian.org/debian buster/main amd64 Packages
100 /var/lib/dpkg/status
libbinutils
결과를 업그레이드해 보세요
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
q4os-desktop tdelibs14-trinity (due to q4os-desktop)
tdebase-trinity-bin (due to q4os-desktop)
tdesudo-trinity (due to q4os-desktop)
tde-style-q4oststyle02-trinity (due to q4os-desktop)
twin-trinity (due to q4os-desktop) network-manager-tde (due to q4os-desktop
답변1
귀하의 시스템은 Debian 11이 아닌 Q4OS Centaurus를 실행 중인 것 같습니다. Q4OS는기반으로Debian에서는 Debian이 아닌 Q4OS 버전의 기반이 되는 Debian 버전(Q4OS Centaurus의 경우 Debian 10)을 사용하는 것이 가장 좋습니다.
Q4OS Gemini는 Debian 11을 기반으로 하므로 해당 버전으로 업그레이드하면 Debian 11의 패키지를 사용할 수 있습니다.
답변2
다음과 같이 오류 메시지를 해결하십시오 E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages
.
/var/log/apt/term.log
텍스트 편집기에서 로그 파일을 엽니다."깨진" 패키지를 모두 찾아 . Debian 11 기반 Debian 10 패키지가 운영 체제에 설치되어 있다는 것을 이미 알고 있지만 이러한 패키지는 Debian 11과 호환되지 않습니다. 이렇게 하면 손상된 패키지를 찾는 데 도움이 되지만 다른 패키지도 있을 수 있습니다. 먼저 새 데스크탑 환경을 설치하여 교체하고 새 데스크탑 환경에 로그인하지 않고는 기존 데스크탑 환경을 제거하지 마십시오.
sudo apt remove name-of-broken-package