1

I have .deb file which is not updated for Ubuntu 13.10, it needs a lot of dependencies to be installed. How can I get a list of all its dependencies not installed in my Ubuntu 13.10?

8
  • did you installed that .deb file? If yes, then please provide the package name. – Avinash Raj Mar 16 '14 at 19:31
  • in a proper .deb file, the dependencies are defined and taken care of. isn't that the case? – Jacob Vlijm Mar 16 '14 at 19:31
  • @AvinashRaj this is the deb: launchpadlibrarian.net/86757101/… I want to get a list of dependencies which are needed to install it in 13.10 (and total size if possible) – Minimus Heximus Mar 16 '14 at 19:34
  • its control file mentions: Depends: libc6 (>= 2.11), libffi6 (>= 3.0.4), xdg-utils, do you have reasons to believe there are more? these are the dependencies that are installed automatically – Jacob Vlijm Mar 16 '14 at 19:37
  • @Jacob A few steps shows as if there is a long dependency well: gambas2-gb-gui_2.23.1-1ubuntu3_i386.deb, then gambas2-gb- qt_2.23.1-1ubuntu3_i386.deb, then libqt3-mt-dev_3.3.8-b-8ubuntu3_i386.deb, no more steps I tried.. – Minimus Heximus Mar 16 '14 at 19:40
1

Try either apt-cache showpkg <package-name> or dpkg -I <package.deb>

3
  • the first does not work for the package. the second just show first level dependencies, but I need all dependencies I have to install before installing the deb. – Minimus Heximus Mar 16 '14 at 19:51
  • "gdebi" may help you sudo apt-get install gdebi-core then sudo gdebi <package.deb> – Ahmed Daif Mar 16 '14 at 19:59
  • they neither install nor give me a list of debs needed for launchpadlibrarian.net/86757083/… – Minimus Heximus Mar 16 '14 at 20:17
1

The most easiest approach is using gdebi:

sudo apt-get install gdebi-core
sudo gdebi package.deb

It would install all dependencies you need.

5
  • The second does not install gambas2-gb-qt_2.23.1-1ubuntu3_i386.deb which I have downloaded from launchpadlibrarian.net/86757083/… it just gives a name for another dependency, I have to search for the second and do the same, get another name and again search etc, too boring, I want to get all dependency names at once. The question is how to get the names of all dependencies needed by a (probably obsolete) deb not installed (in a list). – Minimus Heximus Mar 16 '14 at 20:56
  • @MinimusHeximus what exactly are you trying to install and from where? Edit your question and include the information. – Braiam Mar 16 '14 at 21:08
  • The question is about getting a dependency list for a deb in general. I think its more reasonable to ask another question for installing gambas2-gb-qt_2.23.1-1ubuntu3_i386.deb (or gambas2 package in general in Ubuntu 13.10) – Minimus Heximus Mar 16 '14 at 21:21
  • @MinimusHeximus in general, with a package that was included in some repository this will work, your package may need you to add a repository in which case I recommend you to follow the instructions. – Braiam Mar 16 '14 at 21:27
  • I seems a solution is to find a repository containing that deb file and then something similar to what is stated in this thread may work. – Minimus Heximus Mar 16 '14 at 21:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.