I have downloaded a Debian package lxde
, together with all its dependencies:
apt-get install --no-install-recommends lxde --download-only
So now, I have all packages in my /var/cache/apt/archives
. I have made modifications to one package lxde_4+nmu1_all.deb
(removed galculator
from dependencies) and now I would like to install lxde from my modified package (i.e. with the modified dependencies). dpkg -i lxde_4+nmu1_all.deb
does not work, because of unmet dependencies.
How can I tell apt-get
to install my modified package /var/cache/apt/archives/lxde_4+nmu1_all.deb
?
apt-cache policy lxde
that your version is now preferred./var/cache/apt/archives
?Packages
file (seedpkg-scanpackages
) and these days probably a signing key.apt-cache show
for example.