[Bug 2084277] [NEW] package usrmerge 25ubuntu2 failed to install/upgrade: installed usrmerge package post-installation script subprocess returned error exit status 1
Public bug reported: Errors were encountered while processing: usrmerge Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1) Could not install the upgrades The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). Setting up usrmerge (25ubuntu2) ... Smartmatch is experimental at /usr/lib/usrmerge/convert-usrmerge line 172. mv: cannot move '/lib/modules' to '/usr/lib/modules': Device or resource busy FATAL ERROR: mv --no-clobber /lib/modules /usr/lib/modules: rc=1 You can try correcting the errors reported and running again /usr/lib/usrmerge/convert-usrmerge until it will complete without errors. Do not install or update other Debian packages until the program has been run successfully. dpkg: error processing package usrmerge (--configure): installed usrmerge package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: usrmerge Upgrade complete The upgrade has completed but there were errors during the upgrade process. ProblemType: Package DistroRelease: Ubuntu 22.04 Package: usrmerge 25ubuntu2 ProcVersionSignature: Ubuntu 3.16.0-41.57-generic 3.16.7-ckt11 Uname: Linux 3.16.0-41-generic x86_64 NonfreeKernelModules: psmouse virtio_scsi pata_acpi ApportVersion: 2.20.11-0ubuntu82.6 Architecture: amd64 CasperMD5CheckResult: unknown Date: Fri Oct 11 12:43:46 2024 ErrorMessage: installed usrmerge package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2013-10-24 (4004 days ago) InstallationMedia: Ubuntu-Server 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.2) PackageArchitecture: all Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04.1 PythonDetails: N/A RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: dpkg 1.21.1ubuntu2.3 apt 2.4.13 SourcePackage: usrmerge Title: package usrmerge 25ubuntu2 failed to install/upgrade: installed usrmerge package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to jammy on 2024-10-11 (0 days ago) ** Affects: usrmerge (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package jammy need-duplicate-check -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084277 Title: package usrmerge 25ubuntu2 failed to install/upgrade: installed usrmerge package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usrmerge/+bug/2084277/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
seeing this: root@tmp:/home/pgray# apt install zsys/focal-proposed Reading package lists... Done Building dependency tree Reading state information... Done Selected version '0.4.7' (Ubuntu:20.04/focal-proposed [amd64]) for 'zsys' The following package was automatically installed and is no longer required: libfprint-2-tod1 Use 'apt autoremove' to remove it. The following packages will be upgraded: zsys 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/3,634 kB of archives. After this operation, 0 B of additional disk space will be used. Requesting to save current system state Successfully saved as "autozsys_63hqvl" (Reading database ... 212063 files and directories currently installed.) Preparing to unpack .../archives/zsys_0.4.7_amd64.deb ... Unpacking zsys (0.4.7) over (0.4.6) ... Setting up zsys (0.4.7) ... zsys-gc.service is a disabled or a static unit not running, not starting it. Processing triggers for man-db (2.9.1-1) ... ZSys is adding automatic system snapshot to GRUB menu ERROR Service took too long to respond. Disconnecting client. This is still not the desired outcome, correct? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
Should I run any commands before trying to upgrade? Or should the 0.4.7 upgrade handle my root partition still being in a weird state? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: zsys package post-installation failed when boot pool is not imported
Anything else I can provide here? This zfs-root was setup by the ubuntu desktop installer fwiw. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: zsys package post-installation failed when boot pool is not imported To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] ZFSListcache-rpool.txt
apport information ** Attachment added: "ZFSListcache-rpool.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390221/+files/ZFSListcache-rpool.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] SystemdFailedUnits.txt
apport information ** Attachment added: "SystemdFailedUnits.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390219/+files/SystemdFailedUnits.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] ZFSModules.txt
apport information ** Attachment added: "ZFSModules.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390222/+files/ZFSModules.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] ZSYSJournal.txt
apport information ** Attachment added: "ZSYSJournal.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390227/+files/ZSYSJournal.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] ZFSPoolsStatus.txt
apport information ** Attachment added: "ZFSPoolsStatus.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390225/+files/ZFSPoolsStatus.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] ZSYSDump.txt
apport information ** Attachment added: "ZSYSDump.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390226/+files/ZSYSDump.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Mounts.txt
apport information ** Attachment added: "Mounts.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390215/+files/Mounts.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] ZFSMounts.txt
apport information ** Attachment added: "ZFSMounts.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390223/+files/ZFSMounts.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] ZFSPoolCache.gz
apport information ** Attachment added: "ZFSPoolCache.gz" https://bugs.launchpad.net/bugs/1886214/+attachment/5390224/+files/ZFSPoolCache.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Re: apt-get upgrade fails on zsys package
apport information ** Tags added: apport-collected focal ** Description changed: root@tmp:/home/pgray# zfs list -t snapshot -o name -S creation no datasets available root@tmp:/home/pgray# sudo apt-get install zsys Reading package lists... Done Building dependency tree Reading state information... Done zsys is already the newest version (0.4.6). 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Requesting to save current system state Successfully saved as "autozsys_90843v" Setting up zsys (0.4.6) ... dpkg: error processing package zsys (--configure): installed zsys package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: zsys ZSys is adding automatic system snapshot to GRUB menu ERROR Service took too long to respond. Disconnecting client. E: Sub-process /usr/bin/dpkg returned an error code (1) root@tmp:/home/pgray# zpool list NAMESIZE ALLOC FREE CKPOINT EXPANDSZ FRAGCAP DEDUPHEALTH ALTROOT rpool 107G 9.27G 97.7G- -10% 8% 1.00xONLINE - This was after a previous upgrade failed. Even after removing all snapshots for that pool, it fails. root@tmp:/home/pgray# lsb_release -rd Description:Ubuntu 20.04 LTS Release:20.04 root@tmp:/home/pgray# apt-cache policy zsys zsys: Installed: 0.4.6 Candidate: 0.4.6 Version table: *** 0.4.6 500 500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.4.5 500 500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages + --- + ProblemType: Bug + ApportVersion: 2.20.11-0ubuntu27.3 + Architecture: amd64 + CasperMD5CheckResult: skip + DistroRelease: Ubuntu 20.04 + InstallationDate: Installed on 2020-06-09 (27 days ago) + InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) + NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair + Package: zsys 0.4.5 + PackageArchitecture: amd64 + ProcEnviron: + TERM=screen-256color + PATH=(custom, no user) + XDG_RUNTIME_DIR= + LANG=en_US.UTF-8 + SHELL=/bin/bash + ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_bgiwia@/vmlinuz-5.4.0-37-generic root=ZFS=rpool/ROOT/ubuntu_bgiwia ro quiet splash + ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41 + RelatedPackageVersions: + zfs-initramfs 0.8.3-1ubuntu12.1 + zfsutils-linux 0.8.3-1ubuntu12.1 + Tags: focal + Uname: Linux 5.4.0-37-generic x86_64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: adm cdrom dip docker kvm libvirt lpadmin lxd plugdev sambashare sudo + ZFSImportedPools: + NAMESIZE ALLOC FREE CKPOINT EXPANDSZ FRAGCAP DEDUPHEALTH ALTROOT + rpool 107G 9.66G 97.3G- -10% 9% 1.00xONLINE - + slow 29.1T 606G 28.5T- - 0% 2% 1.00xONLINE - + ZFSListcache-bpool: + bpool/boot off on on off on off on off - none + bpool/BOOT noneoff on on off on off on off - none + bpool/BOOT/ubuntu_bgiwia /boot on on on off on off on off - none + _MarkForUpload: True ** Attachment added: "Dependencies.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390213/+files/Dependencies.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] SystemdDefaultUnitsState.txt
apport information ** Attachment added: "SystemdDefaultUnitsState.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390218/+files/SystemdDefaultUnitsState.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] ZFSDatasets.txt
apport information ** Attachment added: "ZFSDatasets.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390220/+files/ZFSDatasets.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] ProcCpuinfoMinimal.txt
apport information ** Attachment added: "ProcCpuinfoMinimal.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390217/+files/ProcCpuinfoMinimal.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] Grub.cfg.txt
apport information ** Attachment added: "Grub.cfg.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390214/+files/Grub.cfg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] MountsGenerated.txt
apport information ** Attachment added: "MountsGenerated.txt" https://bugs.launchpad.net/bugs/1886214/+attachment/5390216/+files/MountsGenerated.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1886214] [NEW] apt-get upgrade fails on zsys package
Public bug reported: root@tmp:/home/pgray# zfs list -t snapshot -o name -S creation no datasets available root@tmp:/home/pgray# sudo apt-get install zsys Reading package lists... Done Building dependency tree Reading state information... Done zsys is already the newest version (0.4.6). 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Requesting to save current system state Successfully saved as "autozsys_90843v" Setting up zsys (0.4.6) ... dpkg: error processing package zsys (--configure): installed zsys package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: zsys ZSys is adding automatic system snapshot to GRUB menu ERROR Service took too long to respond. Disconnecting client. E: Sub-process /usr/bin/dpkg returned an error code (1) root@tmp:/home/pgray# zpool list NAMESIZE ALLOC FREE CKPOINT EXPANDSZ FRAGCAP DEDUPHEALTH ALTROOT rpool 107G 9.27G 97.7G- -10% 8% 1.00xONLINE - This was after a previous upgrade failed. Even after removing all snapshots for that pool, it fails. root@tmp:/home/pgray# lsb_release -rd Description:Ubuntu 20.04 LTS Release:20.04 root@tmp:/home/pgray# apt-cache policy zsys zsys: Installed: 0.4.6 Candidate: 0.4.6 Version table: *** 0.4.6 500 500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.4.5 500 500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages ** Affects: zsys (Ubuntu) Importance: Undecided Status: New ** Tags: zfs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886214 Title: apt-get upgrade fails on zsys package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1886214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1793350] [NEW] column error if no trailing newline
Public bug reported: The utility ``column`` gives the error ``column: line too long``, and does not produce the correct output, when given an input without a trailing newline: $ python3 -c "print('a\nb\nc')" | column a b c $ python3 -c "print('a\nb\nc', end='')" | column column: line too long a b $ This seems to be a bug, as it is not the case on my Manjaro laptop, which uses the column utility from pacman's util-linux package: $ python3 -c "print('a\nb\nc')" | column a b c $ python3 -c "print('a\nb\nc', end='')" | column a b c $ pacman -Qo column /usr/bin/column is owned by util-linux 2.32.1-2 Building the util-linux on ubuntu similarly gives what would appear to be correct behaviour: $ make column > /dev/null $ python3 -c "print('a\nb\nc', end='')" | ./column a b c $ System / package information: $ lsb_release -rd Description:Ubuntu 18.04.1 LTS Release:18.04 $ apt-cache policy bsdmainutils bsdmainutils: Installed: 11.1.2ubuntu1 Candidate: 11.1.2ubuntu1 Version table: *** 11.1.2ubuntu1 500 500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status ** Affects: bsdmainutils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1793350 Title: column error if no trailing newline To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/1793350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs