mishandles prerequists-sources.list on ports architectures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Gutsy |
Fix Released
|
High
|
Michael Vogt | ||
Hardy |
Fix Released
|
High
|
Michael Vogt |
Bug Description
Binary package hint: update-manager
The machine in question is an ia64 host which lists only a local mirror in sources.list, and that mirror only has -security and -updates (in addition to the base release), no -backports. The machine _does_ have access to the public network, and is therefore able to access public mirror sites as well.
do-release-update eventually generates /etc/apt/
# sources.list fragment for pre-requists (one with countrymirror, one fallback)
deb http://
#deb http://
# below is just for testing
#deb http://
However, the correct entry for this machine (being ia64) would be:
deb http://
TEST CASE:
1. install feisty on a hppa or ia64 machine and ensure that update-manager 0.59.25 from feisty-updates gets installed
2. run update-manager
3. watch it fail with the error that it can't fetch the prerequists
4. run update-manager --proposed (to the the upgrader version from gutsy-proposed)
5. watch it work
If you don't have ia64/hppa, you can simulate the problem (best in a VM, its a bit disruptive):
0. modify your /etc/apt/
all http://
the deb-src lines removed (or unchanged)
1. start update-manager
2. add the file /etc/apt/
3. add the line: APT::Architecture "ia64";
to the file
Its important that update-manager is started before the file that modifies the architecture is added, otherwise update-manager
will not start. The error for the stock update-manager is that its fails to get the prerequists (the problem with the real hardare).
With the fix (the version from -proposed) the update will continue to the point that it displays what packages are obsolete
now but it will stop with "can not calculate the upgrade". That is ok, it can not do that because it can not deal with the already
installed i386 packages that would need to be replaced with ia64 versions.
Related branches
Changed in update-manager: | |
assignee: | nobody → mvo |
importance: | Undecided → High |
status: | New → Confirmed |
description: | updated |
description: | updated |
To test the fix (before it enter gutsy-proposed) run: people. ubuntu. com/~mvo/ dist-upgrader/ gutsy-0. 81.1.tar. gz
$ cd /tmp
$ wget http://
$ tar xzvf gutsy-0.81.1.tar.gz
$ sudo ./gutsy --mode=server
(mode=server is only needed if you run it on a server install).
Please let me know if it works for you on ia64/hppa.
Thanks,
Michael