madvinegar wrote:alpha1 I think I found the 4 duplicate entries in your sources.list.
They are the following (located almost towards the end of the file):
- Code:
deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
and
- Code:
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
Open terminal and write:
- Code:
sudo gedit /etc/apt/sources.list
In the file that will open locate the above lines and put a "#" key before every second line (thus leaving operational only the one line and commenting out the duplicate).
The lines should become like this:
- Code:
deb http://security.ubuntu.com/ubuntu precise-security main restricted
#deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
#deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
#deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
and
- Code:
deb http://extras.ubuntu.com/ubuntu precise main
#deb-src http://extras.ubuntu.com/ubuntu precise main
Save, exit, and then in terminal write again
- Code:
sudo apt-get update
and see if you get any errors.
Hi there madvinegar many thanks for that.
Sorry still geting errors
Result:-
$ sudo apt-get update
Ign
http://archive.ubuntu.com precise InRelease
Ign
http://ppa.launchpad.net precise InRelease
Ign
http://archive.ubuntu.com precise-updates InRelease
Ign
http://ppa.launchpad.net precise InRelease
Ign
http://ppa.launchpad.net precise InRelease
Hit
http://archive.ubuntu.com precise Release.gpg
Ign
http://extras.ubuntu.com precise InRelease
Ign
http://security.ubuntu.com precise-security InRelease
Get:1
http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:2
http://extras.ubuntu.com precise Release.gpg [72 B]
Hit
http://ppa.launchpad.net precise Release.gpg
Ign
http://deb.opera.com stable InRelease
Ign
http://dl.google.com stable InRelease
Get:3
http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit
http://archive.ubuntu.com precise Release
Hit
http://ppa.launchpad.net precise Release.gpg
Hit
http://extras.ubuntu.com precise Release
Get:4
http://security.ubuntu.com precise-security Release [49.6 kB]
Ign
http://us.archive.ubuntu.com precise-updates InRelease
Get:5
http://archive.ubuntu.com precise-updates Release [49.6 kB]
Hit
http://dl.google.com stable Release.gpg
Hit
http://ppa.launchpad.net precise Release.gpg
Hit
http://deb.opera.com stable Release.gpg
Hit
http://ppa.launchpad.net precise Release
Hit
http://dl.google.com stable Release
Hit
http://ppa.launchpad.net precise Release
Hit
http://extras.ubuntu.com precise/main i386 Packages
Ign
http://us.archive.ubuntu.com precise-backports InRelease
Hit
http://ppa.launchpad.net precise Release
Hit
http://deb.opera.com stable Release
Hit
http://dl.google.com stable/main i386 Packages
Get:6
http://security.ubuntu.com precise-security/main i386 Packages [171 kB]
Hit
http://archive.ubuntu.com precise/restricted Sources
Ign
http://extras.ubuntu.com precise/main TranslationIndex
Hit
http://ppa.launchpad.net precise/main Sources
Hit
http://archive.ubuntu.com precise/main Sources
Ign
http://dl.google.com stable/main TranslationIndex
Hit
http://ppa.launchpad.net precise/main i386 Packages
Hit
http://archive.ubuntu.com precise/multiverse Sources
Get:7
http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Ign
http://ppa.launchpad.net precise/main TranslationIndex
Hit
http://deb.opera.com stable/non-free i386 Packages
Hit
http://archive.ubuntu.com precise/universe Sources
Hit
http://ppa.launchpad.net precise/main Sources
Hit
http://archive.ubuntu.com precise/main i386 Packages
Get:8
http://security.ubuntu.com precise-security/restricted i386 Packages [3,968 B]
Hit
http://archive.ubuntu.com precise/restricted i386 Packages
Hit
http://ppa.launchpad.net precise/main i386 Packages
Ign
http://deb.opera.com stable/non-free TranslationIndex
Hit
http://us.archive.ubuntu.com precise-backports Release.gpg
Hit
http://archive.ubuntu.com precise/universe i386 Packages
Ign
http://ppa.launchpad.net precise/main TranslationIndex
Get:9
http://security.ubuntu.com precise-security/universe i386 Packages [45.3 kB]
Hit
http://archive.ubuntu.com precise/multiverse i386 Packages
Hit
http://ppa.launchpad.net precise/main Sources
Hit
http://archive.ubuntu.com precise/main TranslationIndex
Hit
http://ppa.launchpad.net precise/main i386 Packages
Get:10
http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit
http://archive.ubuntu.com precise/multiverse TranslationIndex
Get:11
http://security.ubuntu.com precise-security/multiverse i386 Packages [2,369 B]
Ign
http://ppa.launchpad.net precise/main TranslationIndex
Hit
http://archive.ubuntu.com precise/restricted TranslationIndex
Hit
http://security.ubuntu.com precise-security/main TranslationIndex
Hit
http://archive.ubuntu.com precise/universe TranslationIndex
Hit
http://security.ubuntu.com precise-security/multiverse TranslationIndex
Get:12
http://archive.ubuntu.com precise-updates/restricted i386 Packages [6,732 B]
Hit
http://security.ubuntu.com precise-security/restricted TranslationIndex
Ign
http://dl.google.com stable/main Translation-en_US
Get:13
http://archive.ubuntu.com precise-updates/main i386 Packages [395 kB]
Hit
http://security.ubuntu.com precise-security/universe TranslationIndex
Ign
http://dl.google.com stable/main Translation-en
Hit
http://security.ubuntu.com precise-security/main Translation-en
Hit
http://security.ubuntu.com precise-security/multiverse Translation-en
Hit
http://security.ubuntu.com precise-security/restricted Translation-en
Hit
http://security.ubuntu.com precise-security/universe Translation-en
Hit
http://us.archive.ubuntu.com precise-backports Release
Get:14
http://us.archive.ubuntu.com precise-updates/main Sources [168 kB]
Get:15
http://archive.ubuntu.com precise-updates/multiverse i386 Packages [9,673 B]
Get:16
http://archive.ubuntu.com precise-updates/universe i386 Packages [133 kB]
Ign
http://deb.opera.com stable/non-free Translation-en_US
Hit
http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit
http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Get:17
http://us.archive.ubuntu.com precise-updates/restricted Sources [3,285 B]
Ign
http://deb.opera.com stable/non-free Translation-en
Hit
http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit
http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit
http://archive.ubuntu.com precise/main Translation-en
Hit
http://archive.ubuntu.com precise/multiverse Translation-en
Get:18
http://us.archive.ubuntu.com precise-updates/universe Sources [53.8 kB]
Hit
http://archive.ubuntu.com precise/restricted Translation-en
Ign
http://ppa.launchpad.net precise/main Translation-en_US
Hit
http://archive.ubuntu.com precise/universe Translation-en
Hit
http://archive.ubuntu.com precise-updates/main Translation-en
Ign
http://ppa.launchpad.net precise/main Translation-en
Hit
http://archive.ubuntu.com precise-updates/multiverse Translation-en
Ign
http://ppa.launchpad.net precise/main Translation-en_US
Hit
http://archive.ubuntu.com precise-updates/restricted Translation-en
Get:19
http://us.archive.ubuntu.com precise-updates/multiverse Sources [4,241 B]
Ign
http://ppa.launchpad.net precise/main Translation-en
Hit
http://archive.ubuntu.com precise-updates/universe Translation-en
Ign
http://ppa.launchpad.net precise/main Translation-en_US
Ign
http://ppa.launchpad.net precise/main Translation-en
Get:20
http://us.archive.ubuntu.com precise-updates/main i386 Packages [395 kB]
Get:21
http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [6,732 B]
Get:22
http://us.archive.ubuntu.com precise-updates/universe i386 Packages [133 kB]
Get:23
http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [9,673 B]
Hit
http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit
http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit
http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit
http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit
http://us.archive.ubuntu.com precise-backports/main Sources
Hit
http://us.archive.ubuntu.com precise-backports/restricted Sources
Ign
http://extras.ubuntu.com precise/main Translation-en_US
Ign
http://extras.ubuntu.com precise/main Translation-en
Hit
http://us.archive.ubuntu.com precise-backports/universe Sources
Hit
http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit
http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit
http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit
http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit
http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit
http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit
http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit
http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit
http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit
http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit
http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit
http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit
http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit
http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit
http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit
http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit
http://us.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 1,691 kB in 5s (323 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry
http://security.ubuntu.com/ubuntu/ precise-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry
http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-i386_Packages)
W: Duplicate sources.list entry
http://security.ubuntu.com/ubuntu/ precise-security/multiverse i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry
http://security.ubuntu.com/ubuntu/ precise-security/universe i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_universe_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems