libdb5.3
我在从 Ubuntu 19.04(全新安装)删除时遇到问题。
我今天进行了升级,因为由于已知问题,我陷入了困境并且无法在 18.04 上更新/升级任何内容,所以我决定是时候全新安装最新版本了。
我需要删除libdb5.3
,因为我正在编译的软件需要libdb4.8
(编译时附带)。但是,当它检测到此版本时,它会发出警告,因为任何高于 4.8 的版本在数据库方面都不可移植。
当我尝试运行时sudo apt-get remove libdb5.3
,出现以下错误:
Reading package lists... Done
Building dependency tree
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 resolve the situation:
The following packages have unmet dependencies:
dconf-gsettings-backend : Depends: dconf-service (>= 0.30.1-2)
Depends: dconf-service (< 0.30.1-2.1~)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
我已经做了通常的事情
sudo apt-get clean && sudo apt-get update && sudo apt-get install -f && sudo dpkg -a --configure
毫无效果。我仍然可以安装、升级和删除我想要的任何东西,除了那个显示这些问题的软件包。
其他可能有用的信息:
sudo dpkg -l | grep ^h
不返回任何内容。
sudo apt-cache policy dconf-gsettings-backend
:
dconf-gsettings-backend:
Installed: 0.30.1-2
Candidate: 0.30.1-2
Version table:
*** 0.30.1-2 500
500 http://ca.archive.ubuntu.com/ubuntu disco/main amd64 Packages
100 /var/lib/dpkg/status
apt-cache policy dconf-service
:
dconf-service:
Installed: 0.30.1-2
Candidate: 0.30.1-2
Version table:
*** 0.30.1-2 500
500 http://ca.archive.ubuntu.com/ubuntu disco/main amd64 Packages
100 /var/lib/dpkg/status
apt-cache policy libdb5.3
:
libdb5.3:
Installed: 5.3.28+dfsg1-0.5ubuntu0.1
Candidate: 5.3.28+dfsg1-0.5ubuntu0.1
Version table:
*** 5.3.28+dfsg1-0.5ubuntu0.1 500
500 http://ca.archive.ubuntu.com/ubuntu disco-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu disco-security/main amd64 Packages
100 /var/lib/dpkg/status
5.3.28+dfsg1-0.5 500
500 http://ca.archive.ubuntu.com/ubuntu disco/main amd64 Packages
我一直在寻找解决方案,但都没有奏效。