0

In recently istalled Ubuntu 18.04.4 on SSD hard disk and Intel Core i5-6500 I've try to install build-essential with this error:

The following packages have unmet dependencies:
  build-essential: Depends: dpkg-dev (> = 1.17.11) but will not install

If I try to install dpkg-dev, also several dependencies are shown. I've try to solve dependecies everyway (update, upgrade, clean, autoclean, autoremove) and reinstall with apt, apt-get, -y, ... even uncomenting the bionic-updates section in /etc/apt/sources.list as is said in Ubuntu 18.04, fresh install, cannot install build-essential!, but the same error persists.

Any idea? Thanks

1 Answers1

1

I solved adding bionic-updates and bionic-security lines to my /etc/apt/sources.list

So, my /etc/apt/sources.list looks like:

deb http://de.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse

AlbHam
  • 21
  • 2