Internal Error: deb file could not be opened.

Bug #854164 reported by Jay Ó Broin
42
This bug affects 10 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

When trying to open a deb file I just downloaded I get this error from the Software Centre:

Internal Error
The file "/home/me/Downloads/opera_11.51.1087_i386.deb" could not be opened.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-center 4.1.23.3
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Mon Sep 19 16:25:54 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110909)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: Upgraded to oneiric on 2011-09-13 (6 days ago)

Revision history for this message
Jay Ó Broin (ismise) wrote :
Revision history for this message
Kiwinote (kiwinote) wrote :

Hi! So this error occurs when the debian file can't be opened correctly - most commonly either the download is incomplete and hence corrupt, or sometimes the browser deletes the download when you close your browser before software-center has finished dealing with it. Could you perhaps try to download the deb file again and see if it works this time? Thanks!

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Jay Ó Broin (ismise) wrote :

The download was complete as I was able to install it using dpkg.

Revision history for this message
vaibhav (vssmartniceman97) wrote :

I too got the same "Internal Error" while i was installing Google Chrome 14 on Ubuntu 11.10 Oneiric Ocelot.Is there anyway to fix this bug

Revision history for this message
FG (gfloryan--deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :
Download full text (6.7 KiB)

when running software-center from the terminal I get:

florian@florian-desktop:~/Descărcări$ software-center ./opera_11.51.1087_amd64.deb
2011-10-09 20:38:33,296 - softwarecenter.ui.gtk3.em - INFO - EM's: 17 15 21
2011-10-09 20:38:34,318 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2011-10-09 20:38:34,420 - softwarecenter.ui.gtk3.utils - INFO - Softwarecenter style provider for ambiance Gtk theme: /usr/share/software-center/ui/gtk3/css/softwarecenter.css
2011-10-09 20:38:34,683 - softwarecenter.backend.spawn_helper - WARNING - exit code 1 from helper
2011-10-09 20:38:34,683 - softwarecenter.backend.spawn_helper - WARNING - got error from helper: 'ERROR:__main__:get_review_stats
Traceback (most recent call last):
  File "/usr/share/software-center/piston_get_review_stats_helper.py", line 46, in <module>
    piston_review_stats = rnrclient.review_stats(**kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 41, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 41, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 61, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 120, in wrapper
    body = func(self, *args, **kwargs)
  File "/usr/share/software-center/softwarecenter/backend/piston/rnrclient_pristine.py", line 96, in review_stats
    return self._get(url, scheme=PUBLIC_API_SCHEME)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 321, in _get
    headers=headers)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 474, in _request
    method=method, body=body, headers=headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1338, in request
    info, content = cached_value.split('\r\n\r\n', 1)
ValueError: need more than 1 value to unpack
'
2011-10-09 20:38:35,855 - softwarecenter.backend.spawn_helper - WARNING - exit code 1 from helper
2011-10-09 20:38:35,856 - softwarecenter.backend.spawn_helper - WARNING - got error from helper: 'ERROR:__main__:available_apps
Traceback (most recent call last):
  File "/usr/share/software-center/piston_get_scagent_available_apps.py", line 148, in <module>
    piston_reply = scaclient.available_apps(**kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 41, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 41, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 41, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 120, in wrapper
    body = func(self, *args, **kwargs)
  File "/usr/share/software-center/softwarecenter/backend/piston/scaclient_pristine.py", line 22, in available_apps
    scheme=PUBLIC_API_SCHEME)
  File "/usr/lib/python2.7/dist-packages/piston_mini_...

Read more...

Revision history for this message
Jack Deslippe (jdeslip) wrote :

Same problem here with the latest chrome deb. Works fine with dpkg...

Revision history for this message
ayushpatnaik (ayushpatnaik) wrote :

sudo dpkg -i packagename.deb

WORKS

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.