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?
Asked
Active
Viewed 628 times
1
2 Answers
1
Try either apt-cache showpkg <package-name>
or dpkg -I <package.deb>

Ahmed Daif
- 748
-
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
thensudo gdebi <package.deb>
– Ahmed Daif Mar 16 '14 at 19:59 -
they neither install nor give me a list of debs needed for http://launchpadlibrarian.net/86757083/gambas2-gb-gui_2.23.1-1ubuntu3_i386.deb – 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.

Braiam
- 67,791
- 32
- 179
- 269
-
The second does not install
gambas2-gb-qt_2.23.1-1ubuntu3_i386.deb
which I have downloaded from http://launchpadlibrarian.net/86757083/gambas2-gb-gui_2.23.1-1ubuntu3_i386.deb 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
gambas2-gb-gui_2.23.1-1ubuntu3_i386.deb
, thengambas2-gb- qt_2.23.1-1ubuntu3_i386.deb
, thenlibqt3-mt-dev_3.3.8-b-8ubuntu3_i386.deb
, no more steps I tried.. – Minimus Heximus Mar 16 '14 at 19:40