fwiw the traceback that causes the 'internal error' message is this (which is called in debfile.py in python-apt): >>> import apt_inst >>> apt_inst.DebFile('meh.deb') Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: E:read, still have 8 to read but none left >>>
** Changed in: software-center (Ubuntu) Importance: Undecided => Low ** Changed in: software-center (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to software-center in Ubuntu. https://bugs.launchpad.net/bugs/1033548 Title: "Internal Error" for bad package suggests an error in USC itself Status in “software-center” package in Ubuntu: Triaged 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/mpt/test.deb” could not be opened." 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1033548/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp