An error occurs during the Ubuntu 18 command execution



Solution:

 dpkg --configure -a
Copy the code

After the

apt-get update
apt-get dist-upgrade
Copy the code