我正在尝试将服务器从12.04LTS升级到14.04LTS,但它始终失败:
The package ... is in the removal blacklist.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.在日志文件中,我看到:
ERROR Dist-upgrade failed: 'The package 'postgresql-8.3'
is marked for removal but it is in the removal blacklist.'然而,我相信postgresql不再存在于机器上。我已经做了:
sudo apt-get remove postgresql
sudo apt-get remove postgresql-contrib-8.3
sudo apt-get purge postgresql
sudo apt-get autoremove我删除了以下所有文件:
/etc/postgresql
/usr/lib/postgresql
/usr/share/postgresql再次运行“删除/清除”将提供:
sudo apt-get purge postgresqldo-release-upgrade仍然以同样的方式失败。
有人能告诉我吗?
发布于 2014-11-03 16:17:12
我编辑了文件:/var/lib/dpkg/status并删除了与包相关的块,例如:
Package: postgresql-8.3.....继续到下一个空行。
https://askubuntu.com/questions/543956
复制相似问题