Forum

Full Version: apt-get update problem message.....
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

After apt-get update I get the following message.......

PHP Code:
Reading package lists... Done
W
Duplicate sources.list entry http://dikonist.asuscomm.com/XBian/APT/ wheezy/main armhf Packages (/var/lib/apt/lists/dikonist.asuscomm.com:82_XBian_APT_dists_wheezy_main_binary-armhf_Packages)
WYou may want to run apt-get update to correct these problems 

Although I re-did the apt-get update (as it says to do) I still get this every time.

I'm sure it's an easy thing to fix, but it's beyond my current skills to work out what to do.

Anyone can help me out there please?

Skywatch
what is your /etc/apt/sources.list looking like ?
Hi mk01!

It looks like this.....

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free r$
deb mirror://apt.xbian.org/mirror.txt wheezy main
deb http://dikonist.asuscomm.com:82/XBian/APT/ wheezy main
deb http://dikonist.asuscomm.com:82/XBian/APT/ wheezy main

I guess it's easy to edit it, but I wouldn't know where or what ! - Maybe the r$ at the end of line one? Or line 2? Or the duplicate lines 3 & 4?

Cheers for the quick response...

Skywatch
(18th Jul, 2013 09:14 PM)Skywatch Wrote: [ -> ]Hi mk01!

It looks like this.....

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free r$
deb mirror://apt.xbian.org/mirror.txt wheezy main
deb http://dikonist.asuscomm.com:82/XBian/APT/ wheezy main
deb http://dikonist.asuscomm.com:82/XBian/APT/ wheezy main

I guess it's easy to edit it, but I wouldn't know where or what ! - Maybe the r$ at the end of line one? Or line 2? Or the duplicate lines 3 & 4?

Cheers for the quick response...

Skywatch

Any idea how it got corrupted?

You also don't say what version of Xbian this occurs on?

sudo vi /etc/apt/sources.list

Remove the duplicate entry.
change r$ to rpi
<save>
sudo apt-get clean
sudo apt-get update.

Hopefully, that will solve the problem.
(18th Jul, 2013 09:14 PM)Skywatch Wrote: [ -> ]deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb mirror://apt.xbian.org/mirror.txt wheezy main
deb http://dikonist.asuscomm.com:82/XBian/APT/ wheezy main


like iridium says, this is how it could be looking.
Thanks to you both for the help - problem solved!.....

It was the duplicate line at the bottom that was causing the issue.

The '$' appearing has taught me something else new.... I used putty to get the info and it seems that if the putty window is not wide enough for the text then it will truncate it and add a $ to show this. I didn't know that, but expanding the window shows that the text was correct! - Something to bear in mind for the future I think! ;-)

It's on version 1B1.1 as per my profile setup under my user name! ;-)

Cheers all

skywatch
thanks for info
closing thread
Reference URL's