Ok, i'm trying a different approach.
Inspired by what JuhaManninen said, I deleted all the packages I downloaded with apt-get install. Everything that started with lcl*, fp* lazarus* and anything else that had any connection with the lazarus or the free pascal compiler.
I went to
http://www.lazarus.freepascal.org, Daily Snapshots, and I downloaded fpc-2.4.2-0.i386.deb.tar and
lazarus-0.9.29.28625-20101205.i386.deb.tar which, uncompressed, resulted in the following files, shown here by the "ls -lh" command:
total 104M
-rw-r--r-- 1 admin admin 13K Nov 11 23:14 fpc_2.4.2-0_all.deb
-rw-r--r-- 1 admin admin 2.0M Nov 11 23:15 fp-compiler_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 13M Nov 11 23:19 fpc-source_2.4.2-0_all.deb
-rw-r--r-- 1 admin admin 1.6M Nov 11 23:20 fp-docs_2.4.2-0_all.deb
-rw-r--r-- 1 admin admin 1.3M Nov 11 23:20 fp-ide_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 1.3M Nov 11 23:21 fp-units-base_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 1.1M Nov 11 23:21 fp-units-db_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 4.6M Nov 11 23:23 fp-units-fcl_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 461K Nov 11 23:23 fp-units-fv_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 1008K Nov 11 23:24 fp-units-gfx_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 329K Nov 11 23:24 fp-units-gnome1_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 1.5M Nov 11 23:24 fp-units-gtk2_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 971K Nov 11 23:25 fp-units-gtk_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 461K Nov 11 23:25 fp-units-i386_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 448K Nov 11 23:25 fp-units-math_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 1.3M Nov 11 23:26 fp-units-misc_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 235K Nov 11 23:26 fp-units-multimedia_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 610K Nov 11 23:26 fp-units-net_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 2.1M Nov 11 23:27 fp-units-rtl_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 3.7M Nov 11 23:28 fp-utils_2.4.2-0_i386.deb
-rw-r--r-- 1 admin admin 17K Dec 5 06:24 lazarus_0.9.29-0-20101205_all.deb
-rw-r--r-- 1 admin admin 2.7M Dec 5 06:25 lazarus-doc_0.9.29-0-20101205_all.deb
-rw-r--r-- 1 admin admin 5.6M Dec 5 06:17 lazarus-ide_0.9.29-0-20101205_i386.deb
-rw-r--r-- 1 admin admin 5.1M Dec 5 06:17 lazarus-ide-gtk2_0.9.29-0-20101205_i386.deb
-rw-r--r-- 1 admin admin 17K Dec 5 06:17 lazarus-ide-qt4_0.9.29-0-20101205_i386.deb
-rw-r--r-- 1 admin admin 14M Dec 5 06:24 lazarus-src_0.9.29-0-20101205_all.deb
-rw-r--r-- 1 admin admin 17K Dec 5 06:17 lcl_0.9.29-0-20101205_i386.deb
-rw-r--r-- 1 admin admin 1.5M Dec 5 06:18 lcl-gtk2_0.9.29-0-20101205_i386.deb
-rw-r--r-- 1 admin admin 46K Dec 5 06:18 lcl-nogui_0.9.29-0-20101205_i386.deb
-rw-r--r-- 1 admin admin 17K Dec 5 06:18 lcl-qt4_0.9.29-0-20101205_i386.deb
-rw-r--r-- 1 admin admin 35M Dec 5 06:18 lcl-units_0.9.29-0-20101205_i386.deb
-rw-r--r-- 1 admin admin 4.4M Dec 5 06:17 lcl-utils_0.9.29-0-20101205_i386.deb
And I installed these files with "dpkg -i ./*.*". No errors.
So now I start lazarus IDE and again I get errors:
The package "SDFLaz" is installed, but no valid package file (.lpk) was found.
A broken dummy package was created.
The package "fpcunitide" is installed, but no valid package file (.lpk) was found.
A broken dummy package was created.
The package "ProjTemplates" is installed, but no valid package file (.lpk) was found.
A broken dummy package was created.
The package "TAChartLazarusPkg" is installed, but no valid package file (.lpk) was found.
A broken dummy package was created.
The package "SQLDBLaz" is installed, but no valid package file (.lpk) was found.
A broken dummy package was created.
Unable to open the package "cgiLaz".
This package was marked for installation.
Unable to open the package "CGILazIDE".
This package was marked for installation.
However, after many OK's pressed, lazarus started and I tried to compile the default example app and I get these errors:
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.4.2-0 [2010/11/11] for i386
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for i386
Compiling /tmp/project1.lpr
Compiling unit1.pas
Compiling resource lib/i386-linux/project1.or
project1.lpr(20,1) Error: Error while compiling resources
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping
As they don't seem to say much, I go to Project, Project Options, Verbosity, and check Show Everything and again Build project and again errors, and so many of them that I left the computer for about 5 minutes and it did not finish displaying the all, or it may be an infinite loop. My CPU is Pentium D830 at 3000 Mhz, so not the fastest and definitely not the slowest. When I try to copy from the Messages window, Klipper crashed with segmentation fault. Lazarus crashed also.
Maybe I can't figure this out because I am new to all of this, but I start to think this is lazarus' problem. There is either a big gap in documentation, or the developers are on a very very wrong path.
The installation process should be more fool proof. Because this may very well be the best IDE in the world if the users, like me, can't even install and use it.
I tried Lazarus in Windows and it works without problems. If I really had important projects to develop and had deadlines and all, in this situation I would not have a choice but go back to Windows, and STAY WITH IT, because the program I work with is not working well in Linux.