Can't open Synaptic Package Manager
Binary package hint: update-manager
E:Malformed line 176 in source list /etc/apt/
Go to the repository dialog to correct the problem. E:_Cache->open () failed, please report.
Hardy 8.04; Kernel Linux 2.6.24-19-generic; GNOME 2.22.2
Processor AMD Turion 64 Mobile Technology Ml-44
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Bhavani Shankar
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. The error you're seeing is caused by a syntax problem in your /etc/apt/
In the meantime, please post your /etc/apt/
Thank you
Revision history for this message
|
#2 |
Please copy and paste the contents of your /etc/apt/
Thank you
Revision history for this message
|
#3 |
As requested above post your /etc/apt/
It it more likely than not something like a simple typing error on line 176 which is not allowing it to parse the file correctly.
Revision history for this message
|
#4 |
Hello
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://
For ubuntu hardy (8.04 paste the below)
## a “general” sources.list for Hardy Heron; all sources are uncommented.
# 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://
Save the source list
Run the update manager
gksu "update-manager -c"
Regards
Bhavani Shankar.
Revision history for this message
|
#5 |
from /etc/apt/
deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release amd64 (20080423)]/ hardy
main restricted
# See http://
# newer versions of the distribution.
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
## 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.
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
## 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.
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
## 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
## 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://
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
deb http://
multiverse
deb http://
multiverse restricted
deb http://
multiverse restricted
deb http://
multiverse restricted
deb http://
deb-src http://
deb-src http://
deb-src http://
deb http://
universe
deb http://
multiverse universe
deb http://
multiverse universe
deb http://
multiverse universe
deb http://
multiverse universe
deb http://
deb http://
# deb-src http://
deb http://
deb http://
# deb-src http://
deb http://
# deb-src http://
deb http://
deb http://
deb http://
deb http://
deb-src http://
deb http://
deb http://
deb http://
# deb-src http://
# deb
http://
feisty/
deb http://
deb http://
# deb-src http://
deb http://
universe multiverse
# deb-src http://
restricted universe multiverse
deb http://
# deb-src http://
deb http://
deb http://
deb http://
deb http://
deb http://
deb http://
# deb-src http://
deb http://
deb http://
# deb-src http://
*******
marcobra wrote:
> Your question #38318 on update-manager in ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> marcobra requested for more information:
> Please copy and paste the contents of your /etc/apt/
>
> Thank you
>
>
Revision history for this message
|
#6 |
Thanks Bhavani Shankar, that solved my question.