** Description changed:

  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.d/prerequists-sources.list with the following:
    # sources.list fragment for pre-requists (one with countrymirror, one 
fallback)
    deb http://us.archive.ubuntu.com/ubuntu feisty-backports 
main/debian-installer
    #deb http://archive.ubuntu.com/ubuntu feisty-backports main/debian-installer
    # below is just for testing
    #deb http://archive.dogfood.launchpad.net/ubuntu feisty-backports 
main/debian-installer
  
  However, the correct entry for this machine (being ia64) would be:
    deb http://ports.ubuntu.com/ubuntu-ports feisty-backports 
main/debian-installer
  
- thanks,
- lamont
+ 
+ TEST CASE:
+ 1. install feisty on a hppa or ia64 machine
+ 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/sources.list so that:
+     all http://archive.ubuntu.com/ubuntu lines are replaced with 
"http://ports.ubuntu.com/"; 
+     the deb-src lines removed (or unchanged)
+ 1. start update-manager
+ 2. add the file /etc/apt/apt.conf.d/02_ia64 
+ 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.

-- 
mishandles prerequists-sources.list on ports architectures
https://bugs.launchpad.net/bugs/172609
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to