[Bug 1551929] [NEW] Cannot upgrade to 15.10 using alternate AMD64 ISO

2016-03-01 Thread Steven Chan
Public bug reported:

# lsb_release -rd
Description:Ubuntu 15.10
Release:15.10

# apt-cache policy python3-distupgrade
python3-distupgrade:
  Installed: 1:15.10.14.4
  Candidate: 1:15.10.14.4
  Version table:
 *** 1:15.10.14.4 0
500 http://ca.archive.ubuntu.com/ubuntu/ wily-updates/main amd64 
Packages
100 /var/lib/dpkg/status
 1:15.10.13 0
500 http://ca.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages


I am a Lubuntu AMD64 user. I was on Lubuntu 14.10 and needed to upgrade. After 
successfully upgrading to vivid/15.04, I then tried to upgrade to wily/15.10. 
In both cases, I used the alternate ISO.

First, I downloaded the ISO file and mounted it to my local file system:

# sudo mount -o loop ~/Desktop/x220/lubuntu-15.10-alternate-amd64.iso
/mnt

Second, I executed the upgrade script and chose the 'no network' option:

# sudo /mnt/cdromupgrade

But it failed early in the sequence of events. The relevant part of the
/var/log/dist-upgrade/main.log file showed the following:

2016-02-28 12:19:17,788 ERROR not handled exception:
Traceback (most recent call last):

  File "/tmp/tmp.vQLpNb1AlJ/wily", line 8, in 
sys.exit(main())

  File "/tmp/tmp.vQLpNb1AlJ/DistUpgrade/DistUpgradeMain.py", line 240, in main
if app.run():

  File "/tmp/tmp.vQLpNb1AlJ/DistUpgrade/DistUpgradeController.py", line 1837, 
in run
return self.fullUpgrade()

  File "/tmp/tmp.vQLpNb1AlJ/DistUpgrade/DistUpgradeController.py", line 1729, 
in fullUpgrade
not self.aptcdrom.add(self.sources_backup_ext)):

  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeAptCdrom.py", 
line 306, in add
res = self._doAdd()

  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeAptCdrom.py", 
line 264, in _doAdd
if self._verifyRelease(self.signatures):

  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeAptCdrom.py", 
line 227, in _verifyRelease
sum = apt_pkg.sha256sum(open(fp))

TypeError: invalid file: <_io.TextIOWrapper
name='/mnt/dists/wily/restricted/debian-installer/binary-
amd64/Packages.gz' mode='r' encoding='UTF-8'>

After some detective work, I was able to upgrade to wily by removing the
'open' call in line 227:

sum = apt_pkg.sha256sum(fp)

An important step in the detective work was to inspect the changes to the 
DistUpgradeAptCdrom.py file
(http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-release-upgrader/trunk/revision/2859#tests/test_sources_list.py).
There, we can see that the line:

sum = apt_pkg.sha256sum(open(f))

was changed to:

with open(f) as fp:
sum = apt_pkg.sha256sum(open(fp))

The end result is that a call to open() was changed to use a with/as
statement, as part of a substantial commit to improve the robustness of
the code. But for this line, it introduced two open calls instead of
just one, and that is clearly wrong, as the first open call will return
a File object, and the second will try to open the consequent File
object, which will result in a Type error.

Revision 2859 was done about a year ago, and refers to LP #1409555,
which seems to indicate that the fix was added in 15.04. It explains why
I was able to upgrade to 15.04 but not to 15.10.

** Affects: ubuntu-release-upgrader (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "main.log"
   https://bugs.launchpad.net/bugs/1551929/+attachment/4585875/+files/main.log

** Summary changed:

- Cannot upgrade to 15.10 using alternate AMD64 CD
+ Cannot upgrade to 15.10 using alternate AMD64 ISO

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1551929

Title:
  Cannot upgrade to 15.10 using alternate AMD64 ISO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1551929/+subscriptions

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


[Bug 1272834] Re: obconf segfaults with the --tab option when changing pager options

2015-02-13 Thread Steven Chan
I am running Lubuntu 14.10 on an amd64 machine and have experienced the
problem.

I have found the source of the problem and have just submitted a fix as
a Pull Request at https://github.com/danakj/obconf/pull/5. See the PR
comments for more details.

Surprisingly, I cannot find a report of the error at the upstream issue
tracker, https://bugzilla.icculus.org/buglist.cgi?quicksearch=obconf.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1272834

Title:
  obconf segfaults with the --tab option when changing pager options

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/obconf/+bug/1272834/+subscriptions

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


[Bug 1053234] Re: Htop does not display properly from the menu, but will display from terminal.

2015-01-02 Thread Steven Chan
I confirm the same issue on Lubuntu 14.10 (amd64 version).

The same issue occurs for Accessories -> Byobu Terminal, which is also a
console application that should execute 'env TERM=xterm-256color byobu'
but does not; only an empty terminal shell is shown.

It looks like the underlying problem is that for console-only
applications, the execution string is not used. Are there any desktop
applications with Terminal=true that works?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053234

Title:
  Htop does not display properly from the menu, but will display from
  terminal.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/htop/+bug/1053234/+subscriptions

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


[Bug 622265] Re: ath9k AR922X loses connection

2011-07-02 Thread Steven Chan
tp link 851 with AR922x chip set and ath9k module on 11.04 very slow.
went back to 10.04 LTS and network speeds is now normal (fast)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/622265

Title:
  ath9k AR922X loses connection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/622265/+subscriptions

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