akmopa.blogg.se

Apt install deb file
Apt install deb file













If you want install without having to answer 'y' to all of the questions, you can add the y modifier as I originally included: sudo apt-get -fy install. Try 'apt-get -f install' with no packages (or specify a solution). I found it interesting that if you leave off the -f when you run sudo apt-get install, it will list your package as not being configured due to an unresolved dependency as well as helpfully suggesting: Unmet dependencies. On the system I was on, there was no need to run dpkg again (Ubuntu lucid 10.04). This will install the dependencies (assuming they're available in the repos your system knows about) AND the package you were originally requesting to install ('f' is the 'fix' option and 'y' is the 'assume yes to prompts' or 'don't ask me if it's ok, just install it already' option - very useful for scripted silent installs). If this fails with a message about the package depending on something that isn't installed, you can probably fix it if you run I just solved this, so here's what I did:

apt install deb file

Sirex has it more or less correct, but his answer isn't clear.















Apt install deb file