当我启动./setup
命令时,我被带到了正确的安装介质,但在同意条款后,安装程序说我需要删除文件。不用说,到目前为止这还没有奏效。Alien 运行良好,但安装程序无法识别文件。当apt install
我删除 rpm 后尝试使用文件进行安装时,我得到:
apt install ./motionbuilder2020-64_2020-2_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'motionbuilder2020-64' instead of './motionbuilder2020-64_2020-2_amd64.deb'
The following packages will be upgraded:
motionbuilder2020-64
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/598 MB of archives.
After this operation, 2,246 MB of additional disk space will be used.
Get:1 /home/cole/Downloads/MotionBuilder/motionbuilder2020-64_2020-2_amd64.deb motionbuilder2020-64 amd64 2020-2 [598 MB]
(Reading database ... 215608 files and directories currently installed.)
Preparing to unpack .../motionbuilder2020-64_2020-2_amd64.deb ...
Unpacking motionbuilder2020-64 (2020-2) over (2020-2) ...
dpkg: error processing archive /home/cole/Downloads/MotionBuilder/motionbuilder2
020-64_2020-2_amd64.deb (--unpack):
trying to overwrite '/var/opt/Autodesk/Adlm/ASR/ENCSU202000F_EL_Adlm.asr', whic
h is also in package maya2020-64 2020.0-236
Native call error in adlmPITRemoveProductInformation_2 12: The root information
in PIT XML file is missing
dpkg: error while cleaning up:
new motionbuilder2020-64 package post-removal script subprocess returned error
exit status 12
Errors were encountered while processing:
/home/cole/Downloads/MotionBuilder/motionbuilder2020-64_2020-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@cole-desktop:/home/cole/Downloads/MotionBuilder# ./setup
bash: ./setup: No such file or directory
答案1
上述命令输出中的问题是
dpkg: error processing archive /home/cole/Downloads/MotionBuilder/motionbuilder2 020-64_2020-2_amd64.deb (--unpack):
trying to overwrite '/var/opt/Autodesk/Adlm/ASR/ENCSU202000F_EL_Adlm.asr', whic h is also in package maya2020-64 2020.0-236
为了解决这个问题,你必须备份有问题的文件
cp /var/opt/Autodesk/Adlm/ASR/ENCSU202000F_EL_Adlm.asr ~
然后强制安装失败的 deb 包
sudo dpkg -i --force-all /home/cole/Downloads/MotionBuilder/motionbuilder2020-64_2020-2_amd64.deb
然后修复可能的依赖问题
sudo apt-get install -f
sudo dpkg --configure -a