[Bug 574163] Re: PPC upgrade karmic -> lucid: archive.canonical.com is overwritten
guillermo.odone
guillermo.odone at gmail.com
Mon May 3 04:02:25 UTC 2010
The patch was previously describe and here too.
Download:
http://archive.ubuntu.com/ubuntu/dists/lucid/main/dist-upgrader-all/current/lucid.tar.gz
Un tar.
Open file: "DistUpgradecontroller.py"
Locate line "622" where is the following part of code.
-----------------------------------------------------------------------------------------------------------------------
ORIGINAL 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/"
-----------------------------------------------------------------------------------------------------------------------
At line "623" insert this line of code.
-----------------------------------------------------------------------------------------------------------------------
LINE OF CODE TO ADD
-----------------------------------------------------------------------------------------------------------------------
not "archive.canonical.com" in entry.uri and
-----------------------------------------------------------------------------------------------------------------------
So the code now is.
-----------------------------------------------------------------------------------------------------------------------
MODIFIED CODE
-----------------------------------------------------------------------------------------------------------------------
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/"
-----------------------------------------------------------------------------------------------------------------------
Save file.
Execute file: "dist-upgrade.py"
there it goes and upgrades.
--
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