borked upgrade ?
Updated my Debian sid install today with mixed results. Setting up e2fsprogs (1.45.1-2) ... Installing new version of config file /etc/cron.d/e2scrub_all ... update-initramfs: deferring update (trigger activated) e2scrub_all.service is a disabled or a static unit not running, not starting it. Job for e2scrub_reap.service failed because the control process exited with error code. See "systemctl status e2scrub_reap.service" and "journalctl -xe" for details. Setting up e2fsprogs-l10n (1.45.1-2) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for initramfs-tools (0.133) ... update-initramfs: Generating /boot/initrd.img-4.19.0-5-amd64 So I took the suggestion to run systemctl and journalctl -xe root@franklin:/home/frank# systemctl status e2scrub_reap.service ● e2scrub_reap.service - Remove Stale Online ext4 Metadata Check Snapshots Loaded: loaded (/lib/systemd/system/e2scrub_reap.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2019-05-20 18:10:42 EDT; 4min 29s ago Docs: man:e2scrub_all(8) Process: 9640 ExecStart=/sbin/e2scrub_all -C -A -r (code=exited, status=2) Main PID: 9640 (code=exited, status=2) May 20 18:10:42 franklin systemd[1]: Starting Remove Stale Online ext4 Metadata Check Snapshots... May 20 18:10:42 franklin e2scrub_reap[9640]: /sbin/e2scrub_all: illegal option -- C May 20 18:10:42 franklin e2scrub_reap[9640]: Usage: /sbin/e2scrub_all [OPTIONS] May 20 18:10:42 franklin e2scrub_reap[9640]: -n: Show what commands e2scrub_all would execute. May 20 18:10:42 franklin e2scrub_reap[9640]: -r: Remove e2scrub snapshots. May 20 18:10:42 franklin e2scrub_reap[9640]: -A: Scrub all ext[234] filesystems even if not mounted. May 20 18:10:42 franklin e2scrub_reap[9640]: -V: Print version information and exit. May 20 18:10:42 franklin systemd[1]: e2scrub_reap.service: Main process exited, code=exited, status=2/INVALIDARGUMENT May 20 18:10:42 franklin systemd[1]: e2scrub_reap.service: Failed with result 'exit-code'. May 20 18:10:42 franklin systemd[1]: Failed to start Remove Stale Online ext4 Metadata Check Snapshots. Now journalctl -xe May 20 18:10:42 franklin e2scrub_reap[9640]: Usage: /sbin/e2scrub_all [OPTIONS] May 20 18:10:42 franklin e2scrub_reap[9640]: -n: Show what commands e2scrub_all would execute. May 20 18:10:42 franklin e2scrub_reap[9640]: -r: Remove e2scrub snapshots. May 20 18:10:42 franklin e2scrub_reap[9640]: -A: Scrub all ext[234] filesystems even if not mounted. May 20 18:10:42 franklin e2scrub_reap[9640]: -V: Print version information and exit. May 20 18:10:42 franklin systemd[1]: e2scrub_reap.service: Main process exited, code=exited, status=2/INVALIDARGUMENT -- Subject: Unit process exited -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- An ExecStart= process belonging to unit e2scrub_reap.service has exited. -- -- The process' exit code is 'exited' and its exit status is 2. May 20 18:10:42 franklin systemd[1]: e2scrub_reap.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The unit e2scrub_reap.service has entered the 'failed' state with result 'exit-code'. May 20 18:10:42 franklin systemd[1]: Failed to start Remove Stale Online ext4 Metadata Check Snapshots. -- Subject: A start job for unit e2scrub_reap.service has failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A start job for unit e2scrub_reap.service has finished with a failure. -- -- The job identifier is 4141 and the job result is failed. May 20 18:11:01 franklin cron[535]: (*system*e2scrub_all) RELOAD (/etc/cron.d/e2scrub_all) May 20 18:16:16 franklin PackageKit[9433]: daemon quit May 20 18:16:16 franklin systemd[1]: packagekit.service: Main process exited, code=killed, status=15/TERM -- Subject: Unit process exited -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- An ExecStart= process belonging to unit packagekit.service has exited. -- -- The process' exit code is 'killed' and its exit status is 15. May 20 18:16:16 franklin systemd[1]: packagekit.service: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The unit packagekit.service has successfully entered the 'dead' state. Is this stuff I should be worried about ? -- Frank McCormick
Re: Borked upgrade
On Sb, 28 dec 13, 16:34:30, Frank McCormick wrote: ... Unpacking mate-polkit-common (1.6.0-1) ... dpkg: error processing archive /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack): trying to overwrite '/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which is also in package mate-polkit:i386 1.6.0-1 Errors were encountered while processing: /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Fixed it..thanks to dpkg --force-overwrite You should probably report it. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Re: Borked upgrade
On 2013-12-29 10:18 +0100, Andrei POPESCU wrote: On Sb, 28 dec 13, 16:34:30, Frank McCormick wrote: ... Unpacking mate-polkit-common (1.6.0-1) ... dpkg: error processing archive /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack): trying to overwrite '/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which is also in package mate-polkit:i386 1.6.0-1 Errors were encountered while processing: /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Fixed it..thanks to dpkg --force-overwrite You should probably report it. That would have been my advice as well, but the mate-polkit package in the archive does not contain the offending file. Frank, where did you get it from? Cheers, Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87wqio9f3p@turtle.gmx.de
Re: Borked upgrade
On 29/12/13 04:32 AM, Sven Joachim wrote: On 2013-12-29 10:18 +0100, Andrei POPESCU wrote: On Sb, 28 dec 13, 16:34:30, Frank McCormick wrote: ... Unpacking mate-polkit-common (1.6.0-1) ... dpkg: error processing archive /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack): trying to overwrite '/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which is also in package mate-polkit:i386 1.6.0-1 Errors were encountered while processing: /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Fixed it..thanks to dpkg --force-overwrite You should probably report it. That would have been my advice as well, but the mate-polkit package in the archive does not contain the offending file. Frank, where did you get it from? Because the file was still there from earlier this year I didn't get it from anywhere. I first ran dpkg --configure -a...that configured the half-installed packages...then I ran dpkg with force-overwrite. I guess because the offending file wasn't in the package nothing got overwritten. I don't fully understand why the whole episode happened. I'll file a bug. -- Your mail is being read by tight-lipped NSA agents who fail to see the humor in Doctor Strangelove. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52c02b3e.4060...@videotron.ca
Re: Borked upgrade
On 29/12/13 09:01 AM, Frank McCormick wrote: On 29/12/13 04:32 AM, Sven Joachim wrote: On 2013-12-29 10:18 +0100, Andrei POPESCU wrote: On Sb, 28 dec 13, 16:34:30, Frank McCormick wrote: ... Unpacking mate-polkit-common (1.6.0-1) ... dpkg: error processing archive /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack): trying to overwrite '/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which is also in package mate-polkit:i386 1.6.0-1 Errors were encountered while processing: /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Fixed it..thanks to dpkg --force-overwrite You should probably report it. That would have been my advice as well, but the mate-polkit package in the archive does not contain the offending file. Frank, where did you get it from? Because the file was still there from earlier this year I didn't get it from anywhere. I first ran dpkg --configure -a...that configured the half-installed packages...then I ran dpkg with force-overwrite. I guess because the offending file wasn't in the package nothing got overwritten. I don't fully understand why the whole episode happened. I'll file a bug. This is the answer from maintainers: That happens when trying to update the package when using the MATE Debian repository at the same time and is hard to avoid since the MATE repositories contain mate-polkit while Debian has split the package into mate-polkit and mate-polkit-common. We could maybe add a Breaks here, but mixing different repositories is problematic anyways. As a hotfix, you can run: apt-get -o Dpkg::Options::=--force-overwrite -f install which will allow mate-polkit-common to overwrite files from the existing mate-polkit package installed through MATE's Debian repository. Frank -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52c04e56.2050...@videotron.ca
Borked upgrade
Upgrading my Sid system today all went fine until the new Mate-polkit packages. Now even apt-get -f install won't work. root@frank-debian:/home/frank# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: mate-polkit-common The following NEW packages will be installed: mate-polkit-common 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. 54 not fully installed or removed. Need to get 0 B/55.1 kB of archives. After this operation, 359 kB of additional disk space will be used. Do you want to continue? [Y/n] (Reading database ... 140927 files and directories currently installed.) Preparing to unpack .../mate-polkit-common_1.6.0-1_i386.deb ... Unpacking mate-polkit-common (1.6.0-1) ... dpkg: error processing archive /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack): trying to overwrite '/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which is also in package mate-polkit:i386 1.6.0-1 Errors were encountered while processing: /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) root@frank-debian:/home/frank# Should I just wait? There are a lot of packages half installed or half configured on the system now. Thanks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52bf3ead.20...@videotron.ca
Re: Borked upgrade
On 28/12/13 04:12 PM, Frank McCormick wrote: Upgrading my Sid system today all went fine until the new Mate-polkit packages. Now even apt-get -f install won't work. root@frank-debian:/home/frank# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: mate-polkit-common The following NEW packages will be installed: mate-polkit-common 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. 54 not fully installed or removed. Need to get 0 B/55.1 kB of archives. After this operation, 359 kB of additional disk space will be used. Do you want to continue? [Y/n] (Reading database ... 140927 files and directories currently installed.) Preparing to unpack .../mate-polkit-common_1.6.0-1_i386.deb ... Unpacking mate-polkit-common (1.6.0-1) ... dpkg: error processing archive /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack): trying to overwrite '/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which is also in package mate-polkit:i386 1.6.0-1 Errors were encountered while processing: /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) root@frank-debian:/home/frank# ' Fixed it..thanks to dpkg --force-overwrite -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52bf43e6.2070...@videotron.ca