我正在尝试使用以下终端命令安装libhdf5-serial-dev包:
这给我带来了以下的输出:
在askubuntu上,有一个类似的帖子通过使用以下形式的命令进行修复:
但是这给我带来了错误:
我希望有人能解释一下最初错误的起源,并提出修复建议。
sudo apt-get install libhdf5-serial-dev
这给我带来了以下的输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
libhdf5-serial-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,126 kB of archives.
After this operation, 14.2 MB of additional disk space will be used.
(Reading database ... 186283 files and directories currently installed.)
Unpacking libhdf5-serial-dev (from .../libhdf5-serial-dev_1.8.4-patch1-3ubuntu2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libhdf5-serial-dev_1.8.4-patch1-3ubuntu2_i386.deb (--unpack):
trying to overwrite '/usr/include/hdf5.h', which is also in package hdf5 1.8.12-2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libhdf5-serial-dev_1.8.4-patch1-3ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
在askubuntu上,有一个类似的帖子通过使用以下形式的命令进行修复:
sudo dpkg -r libhdf5-serial-dev_1.8.4-patch1-3ubuntu2_i386
但是这给我带来了错误:
dpkg: warning: there's no installed package matching libhdf5-serial-dev_1.8.4-patch1-3ubuntu2_i386
我希望有人能解释一下最初错误的起源,并提出修复建议。
-i
- dylanninin