2012-02-24 15:15:40 |
Jean-Baptiste Lallement |
bug |
|
|
added bug |
2012-02-24 15:16:23 |
Jean-Baptiste Lallement |
summary |
infinite loop if deborphan returns already removed packages |
infinite loop if deborphan returns packages that are not installed |
|
2012-02-24 16:38:55 |
Martin-Éric Racine |
attachment added |
|
debdiff.txt https://bugs.launchpad.net/ubuntu/+source/upgrade-system/+bug/940374/+attachment/2779324/+files/debdiff.txt |
|
2012-02-27 09:14:24 |
Jean-Baptiste Lallement |
attachment added |
|
upgrade-system.log https://bugs.launchpad.net/ubuntu/+source/upgrade-system/+bug/940374/+attachment/2787222/+files/upgrade-system.log |
|
2012-02-27 09:23:26 |
Jean-Baptiste Lallement |
description |
On my system, for some reason which looks like a bug in deborphan, deborphan returns packages that are not installed on the system - dpkg status is 'un' .
In this situation upgrade-system enters in an infinite loop when it purges orphan packages.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: upgrade-system 1.5.1.0
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Fri Feb 24 16:09:28 2012
GsettingsChanges:
com.ubuntu.update-manager check-new-release-ignore 'oneiric'
com.ubuntu.update-manager first-run false
com.ubuntu.update-manager launch-time 1326868847
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: upgrade-system
UpgradeStatus: Upgraded to precise on 2012-01-31 (23 days ago) |
On my system, for some reason which looks like a bug in deborphan, deborphan returns packages that are not installed on the system - dpkg status is 'un' .
In this situation upgrade-system enters in an infinite loop when it purges orphan packages.
TEST CASE:
1. On an amd64 host, install a non-essential library for a foreign architecture and make sure that it is not already installed for the native architecture.
$ sudo apt-get install libodbc1:i386
2. Verify that deborphan lists the package:
$ sudo deborphan
3. Run upgrade-system
$ sudo upgrade-system
ACTUAL RESULT:
$ deborphan
libodbc1
Note that the arch is not displayed. upgrade-system tries to remove the amd64 version of the package resulting in a loop.
EXPECTED RESULT:
i386 is listed and purged (Bug #940379) or at least upgrade-system breaks from the loop
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: upgrade-system 1.5.1.0
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Fri Feb 24 16:09:28 2012
GsettingsChanges:
com.ubuntu.update-manager check-new-release-ignore 'oneiric'
com.ubuntu.update-manager first-run false
com.ubuntu.update-manager launch-time 1326868847
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: upgrade-system
UpgradeStatus: Upgraded to precise on 2012-01-31 (23 days ago) |
|
2012-05-04 14:06:53 |
Martin-Éric Racine |
attachment added |
|
upgrade-system_kludge_for_Precise.patch https://bugs.launchpad.net/ubuntu/+source/upgrade-system/+bug/940374/+attachment/3129975/+files/upgrade-system_kludge_for_Precise.patch |
|
2012-05-04 16:21:36 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug precise qa-manual-testing |
amd64 apport-bug patch precise qa-manual-testing |
|
2012-06-14 15:46:27 |
Brian Murray |
nominated for series |
|
Ubuntu Precise |
|
2012-06-14 15:46:27 |
Brian Murray |
bug task added |
|
upgrade-system (Ubuntu Precise) |
|
2012-06-14 15:46:43 |
Brian Murray |
upgrade-system (Ubuntu Precise): status |
New |
Fix Committed |
|
2012-06-14 15:46:50 |
Brian Murray |
upgrade-system (Ubuntu Precise): importance |
Undecided |
High |
|
2012-06-15 23:11:18 |
Launchpad Janitor |
branch linked |
|
lp:debian/upgrade-system |
|
2012-06-16 08:24:50 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2012-06-16 09:15:02 |
Launchpad Janitor |
upgrade-system (Ubuntu): status |
New |
Fix Released |
|
2012-06-16 09:57:19 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/upgrade-system |
|
2012-06-19 08:07:14 |
Chris Halse Rogers |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-06-19 08:07:19 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2012-06-19 08:07:23 |
Chris Halse Rogers |
tags |
amd64 apport-bug patch precise qa-manual-testing |
amd64 apport-bug patch precise qa-manual-testing verification-needed |
|
2012-06-19 08:42:05 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/upgrade-system |
|
2012-07-03 22:09:08 |
Steve Langasek |
tags |
amd64 apport-bug patch precise qa-manual-testing verification-needed |
amd64 apport-bug patch precise qa-manual-testing verification-done |
|
2012-07-03 22:11:09 |
Launchpad Janitor |
upgrade-system (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|