synaptic problem
When I try to start Synaptic, I got this message ''E: Type ‘“deb’ is not known on line 57 in source list /etc/apt/
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.''
Could anyone help?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bhavani Shankar
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
System -> Administration -> Software Sources
Choose all the checkboxes under Downloadable from Internet and CLOSE it.
Now invoke Synaptic Package manager. If you still get the same error, please paste the contents of /etc/apt/
Revision history for this message
|
#2 |
eihab@eihab-
bash: /etc/apt/
eihab@eihab-
Revision history for this message
|
#3 |
Did you try adding software sources as i mentioned above?
Please try that out first. Then launch Synaptic.
If you get the error again even after that, please open /etc/apt/
Revision history for this message
|
#4 |
hi metallicatony
I did as you told me and got the same message;
eihab@eihab-
bash: /etc/apt/
eihab@eihab-
Revision history for this message
|
#5 |
Hi.. if you type /etc/apt/
Please paste the CONTENTS of the file /etc/apt/
Use a editor (eg: gedit) and open the file. Copy the contents and paste it here please.
Revision history for this message
|
#6 |
Hi there,
I got this as well;
E: Type ‘“deb’ is not known on line 53 in source list /etc/apt/
E: Unable to lock the list directory
E: Type ‘“deb’ is not known on line 53 in source list /etc/apt/
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.
Revision history for this message
|
#7 |
Hi..
Until unless you paste the contents of /etc/apt/
Revision history for this message
|
#8 |
Hi I got this ;
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
deb-src http://
# 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 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 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://
deb-src http://
## 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 http://
deb http://
deb-src http://
“deb http://
“deb http://
sudo aptitude update
sudo aptitude upgrade
Revision history for this message
|
#9 |
Eihab Abdelmagid,
Fire up a Terminal (Applications > Accessories > Terminal) and type the following code:
sudo gedit /etc/apt/
An editor opens, navigate to the end of the file and comment out the last two deb entries.
It should look like this:
#“deb http://
#“deb http://
With Regards,
Zombie.
Revision history for this message
|
#10 |
Hello Eihab..
you have added some incorrect lines to your file /etc/apt/
To resolve this you need to edit the file /etc/apt/
As a guide, sources.list should only contain lines that start "deb", "deb-src", "cdrom" or a "#" symbol, anything else is wrong and should not be there. Please refer to the error message, which should contain a line number.
To edit the sources.list file, press ALT+F2 at the Ubuntu desktop and then type the following command in the box, depending on your Ubuntu flavour:
For Ubuntu:
gksudo gedit /etc/apt/
For Kubuntu:
kdesudo kwrite /etc/apt/
Exactly as you see it there, then press enter/return. Enter your password when prompted and edit the file in the editor as advised above. You should then save and quit the editor.
The program which reads /etc/apt/
For ubuntu 7.10 please paste the below:
#deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy 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://
deb-src http://
## 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://
Save the source list
Run the update manager
gksu "update-manager -c"
Or sudo apt-get update
Hope it helps
Bhavani Shankar.
Revision history for this message
|
#11 |
Thanks Bhavani Shankar, that solved my question.
Best Regards
Eihab
Revision history for this message
|
#12 |
Thanks Bhavani Shankar, that solved my question.