dpkg: 处理软件包存档安装(--install)时出错

dpkg: 处理软件包存档安装(--install)时出错

这是我的终端

$ sudo dpkg -i install /home/chowder/Downloads/okular.deb
dpkg: error processing archive install (--install):
 cannot access archive: No such file or directory
(Reading database ... 233799 files and directories currently installed.)
Preparing to unpack .../chowder/Downloads/okular.deb ...
Unpacking okular (4:16.12.3-0ubuntu1) over (4:16.12.3-0ubuntu1) ...
Setting up okular (4:16.12.3-0ubuntu1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22+linuxmint1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 install

sudo dpkg -f install然后没有解决这个sudo apt-get update问题sudo apt-get update install

答案1

命令应该是sudo dpkg -i /home/chowder/Downloads/okular.debinstall那里不需要 并且没有意义。

相关内容