Synaptic error
When I open Synaptic I get the following error. I tried some of the other fixes for similar problems answered on Launchpad but no results -
E: Type 'html' is not known on line 1 in source list /etc/apt/
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
Thanks in advance, wlgoode
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu dpkg Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
One of your software sources files is corrupt.
Can you post the contents of the following file...
Open a terminal window (Applications menu, Accessories) and type...
sudo cat /etc/apt/
and also
sudo cat /etc/apt/
I am guessing the latter one has some dodgy entry and needs to be edited (or deleted if not in use)
sudo gedit /etc/apt/
Revision history for this message
|
#2 |
Thanks Tony ,I did it here it is, a huge file-albert@
cat /etc/apt/
[sudo] password for albert:
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy
main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
deb-src http://
deb http://
deb-src http://
## 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://
deb-src http://
deb http://
deb-src http://
## 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://
universe multiverse
# deb-src http://
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://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
albert@
html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-
lang="en">
Distractions In Ubuntu</title>
charset=utf-8" />
type="text/css" />
/>Multimedia, Entertainment & Distractions In Ubuntu</span></h1>
href="index.
http://
">Packages</a></li>
<div id="page">
& Distractions In Ubuntu) is a repository of packages that cannot be
included into the Ubuntu distribution for legal reasons (copyright, license,
patent, etc).
dedicated to distributing software that cannot be included in Ubuntu for
various reasons, related to geographical variations in legislation regarding
intellectual property, security and other issues:
algorithms, formats and other abstract creation</li>
speech or communication</li>
types of technical solution, such as cryptography</li>
software technology, requiring for example specific permissions</li>
http://
non-free software is affected by such restriction somewhere in the world,
thus preventing its inclusion into Ubuntu that, for economy and simplicity,
are generally identical for all countries.
abandoning software that may be legally useful somewhere, and we have chosen
to provide it with professional quality packaging, easily usable within the
context of Ubuntu.<br />
Ubuntu distribution.
sure that the software you are installing can be legally used in your
country and for your intended purpose.
<div id="paypal"><form action="
https:/
<p>
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" <email address hidden>" />
<input type="hidden" name="item_name" value="Medibuntu" />
<input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="currency_
<input type="hidden" name="tax" value="0" />
<input type="hidden" name="bn" value="
<input type="image" src="
https:/
alt="Effectuez vos paiements via PayPal : une solution rapide, gratuite et
sécurisée" />
<img alt="" src="https:/
height="1" />
</p>
</form>
</div>
http://
http://
http://
http://
<!-- phpmyvisites -->
<a href="http://
analytics"
onclick=
type="text/
<!--
var a_vars = Array();
var pagename='';
var phpmyvisitesSite = 2;
var phpmyvisitesURL = "http://
//-->
</script>
<script language=
http://
<object>
<img src="http://
style="border:0" />
</p></noscript>
<!-- /phpmyvisites -->
</body>
albert@
On Thu, Sep 11, 2008 at 2:41 AM, Tony Mugan <
<email address hidden>> wrote:
> Your question #44770 on dpkg in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Tony Mugan proposed the following answer:
> One of your software sources files is corrupt.
>
> Can you post the contents of the following file...
>
> Open a terminal window (Applications menu, Accessories) and type...
>
> sudo cat /etc/apt/
>
> and also
>
> sudo cat /etc/apt/
>
> I am guessing the latter one has some dodgy entry and needs to be edited
> (or deleted if not in use)
> sudo gedit /etc/apt/
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#3 |
You need to delete the medibuntu.list as it erroneously contains html
sudo rm /etc/apt/
Revision history for this message
|
#4 |
It is correct your medibuntu.list file is wrong, try deleting it and do it
again
for instruction try:
https:/
2008/9/12 Tony Mugan <email address hidden>
> Question #44770 on dpkg in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Tony Mugan proposed the following answer:
> You need to delete the medibuntu.list as it erroneously contains html
>
> sudo rm /etc/apt/
>
> --
> You received this question notification because you are an answer
> contact for Ubuntu.
>
--
Saludos Fraternos Ubunteros!
_______
"No pases la vida tratando de hacer trabajar a tu computador,...
...haz que tu computador trabaje para ti, usa GNU/LINUX"
_______
Rolando F. Blanco C:. (Ubuntu Member)
Director-TIC MSC, Consultores Gerenciales,C.A.
User: 399645 (GNU) Ubuntu: 3715
http://
Ubuntu 8.04 (Hardy)
_______
Can you help with this problem?
Provide an answer of your own, or ask wlgoode for more information if necessary.