Cant launch software center and cannot get updates, gets error

Asked by zach

Gets error E:Malformed line 7 in source list /etc/apt/sources.list ([url]http://packages.dfreer.org[/url] is not an assignment). need help. im new to ubuntu. tried to install PSX

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
zach (possum115) said :
#1

Their is no help on the internet that i can see. so if anyone can help it would be appreciated

Revision history for this message
Mohammad (thebsom) said :
#2

write this command in the terminal :
gedit /etc/apt/sources.list

copy all the file and paste it here

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

I suspect that you were following invalid and incorrect instructions from an old Ubuntu forum....

The current emulators that you can install using apt-get , aptitude, Ubuntu Software Center or Synaptic package manager using the standard "universe" repositories in Ubuntu 11.10, are listed here:

http://askubuntu.com/questions/87030/game-console-emulators-nintendo-super-nintendo-sega-genesis-nintendo-64-gam

When searching for packages in Ubuntu, only search using small letters. Package names in Ubuntu do not contain capital letters and Ubuntu (GNU/Linux in general) is case-sensitive.

First you will need to remove the invalid line (line 7) or lines in file /etc/apt/sources.list and save the change to undo the damage done.

Revision history for this message
zach (possum115) said :
#4

Well im in the sources list and i cant find the right thing, and first command the first guy wrote didn't work

Revision history for this message
zach (possum115) said :
#5

Ok i found the line and deleted it, but it wont let me save the changes i have done. it says i don't have permission here is the message i get
 You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.
Here are whats in the list
# /etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://download.tuxfamily.org/glxdock/repository/ubuntu oneiric cairo-dock
deb [url]http://packages.dfreer.org[/url] gutsy main
i get rid of the one specified in the error and i get what i said above

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#6

The right Terminal command is this one:

gksudo gedit /etc/apt/sources.list

Please read this as well:

https://help.ubuntu.com/community/RootSudo

It explains how to use sudo and gksudo.

Revision history for this message
zach (possum115) said :
#7

Thank god, thanks man. you saved my butt, i owe you one. but ya i fixed it and thanks for the link for the tutorial for sudo that helps to.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#8

You're welcome. Don't forget to try out the emulators in the URL link I previously sent you. :-)

Revision history for this message
zach (possum115) said :
#9

ok i will, do you know where i can get some bios for them

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#10

If I read correctly, I do not think you do not need to download a separate BIOS file for pcsxr (pcsx reloaded). But I have NOT tested pcsxr myself....

Read this:

http://answers.yahoo.com/question/index?qid=20110609132802AAkiOYs

More info here:

http://pcsxr.codeplex.com/discussions

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#11

Little mistake in my last message:

I meant to write the following:

If I read correctly, I do NOT think you NEED to download a separate BIOS file for pcsxr (pcsx reloaded). But I have NOT tested pcsxr myself....

pcsxr simulates the BIOS using internal programming instead

Revision history for this message
zach (possum115) said :
#12

kk ill try that, ive been trying to figure out the regular pcsx with no luck. ill try the reloaded

Revision history for this message
zach (possum115) said :
#13

Thanks Mark Rijckenberg, that solved my question.