[Bug 1448220] Re: package sgml-base 1.26+nmu4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
This bug is still present in 1.30. I fixed it the same way as mfisheresq, before finding this report. ## Bug Fix The sgml-base package should create the /var/lib/sgml-base directory, and not even need to check whether it exists. $ sudo dpkg --configure sgml-base Setting up sgml-base (1.30) ... cannot open /var/lib/sgml-base/supercatalog.new for writing: No such file or directory at /usr/sbin/update-catalog line 312. dpkg: error processing package sgml-base (--configure): installed sgml-base package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: sgml-base ## Context & Importance This bug prevents any other packages from being installed until it's manually fixed, and sgml-base cannot be blindly removed because of its role as a dependency for help documentation that's a default part of plasma desktop, and presumable other deafult help applications distributed as a default part of desktop environments. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448220 Title: package sgml-base 1.26+nmu4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sgml-base/+bug/1448220/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448220] Re: package sgml-base 1.26+nmu4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: sgml-base (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448220 Title: package sgml-base 1.26+nmu4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sgml-base/+bug/1448220/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448220] Re: package sgml-base 1.26+nmu4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
The error message (see attachment DpkgTerminalLog.txt) says: cannot open /var/lib/sgml-base/supercatalog.new for writing: No such file or directory at /usr/sbin/update-catalog line 312. "ls /var/lib" shows that /var/lib/sgml-base does not exist. Fixing this manually (sudo mkdir /var/lib/sgml-base) and then running "sudo apt-get upgrade" fixes the problem and sets up sgml-base and the packages that depend on it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448220 Title: package sgml-base 1.26+nmu4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sgml-base/+bug/1448220/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448220] Re: package sgml-base 1.26+nmu4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
** Tags removed: 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/1448220 Title: package sgml-base 1.26+nmu4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sgml-base/+bug/1448220/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs