in software center,when clicking install button it crashes

Bug #634694 reported by marcandrebenoit
54
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Aptdaemon
Incomplete
Undecided
Unassigned

Bug Description

i went to google chrome's website to download the .deb to install chrome with..
when the download is finished i see that instead of opening with the debian installer it offers to open with software center..
it takes a few seconds,greys out a little then shows the software center with chrome stable setup page with install button.
and sentence saying "only install of source is trusted" and install button next to it..

when pressing the button ,software center crashes and spits out the following:

An unhandlable error occured.
There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks. Please report this error at http://launchpad.net/aptdaemon/+filebug and retry.

it then goes on saying in the details section:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 765, in simulate
    return self._simulate_helper(trans, status_path)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 837, in _simulate_helper
    deb = apt.debfile.DebPackage(trans.kwargs["path"], self._cache)
  File "/usr/lib/python2.6/dist-packages/apt/debfile.py", line 57, in __init__
    self.open(filename)
  File "/usr/lib/python2.6/dist-packages/apt/debfile.py", line 66, in open
    self._debfile = apt_inst.DebFile(open(self.filename))
IOError: [Errno 2] No such file or directory: dbus.String(u'/tmp/google-chrome-stable_current_amd64.deb')

the system was just installed a few hours ago,and after the partial upgrade (system is now said to be up to date)
was done through update manager,i was planning on installing chrome as a first order of business :)

i hope this helps you out,i'll now try again to see what gives...
and hopefully this is related to you guys and it ain't a dupe bug entry...

well...right after clicking ok to close the unhandled error window,i get another crash and apport opens up and as i see it it's not the same bug!

i'll send the other one with apport

there is now finally a message stating that /tmp/google-chrome-stable_current_amd64.deb is nowhere to be found..
and indeed the file isn't at this location.. yet it was able to display the file's infos in software center before crashing..

Revision history for this message
marcandrebenoit (marcandrebenoit) wrote :

here is the other bug sent by apport that i speak of in the bug report..
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/634697

and here is an excerpt form the additional info that was generated by apport regarding my setup:
DistroRelease: Ubuntu 10.10
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic x86_64
Architecture: amd64
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)

Revision history for this message
marcandrebenoit (marcandrebenoit) wrote :

also, now i just downloaded the .deb file and opened it through file install in software center and t installed ok without crashing or anything,so that's that!

Revision history for this message
Kaya Ünal (kayya) wrote :

Just downloaded opera_10.62.6438_i386.deb file from Opera's web site. Click on it and software center has been opened. Click on install button but i've gotten just like same error and couldn't install. Ubuntu 10.10 is installed on my laptop (upgraded to this version, not clean install). The error i got is here:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 765, in simulate
    return self._simulate_helper(trans, status_path)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 837, in _simulate_helper
    deb = apt.debfile.DebPackage(trans.kwargs["path"], self._cache)
  File "/usr/lib/python2.6/dist-packages/apt/debfile.py", line 57, in __init__
    self.open(filename)
  File "/usr/lib/python2.6/dist-packages/apt/debfile.py", line 66, in open
    self._debfile = apt_inst.DebFile(open(self.filename))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0130' in position 11: ordinal not in range(128)

Revision history for this message
Mahendra Tallur (mahen) wrote :

Similar issue when trying to install Quantz :

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 766, in simulate
    return self._simulate_helper(trans, status_path)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 849, in _simulate_helper
    size = int(deb["Installed-Size"]) * 1024
ValueError: invalid literal for int() with base 10: '80 MB'

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

marcandrebenoit: To which place have you downloaded the .deb file? Was it placed on a windows share?

kaya and mahendra: your bugs are differnet ones

Changed in aptdaemon:
status: New → Incomplete
Revision history for this message
James Don Book (jdonbook) wrote :

Running Natty: here is my crash log...
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 885, in simulate
    return self._simulate_helper(trans, status_path)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 997, in _simulate_helper
    trans.packages[PKGS_INSTALL] = [deb.pkgname]
TypeError: 'dbus.Struct' object does not support item assignment

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.