PDA

View Full Version : [ubuntu] Synaptic Package Manager trouble...



Jynxx
January 23rd, 2009, 05:16 PM
Hey all. I went to add the OpenOffice.org extension repository to my list in SPM and am now getting this error;

'E:Malformed line 63 in source list /etc/apt/sources.list (dist parse), E:The list of sources could not be read.'

It won't let me in to delete the extension repository that I just added and now I can't access SPM at all. Any suggestions as to how to fix it?

Thanks!

taurus
January 23rd, 2009, 05:19 PM
Applications -> Accessories -> Terminal

gksudo gedit /etc/apt/sources.list
Either delete the entry in line 63 or modify it. Save it and then run


sudo apt-get update
sudo apt-get upgrade

Nepherte
January 23rd, 2009, 05:19 PM
Open /etc/apt/sources.list:

gksudo gedit /etc/apt/sources.list
and remove the offending line 63 or correct it. Afterwards you save and exit.

Jynxx
January 23rd, 2009, 05:25 PM
Awesome, that worked. I can now access SPM. I'm getting one other error that I can't see to figure out.

W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC66403D8670A035


Any ideas on this one?

PriceChild
January 23rd, 2009, 05:28 PM
Awesome, that worked. I can now access SPM. I'm getting one other error that I can't see to figure out.

W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC66403D8670A035


Any ideas on this one?
The "W:" signifies that that is a warning, rather than an Error.

GPG is used to verify that the software you are downloading is the ubuntu developers wanted to build. However launchpad doesn't support this functionality (yet) and so if you want to use ppas you'll have to bear with it I'm afraid.

Jynxx
January 23rd, 2009, 05:31 PM
Ok, sounds good. It doesn't seem to affect SPM in any way except for the message that pops up. I'll just deal with it. Thank you all for the assistance!:p

blackgr
January 24th, 2009, 12:05 AM
I made this small bash script. it will check you intrepid system for all launchpad sources and will download and install the keys for you!

Who ever wants this for Hardy. Just edit the script and change intrepid to hardy

edit:
you have to run this with sudo

nossifer
June 6th, 2009, 02:06 PM
I tried the bash script. Changed to Jaunty. It seemed to run fine, but I still get the error after I refresh synaptec.

$ sudo ./launchpad-update
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
curl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 210kB of archives.
After this operation, 324kB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com jaunty/main curl 7.18.2-8ubuntu4 [210kB]
Fetched 210kB in 1s (157kB/s)
Selecting previously deselected package curl.
(Reading database ... 169761 files and directories currently installed.)
Unpacking curl (from .../curl_7.18.2-8ubuntu4_i386.deb) ...
Processing triggers for man-db ...
Setting up curl (7.18.2-8ubuntu4) ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: try 'curl --help' or 'curl --manual' for more information
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: try 'curl --help' or 'curl --manual' for more information
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: try 'curl --help' or 'curl --manual' for more information
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: try 'curl --help' or 'curl --manual' for more information