我意外删除了 /opt/ 下的文件,其中还包括安装阅读器的目录 Adobe。现在我尝试使用以下命令重新安装它
sudo apt-get install acroread
在这几行之后我收到以下错误
amit@localhost:~$ sudo apt-get install aroread
[sudo] password for amit:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package aroread
amit@localhost:~$ sudo apt-get install acroread
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
nspluginviewer:i386 nspluginwrapper
The following NEW packages will be installed:
acroread nspluginviewer:i386 nspluginwrapper
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/218 kB of archives.
After this operation, 649 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously unselected package nspluginviewer:i386.
(Reading database ... 173632 files and directories currently installed.)
Unpacking nspluginviewer:i386 (from .../nspluginviewer_1.4.4-0ubuntu4_i386.deb) ...
Selecting previously unselected package nspluginwrapper.
Unpacking nspluginwrapper (from .../nspluginwrapper_1.4.4-0ubuntu4_amd64.deb) ...
Selecting previously unselected package acroread.
Unpacking acroread (from .../acroread_9.5.5-1precise1_amd64.deb) ...
Processing triggers for man-db ...
Setting up nspluginviewer:i386 (1.4.4-0ubuntu4) ...
Setting up nspluginwrapper (1.4.4-0ubuntu4) ...
plugin dirs:
nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-installer/libflashplayer.so
Auto-update plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
Auto-update plugins from /usr/lib/firefox/plugins
Looking for plugins in /usr/lib/firefox/plugins
Auto-update plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins
Setting up acroread (9.5.5-1precise1) ...
No LSB modules are available.
nspluginwrapper: /opt/Adobe/Reader9/Browser/intellinux/nppdf.so is not a valid NPAPI plugin
No LSB modules are available.
nspluginwrapper: /opt/Adobe/Reader9/Browser/intellinux/nppdf.so is not a valid NPAPI plugin
我不确定 LSB 模块是什么意思。
答案1
LSB 模块是 Linux 标准基础模块。您应该能够忽略这些消息。如果您想安装“lsb”,它是一个可安装包。
对于 nspluginwrapper 消息,您需要找到 /opt 下包含安装链接的插件目录并将其删除。这些消息也可能会被忽略。
acroread
应安装在标准目录中,而不是 /opt。指向旧安装的快捷方式将被破坏。 /usr/bin/acroread
应启动阅读器。