12.04LTS -> 14.04LTS; Не удалось обновить дистрибутив; PostgreSQL; удаление черного списка

Я пытаюсь обновить сервер с 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 postgresql

do-release-upgrade все равно терпит неудачу так же.

Кто-нибудь может посоветовать, пожалуйста?

1 ответ

Я отредактировал файл: /var/lib/dpkg/status и удалили блок, относящийся к упаковке, например:

Package: postgresql-8.3.....

далее к следующей пустой строке.

Другие вопросы по тегам