Need a bit of help as I'm stuck currently.
I was upgrading one of the old server from version 8 to 9 and it seems that one of the items has a history with breaking the upgrade..
Here is where the "dist-upgrade" stopped.
- Code: Select all
Setting up debhelper (10.2.5) ...
Setting up dh-strip-nondeterminism (0.034-1) ...
Setting up pkg-php-tools (1.35) ...
Processing triggers for ufw (0.35-4) ...
Processing triggers for python-support (1.0.15) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for spamassassin (3.4.2-1~deb9u1) ...
OK, restarting spamd due to trigger
Processing triggers for sa-compile (3.4.2-1~deb9u1) ...
Running sa-compile (may take a long time)
Processing triggers for systemd (232-25+deb9u12) ...
Processing triggers for libapache2-mod-php7.0 (7.0.33-0+deb9u5) ...
Processing triggers for dictionaries-common (1.27.2) ...
Processing triggers for rsyslog (8.24.0-1) ...
Processing triggers for dovecot-core (1:2.2.27-3+deb9u5) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-11-amd64
Processing triggers for rkhunter (1.4.2-6+deb9u1) ...
[ Rootkit Hunter version 1.4.2 ]
File updated: searched for 177 files, found 148
Errors were encountered while processing:
roundcube-core
roundcube-plugins
roundcube
fail2ban
N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)
I removed both of them but nothing has helped. Of course I had to restart the server to make everything ON again and currently it seems like everything is okay.
But since my plan is to upgrade to version 10, I would first like to resolve this and make sure that upgrading to 10 will not completely break everything.
Some more info about the current state:
- Code: Select all
root@server:/etc# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
apt dist-upgrade returns this:
- Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
docutils-common docutils-doc euca2ools g++-4.9 imagemagick-common iproute libalgorithm-c3-perl libarchive-extract-perl libb-hooks-endofscope-perl
libbind9-90 libclamav7 libclass-c3-perl libclass-c3-xs-perl libcpan-changes-perl libcpan-meta-perl libdata-optlist-perl libdata-perl-perl
libdata-section-perl libdevel-caller-perl libdevel-lexalias-perl libdns100 libev4 libexporter-tiny-perl libfile-slurp-perl
libgetopt-long-descriptive-perl libilmbase6 libintl-perl libintl-xs-perl libisc95 libisccc90 libisccfg90 libjasper1 libjsoncpp0 liblinear1
liblist-moreutils-perl libllvm3.5 liblog-message-perl liblog-message-simple-perl liblua5.1-0 liblwres90 libmodule-build-perl
libmodule-implementation-perl libmodule-load-conditional-perl libmodule-pluggable-perl libmodule-signature-perl libmoox-handlesvia-perl
libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl libopenexr6 libpackage-constants-perl libpackage-stash-perl
libpackage-stash-xs-perl libpadwalker-perl libparams-util-perl libparams-validate-perl libpath-tiny-perl libperl4-corelibs-perl libpod-latex-perl
libpod-markdown-perl libpod-readme-perl libpth20 libregexp-common-perl libsoftware-license-perl libstdc++-4.9-dev libsub-exporter-perl
libsub-identify-perl libsub-install-perl libterm-ui-perl libtext-template-perl libtry-tiny-perl libtype-tiny-perl libtype-tiny-xs-perl
libunicode-utf8-perl libvariable-magic-perl libwebp5 libwebpdemux1 libwebpdemux2 libwebpmux1 libwebpmux2 libxapian22 linux-image-3.16.0-9-amd64
lockfile-progs php-http-request php-net-dime php-net-url php-net-url2 php-patchwork-utf8 python-cffi python-cheetah python-configobj python-crypto
python-defusedxml python-distro-info python-docutils python-ecdsa python-json-pointer python-jsonpatch python-ndg-httpsclient python-oauth
python-paramiko python-pil python-ply python-prettytable python-pycparser python-pygments python-pyinotify python-requestbuilder python-roman
python-serial python-soappy python-software-properties python-wstools python-yaml python3-pyinotify python3-systemd ruby-passenger ttf-dejavu-core
unattended-upgrades zlib1g-dev
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
How does at this stage one finish the upgrade to version 9?