Problem: Distribution upgrade to Buster fails
|
8th Nov, 2019, 08:01 AM
Post: #22
|
|||
|
|||
RE: Distribution upgrade to Buster fails
So, the update did not finished without error, that f.... nginx breaks installation
The maintenance script checks if server can be (re-)started sucessfully, but if it does not start, installation breaks with an error. HOW STUPID IS THAT ! Terminal root@xbian:/var/lib/dpkg/info# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: php7.0-common php7.0-xml Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Create a snapshot of '/run/xbian-storage/root/@' in '/run/xbian-storage/root/@btrfs-auto-snap_apt-run-2019-11-07-2143' Delete subvolume (no-commit): '/run/xbian-storage/root/@last_good_known' Create a snapshot of '/run/xbian-storage/root/@btrfs-auto-snap_apt-run-2019-11-07-2143' in '/run/xbian-storage/root/@last_good_known' @btrfs-auto-snap_apt-run-2019-11-07-2143, 1 created snapshots, 0 sent snapshots, 0 destroyed snapshots, 0 created filesystems, 0 warnings. Setting up nginx-full (1.14.2-2+deb10u1) ... [FAIL] Starting nginx: nginx failed! invoke-rc.d: initscript nginx, action "start" failed. dpkg: error processing package nginx-full (--configure): installed nginx-full package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of nginx: nginx depends on nginx-full (<< 1.14.2-2+deb10u1.1~) | nginx-light (<< 1.14.2-2+deb10u1.1~) | nginx-extras (<< 1.14.2-2+deb10u1.1~); however: Package nginx-full is not configured yet. Package nginx-light is not installed. Package nginx-extras is not installed. nginx depends on nginx-full (>= 1.14.2-2+deb10u1) | nginx-light (>= 1.14.2-2+deb10u1) | nginx-extras (>= 1.14.2-2+deb10u1); however: Package nginx-full is not configured yet. Package nginx-light is not installed. Package nginx-extras is not installed. dpkg: error processing package nginx (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: nginx-full nginx E: Sub-process /usr/bin/dpkg returned an error code (1) I modified that stupid maintenance script /var/lib/dpkg/info/nginx-full.postinst (see below, look for '''MODIFIED!!!) and now nginx stops complaining error Code: #!/bin/sh Finally, we have to run sudo apt-get install --reinstall xbian-update before we can reboot system and everything is fine Btw: The package list has some differences, but I don't believe that this is a problem Code: @@ -47,6 +47,7 @@ |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[SOLVED] Distribution upgrade Stretch to Buster fails | Roy Terhaar | 15 | 26,888 |
8th Nov, 2019 12:49 AM Last Post: Nachteule |