aptitude won't resolve dependancies of dpkg -i'd package

Bug #409042 reported by Darxus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptitude (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

Binary package hint: aptitude

I run:

aptitude update && aptitude dist-upgrade # all goes well, everything is caught up
wget http://ichi2.net/anki/download/files/anki_0.9.9.8.5-1_all.deb
dpkg -i anki*.deb
aptitude install

And aptitude claims the dependencies are not installable. For example, "Depends: python-simplejson (>= 1.7.3) but it is not installable". And "aptitude show python-simplejson" returns:

  Package: python-simplejson
  New: yes
  State: not installed
  Version: 1.9.1-1 # distinctly >= 1.7.3

And fails, of course.

If I then install the dependencies via "aptitude install packagename", it works.

Full output of "aptitude install":

Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following packages are BROKEN:
  anki
The following NEW packages will be installed:
  pump
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.9kB of archives. After unpacking 115kB will be used.
The following packages have unmet dependencies:
  anki: Depends: python-qt4 (>= 4.4) but it is not installable
        Depends: python-simplejson (>= 1.7.3) but it is not installable
        Depends: python-sqlalchemy (>= 0.4.3) but it is not installable
        Depends: python-pysqlite2 (>= 2.3.0) but it is not installable
        Depends: python-sip4-dev but it is not installable
        Depends: python-qt4-dev but it is not installable
The following actions will resolve these dependencies:

Remove the following packages:
anki

Score is 119

Accept this solution? [Y/n/q/?]

$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

$ apt-cache policy aptitude
aptitude:
  Installed: 0.4.11.3-1ubuntu3
  Candidate: 0.4.11.3-1ubuntu3
  Version table:
 *** 0.4.11.3-1ubuntu3 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

3) I expected aptitude to install all the dependancies.
4) It didn't.

Revision history for this message
Darxus (darxus) wrote :

If I say "no" to "Accept this solution? [Y/n/q/?]", the second option is to do exactly what I want.

"aptitude -f install" does no better.

Full log attached.

Revision history for this message
Rolf Leggewie (r0lf) wrote (last edit ):

I'd say this is working as designed

"aptitude install anki" would have done the trick AFAICT

Changed in aptitude (Ubuntu):
status: New → Opinion
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.