None of my package manager software will run (adept, synaptic, add/remove program)

Asked by jakebuntu

Synaptic Package Manager won't open.

Probably added some incorrect lines to your file /etc/apt/sources.list, which probably should have been executed in a terminal instead.

Ive tried doing ALT F2

kdesudo kwrite /etc/apt/sources.list

but it doesn't work.

This is what comes up when I open Synaptic Package Manager

E: Type 'http://ftp.debian.org/debian/pool/main/q/qcad/' is not known on line 45 in source list /etc/apt/sources.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
Basic (basicxp) said :
#1

You should do this:

1) Launch "Terminal"
2) Type "gksudo gedit /etc/apt/sources.list" and press "Enter"
3) Enter your password when prompted
4) In the opened text editor find line 45 and take it away (delete it)
5) Save the text file
6) Close the text editor
7) Close the terminal
and finally 8) Try to start Synaptic again.

Good luck!

P.S. Command "kdesudo" only exists in KDE-based systems (Kubuntu or openSUSE).

Revision history for this message
jakebuntu (jakeraynard) said :
#2

I tried the steps you suggested, but the first thing that happens after I put in my password and press enter is this...

(gksudo:5907): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

(gksudo:5907): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

(gksudo:5907): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

(gksudo:5907): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

(gksudo:5907): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

(gksudo:5907): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

(gksudo:5907): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

(gksudo:5907): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

Revision history for this message
jakebuntu (jakeraynard) said :
#3

sorry, one other thing, I am running Kubuntu 9.04 so i think its the kdesudo that i need, but it doesn't work either.

Revision history for this message
Best Sam_ (and-sam) said :
#4

You may try:
kdesudo kate /etc/apt/sources.list
or
kdesudo nano /etc/apt/sources.list

after editing update packages list and upgrade.

https://help.ubuntu.com/community/RootSudo#Usage
https://help.ubuntu.com/community/AptGet/Howto

Revision history for this message
Sam_ (and-sam) said :
#5

##btw. make sure not to run more than one update app at a time.

Revision history for this message
jakebuntu (jakeraynard) said :
#6

Thanks Sam, that solved my question.

Revision history for this message
jakebuntu (jakeraynard) said :
#7

Great work guys, thanks for the info.

the one that worked was

kdesudo kate /etc/apt/sources.list