"Internal Error" for bad package suggests an error in USC itself
Bug #1033548 reported by
Matthew Paul Thomas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Ubuntu Software Center 5.2.4, Ubuntu 12.04
1. touch ./test.deb
2. xdg-open ./test.deb
What happens: USC displays an "Internal Error", "The file “/home/
What should happen: The error message should not suggest that it is an "Internal Error" to USC.
Maybe no heading, just primary and secondary text like a normal error alert. Something like:
------------
The package “test.deb” can’t be opened because it is damaged or incomplete.
Try downloading the package again, or contact the publisher for an updated version.
(Technical info: Missing package name)
------------
Fixing this would alter the symptoms of bug 868188, bug 989398, and bug 909885.
description: | updated |
description: | updated |
summary: |
- "Internal Error" for empty .deb + "Internal Error" for bad package suggests an error in USC itself |
To post a comment you must log in.
fwiw the traceback that causes the 'internal error' message is this (which is called in debfile.py in python-apt): DebFile( 'meh.deb' )
>>> import apt_inst
>>> apt_inst.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: E:read, still have 8 to read but none left
>>>