Tag Archives: ksplice.list

Duplicate sources.list entry (apt-get)

It’s been bugging me for some time now. Whenever I do an apt-get update I get a warning:

# apt-get update
Hit http://www.ksplice.com quantal InRelease
Hit http://www.ksplice.com quantal/ksplice Sources
Get:1 http://www.ksplice.com quantal/ksplice amd64 Packages [1,566 B]
Get:2 http://www.ksplice.com quantal/ksplice i386 Packages [1,566 B]
Ign http://www.ksplice.com quantal/ksplice Translation-en_US
Ign http://www.ksplice.com quantal/ksplice Translation-en
Ign http://repo.steampowered.com precise/steam Translation-en_US
Ign http://repo.steampowered.com precise/steam Translation-en
Fetched 3,132 B in 3s (850 B/s)
Reading package lists... Done
W: Duplicate sources.list entry http://www.ksplice.com/apt/ quantal/ksplice amd64 Packages (/var/lib/apt/lists/www.ksplice.com_apt_dists_quantal_ksplice_binary-amd64_Packages)
W: Duplicate sources.list entry http://www.ksplice.com/apt/ quantal/ksplice i386 Packages (/var/lib/apt/lists/www.ksplice.com_apt_dists_quantal_ksplice_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

Obviously /etc/apt/sources.list doesn’t have any duplicate entries for the repository, so where does the warning stem from? Checking in /etc/apt/sources.list.d reveals a file called ksplice.list. The information in this file is the same as my entry in /etc/apt/sources.list so one entry has to be removed. I choose to move the file /etc/apt/sources.list.d/ksplice.list out of the way. I prefer keeping my sources in /etc/apt/sources.list as this makes it easier to maintain between both upgrades and other machines.

Posted in Linux | Tagged , , , , , | Leave a comment