Software⏱️ 2 min read📅 2026-05-31

How to Fix: How to automatically fetch missing dependencies when installing software from .deb?

Automatically fetch missing dependencies when installing .deb files on Ubuntu.

Quick Answer: Use the -F option with dpkg to automatically fetch and install missing dependencies: `sudo dpkg -i -F mysql-workbench-gpl-5.2.34-1ubu1010-amd64.deb`

To automatically fetch missing dependencies when installing software from .deb on Ubuntu, you can use the dpkg --install` command with the `--force-reinstreq` option.

🛠️ Step-by-Step Verified Fixes

Method 1: Using dpkg --install with --force-reinstreq

  1. Step 1: Run the following command in the terminal:
sudo dpkg --install mysql-workbench-gpl-5.2.34-1ubu1010-amd64.deb --force-reinstreq

Method 2: Using apt-get

  1. Step 1: Run the following command in the terminal:
sudo apt-get install -f mysql-workbench-gpl-5.2.34-1ubu1010-amd64.deb

🎯 Final Words

By using either of these methods, you can automatically fetch missing dependencies when installing software from .deb on Ubuntu.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions