Peppermint 4 updating...

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 Index of /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 Index of /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 Index of /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 Index of /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

Not familiar with Peppermint sources list but this might reveal some info:

inxi -Srxxx

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 Index of /ubuntu raring main restricted
deb-src Index of /ubuntu raring main restricted
deb Index of /ubuntu raring-updates main restricted
deb-src Index of /ubuntu raring-updates main restricted
deb Index of /ubuntu raring universe
deb-src Index of /ubuntu raring universe
deb Index of /ubuntu raring-updates universe
deb-src Index of /ubuntu raring-updates universe
deb Index of /ubuntu raring multiverse
deb-src Index of /ubuntu raring multiverse
deb Index of /ubuntu raring-updates multiverse
deb-src Index of /ubuntu raring-updates multiverse
deb Index of /ubuntu raring-backports main restricted universe multiverse
deb-src Index of /ubuntu raring-backports main restricted universe multiverse
deb Index of /ubuntu raring-security main restricted
deb-src Index of /ubuntu raring-security main restricted
deb Index of /ubuntu raring-security universe
deb-src Index of /ubuntu raring-security universe
deb Index of /ubuntu raring-security multiverse
deb-src Index of /ubuntu raring-security multiverse
deb Index of /ubuntu raring partner
deb-src Index of /ubuntu raring partner
deb Index of /ubuntu raring main
deb-src Index of /ubuntu raring main
deb Index of /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

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 Index of /ubuntu raring-security main restricted
deb Index of /ubuntu raring-security universe
deb Index of /ubuntu raring-security multiverse

are conflicting with

deb Index of /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

:wink:

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. :smiley:

Yeah nano’s present if you really want to go down that route :slight_smile:

Thanks for your replies Guys.

But a bit out of my depth here.

Jocklad… :‘( :’( :‘( :’( :cry:

Run:

gedit /etc/apt/souces.list

and post the contents back here

When copied to the RUN Command …

Get…souces.llst(ect/apt) -gedit…In the header

Now I am totally lost.

:cry: jocklad

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. :slight_smile:

Success… :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile:

Quite simple really…When you know how. :wink:

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 :wink:

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