我嘗試從以下位置安裝 ungoogled-chromium下載頁面但我無法安裝任何軟體包,並且由於我不確定它是如何工作的,所以我想知道如何安裝它。
每次我用來dpkg -i
安裝下載的軟體包時,它只會告訴我缺少依賴項。
例如,此包被視為“官方”包:
sudo dpkg -i ungoogled-chromium_69.0.3497.100-1.bionic_amd64.deb
Selecting previously unselected package ungoogled-chromium.
(Reading database ... 289494 files and directories currently installed.)
Preparing to unpack ungoogled-chromium_69.0.3497.100-1.bionic_amd64.deb ...
Unpacking ungoogled-chromium (69.0.3497.100-1~bionic) ...
dpkg: dependency problems prevent configuration of ungoogled-chromium:
ungoogled-chromium depends on libminizip1 (>= 1.1); however:
Package libminizip1 is not installed.
ungoogled-chromium depends on libre2-4 (>= 20160901); however:
Package libre2-4 is not installed.
ungoogled-chromium depends on ungoogled-chromium-common (= 69.0.3497.100-1~bionic); however:
Package ungoogled-chromium-common is not installed.
dpkg: error processing package ungoogled-chromium (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Errors were encountered while processing:
ungoogled-chromium
其他套件也有類似的問題,我下載的是:
-rw-rw-r-- 1 kuai kuai 41965828 jun 18 10:58 ungoogled-chromium_69.0.3497.100-1.bionic_amd64.deb
-rw-rw-r-- 1 kuai kuai 20722 jun 18 10:59 ungoogled-chromium-browser_69.0.3497.100-1.bionic_amd64.buildinfo
-rw-rw-r-- 1 kuai kuai 2215920 jun 18 11:00 ungoogled-chromium-driver_69.0.3497.100-1.bionic_amd64.deb
-rw-rw-r-- 1 kuai kuai 2768780 jun 11 06:30 ungoogled-chromium-l10n_69.0.3497.100-1.bionic_all.deb
-rw-rw-r-- 1 kuai kuai 27513584 jun 18 11:00 ungoogled-chromium-shell_69.0.3497.100-1.bionic_amd64.deb
答案1
從包含 chromium-ungoogled .debs 的資料夾內輸入:
sudo apt-get install libminizip1 libre2-4 ungoogled-chromium*.deb
注意:確保所有 chromium-ungoogled .deb 檔案都在那裡,包括常見的檔案。