DebuggingUpdateManager
ContentsBRTableOfContents |
Introduction
Update-manager provides two services - the ability to upgrade packages within a release, and the ability to upgrade a release of Ubuntu to the next one. When looking at bug reports it is important to keep this in mind and identify whether it is a problem with a package upgrade or a release upgrade.
How to file
When filing a bug report regarding a problem with a distribution or release upgrade at a minimimum you should add every file in '/var/log/dist-upgrade/', there should be at least 3, as separate attachments. You should also tag your distribution upgrade bug with the release you are moving from and to - for example 'feisty2gutsy'.
How to triage
Help with triaging bugs for update-manager is very welcome. It accumulated a lot of reports over time. Some are bugs in update-manager, but some are bugs in packages where update-manager is just the messenger. To find out what exactly is the problem, we always need the log files in /var/log/dist-upgrade/*. The are most of the time enough to know what went wrong. If they are missing, it is recommended to ask for them with a phrase like:
Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please add the log files from '/var/log/dist-upgrade/' to this bugreport as attachments to your bug report? Thanks in advance.
Bug Tags
Tag |
Use case |
Link |
gutsy2hardy |
Bugs related to upgrading from Gutsy Gibbon (7.10) to Hardy Heron (8.04) |
[https://launchpad.net/ubuntu/+bugs?field.tag=gutsy2hardy link] |
feisty2gutsy |
Bugs related to upgrading from Feisty Fawn (7.04) to Gutsy Gibbon (7.10) |
[https://launchpad.net/ubuntu/+bugs?field.tag=feisty2gutsy link] |
edgy2feisty |
Bugs related to upgrading from Edgy Eft (6.10) to Feisty Fawn (7.04) |
[https://launchpad.net/ubuntu/+bugs?field.tag=edgy2feisty link] |
dapper2edgy |
Bugs related to upgrades from Dapper Drake (6.06) to Edgy Eft (7.04) |
[https://launchpad.net/ubuntu/+bugs?field.tag=dapper2edgy link] |
dapper2hardy |
Bugs related to upgrades from Dapper Drake (6.06) to Hardy Heron (8.04) |
[https://launchpad.net/ubuntu/+bugs?field.tag=dapper2hardy link] |
cdrom-upgrade |
Bugs related to an upgrade from CD-ROM or DVD media |
[https://launchpad.net/ubuntu/+bugs?field.tag=cdrom-upgrade link] |
The previously described tags are specific to the [:UpdateManager] application, if you need more general tags please visit [:Bugs/Tags] page.
Debugging Procedures
For a distribution upgrade in '/var/log/dist-upgrade/' there are three log files that are helpful in debugging the issue:
- 'main.log'
- contains the version of release upgrade and the lsb-release (version of Ubuntu)
- contains information on how '/etc/apt/sources.list' was handled and updated
- contains log information regarding the free space calculation
- contains an overview of the whole process
- may contain python back traces
- 'apt.log'
- contains a dump of the package problem resolver
- it is useful when update-manager says it can not upgrade
- it is also useful for identifying 3rd party repositories that are problematic
- it usually reveals information about incorrect dependencies
- 'term.log'
- is a subset of '/var/log/apt/term.log'
- errors can be found by looking for the string 'dpkg: error'
Known bugs
Description of known issues, how to recognise them and stock responses/actions.
Open
Bug# |
Description |
Action |
https://bugs.edge.launchpad.net/ubuntu/+source/update-manager/+bug/107188 |
Out of memory error on KDE |
duplicate, no solution yet |
Closed
Bug# |
Description |
Action |
Non-bugs
- When running a development release of Ubuntu you will frequently receive messages when trying to run update-manager that it could not calculate the upgrade. This is expected and happens due to the amount of changes occuring in the repository.
- The distribution upgrade will warn the user if there is not enough free space on any parition (e.g. '/boot') on their system. The space must be freed and the upgrade restarted.