No, actually that breaks it harder.  It doesn't use ports.ubuntu.com for
stuff not on archive.ubuntu.com, and it presumes mirrors exist for all
architectures (which doesn't tend to be true for Ubuntu).  The more
comprehensive fix to this bug is to refactor Ubuntu.info.in to default
to ports (where the majority of architectures reside), and special-case
exceptions.  To save my typing, I've special-cased ports for very old
releases (where more architectures were on archive.ubuntu.com and fewer
on ports.ubuntu.com) in http://bazaar.launchpad.net/~persia/python-
apt/lucid+bf531876/revision/341

I've not encountered the build failure that
http://bzr.debian.org/loggerhead/apt/python-apt/debian-sid/revision/352
claims to fix (I also test build on powerpc), but my fear is that it
would imply that mirrors worked for ports, which doesn't tend to be the
case.

** Description changed:

  Binary package hint: python-apt
  
  python-apt defaults to archive.ubuntu.com except for specifically listed
  architectures.  As a result, it removes entries referencing
  ports.ubuntu.com on upgrade, except for an incomplete list of special-
  case architectures, which leads to update and upgrade failures.
+ 
+ WORKAROUND:
+ 
+ Those encountering this bug must manually recreate a sources.list that
+ minimally includes:
+ 
+ deb http://ports.ubuntu.com/ubuntu-ports/ karmic main restricted
+ deb http://ports.ubuntu.com/ubuntu-ports/ karmic-updates main restricted
+ 
+ Once the bug is fixed, those who have downloaded the fix (after using
+ this workaround) will be able to again use software-properties to adjust
+ the set of sources.

** Description changed:

  Binary package hint: python-apt
  
  python-apt defaults to archive.ubuntu.com except for specifically listed
  architectures.  As a result, it removes entries referencing
  ports.ubuntu.com on upgrade, except for an incomplete list of special-
  case architectures, which leads to update and upgrade failures.
  
  WORKAROUND:
  
  Those encountering this bug must manually recreate a sources.list that
  minimally includes:
  
  deb http://ports.ubuntu.com/ubuntu-ports/ karmic main restricted
  deb http://ports.ubuntu.com/ubuntu-ports/ karmic-updates main restricted
  
  Once the bug is fixed, those who have downloaded the fix (after using
  this workaround) will be able to again use software-properties to adjust
- the set of sources.
+ the set of sources.  Those using releases other than "karmic" are
+ encouraged to replace "karmic" with the appropriate release codename in
+ the lines above.

-- 
Breaks sources.list for some ports when used
https://bugs.launchpad.net/bugs/531876
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to