If I understand your question correctly, you want to install a package which somehow Depends: valac (>= 0.16)
and it refuses to install although you downloaded and installed the valac
upstream sources.
If you have a package which declares a dependency which cannot be satisfied, dpkg
will refuse to install it until dpkg
knows that the dependency is satisfied. There are three possible fixes;
dpkg --force-depends-version -i package
will makedpkg
acceptvalac
0.14 even ifpackage
states that it requires >= 0.16. More generally,dpkg --force-help
contains various hints for how to makedpkg
shoot itself in the foot in various interesting and sometimes useful ways. If you are not usingdpkg
directly, there are ways to pass in these options fromapt-get
,aptitude
, etc.If
valac
has adebian
directory, or you otherwise know how to create a package from the 0.16 sources you downloaded, just build and install adeb
package instead.debuild -us -uc -rfakeroot -b
should be all you need if the pieces are there (most notably,debian/rules
). Alternatively, you may be able to piece together a package fromapt-get source valac
and installing the 0.16 upstream sources in the 0.14 package source tree, then rebuilding.If you have a local install of a package which would satisfy the dependency, but
dpkg
doesn't know about it, you can create a dummy package and install it; thendpkg
will be satisfied. Theequivs
package allows you to easily create a dummy package like that.