do-release-upgrade clobbers prerequists-sources.list regardless of
permissions. So I mounted /etc/apt/sources.list.d as read only loop
device. It didn't work, but it does show where DistUpgradeControler.py
starts messing with it.

I don't know enough/any python to fix this, but it sure does seem it
would be that tough for such a crucial part of the ubuntu
infrastructure. As it is now, once a release goes off
archive.ubuntu.com, it can't be network upgraded.

A fatal error occured
Please report this as a bug and include the files 
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in your 
report. The upgrade aborts now.
Your original sources.list was saved in /etc/apt/sources.list.distUpgrade.
Traceback (most recent call last):

  File "/tmp/tmpjg9FjS/gutsy", line 59, in <module>
    app.run()

  File "/tmp/tmpjg9FjS/DistUpgradeControler.py", line 1346, in run
    self.fullUpgrade()

  File "/tmp/tmpjg9FjS/DistUpgradeControler.py", line 1251, in fullUpgrade
    if not self.getRequiredBackports():

  File "/tmp/tmpjg9FjS/DistUpgradeControler.py", line 1140, in 
getRequiredBackports
    outfile = 
open(os.path.join(apt_pkg.Config.FindDir("Dir::Etc::sourceparts"), 
sourceslistd), "w")

IOError: [Errno 30] Read-only file system: '/etc/apt/sources.list.d
/prerequists-sources.list'

-- 
7.04->7.10 "Upgrade" fails: "Getting upgrade prerequisites failed"
https://bugs.launchpad.net/bugs/153980
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