In Ubuntu Linux, software is often distributed as a .deb package file (similar to a .exe on Windows). When you attempt to install a .deb file, the package manager checks a list of “dependencies”—other small software libraries that the main application needs in order to function.
If you are trying to install an older piece of software (like an old printer driver or a legacy game), it might demand a dependency package from 2018 that no longer exists in the modern Ubuntu repositories. The installation will instantly fail, displaying a rigid “Dependency is not satisfiable” error. If you are confident the software will run fine without that specific old library, you can safely bypass the dependency check and force the installation.
How to Safely Bypass Ubuntu Dependency Checks
You must use the low-level dpkg utility in the terminal to ignore the missing dependencies.
- Open your Terminal application (Ctrl + Alt + T).
- First, navigate to the folder where your downloaded `.deb` file is located. (For example, if it is in your Downloads folder, type
cd ~/Downloadsand press Enter). - Usually, you would install a package using
sudo dpkg -i filename.deb. However, to bypass the safety checks, we must append a very specific “force” flag. - Type the following command, replacing
filename.debwith the actual name of your software package:sudo dpkg -i --force-depends filename.deb - Press Enter. Type your administrator password when prompted.
What Happens Next:
The dpkg installer will begin extracting the software. When it encounters the missing dependency, it will print a warning message stating that a required package is missing, but it will completely ignore the error and force the software onto your hard drive anyway.
Crucial Final Step: Because you forced a broken package state, Ubuntu’s update manager will be confused and might refuse to install other updates in the future. To fix this, you must tell the system to permanently ignore the broken state. Type this command and press Enter:
sudo apt-get install -f
Ubuntu will attempt to resolve the package tree without breaking your newly installed software, leaving you with a functioning app and a stable system.