Tag Archives: The required dependency ‘apt (>= 1.0.1ubuntu2.13)’ is not installed.

The required dependency ‘apt (>= 1.0.1ubuntu2.13)’ is not installed.

Today, when upgrading Ubuntu, enter: sudo do-release-upgrade – D, there is a problem:

The required dependency ‘apt (>= 1.0.1ubuntu2.13)’ is not installed.

The solution is as follows:

Switch to the administrator user, and then enter: sudo apt get download apt, as shown in the figure below

Then enter: sudo dpkg – I apt *. DEB, as shown in the figure below

So far, the problem has been solved

Then enter: sudo do release upgrade – D again, and a new problem appears

The required dependency ‘dpkg (>= 1.17.5ubuntu5.6)’ is not installed.

Dpkg is not installed. Follow the steps above to download dpkg

Input:

wget http://security.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_ 1.17.5ubuntu5.6_ amd64.deb

After downloading dpkg successfully, install it. Enter:

sudo dpkg -i dpkg_1.17.5ubuntu5.6_amd64.deb

The installation process and results are shown in the figure below

Installation successful

Then upgrade, enter:

Sudo do-release-upgrade – D. so far, the upgrade starts smoothly