[Bug 409042] Re: aptitude won't resolve dependancies of dpkg -i'd package

Rolf Leggewie 409042 at bugs.launchpad.net
Sat Jan 29 14:55:34 UTC 2022


I'd say this is working as designed

"aptitude install anki" would have done the trick AFAICT

** Changed in: aptitude (Ubuntu)
       Status: New => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/409042

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

Status in aptitude package in Ubuntu:
  Opinion

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/409042/+subscriptions




More information about the foundations-bugs mailing list