PDA

View Full Version : [ubuntu] erreur d'analyse syntaxique



m3asmi
August 6th, 2009, 10:43 AM
I have problem in all new instalation

i see this message in terminal :

__________________________________________________ __________________________________________


dpkg: error parsing in the file « /var/lib/dpkg/available » near line 25173 package« libapm1 »:
the field name « » must be followed by a colon ( : )
E: Sub-process /usr/bin/dpkg returned an error code (2)

__________________________________________________ __________________________________________

Partyboi2
August 6th, 2009, 11:57 AM
Hi, open a terminal (Applications>Accessories>Terminal) and try clearing the existing information about what packages are available

sudo dpkg --clear-avail && sudo apt-get update

m3asmi
August 6th, 2009, 01:59 PM
Hi, open a terminal (Applications>Accessories>Terminal) and try clearing the existing information about what packages are available

sudo dpkg --clear-avail && sudo apt-get update


I do that
this is the message:

______________________________________________
...
Achieved http://ma.archive.ubuntu.com jaunty-updates/multiverse Packages
Achieved http://ma.archive.ubuntu.com jaunty-updates/multiverse Sources
50.1 kb approved 11s (4338o / s)
Reading package lists ... Made
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures could not be verified because the public key is not available: NO_PUBKEY A445E8CCD1A0D2FB
W: You can run 'apt-get update to correct these problems.
xxx@xxxxx:~$
______________________________________________





&&

thinks for god
it's go now

now I can install the programs


:d:d:

Partyboi2
August 6th, 2009, 02:06 PM
I do that
this is the message:

______________________________________________
...
Achieved http://ma.archive.ubuntu.com jaunty-updates/multiverse Packages
Achieved http://ma.archive.ubuntu.com jaunty-updates/multiverse Sources
50.1 kb approved 11s (4338o / s)
Reading package lists ... Made
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures could not be verified because the public key is not available: NO_PUBKEY A445E8CCD1A0D2FB
W: You can run 'apt-get update to correct these problems.
xxx@xxxxx:~$
______________________________________________





&&

thinks for god
it's go now

now I can install the programs


:d:d:
The gpg error is because you need to add the key, you can do this by opening a terminal and running these commands

gpg --keyserver keyserver.ubuntu.com --recv A445E8CCD1A0D2FB
gpg --export --armor A445E8CCD1A0D2FB | sudo apt-key add -
then

sudo apt-get update