我尝试在 Ubuntu 13.10 Saucy 上通过 apt-get 包管理器安装 typo3。在安装过程中,无法配置 typo3-dummy 包,并且状态为:半安装
sudo dpkg --purge --force-all typo3-dummy
(Reading database ... 107326
files and directories currently installed.) Removing typo3-dummy ...
apache2-maintscript-helper invoked from a modified environment. Please
hint required arguments manually dpkg: error processing typo3-dummy
(--purge): subprocess installed post-removal script returned error
exit status 1 Processing triggers for ureadahead ... Errors were
encountered while processing: typo3-dummy
我还能尝试什么来摆脱这个包?我想避免全新安装。Ty
编辑:使用 sudo apt-get install -f 返回以下输出
ben@cloudy:/etc$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
typo3-dummy
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 484 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 107326 files and directories currently installed.)
Removing typo3-dummy ...
apache2-maintscript-helper invoked from a modified environment. Please hint requ ired arguments manually
dpkg: error processing typo3-dummy (--remove):
subprocess installed post-removal script returned error exit status 1
Processing triggers for ureadahead ...
No apport report written because MaxReports is reached already
Errors were encoun tered while processing:
typo3-dummy
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
尝试 :
sudo vi /var/lib/dpkg/status
删除有关该包的所有条目并保存,然后重试。
sudo apt-get update
答案2
步骤1,创建虚假文件:
touch ~/Desktop/test.sh
第 2 步,创建符号链接:
sudo ln -fs ~/Desktop/test.sh /usr/share/mysql-common/configure-symlinks
步骤3,运行autoremove:
sudo apt-get autoremove