Dependencies are stored in the .deb
. Try to install it dpkg --dry-run -i file.deb
. It will preview what is missing. If you are lucky, it will be only missing dependencies and no conflicts. In this case, really install the package:
dpkg -i file.deb
apt-get install -f
Packages in the official archives have debug packages build for them automatically. They are stored in a different archive though. They will have the names foo-dbgsym
You can access them by putting the following in your /etc/apt/sources.list
:
deb http://ddebs.ubuntu.com natty main restricted universe multiverse
deb http://ddebs.ubuntu.com natty-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com natty-security main restricted universe multiverse
deb http://ddebs.ubuntu.com natty-proposed main restricted universe multiverse
(Replace natty with the release you are running.)
Information on how these are generated can be found here:
If you'd like to provide debug packages for a package which you maintain outside of the official archives, that is possible as well. This Debian wiki article is the best place to start.
Briefly, you must first create the new package in debian/control
by adding:
Package: foo-dbg
Architecture: any
Section: debug
Priority: extra
Depends:
foo (= ${binary:Version}),
${misc:Depends}
Description: debugging symbols for foo
foo is a library that lets you do stuff.
.
This package contains the debugging symbols for foo.
Then in debian/rules
, use dh_strip
to strip debugging symbols from binaries, but retain them for use in the debug packages.
override_dh_strip:
dh_strip --dbg-package=foo-dbg
Best Answer
You can find the Debian version on which your Ubuntu version is based in the file:
/etc/debian_version
From 10.04 up to 21.04:
sid is the development distribution of Debian (sid - testing - stable)
You can find out the contents of the file without installing an entire system by view the sources for the package
basefiles
on Launchpad.