未满足依赖项,但软件包已安装。尝试使用 apt-get -f install,但只会删除所需的软件包

未满足依赖项,但软件包已安装。尝试使用 apt-get -f install,但只会删除所需的软件包

我遇到了未满足的依赖关系问题。这使我无法安装或删除任何软件包。但是,我已经安装了所需的软件包(libpng12)。这是“sudo apt-get install libpng12-0”的结果。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libpng12-0:i386 is already the newest version (1.2.54-1ubuntu1).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 cndrvcups-ufr2lt-uk : Depends: libpng12-0 (>= 1.2.13-4) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我尝试了“sudo apt-get -f install”,但它只会要求删除“cndrvcups-ufr2lt-uk”。删除它可以解决问题,但我的网络打印机需要该软件包,因此打印机将停止工作。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  dleyna-server gnome-control-center-data gnome-settings-daemon libcolord-gtk1
  libdleyna-connector-dbus-1.0-1 libdleyna-core-1.0-3 libgoa-backend-1.0-1
  libgssdp-1.0-3 libgupnp-1.0-4 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3
  libnss-myhostname realmd
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
  cndrvcups-ufr2lt-uk
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 8,733 kB disk space will be freed.
Do you want to continue? [Y/n]

预先感谢您的帮助。

相关内容