Torchlight install error on Ubuntu 12.04 64bit

Asked by Massimiliano Maniscalco on 2012-10-03

Yesterday I tried to update Torchlight with update manager but I got an error after downloaded. I tried to uninstall it and then install again with software center, this is what I get:

massi@ClearPower:~$ software-center
2012-10-03 11:38:47,607 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2012-10-03 11:38:47,611 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2012-10-03 11:38:47,890 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2012-10-03 11:38:47,961 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '', app is None.
2012-10-03 11:38:48,078 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2012-10-03 11:38:53,482 - softwarecenter.ui.gtk3.app - INFO - software-center-agent finished with status 0
2012-10-03 11:38:53,483 - softwarecenter.db.database - INFO - reopen() database
2012-10-03 11:38:53,483 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2012-10-03 11:38:53,905 - softwarecenter.db.database - INFO - reopen() database
2012-10-03 11:38:53,906 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True

(software-center:2141): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(software-center:2141): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permesso negato
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permesso negato
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permesso negato
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permesso negato
2012-10-03 11:39:05,955 - softwarecenter.backend - ERROR - error in _on_trans_finished 'Errore: Operazione di pacchetto non riuscita
Installazione o la rimozione di un pacchetto software non riuscita.

(Reading database ... 279157 files and directories currently installed.)
Unpacking torchlight (from .../torchlight_1.0+2012+09+26-0ubuntu1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/torchlight_1.0+2012+09+26-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/icons/hicolor/48x48/apps/torchlight.png', which is also in package torchlight-bin:i386 1.0+2012+09+18a-0ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
 /var/cache/apt/archives/torchlight_1.0+2012+09+26-0ubuntu1_amd64.deb
'
2012-10-03 11:39:16,776 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2012-10-03 11:39:17,140 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
massi@ClearPower:~$

I manually removed the file '/usr/share/icons/hicolor/48x48/apps/torchlight.png' and tried again, but nothing changed, the error message is the same.
Is it my system to have a problem? or is this package to be broken?
Is there anyone with the same problem there?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
John P. Bloch
Solved:
2012-10-03
Last query:
2012-10-03
Last reply:
2012-10-03
Calin (calinoiu-alexandru) said : #1

I have the same issue here, the exact same error message?

I'm almost sure that it's the package to be broken, hope they will fix it soon.

Best John P. Bloch (johnpbloch) said : #3

I had this same problem. I fixed it by running

sudo dpkg --force-overwrite -i /var/cache/apt/archives/torchlight_1.0+2012+09+26-0ubuntu1_amd64.deb

Calin (calinoiu-alexandru) said : #4

@John Thank you this seems to do the trick, I had to run on my system

sudo dpkg --force-overwrite -i /var/cache/apt/archives/torchlight_1.0+2012+09+26-0ubuntu1_i386.deb

That said fullscreen works now, but my character still does not have a face :)

Thank you, this solved the problem of installing it.
Anyway it crash when I go inside a portal, they didn't fix any bug with this upgrade, they just added a problem to install it.
I'm very disappointed.

Thanks again!

Thanks John P. Bloch, that solved my question.