Error trying any command with apt. E: Malformed entry 1 in list file..."

Asked

Viewed 401 times

0

When trying to use any command with apt, for example: "sudo apt-get update", I am getting the following error:

E: Malformed entry 1 in list file /etc/apt/sources.list.d/mongodb-org-4.0.list ([option] not assignmen

Does anyone know any way to solve this problem?

  • My English is not very good, but there it seems to be saying, that there is some poorly formed input in the file, you know what is inside the file? Which distro uses?

  • Sorry for the delay, I was at work... has it inside the file; deb [Arch = amd64] https://repo.mongodb.org/apt/ubuntu Bionic / mongodb-org / 4$ I use a linux Mint Tessa 19 cinamon

  • I solved the problem just by commenting on the line in the file indicated in the error.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.