Duplicate sources.list entry.

Refers to:

  • Plesk for Linux

Created:

2016-11-16 13:21:41 UTC

Modified:

2016-12-21 20:32:41 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Duplicate sources.list entry.

Symptoms

I get an warning message during Plesk installation on Debian:

W: Duplicate sources.list entry http://security.debian.org/ wheezy/updates/main amd64 Packages (/var/lib/apt/lists/security.debian.org_dists_wheezy_updates_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.debian.org/ wheezy/updates/main i386 Packages (/var/lib/apt/lists/security.debian.org_dists_wheezy_updates_main_binary-i386_Packages)

Resolution

If you run Debian or Ubuntu, add updates and security repositories to your apt (package manager) configuration.Make sure that there is no duplicated lines.

Example of properly configured sources list:


deb http://ftp.au.debian.org/debian stable main contrib
deb-src http://ftp.au.debian.org/debian stable main contrib

deb http://ftp.debian.org/debian/ wheezy-updates main contrib
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib

deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib

Do not forget to run "apt-get update" to apply changes.

Cause

Incorrect repository configuration in /etc/apt/sources.list file.

Have more questions? Submit a request
Please sign in to leave a comment.