解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
如何修复 Ubuntu 上“…script returned error exit status
2026-04-14 06:00 栏目: 解决方案 查看(
)
今天,我在更新virtualBox新版本的时候遇到了一个问题。
E: /var/cache/apt/archives/ subprocess new pre-removal script returned error exit status 1

解决:

我google了一下并找到了方法。下面是我解决的方法。
sudo apt-get clean sudo apt-get update && sudo apt-get upgrade
这样几乎可以修复这个问题了。
假如你仍然有问题,那就试试下面的命令:
sudo dpkg --configure -a sudo apt-get -f install
或者你可以按照下面的方法从Oracle VirtualBox官网下载最新版本并安装。
sudo apt-get update sudo dpkg -i virtualbox-4.3_4.3.24-98716~Ubuntu~raring_amd64.deb sudo apt-get -f install sudo apt-get autoclean && sudo apt-get autoremove
干杯!
郑重申明:某某网络以外的任何单位或个人,不得使用该案例作为工作成功展示!