[Bug 574163] [NEW] PPC upgrade karmic -> lucid: archive.canonical.com is overwritten
guillermo.odone
guillermo.odone at gmail.com
Mon May 3 03:53:14 UTC 2010
Public bug reported:
Hi,
I'm updating a G3 ppc Notebook from Karmic to Lucid.
I tried to do the update through the Update Manager but always error:
"Cannot access to partner/.../Packages"
so I downloaded: the file lucid.tar.gz from:
http://archive.ubuntu.com/ubuntu/dists/lucid/main/dist-upgrader-all/current/lucid.tar.gz
In file "DistUpgradecontroller.py" at line "622" is this code:
-----------------------------------------------------------------------------------------------------------------------
if (entry.type == "deb" and
not "ports.ubuntu.com" in entry.uri and
(self.arch == "powerpc" or self.arch == "sparc")):
logging.debug("moving %s source entry to 'ports.ubuntu.com' " % self.arch)
entry.uri = "http://ports.ubuntu.com/ubuntu-ports/"
-----------------------------------------------------------------------------------------------------------------------
To bypass the error I added a line for "archive.canonical.com" string
too, so the code now is:
-----------------------------------------------------------------------------------------------------------------------
if (entry.type == "deb" and
not "archive.canonical.com" in entry.uri and
not "ports.ubuntu.com" in entry.uri and
(self.arch == "powerpc" or self.arch == "sparc")):
logging.debug("moving %s source entry to 'ports.ubuntu.com' " % self.arch)
entry.uri = "http://ports.ubuntu.com/ubuntu-ports/"
-----------------------------------------------------------------------------------------------------------------------
Thanks, great job.
Guillermo.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
PPC upgrade karmic -> lucid: archive.canonical.com is overwritten
https://bugs.launchpad.net/bugs/574163
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list