Ubuntu Hardy (i386) package fails to install.

General support for problems installing or using Deluge
Post Reply
mivo
Member
Member
Posts: 13
Joined: Thu May 01, 2008 12:59 pm

Ubuntu Hardy (i386) package fails to install.

Post by mivo »

The deluge-torrent_0.5.9.0-1_i386.hardy.deb package fails to install on a freshly set-up Hardy installation. Error messages below:

Code: Select all

dpkg: considering removing deluge-torrent-common in favour of deluge-torrent ...
dpkg: no, cannot proceed with removal of deluge-torrent-common (--auto-deconfigure will help):
 deluge-torrent depends on deluge-torrent-common (= 0.5.8.9-0ubuntu1)
  deluge-torrent-common is to be removed.
dpkg: regarding .../deluge-torrent_0.5.9.0-1_i386.hardy.deb containing deluge-torrent:
 deluge-torrent conflicts with deluge-torrent-common
  deluge-torrent-common (version 0.5.8.9-0ubuntu1) is present and installed.
dpkg: error processing /home/michael/Downloads/deluge-torrent_0.5.9.0-1_i386.hardy.deb (--install):
 conflicting packages - not installing deluge-torrent
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Ubuntu Hardy (i386) package fails to install.

Post by johnnyg »

uninstall the previous version with:

Code: Select all

sudo aptitude remove deluge-torrent-common deluge-torrent
then install the new .deb
tomm3h
Member
Member
Posts: 11
Joined: Sat Aug 18, 2007 1:00 pm
Location: Stafford, UK
Contact:

Re: Ubuntu Hardy (i386) package fails to install.

Post by tomm3h »

Incidentally, apt removes quite a few dependencies along with deluge-torrent and deluge-torrent-common:

Code: Select all

teh@ubuntu:~$ sudo aptitude remove deluge-torrent-common deluge-torrent     
The following packages are unused and will be REMOVED:
  fping hwdb-client-common hwdb-client-gnome libboost-date-time1.34.1 libboost-filesystem1.34.1 
  libboost-thread1.34.1 linux-backports-modules-2.6.22-14-generic python-openssl python-pyopenssl 
The following packages will be REMOVED:
  deluge-torrent deluge-torrent-common 
0 packages upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 23.2MB will be freed.
Do you want to continue? [Y/n/?] 
And then installing the .deb with dpkg fails with unresolvable dependencies:

Code: Select all

teh@ubuntu:~$ sudo dpkg -i Desktop/deluge-torrent_0.5.9.0-1_i386.hardy.deb 
Selecting previously deselected package deluge-torrent.
(Reading database ... 114359 files and directories currently installed.)
Unpacking deluge-torrent (from .../deluge-torrent_0.5.9.0-1_i386.hardy.deb) ...
dpkg: dependency problems prevent configuration of deluge-torrent:
 deluge-torrent depends on libboost-date-time1.34.1 (>= 1.34.1-2.1); however:
  Package libboost-date-time1.34.1 is not installed.
 deluge-torrent depends on libboost-filesystem1.34.1 (>= 1.34.1-2.1); however:
  Package libboost-filesystem1.34.1 is not installed.
 deluge-torrent depends on libboost-thread1.34.1 (>= 1.34.1-2.1); however:
  Package libboost-thread1.34.1 is not installed.
 deluge-torrent depends on python-pyopenssl; however:
  Package python-pyopenssl is not installed.
dpkg: error processing deluge-torrent (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 deluge-torrent
And aptitude fails too:

Code: Select all

teh@ubuntu:~$ sudo aptitude install Desktop/deluge-torrent_0.5.9.0-1_i386.hardy.deb 
Couldn't find package "Desktop", and more than 40
packages contain "Desktop" in their name.
Couldn't find package "Desktop", and more than 40
packages contain "Desktop" in their name.
The following packages are BROKEN:
  deluge-torrent 
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
  deluge-torrent: Depends: libboost-date-time1.34.1 (>= 1.34.1-2.1) but it is not installable
                  Depends: libboost-filesystem1.34.1 (>= 1.34.1-2.1) but it is not installable
                  Depends: libboost-thread1.34.1 (>= 1.34.1-2.1) but it is not installable
                  Depends: python-pyopenssl but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:

Remove the following packages:
deluge-torrent

Score is 119

Accept this solution? [Y/n/q/?] 
Edit: however, if you choose 'n' from this prompt, you're presented with a 2nd solution that works:

Code: Select all

Accept this solution? [Y/n/q/?] n
Resolving dependencies...
The following actions will resolve these dependencies:

Install the following packages:
libboost-date-time1.34.1 [1.34.1-4ubuntu3 (hardy, now)]
libboost-filesystem1.34.1 [1.34.1-4ubuntu3 (hardy, now)]
libboost-thread1.34.1 [1.34.1-4ubuntu3 (hardy, now)]
python-openssl [0.6-5 (hardy)]

Score is 14

Accept this solution? [Y/n/q/?] Y
The following NEW packages will be automatically installed:
  libboost-date-time1.34.1 libboost-filesystem1.34.1 libboost-thread1.34.1 python-openssl 
The following NEW packages will be installed:
  libboost-date-time1.34.1 libboost-filesystem1.34.1 libboost-thread1.34.1 python-openssl 
The following partially installed packages will be configured:
  deluge-torrent 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 229kB of archives. After unpacking 913kB will be used.
Do you want to continue? [Y/n/?] Y
Loads my existing torrents without any issue now. Had to re-create my panel shortcut, but that was it. :)

2nd Edit: I should imagine some might want to re-install some of these packages, however they all seem either deprecated or non-essential under hardy.
  • fping
  • hwdb-client-common
  • hwdb-client-gnome
  • linux-backports-modules-2.6.22-14-generic (not too sure why I had this, but I did upgrade from gutsy, so..)
  • python-pyopenssl
I'm not sure who maintains the package, but they might want to make this a little.. Better.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Ubuntu Hardy (i386) package fails to install.

Post by johnnyg »

if you run the .deb by double clicking it (i.e. not from terminal), it should automatically install all the dependencies.

also by doing

Code: Select all

sudo aptitude install Desktop/deluge-torrent_0.5.9.0-1_i386.hardy.deb
you actually end up installing the version of deluge in the repository, not the latest release.
trektorrents
Seeder
Seeder
Posts: 108
Joined: Fri Aug 10, 2007 2:26 pm

Re: Ubuntu Hardy (i386) package fails to install.

Post by trektorrents »

I also had trouble installing, despite removing all previous installs.

In the end, with a partially installed copy, I double-clicked the .deb, and was told to enter the console and:

Code: Select all

sudo apt-get install -f
Which finished up cleanly. Working well.

Will try on the Vista box when I get home.
Xiong Chiamiov
New User
New User
Posts: 3
Joined: Mon Apr 28, 2008 11:21 pm

Re: Ubuntu Hardy (i386) package fails to install.

Post by Xiong Chiamiov »

If I remember right, running

Code: Select all

sudo apt-get remove deluge-torrent deluge-torrent-common
instead of using aptitude won't remove unused packages; you have to remove them manually using

Code: Select all

sudo apt-get autoremove
Since you want to keep the dependencies, you might install deluge through the repos and then uninstall it like that, skipping the autoremove of course.

EDIT: ok, I just did that because the ratio problem was driving me nuts, and it's just fine. And since you're not purging the package, everything picks up right where it left off - no losing prefs or reimporting torrents or any such nonsense like that.
Post Reply