aptitude won't resolve dependancies of dpkg -i'd package
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://
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://
100 /var/lib/
3) I expected aptitude to install all the dependancies.
4) It didn't.
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.