Author Topic: Linux Lucid problems with install  (Read 3266 times)

wikiro

  • Guest
Linux Lucid problems with install
« on: July 20, 2010, 08:37:23 am »
Im having a multitude of problems that I can't find in the archive here.
First when I try and install code::blocks I get this message.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libcodeblocks0 is already the newest version.
codeblocks is already the newest version.
libwxsmithlib0 is already the newest version.
codeblocks-contrib is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up man-db (2.5.7-2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)
But code::blocks still runs only it cant find the main.cpp
(im new)
Ive used code::blocks on windows XP with no problem but can't seem to get it to work on the latest Ubuntu.  Anyone have any helpful hint or anything that can steer me in the right direction?

Offline kencamargo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Linux Lucid problems with install
« Reply #1 on: July 20, 2010, 08:37:35 pm »
Im having a multitude of problems that I can't find in the archive here.
First when I try and install code::blocks I get this message.

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing man-db (--configure):

Make sure you are not running any other packager manager at the same time, as is apparently indicated by the error message (I edited the list in order to point to the relevant stuff). Also note that you already have code::blocks installed, as per that description, and apparently the only think that went wrong was with the man database, which is not essential to running the program anyway.

Read more on package management under Ubuntu, this is an essential skill for working with it.

Quote
But code::blocks still runs only it cant find the main.cpp

It won't "find" a main.cpp unless you create one, or am I missing something?

Ken