[Bug 1445322] Re: do-release-upgrade crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Apport retracing service
1445322 at bugs.launchpad.net
Fri Apr 17 04:50:15 UTC 2015
*** This bug is a duplicate of bug 1292996 ***
https://bugs.launchpad.net/bugs/1292996
Thank you for taking the time to report this crash and helping to make
this software better. This particular crash has already been reported
and is a duplicate of bug #1292996, so is being marked as such. Please
look at the other bug report to see if there is any missing information
that you can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Please continue to report any other bugs you may
find.
** Tags removed: need-duplicate-check
** Changed in: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided => Medium
** Attachment removed: "ProcMaps.txt"
https://bugs.launchpad.net/bugs/1445322/+attachment/4378024/+files/ProcMaps.txt
** Attachment removed: "ProcStatus.txt"
https://bugs.launchpad.net/bugs/1445322/+attachment/4378025/+files/ProcStatus.txt
** This bug has been marked a duplicate of bug 1292996
do-release-upgrade crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
** Information type changed from Private to Public
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1445322
Title:
do-release-upgrade crashed with SystemError: E:Sub-process
/usr/bin/dpkg returned an error code (1)
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
This may or may not be a dupe of BUG#1438745 ....
And this is probably somehow related to my upgrading my kernel to 4.0 under 14.10 prior to upgrading to 15.04.
I had already successfully upgraded mu Ubuntu 14.10 to run the new 4.0 kernel (rebooted nicely):
~$ uname -r
4.0.0-040000-generic
So naturally, I decided to perform an early upgrade to Ubuntu 15.04:
sudo do-release-upgrade -d
I had a few config files that I copied to prevent losing my settings while letting the defaults be installed with the upgrade:
~$ sudo cp /etc/rkhunter.conf /etc/rkhunter.conf.oldery
~$ sudo cp /etc/default/netatalk /etc/default/netatalk.oldery
~$ sudo cp /etc/netatalk/AppleVolumes.default /etc/netatalk/AppleVolumes.default.oldery
(So, when the script stopped to prompt me for each file, I used a second window to sudo cp the file with .oldery - still leaving the original to be overlayed when I chose Y in the primary window).
When it got stuck (looping with this problem: bug/1438745).
(primary window kept trying and failing to configure clamav-daemon with some sort of error on line 626 unable to find or create something because nonexistent...)
I wasted a few times hitting ENTER and then 'r' to restart...
Anywhoo, I was able to open a second terminal window. I used the new terminal window to do a few commands to try to manually run dpkg clamav-daemon (but this failed with same error).
Then the second window crashed along with dock and only window still active was the first one.
So I entered x (instead of r to recover) and was supprised to get CLI prompt.
So I decided to use apt-get to purge the clamav-daemon package and any associated config files:
sudo apt-get -fV purge clamav-daemon
And Since the above recommended auto-removing clamdscan, I followed with:
sudo apt-get -fV purge clamdscan
Once that was done, I tried to install them fresh:
sudo apt-get -fV install clamav-daemon clamdscan
And it worked with no errors!!
But it did suggest that I install a package named daemon, so I did:
sudo apt-get -fV install daemon
And that worked with no errors!!
So I ran update and upgrade:
sudo apt-get update
sudo apt-get upgrade
they both ran clean...
So then I rebooted:
sudo shutdown -r
And it booted up nicely into 15.04
And it was still running with the new linux kernel:
4.0.0-040000-generic (that I had applied earlier).
I still have to restore those config file settings that were
overwritten during the upgrade:
~$ uname -r
4.0.0-040000-generic
~$ sudo cp /etc/rkhunter.conf /etc/rkhunter.conf.oldery
~$ sudo cp /etc/default/netatalk /etc/default/netatalk.oldery
~$ sudo cp /etc/netatalk/AppleVolumes.default
/etc/netatalk/AppleVolumes.default.oldery
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: ubuntu-release-upgrader-core 1:15.04.13
Uname: Linux 4.0.0-040000-generic x86_64
ApportVersion: 2.17.1-0ubuntu2
Architecture: amd64
CrashDB: ubuntu
Date: Thu Apr 16 23:20:15 2015
DuplicateSignature: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
ExecutablePath: /usr/bin/do-release-upgrade
InstallationDate: Installed on 2014-06-01 (319 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /tmp/ubuntu-release-upgrader-o4_dohnq/vivid --mode=server --frontend=DistUpgradeViewText --devel-release
PythonArgs: ['/usr/bin/do-release-upgrade', '--mode=server', '--frontend=DistUpgradeViewText', '--devel-release']
SourcePackage: ubuntu-release-upgrader
Title: do-release-upgrade crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Traceback: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
UpgradeStatus: Upgraded to vivid on 2015-04-17 (0 days ago)
UserGroups: kismet
VarLogDistupgradeAptHistorylog:
Start-Date: 2015-04-16 23:20:12
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2015-04-16 23:20:13
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1445322/+subscriptions
More information about the foundations-bugs
mailing list