下载并解压 libreoffice 并访问后~/Downloads/tmp/LibreOffice_24.2.3.2_Linux_x86-64_deb/DEB
,我遇到了这个问题。如何在 Ubuntu 22.04 上克服它们?我无法安装任何这些文件。
$ ls
libobasis24.2-base_24.2.3.2-2_amd64.deb libobasis24.2-images_24.2.3.2-2_amd64.deb libobasis24.2-xsltfilter_24.2.3.2-2_amd64.deb
libobasis24.2-calc_24.2.3.2-2_amd64.deb libobasis24.2-impress_24.2.3.2-2_amd64.deb libreoffice24.2_24.2.3.2-2_amd64.deb
libobasis24.2-core_24.2.3.2-2_amd64.deb libobasis24.2-kde-integration_24.2.3.2-2_amd64.deb libreoffice24.2-base_24.2.3.2-2_amd64.deb
libobasis24.2-draw_24.2.3.2-2_amd64.deb libobasis24.2-librelogo_24.2.3.2-2_amd64.deb libreoffice24.2-calc_24.2.3.2-2_amd64.deb
libobasis24.2-en-us_24.2.3.2-2_amd64.deb libobasis24.2-libreofficekit-data_24.2.3.2-2_amd64.deb libreoffice24.2-debian-menus_24.2.3-2_all.deb
libobasis24.2-extension-beanshell-script-provider_24.2.3.2-2_amd64.deb libobasis24.2-math_24.2.3.2-2_amd64.deb libreoffice24.2-dict-en_24.2.3.2-2_amd64.deb
libobasis24.2-extension-javascript-script-provider_24.2.3.2-2_amd64.deb libobasis24.2-ogltrans_24.2.3.2-2_amd64.deb libreoffice24.2-dict-es_24.2.3.2-2_amd64.deb
libobasis24.2-extension-mediawiki-publisher_24.2.3.2-2_amd64.deb libobasis24.2-onlineupdate_24.2.3.2-2_amd64.deb libreoffice24.2-dict-fr_24.2.3.2-2_amd64.deb
libobasis24.2-extension-nlpsolver_24.2.3.2-2_amd64.deb libobasis24.2-ooofonts_24.2.3.2-2_amd64.deb libreoffice24.2-draw_24.2.3.2-2_amd64.deb
libobasis24.2-extension-pdf-import_24.2.3.2-2_amd64.deb libobasis24.2-ooolinguistic_24.2.3.2-2_amd64.deb libreoffice24.2-en-us_24.2.3.2-2_amd64.deb
libobasis24.2-extension-report-builder_24.2.3.2-2_amd64.deb libobasis24.2-postgresql-sdbc_24.2.3.2-2_amd64.deb libreoffice24.2-impress_24.2.3.2-2_amd64.deb
libobasis24.2-firebird_24.2.3.2-2_amd64.deb libobasis24.2-python-script-provider_24.2.3.2-2_amd64.deb libreoffice24.2-math_24.2.3.2-2_amd64.deb
libobasis24.2-gnome-integration_24.2.3.2-2_amd64.deb libobasis24.2-pyuno_24.2.3.2-2_amd64.deb libreoffice24.2-ure_24.2.3.2-2_amd64.deb
libobasis24.2-graphicfilter_24.2.3.2-2_amd64.deb libobasis24.2-writer_24.2.3.2-2_amd64.deb libreoffice24.2-writer_24.2.3.2-2_amd64.deb
$ sudo dpkg -i libreoffice24.2-base_24.2.3.2-2_amd64.deb
Selecting previously unselected package libreoffice24.2-base.
(Reading database ... 520086 files and directories currently installed.)
Preparing to unpack libreoffice24.2-base_24.2.3.2-2_amd64.deb ...
Unpacking libreoffice24.2-base (24.2.3.2-2) ...
dpkg: dependency problems prevent configuration of libreoffice24.2-base:
libreoffice24.2-base depends on libreoffice24.2 (>= 24.2.3.2); however:
Package libreoffice24.2 is not installed.
libreoffice24.2-base depends on libreoffice24.2 (<= 24.2.3.2-2); however:
Package libreoffice24.2 is not installed.
libreoffice24.2-base depends on libobasis24.2-base (>= 24.2.3.2); however:
Package libobasis24.2-base is not installed.
libreoffice24.2-base depends on libobasis24.2-base (<= 24.2.3.2-2); however:
Package libobasis24.2-base is not installed.
dpkg: error processing package libreoffice24.2-base (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libreoffice24.2-base
您可以使用以下命令安装所有 .deb 文件及其附加依赖项
不过,我建议使用官方 Libreoffice PPA。
为什么?更新管理器中的自动更新+已处理的依赖项。