LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2009, 07:47 PM   #1
jpphelan
LQ Newbie
 
Registered: Nov 2009
Location: Dublin
Distribution: Ubuntu 9.1
Posts: 12

Rep: Reputation: 0
Problem with synaptic package manager


I have an error and have a feeling something was edited that was not meant to be...

E: Type 'Reading' is not known on line 57 in source list /etc/apt/sources.list
E: The list of sources could not be read.

I try installing and get the above error.

Could someone help me out?
 
Old 12-15-2009, 08:00 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well ... what does line 57 of the file /etc/apt/sources.list look like?
 
Old 12-15-2009, 09:41 PM   #3
jpphelan
LQ Newbie
 
Registered: Nov 2009
Location: Dublin
Distribution: Ubuntu 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
Now the error has moved to line 51. I have not edited anything btw

The lines are

49. Reading state information...
50. vlc-plugin-pulse is already the newest version.
51. vlc-plugin-pulse set to manually installed.
 
Old 12-15-2009, 09:42 PM   #4
jpphelan
LQ Newbie
 
Registered: Nov 2009
Location: Dublin
Distribution: Ubuntu 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
Now the error has moved to line 51. I have not edited anything btw

The lines are

49. Reading state information...
50. vlc-plugin-pulse is already the newest version.
51. vlc-plugin-pulse set to manually installed.
 
Old 12-15-2009, 09:53 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Those can't possibly be the contents of the file: "/etc/apt/sources.list". Post that complete file, not the error response or whatever log you're looking at. Though I am surprised that your file has 51 lines, as mine only has 11, including comments.
 
Old 12-15-2009, 10:10 PM   #6
jpphelan
LQ Newbie
 
Registered: Nov 2009
Location: Dublin
Distribution: Ubuntu 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
The full thing:

# deb http://ie.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb http://ie.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ie.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://ie.archive.ubuntu.com/ubuntu/ karmic restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ie.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://ie.archive.ubuntu.com/ubuntu/ karmic-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ie.archive.ubuntu.com/ubuntu/ karmic universe
deb http://ie.archive.ubuntu.com/ubuntu/ karmic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ie.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://ie.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ie.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://ie.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu karmic main
Reading package lists...
Building dependency tree...
Reading state information...
vlc-plugin-pulse is already the newest version.
vlc-plugin-pulse set to manually installed.
 
Old 12-15-2009, 10:11 PM   #7
jpphelan
LQ Newbie
 
Registered: Nov 2009
Location: Dublin
Distribution: Ubuntu 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
The full thing:

# deb http://ie.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb http://ie.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ie.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://ie.archive.ubuntu.com/ubuntu/ karmic restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ie.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://ie.archive.ubuntu.com/ubuntu/ karmic-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ie.archive.ubuntu.com/ubuntu/ karmic universe
deb http://ie.archive.ubuntu.com/ubuntu/ karmic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ie.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://ie.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ie.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://ie.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu karmic main
Reading package lists...
Building dependency tree...
Reading state information...
vlc-plugin-pulse is already the newest version.
vlc-plugin-pulse set to manually installed.
 
Old 12-15-2009, 10:42 PM   #8
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Ah, I see. Your file has been corrupted. These lines have no business in your sources.list. Remove them and try again:
Code:
Reading package lists...
Building dependency tree...
Reading state information...
vlc-plugin-pulse is already the newest version.
vlc-plugin-pulse set to manually installed.
I wonder what happened. Did you run something to autogenerate the file, or have you had any file system complaints? Did you perhaps have a power failure recently, while doing some package management?

Note that I'm not vouching for the other contents of your file; just that their format/syntax looks like it's probably OK.
 
Old 12-15-2009, 10:44 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Quakeboy02 View Post
Those can't possibly be the contents of the file: "/etc/apt/sources.list".
If some packager accidentally got a completely screwed up
redirect for a script they could ;}

We all hope they wouldn't, though.



Cheers,
Tink

P.S.: DO'H. Too slow with posting ;}
 
Old 12-15-2009, 10:52 PM   #10
jpphelan
LQ Newbie
 
Registered: Nov 2009
Location: Dublin
Distribution: Ubuntu 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
The file is read only. How do I delete the lines? I was using the shell to update the vlc. I was using commands from a website I have since lost the address to. I have a feeling that this is the line that did this.

sudo apt-get install vlc-plugin-ggi vlc-plugin-jack vlc-plugin-pulse vlc-plugin-sdl vlc-plugin-svgalib mozilla-plugin-vlc vlc-plugin-esd echo "deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu `lsb_release -cs` main" | sudo tee -a /etc/apt/sources.list

Last edited by jpphelan; 12-15-2009 at 10:59 PM.
 
Old 12-15-2009, 10:59 PM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Code:
sudo gedit /etc/apt/sources.list
Then delete the last 5 lines.

If for some reason the file really has become read only:
Code:
sudo chmod +w /etc/apt/sources.list
Evo2.
 
Old 12-15-2009, 11:04 PM   #12
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Tink says:
Quote:
P.S.: DO'H. Too slow with posting ;}
Hey, I was just stealing your thunder, and it turns out you were right about a script issue.


Quote:
Originally Posted by jpphelan View Post
The file is read only. How do I delete the lines? I was using the shell to update the vlc. I was using commands from a website I have since lost the address to. I have a feeling that this is the line that did this.

sudo apt-get install vlc-plugin-ggi vlc-plugin-jack vlc-plugin-pulse vlc-plugin-sdl vlc-plugin-svgalib mozilla-plugin-vlc vlc-plugin-esd echo "deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu `lsb_release -cs` main" | sudo tee -a /etc/apt/sources.list
You need to use "sudo" to write to the file, but I don't think you want to delete it, unless you have the original sitting around, or a script that will recreate it. I'd just run whatever editor you're familiar with by using sudo (e.g. "sudo vi /etc/apt/sources.list") and delete those lines. Or, if you don't want the karmic stuff (whatever that is) delete all the lines after this part (first few lines):
Code:
# deb http://ie.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb http://ie.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
Added:
Hmmm, looking at it again, you'll probably want to keep the backport lines, as well; even if they're commented out.

Last edited by Quakeboy02; 12-15-2009 at 11:06 PM.
 
Old 12-15-2009, 11:07 PM   #13
jpphelan
LQ Newbie
 
Registered: Nov 2009
Location: Dublin
Distribution: Ubuntu 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
That did it. Thanks I am slowly learning what i can and cannot do
 
Old 12-15-2009, 11:07 PM   #14
jpphelan
LQ Newbie
 
Registered: Nov 2009
Location: Dublin
Distribution: Ubuntu 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
That did it. Thanks I am slowly learning what I can and cannot do
 
Old 12-15-2009, 11:08 PM   #15
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Are you hitting the send button twice? Your posts are doubling.

Glad you got it fixed, by the way.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in Synaptic Package Manager in ubuntu 9.10 BlueSkull Linux - Software 3 11-07-2009 11:52 AM
problem: can't find any program in synaptic Package manager davidbelo Ubuntu 2 12-15-2008 02:34 PM
Problem with Synaptic Package Manager... sometimes! rsf21 Linux - Newbie 11 01-09-2008 11:38 PM
Open office and synaptic package manager problem Greebstreebling Debian 14 04-15-2007 07:43 AM
Synaptic Package Manager Problem tarobs Linux - Newbie 3 08-11-2006 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration