我正在尝试安装 clonezilla,但出现错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
clonezilla is already the newest version (3.21.13-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up clonezilla (3.21.13-1) ...
ln: target '/opt/' is not a directory: No such file or directory
dpkg: error processing package clonezilla (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
clonezilla
E: Sub-process /usr/bin/dpkg returned an error code (1)
谁能告诉我该怎么做才能解决这个问题?
PS我使用的是 Ubuntu gnome 16.10。
您需要
/opt
手动创建目录并重试:我实际上将其归类为错误,因为软件包安装后脚本盲目地假设存在这样的目录,即使在默认的 Ubuntu(或 Debian)安装中并非如此。
如果您想变得友善并支持像 Clonezilla 这样的免费开源软件,请向相关软件包的维护者提交错误报告。