Forum
[SOLVED] apt-get update problem message..... - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Others (/forum-24.html)
+--- Thread: [SOLVED] apt-get update problem message..... (/thread-1125.html)



apt-get update problem message..... - Skywatch - 18th Jul, 2013 05:28 AM

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


RE: apt-get update problem message..... - mk01 - 18th Jul, 2013 06:33 AM

what is your /etc/apt/sources.list looking like ?


RE: apt-get update problem message..... - Skywatch - 18th Jul, 2013 09:14 PM

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


RE: apt-get update problem message..... - IriDium - 19th Jul, 2013 12:20 AM

(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.


RE: apt-get update problem message..... - mk01 - 19th Jul, 2013 07:57 AM

(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.


RE: apt-get update problem message..... - Skywatch - 24th Jul, 2013 02:41 AM

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


RE: apt-get update problem message..... - rikardo1979 - 24th Jul, 2013 06:29 PM

thanks for info
closing thread