Installed fglrx, now have duplicate source binary i386 error. New graphics card does not work

Asked by milktash

I have tried to install fglrx for driver for my new Radeon HD5450.

I keep getting this after update:

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/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

Tried all sorts of ways, can't seem to find a solution within my capabilites. Could the motherboard have anything to do with it?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu firefox Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
milktash (keithgallant) said :
#1

Sorry, when I put the new graphics card in, it does not output nor does the pci on the motherboard.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

grep -v \# /etc/apt/sources.list | sort

Thanks

Revision history for this message
milktash (keithgallant) said :
#3

Thanks for your quick response.

As requested:

deb http://archive.ubuntu.com/ubuntu/ precise main restricted
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb http://extras.ubuntu.com/ubuntu precise main
deb http://gb.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ precise main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ precise universe
deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates universe
deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://extras.ubuntu.com/ubuntu precise main
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security universe

I can see in the middle there are two lines very similar bar a /. Should I be deleting one somehow? Will doing so allow the new graphics card to work?

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

I suggest you get a default sources.list file. I can send you my default one if you desire.

Revision history for this message
milktash (keithgallant) said :
#5

OK that would be very helpful thanks. I don't know how to edit it in terminal though. Does this solve the graphics card problem or is that unrelated?
thanks again.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#6

You could edit your sources.list the following way:

Open a terminal (e.g. by simultaneously pressing ctrl-alt-T)
and issue the command

gksudo gksudo gedit /etc/apt/sources.list

You will be asked for your password, and an editor with your sources.list should open.

Scroll down until you find a line that reads "deb http://security.ubuntu.com/ubuntu/ precise-security main restricted" and delete that line (Note that there are two similar ones, leave one of them in.)
Also delete the two lines
"deb http://archive.ubuntu.com/ubuntu/ precise main restricted"
and
"deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted"

Save the file and close the editor.
Then try updating you system again.

Do not expect that this will solve the problem with the display adaptper; I do not think that there is any relationship between the duplicate software sources and the problems with the graphics card.

Revision history for this message
milktash (keithgallant) said :
#7

Sorry for the late reply! This worked a treat. Only answer that worked for my issue. Thank you very much!