[Bug 653628] Re: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1
Michael and I researched and discussed this in IRC recently. First of all, the code in the ecryptfs-utils pre-removal script is doing exactly what it is supposed to do -- it detects that you are in fact using ecryptfs for your encrypted home or encrypted private and the pre- removal script *refuses* to allow ecryptfs to be removed. Otherwise, if ecryptfs-utils was successfully removed, you would be completely locked out of your home or private, until you forcibly reinstalled ecryptfs- utils. That said, there is a bug here, in why apt thinks that ecryptfs-utils can be removed. Michael suggested that perhaps the best solution to this problem would be to have adduser recommend (rather than suggest) ecryptfs-utils. I agree with his assessment. I'm moving this bug over to adduser, and will fix it there in Natty. This is, perhaps, a candidate for an SRU, IMHO, as there have been many, many duplicates. ** Changed in: ecryptfs-utils (Ubuntu) Status: New = In Progress ** Changed in: ecryptfs-utils (Ubuntu) Assignee: (unassigned) = Dustin Kirkland (kirkland) ** Changed in: ecryptfs-utils (Ubuntu) Importance: Undecided = High ** Also affects: adduser (Ubuntu) Importance: Undecided Status: New ** Changed in: adduser (Ubuntu) Status: New = In Progress ** Changed in: adduser (Ubuntu) Importance: Undecided = High ** Changed in: adduser (Ubuntu) Assignee: (unassigned) = Dustin Kirkland (kirkland) ** Changed in: ecryptfs-utils (Ubuntu) Status: In Progress = Invalid ** Changed in: ecryptfs-utils (Ubuntu) Assignee: Dustin Kirkland (kirkland) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/653628 Title: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 653628] Re: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1
This bug was fixed in the package adduser - 3.112+nmu1ubuntu5 --- adduser (3.112+nmu1ubuntu5) natty; urgency=low * debian/control: fix an often-duplicated bug, which causes apt to try and remove ecryptfs-utils, even though it is in use; have adduser recommend, rather than suggest ecryptfs-utils, LP: #653628 -- Dustin Kirkland kirkl...@ubuntu.com Wed, 09 Mar 2011 11:16:13 + ** Changed in: adduser (Ubuntu) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/653628 Title: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 653628] Re: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1
I've created bug #710049 for the autoremove issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/653628 Title: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 653628] Re: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1
This is probably related to #635698 and specifically to the issue I noticed while trying to verify a fix for that issue, that several packages including keyutils and ecryptfs-utils were set so autoremove tries to remove them when it should not do so. Workaround for now is likely to be to log in as a user who does not use an encrypted home directory but is in the admin group, do sudo apt-get install ecryptfs-utils and then reboot. The real fix is (I suspect) to cause something (lxde? maybe?) to depend on ecryptfs-utils. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/653628 Title: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 653628] Re: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1
Here is the issue: Investigating (0) ecryptfs-utils [ i386 ] 83-0ubuntu3 ( misc ) Broken ecryptfs-utils:i386 Depends on keyutils [ i386 ] 1.4-1 ( misc ) Considering keyutils:i386 10001 as a solution to ecryptfs-utils:i386 0 Removing ecryptfs-utils:i386 rather than change keyutils:i386 Done -- package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/653628 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 653628] Re: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1
Ubuntu 10.10 lubuntu on eee 901. Updated from 10.04 lubuntu i got this error, dpkg sees no error but the eee is in unusable state now. The en- and dycryption is broken, no write access to old and new created homes. I'm very happy that i create a root account so i can maintain some things without login. Tested: Reinstall ecryptfs-utils don't help, full removed is forbidden cause first alphabetical user in the list should be in use. -- package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/653628 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 653628] Re: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1
Further information: When ssh'ing from outside or using a local tty with user account the ecryptfs unlocks well. But login at gui did not do this, nothing can be clicked and the menu is empty. The record your passphrase sign appears but the button is useless. -- package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/653628 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 653628] Re: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1
** Attachment added: Dependencies.txt https://bugs.launchpad.net/bugs/653628/+attachment/1666720/+files/Dependencies.txt ** Attachment added: VarLogDistupgradeAptlog.gz https://bugs.launchpad.net/bugs/653628/+attachment/1666721/+files/VarLogDistupgradeAptlog.gz ** Attachment added: VarLogDistupgradeApttermlog.gz https://bugs.launchpad.net/bugs/653628/+attachment/1666722/+files/VarLogDistupgradeApttermlog.gz ** Attachment added: VarLogDistupgradeHistorylog.gz https://bugs.launchpad.net/bugs/653628/+attachment/1666723/+files/VarLogDistupgradeHistorylog.gz ** Description changed: Binary package hint: ecryptfs-utils - This was a fresh install of Ubuntu (10.10). I tried to enable the - encrypted home directory feature on install, but it failed. Now I'm - having upgrade issues. `apt-get -f install` forced the upgrades. - Encryption still isn't working. I'll do a bit of digging and - troubleshoot, but as this is supposed to work out of the box I figured - I'd report it. + This was an upgrade to ubuntu-desktop (10.10) from lubuntu. I tried to + enable the encrypted home directory feature on install, but it failed. + Now I'm having upgrade issues. `apt-get -f install` forced the + upgrades. Encryption still isn't working. I'll do a bit of digging and + troubleshooting. ProblemType: Package DistroRelease: Ubuntu 10.10 Package: ecryptfs-utils 83-0ubuntu3 ProcVersionSignature: Ubuntu 2.6.35-22.33-generic-pae 2.6.35.4 Uname: Linux 2.6.35-22-generic-pae i686 NonfreeKernelModules: nvidia Architecture: i386 Date: Sat Oct 2 16:37:46 2010 ErrorMessage: ErrorMessage: subprocess installed pre-removal script returned error exit status 1 InstallationMedia: Lubuntu 10.10 Maverick Meerkat - Alpha i386 (20100806) SourcePackage: ecryptfs-utils Title: package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1 -- package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/653628 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs