-1

I am looking to install .deb files that have been encrypted and then decrypted. During this process the names of the original files have been dropped and instead are a temporary gibberish value. I can install using 'dpkg -i' without issue but I was looking to use 'apt-get install' to avoid having to perform any cleanup for dependency issues. I did not see any options for apt-get to allow this type of functionality. Does anyone know if this is possible?

I.E - original package: something-something-version-amd64.deb decrypted package: blahblah

  'dpkg -i blahblah' - success
  'apt-get install blahblah' - unrecognized file

Thanks!

asolak
  • 1

1 Answers1

2

There's a few things to consider:

(1) dpkg is designed to work with all packages. apt-get is designed to work with repositories.

(2) dpkg is usually easier to work with for local packages. There are exceptions, but dpkg -i can be used to install, then apt-get install -f can be used to get dependencies.


The above aside, you can technically install packages by doing sudo apt-get install ./PACKAGE.deb, however I've had mixed results with this. It's better to use dpkg to install those packages, and let apt-get install -f handle the dependencies afterwards, in my opinion.

Thomas Ward
  • 78,878