LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-22-2008, 05:49 AM   #1
ffilc7373
Member
 
Registered: Feb 2004
Location: North London, England
Distribution: Ubuntu
Posts: 125

Rep: Reputation: 16
Type 'wget' not known


When I try to open Synaptic Package Manager I get an error message.

E: Type 'wget' is not known on line 40 in sources list /etc/apt/sources.lst
E: The list of sources could not be read
Go to repository dialogue to correct the problem
E: _cache -> open() failed. please report.

I can't access the repositories dialogue from Synaptic Package Manager due to the error message!

help please, thanks
 
Old 06-22-2008, 06:13 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
You can edit the file /etc/apt/sources.list with any text editor. For example - you can click on the icon to get you an virtual terminal, then in the terminal:

su -
(enter root password)
cd /etc/apt
pico sources.list (or nano, vi, emacs - whichever text editor you want to use)

Then fix up the sources.list file. If you don't know what all the entries mean:
man sources.list
 
Old 06-22-2008, 12:09 PM   #3
ffilc7373
Member
 
Registered: Feb 2004
Location: North London, England
Distribution: Ubuntu
Posts: 125

Original Poster
Rep: Reputation: 16
Thanks for that,
I had added a line to the sources.list to add the medibuntu repositories and this included "wget -q http://packages.medibuntu.org/medibuntu-key"
Assuming that was the problem I deleted that line.
But the problem is now

E: Type 'quit' is not known on line 40 in sources list /etc/apt/sources.lst
E: The list of sources could not be read
Go to repository dialogue to correct the problem
E: _cache -> open() failed. please report.

I have tried going back to 2.6.17.11-386 and 2.6.15-386 and still have the same problem.
I don't know what to try to get a further clue.
 
Old 06-22-2008, 01:35 PM   #4
ffilc7373
Member
 
Registered: Feb 2004
Location: North London, England
Distribution: Ubuntu
Posts: 125

Original Poster
Rep: Reputation: 16
Surprise! surprise!
What ever the problem was the latest batch of updates for Ubuntu 8.04 has fixed it.
Cheers
 
  


Reply



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
Dual Boot Vista Suse 10.2 error setting type of partition to type 82 jmp559 Linux - General 1 05-15-2008 06:40 PM
Script/Programing:Enter a value in a field andClick on Java knob with curl/wget type? frenchn00b Linux - General 2 12-22-2007 05:44 AM
arrays of elements with [gcc4]array type has incomplete element type lmmix Linux - Software 0 02-26-2005 08:07 AM
wget download all files of certain type GT_Onizuka Linux - Software 1 05-10-2004 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:45 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