system
December 3, 2013, 9:32pm
1
Keep getting a warning after using sudo apt-get update to apt-get update as below but it still appears… ??? ??? ???
…
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/universe i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/multiverse i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_multiverse_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
Jocklad
SeZo
December 3, 2013, 9:53pm
2
Not familiar with Peppermint sources list but this might reveal some info:
inxi -Srxxx
system
December 3, 2013, 10:02pm
3
Thanks SeZo.
This is what came up…
ben@ben-Dell-DV051 ~ $ inxi -Srxxx
System: Host: ben-Dell-DV051 Kernel: 3.8.0-34-generic i686 (32 bit, gcc: 4.7.3) Desktop: N/A Distro: Peppermint Four
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://gb.archive.ubuntu.com/ubuntu/ raring main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ raring main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ raring-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ raring-updates main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ raring universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ raring universe
deb http://gb.archive.ubuntu.com/ubuntu/ raring-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ raring-updates universe
deb http://gb.archive.ubuntu.com/ubuntu/ raring multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ raring multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb-src http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security universe
deb-src http://security.ubuntu.com/ubuntu raring-security universe
deb http://security.ubuntu.com/ubuntu raring-security multiverse
deb-src http://security.ubuntu.com/ubuntu raring-security multiverse
deb http://archive.canonical.com/ubuntu raring partner
deb-src http://archive.canonical.com/ubuntu raring partner
deb http://extras.ubuntu.com/ubuntu raring main
deb-src http://extras.ubuntu.com/ubuntu raring main
deb http://security.ubuntu.com/ubuntu/ raring-security restricted universe main multiverse
Active apt sources in file: /etc/apt/sources.list.d/peppermint.list
deb http://ppa.launchpad.net/peppermintos/release/ubuntu raring main
ben@ben-Dell-DV051 ~ $
Jocklad
SeZo
December 3, 2013, 10:34pm
4
Hmm… You seem to have “restricted” “main” “universe” and “multiverse” duplicated.
Edit the /etc/apt/sources.list (use your favourite editor instead of leafpad) :
sudo leafpad /etc/apt/sources.list
Edit the following lines from:
deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security multiverse
deb http://security.ubuntu.com/ubuntu raring-security universe
deb http://security.ubuntu.com/ubuntu/ raring-security restricted universe main multiverse
to
deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security multiverse
deb http://security.ubuntu.com/ubuntu raring-security universe
#deb http://security.ubuntu.com/ubuntu/ raring-security restricted universe main multiverse
save and exit, then do
sudo apt-get update
if that goes OK then
sudo apt-get upgrade
As SeZo suggests … These 3 lines:-
deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security universe
deb http://security.ubuntu.com/ubuntu raring-security multiverse
are conflicting with
deb http://security.ubuntu.com/ubuntu/ raring-security restricted universe main multiverse
Either comment out the top 3 … or the last one in /etc/apt/sources.list
Peppermint uses gedit NOT leafpad … so you’ll need to edit SeZo’s first command to
sudo gedit /etc/apt/sources.list
SeZo
December 3, 2013, 11:01pm
7
Peppermint uses gedit NOT leafpad .. so you'll need to edit SeZo's first command to
I was going to use gedit in that example then thought LXDE so leafpad came to mind.
On the other hand nano seems to work with all the distros I tried it with.
Yeah nano’s present if you really want to go down that route
system
December 4, 2013, 12:15am
9
Thanks for your replies Guys.
But a bit out of my depth here.
Jocklad… :‘( :’( :‘( :’(
Run:
gedit /etc/apt/souces.list
and post the contents back here
system
December 4, 2013, 12:39am
11
When copied to the RUN Command …
Get…souces.llst(ect/apt) -gedit…In the header
Now I am totally lost.
jocklad
SeZo
December 4, 2013, 7:21am
12
When copied to the RUN Command ....
Get.....[b]souces[/b] .llst(ect/apt) -gedit...In the header
sudo gedit /etc/apt/sources.list
Just a typo there.
system
December 4, 2013, 10:35am
13
Success…
Quite simple really…When you know how.
Many thanks Guys.
Jocklad
Oops, gonna have to be more careful, I seem to be making a lot of typo’s lately :-[
It’s my keyboard I tell you … my keyboard
There should be a GUI for it…?
Or is that Mint-specific (I was sure Ubuntu had one!)
Also, nano ROCKS. Much better than messing about with vi or emacs!
There kinda is a GUI (software-properties-gtk) but I have a feeling that’s what’s adding the second security entry and causing the problem in the first place.
There seems to be a bug that I’m currently trying to figure out … an odd one because it only manifests on some installations … I currently have 2 that work perfectly, and 2 that don’t and I can’t figure out the difference :o
If you wanna read about it … see here:
http://peppermintos.net/viewtopic.php?f=8&t=6288&start=0
It currently has me stumped :o
The whole damn thing doesn’t make sense …
a) why is it ALSO adding the security sources as third party repos
b) why does copying a sources.list from a working PC not work
c) why only SOME PC’s