我卸载了 libreoffice 及其软件包,用其他办公软件替换它。执行此步骤后我无法apt
正常使用。这样做sudo apt-get install xxxx
会抛出此错误消息(它总是说将释放 54 兆,但应该使用存储而不是删除存储):
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
discord is already the newest version (0.0.17).
The following packages will be REMOVED:
libreoffice-common
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 54.0 MB disk space will be freed.
我也无法安装 libreoffice,因为它损坏了软件包:
sudo apt-get install libreoffice
The following packages have unmet dependencies:
libreoffice : Depends: libreoffice-writer but it is not installable
Depends: libreoffice-avmedia-backend-gstreamer but it is not installable or
libreoffice-avmedia-backend-vlc but it is not installable
Recommends: libreoffice-librelogo but it is not installable
Recommends: libreoffice-nlpsolver but it is not installable
Recommends: libreoffice-report-builder but it is not installable
Recommends: libreoffice-script-provider-bsh but it is not installable
Recommends: libreoffice-script-provider-js but it is not installable
Recommends: libreoffice-script-provider-python but it is not installable
Recommends: libreoffice-sdbc-postgresql but it is not installable
Recommends: libreoffice-wiki-publisher but it is not installable
Recommends: libreoffice-java-common (>= 1:6.1.5~) but it is not installable
libreoffice-base : Depends: uno-libs3 (>= 5.1.0~alpha) but it is not installable
Recommends: libreoffice-writer but it is not installable
Recommends: libreoffice-java-common (>= 1:6.1.5~) but it is not installable
libreoffice-base-core : Depends: uno-libs3 (>= 5.3.0~alpha) but it is not installable
libreoffice-base-drivers : Depends: uno-libs3 (>= 5.3.0~alpha) but it is not installable
Recommends: libreoffice-sdbc-hsqldb but it is not installable
Recommends: libreoffice-sdbc-firebird but it is not installable
libreoffice-calc : Depends: uno-libs3 (>= 5.3.0~alpha) but it is not installable
libreoffice-core : Depends: libreoffice-common (> 1:6.1.5) but it is not going to be installed
Depends: uno-libs3 (>= 6.1.5-3+deb10u7) but it is not installable
libreoffice-draw : Depends: uno-libs3 (>= 5.3.0~alpha) but it is not installable
libreoffice-impress : Depends: uno-libs3 (>= 5.3.0~alpha) but it is not installable
Recommends: libreoffice-avmedia-backend-gstreamer but it is not installable or
libreoffice-avmedia-backend-vlc but it is not installable
libreoffice-math : Depends: uno-libs3 (>= 5.1.0~alpha) but it is not installable
libreoffice-report-builder-bin : Depends: uno-libs3 (>= 5.1.0~alpha) but it is not installable
python3-uno : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
Depends: python3.7 but it is not going to be installed
Depends: uno-libs3 (>= 5.3.0~alpha) but it is not installable
E: Unable to correct problems, you have held broken packages.
预先非常感谢您。