I fixed this by doing the following:
1. Copy feisty.tar.gz from [cdrom]dists/feisty/main/dist-upgrader/binary-all to 
a subdirectory on my hd and extracting it.  You'll likely want to make an empty 
directory to extract to since it will extract all the files to the current 
directory.
2. Edit DistUpgradeViewKDE.py.   Make the following changes
2.a. On line 72 change self.progressbar.setProgress(percent) to 
self.progressbar.setProgress(step)
2.b. Line 65 reads self.progress = parent.window_main.progressbar_cache.  This 
should probably read self.progressbar = but I didn't want to take the chance of 
something else external using it and then bombing (it was really late) so I 
added a line after it that reads :
    self.progressbar = parent.window_main.progressbar_cache
3. Save the file and exit your editor.
4. In a terminal in the directory of your modified file execute the following 
command:
sudo python dist-upgrade.py --cdrom=[full path to cdrom] 
--frontend=DistUpgradeViewKDE
In my case I entered sudo python dist-upgrade.py --cdrom=/media/cdrom0/ 
--frontend=DistUpgradeViewKDE
The frontend parameter can likely be ignored since it doesn't seem to change 
anything when passing different frontend parameters like gtk or text.

One other note.  When I chose yes to downloading updated packages I also
got an error about the gnugpg module not being there.  If that happens
to you just choose No and do your updates later.

Good luck.

** Attachment added: "My changed file."
   http://librarian.launchpad.net/7381473/DistUpgradeViewKDE.py

-- 
KDECdromProgressAdapter instance has no attribute 'progressbar'
https://bugs.launchpad.net/bugs/108556
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to