Synaptic でエラー

ここを見て解決した Ubuntu日本語フォーラム / W: Duplicate sources.list entry

エラー内容

W: Duplicate sources.list entry http://jp.archive.ubuntu.com jaunty/universe Packages (/var/lib/apt/lists/jp.archive.ubuntu.com_ubuntu_dists_jaunty_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://jp.archive.ubuntu.com jaunty/universe Translation-ja (/var/lib/apt/lists/jp.archive.ubuntu.com_ubuntu_dists_jaunty_universe_i18n_Translation-ja)
W: Duplicate sources.list entry http://jp.archive.ubuntu.com jaunty/multiverse Packages (/var/lib/apt/lists/jp.archive.ubuntu.com_ubuntu_dists_jaunty_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://jp.archive.ubuntu.com jaunty/multiverse Translation-ja (/var/lib/apt/lists/jp.archive.ubuntu.com_ubuntu_dists_jaunty_multiverse_i18n_Translation-ja)
W: Duplicate sources.list entry http://jp.archive.ubuntu.com jaunty-updates/universe Packages (/var/lib/apt/lists/jp.archive.ubuntu.com_ubuntu_dists_jaunty-updates_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://jp.archive.ubuntu.com jaunty-updates/multiverse Packages (/var/lib/apt/lists/jp.archive.ubuntu.com_ubuntu_dists_jaunty-updates_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com jaunty-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_jaunty-security_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com jaunty-security/multiverse Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_jaunty-security_multiverse_binary-i386_Packages)

解決方法

/etc/apt/sources.list を編集

deb http://jp.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse

のそれぞれの行(3つの行は並んでるわけじゃなくファイルの中に散らばっている)を

deb http://jp.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb http://jp.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security main restricted

に変更する。末尾の universe multiverse を削る。