lazarus 0.9.30.0 on ubuntu10.04 lazarus / 1-Linux ---------------------------------------------------------------------- Blue1987 · 2011-09-12 10:54 hi, I wonder if there is some way to install lazarus on Ubuntu10.04. when I try to install the deb packages with command "dpkg -i *.deb", it starts installing packages, but at the end it shows messages as "there were problems installing packages". and when I run the IDE, it tells that it miss something and i cannot run! If I install 0.9.28 everything is ok, but I need the new version! any suggestions? ---------------------------------------------------------------------- Blaazen · 2011-09-12 11:26 Quote... it tells that it miss something  ...What exactly ? Did you install as root ? Code: [Select]sudo dpkg -i *.deb ---------------------------------------------------------------------- Blue1987 · 2011-09-12 14:40 Quote from: Blaazen on September 12, 2011, 01:26:47 pmQuote... it tells that it miss something  ...What exactly ? Did you install as root ? Code: [Select]sudo dpkg -i *.deb here you have everything... Code: [Select]paolo@Paolo-PC1:~/Scaricati/fpc-2.4.2-0.i386.deb$ sudo dpkg -i *.deb [sudo] password for paolo: Selezionato il pacchetto fpc. (Lettura del database... 186521 file e directory attualmente installati.) Estrazione di fpc (da fpc_2.4.2-0_all.deb)... Preparativi per sostituire fp-compiler v.2.4.2-0 (utilizzando fp- compiler_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-compiler... Preparativi per sostituire fpc-source v.2.4.2-0 (utilizzando fpc- source_2.4.2-0_all.deb)... Estrazione del sostituto di fpc-source... Preparativi per sostituire fp-docs v.2.4.2-0 (utilizzando fp- docs_2.4.2-0_all.deb)... Estrazione del sostituto di fp-docs... Preparativi per sostituire fp-ide v.2.4.2-0 (utilizzando fp- ide_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-ide... Preparativi per sostituire fp-units-base v.2.4.2-0 (utilizzando fp- units-base_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-base... Preparativi per sostituire fp-units-db v.2.4.2-0 (utilizzando fp- units-db_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-db... Preparativi per sostituire fp-units-fcl v.2.4.2-0 (utilizzando fp- units-fcl_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-fcl... Preparativi per sostituire fp-units-fv v.2.4.2-0 (utilizzando fp- units-fv_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-fv... Preparativi per sostituire fp-units-gfx v.2.4.2-0 (utilizzando fp- units-gfx_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-gfx... Selezionato il pacchetto fp-units-gnome1. Estrazione di fp-units-gnome1 (da fp-units-gnome1_2.4.2-0_i386.deb)... Preparativi per sostituire fp-units-gtk2 v.2.4.2-0 (utilizzando fp- units-gtk2_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-gtk2... Selezionato il pacchetto fp-units-gtk. Estrazione di fp-units-gtk (da fp-units-gtk_2.4.2-0_i386.deb)... Preparativi per sostituire fp-units-i386 v.2.4.2-0 (utilizzando fp- units-i386_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-i386... Preparativi per sostituire fp-units-math v.2.4.2-0 (utilizzando fp- units-math_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-math... Preparativi per sostituire fp-units-misc v.2.4.2-0 (utilizzando fp- units-misc_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-misc... Selezionato il pacchetto fp-units-multimedia. Estrazione di fp-units-multimedia (da fp-units- multimedia_2.4.2-0_i386.deb)... Preparativi per sostituire fp-units-net v.2.4.2-0 (utilizzando fp- units-net_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-net... Preparativi per sostituire fp-units-rtl v.2.4.2-0 (utilizzando fp- units-rtl_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-units-rtl... Preparativi per sostituire fp-utils v.2.4.2-0 (utilizzando fp- utils_2.4.2-0_i386.deb)... Estrazione del sostituto di fp-utils... Configurazione di fpc-source (2.4.2-0)... Configurazione di fp-docs (2.4.2-0)... dpkg: problemi con le dipendenze impediscono la configurazione di fp- units-gtk:  fp-units-gtk dipende da libgtk2.0-dev; comunque:   Il pacchetto libgtk2.0-dev non è installato. dpkg: errore nell'elaborare fp-units-gtk (--install):  problemi con le dipendenze - lasciato non configurato dpkg: problemi con le dipendenze impediscono la configurazione di fp- units-multimedia:  fp-units-multimedia dipende da libogg-dev; comunque:   Il pacchetto libogg-dev non è installato.  fp-units-multimedia dipende da libvorbis-dev; comunque:   Il pacchetto libvorbis-dev non è installato.  fp-units-multimedia dipende da libdts-dev; comunque:   Il pacchetto libdts-dev non è installato.  fp-units-multimedia dipende da libmad0-dev; comunque:   Il pacchetto libmad0-dev non è installato.  fp-units-multimedia dipende da libmodplug-dev; comunque:   Il pacchetto libmodplug-dev non è installato. dpkg: errore nell'elaborare fp-units-multimedia (--install):  problemi con le dipendenze - lasciato non configurato Configurazione di fp-units-rtl (2.4.2-0)... Configurazione di fp-utils (2.4.2-0)... dpkg: problemi con le dipendenze impediscono la configurazione di fpc:  fpc dipende da fp-units-gtk; comunque:   Il pacchetto fp-units-gtk non è ancora configurato.  fpc dipende da fp-units-multimedia; comunque:   Il pacchetto fp-units-multimedia non è ancora configurato. dpkg: errore nell'elaborare fpc (--install):  problemi con le dipendenze - lasciato non configurato Configurazione di fp-compiler (2.4.2-0)... update-alternatives: viene usato /usr/bin/fpc per fornire /usr/bin/pc (pc) in modalità automatica. Configurazione di fp-ide (2.4.2-0)... Configurazione di fp-units-base (2.4.2-0)... Configurazione di fp-units-db (2.4.2-0)... Configurazione di fp-units-fcl (2.4.2-0)... Configurazione di fp-units-fv (2.4.2-0)... Configurazione di fp-units-gfx (2.4.2-0)... dpkg: problemi con le dipendenze impediscono la configurazione di fp- units-gnome1:  fp-units-gnome1 dipende da fp-units-gtk (= 2.4.2-0); comunque:   Il pacchetto fp-units-gtk non è ancora configurato. dpkg: errore nell'elaborare fp-units-gnome1 (--install):  problemi con le dipendenze - lasciato non configurato Configurazione di fp-units-gtk2 (2.4.2-0)... Configurazione di fp-units-i386 (2.4.2-0)... Configurazione di fp-units-math (2.4.2-0)... Configurazione di fp-units-misc (2.4.2-0)... Configurazione di fp-units-net (2.4.2-0)... Elaborazione dei trigger per man-db... Elaborazione dei trigger per doc-base... Processing 2 changed doc-base file(s)... Registering documents with scrollkeeper... Si sono verificati degli errori nell'elaborazione:  fp-units-gtk  fp-units-multimedia  fpc  fp-units-gnome1 paolo@Paolo-PC1:~/Scaricati/fpc-2.4.2-0.i386.deb$ Code: [Select]paolo@Paolo-PC1:~/Scaricati/lazarus-0.9.30-i386.deb$ sudo dpkg -i *.deb [sudo] password for paolo: Selezionato il pacchetto lazarus-0.9.30. (Lettura del database... 186702 file e directory attualmente installati.) Estrazione di lazarus-0.9.30 (da lazarus-0.9.30_0.9.30-0_all.deb)... Selezionato il pacchetto lazarus-doc-0.9.30. Estrazione di lazarus-doc-0.9.30 (da lazarus- doc-0.9.30_0.9.30-0_all.deb)... Selezionato il pacchetto lazarus-ide-0.9.30. Estrazione di lazarus-ide-0.9.30 (da lazarus- ide-0.9.30_0.9.30-0_i386.deb)... Selezionato il pacchetto lazarus-ide-gtk2-0.9.30. Estrazione di lazarus-ide-gtk2-0.9.30 (da lazarus-ide- gtk2-0.9.30_0.9.30-0_i386.deb)... Selezionato il pacchetto lazarus-ide-qt4-0.9.30. Estrazione di lazarus-ide-qt4-0.9.30 (da lazarus-ide- qt4-0.9.30_0.9.30-0_i386.deb)... Selezionato il pacchetto lazarus-src-0.9.30. Estrazione di lazarus-src-0.9.30 (da lazarus- src-0.9.30_0.9.30-0_all.deb)... Selezionato il pacchetto lcl-0.9.30. Estrazione di lcl-0.9.30 (da lcl-0.9.30_0.9.30-0_i386.deb)... Selezionato il pacchetto lcl-gtk2-0.9.30. Estrazione di lcl-gtk2-0.9.30 (da lcl- gtk2-0.9.30_0.9.30-0_i386.deb)... Selezionato il pacchetto lcl-nogui-0.9.30. Estrazione di lcl-nogui-0.9.30 (da lcl- nogui-0.9.30_0.9.30-0_i386.deb)... Selezionato il pacchetto lcl-qt4-0.9.30. Estrazione di lcl-qt4-0.9.30 (da lcl-qt4-0.9.30_0.9.30-0_i386.deb)... Selezionato il pacchetto lcl-units-0.9.30. Estrazione di lcl-units-0.9.30 (da lcl- units-0.9.30_0.9.30-0_i386.deb)... Selezionato il pacchetto lcl-utils-0.9.30. Estrazione di lcl-utils-0.9.30 (da lcl- utils-0.9.30_0.9.30-0_i386.deb)... Configurazione di lazarus-doc-0.9.30 (0.9.30-0)... Configurazione di lazarus-src-0.9.30 (0.9.30-0)... Configurazione di lcl-gtk2-0.9.30 (0.9.30-0)... Configurazione di lcl-nogui-0.9.30 (0.9.30-0)... dpkg: problemi con le dipendenze impediscono la configurazione di lcl- qt4-0.9.30:  lcl-qt4-0.9.30 dipende da libqt4pas-dev; comunque:   Il pacchetto libqt4pas-dev non è installato. dpkg: errore nell'elaborare lcl-qt4-0.9.30 (--install):  problemi con le dipendenze - lasciato non configurato Configurazione di lcl-units-0.9.30 (0.9.30-0)... Configurazione di lcl-utils-0.9.30 (0.9.30-0)... update-alternatives: viene usato /usr/lib/lazarus/0.9.30 per fornire /usr/lib/lazarus/default (lazarus) in modalità automatica. update-alternatives: attenzione: /etc/lazarus non viene sostituito con un collegamento. Elaborazione dei trigger per man-db... Configurazione di lcl-0.9.30 (0.9.30-0)... Configurazione di lazarus-ide-0.9.30 (0.9.30-0)... update-alternatives: viene usato /usr/lib/lazarus/0.9.30/startlazarus per fornire /usr/bin/lazarus-ide (lazarus-ide) in modalità automatica. Configurazione di lazarus-ide-qt4-0.9.30 (0.9.30-0)... Elaborazione dei trigger per doc-base... Processing 1 added doc-base file(s)... Registering documents with scrollkeeper... Elaborazione dei trigger per menu... Elaborazione dei trigger per desktop-file-utils... Elaborazione dei trigger per python-gmenu... Rebuilding /usr/share/applications/desktop.it_IT.utf8.cache... Configurazione di lazarus-0.9.30 (0.9.30-0)... Configurazione di lazarus-ide-gtk2-0.9.30 (0.9.30-0)... update-alternatives: viene usato /usr/lib/lazarus/0.9.30/lazarus-gtk2 per fornire /usr/lib/lazarus/0.9.30/lazarus (lazarus-0.9.30) in modalità automatica. Elaborazione dei trigger per python-support... Si sono verificati degli errori nell'elaborazione:  lcl-qt4-0.9.30 paolo@Paolo-PC1:~/Scaricati/lazarus-0.9.30-i386.deb$ ---------------------------------------------------------------------- Blaazen · 2011-09-12 14:50 Code: [Select]... dpkg: problemi con le dipendenze impediscono la configurazione di fp- units-gnome1:  fp-units-gnome1 dipende da fp-units-gtk (= 2.4.2-0); comunque:   Il pacchetto fp-units-gtk non è ancora configurato. dpkg: errore nell'elaborare fp-units-gnome1 (--install):  problemi con le dipendenze - lasciato non configurato ... I don't speak italian, but this seems like normal dependency hell  And you should use newer fpc 2.4.4. IMO Installing of Lazarus fails because fpc is not installed properly. ---------------------------------------------------------------------- Blue1987 · 2011-09-12 16:12 Quote from: Blaazen on September 12, 2011, 04:50:56 pmCode: [Select]... dpkg: problemi con le dipendenze impediscono la configurazione di fp- units-gnome1:  fp-units-gnome1 dipende da fp-units-gtk (= 2.4.2-0); comunque:   Il pacchetto fp-units-gtk non è ancora configurato. dpkg: errore nell'elaborare fp-units-gnome1 (--install):  problemi con le dipendenze - lasciato non configurato ... I don't speak italian, but this seems like normal dependency hell  And you should use newer fpc 2.4.4. IMO Installing of Lazarus fails because fpc is not installed properly. I translate Code: [Select]dpkg: problems with dependences prevent the configuration of fp-units-gnome1:  fp-units-gnome1 depends on fp-units-gtk (= 2.4.2-0); by the way:   Package fp-units-gtk is not configued yet. dpkg: error in elaborating fp-units-gnome1 (--install):  problems with dependences - left unconfigured hence? what should I do? ---------------------------------------------------------------------- Gizmo · 2011-09-12 21:03 I came here to post a new question because of exactly the same problem using Laz 0.9.31.1! My setup will provide English errors and so help both me and the original poster with his problem, seeing as we are both using Ubuntu 10.04. I am using Ubuntu 10.04 and was previously using the stable Lazarus 0.9.30 with PFC 2.4.2 with it from the official downloads repository that I downloaded from http://sourceforge.net/projects/lazarus/files/L azarus%20Linux%20i386%20DEB/Lazarus%200.9.30/ You'll note this is higher than the Ubuntu packaged set of 0.9.28. Anyway, all was going fine with that, but I needed to use a more recent daily snapshot, specifically r32179 or above because of the newly added procedure SaveToCSVFile (http://wiki.lazarus.freepascal.or g/Grids_Reference_Page#Save_and_Retrieve_Grid_Content), that's available with r32179. So I went to the Daily Snapshot area and downloaded the FPC 2.4.4 and Lazarus 0.9.30.1 debs (http://www.hu.freepascal.org/lazarus/) and extracted the content from the archives: Lazarus debs    Linux i386    lazarus-0.9.31.32272-20110912.i386.deb.tar fpc debs    Linux i386    fpc-2.4.4-1.i386.deb.tar Having first used Synaptic to uninstall the previous versions, I then extracted them all to seperate FPC and Lazarus temp dirs. I then went into the FPC dir and installed the debs in there first : Code: [Select]ted@ubuntu-104:~$ cd Downloads/fpc/ ted@ubuntu-104:~/Downloads/fpc$ sudo dpkg -i * Selecting previously deselected package fpc. (Reading database ... 441104 files and directories currently installed.) Unpacking fpc (from fpc_2.4.4-1_all.deb) ... Selecting previously deselected package fpc-2.4.4. Unpacking fpc-2.4.4 (from fpc-2.4.4_2.4.4-1_all.deb) ... Preparing to replace fp-compiler 2.4.4-1 (using fp- compiler_2.4.4-1_i386.deb) ... Unpacking replacement fp-compiler ... Preparing to replace fp-compiler-2.4.4 2.4.4-1 (using fp- compiler-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-compiler-2.4.4 ... Selecting previously deselected package fpc-source. Unpacking fpc-source (from fpc-source_2.4.4-1_all.deb) ... Selecting previously deselected package fpc-source-2.4.4. Unpacking fpc-source-2.4.4 (from fpc-source-2.4.4_2.4.4-1_all.deb) ... Preparing to replace fp-docs 2.4.4-1 (using fp-docs_2.4.4-1_all.deb) ... Unpacking replacement fp-docs ... Preparing to replace fp-docs-2.4.4 2.4.4-1 (using fp- docs-2.4.4_2.4.4-1_all.deb) ... Unpacking replacement fp-docs-2.4.4 ... Preparing to replace fp-ide 2.4.4-1 (using fp-ide_2.4.4-1_i386.deb) ... Unpacking replacement fp-ide ... Preparing to replace fp-ide-2.4.4 2.4.4-1 (using fp- ide-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-ide-2.4.4 ... Preparing to replace fp-units-base 2.4.4-1 (using fp-units- base_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-base ... Preparing to replace fp-units-base-2.4.4 2.4.4-1 (using fp-units- base-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-base-2.4.4 ... Preparing to replace fp-units-db 2.4.4-1 (using fp-units- db_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-db ... Preparing to replace fp-units-db-2.4.4 2.4.4-1 (using fp-units- db-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-db-2.4.4 ... Preparing to replace fp-units-fcl 2.4.4-1 (using fp-units- fcl_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-fcl ... Preparing to replace fp-units-fcl-2.4.4 2.4.4-1 (using fp-units- fcl-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-fcl-2.4.4 ... Preparing to replace fp-units-fv 2.4.4-1 (using fp-units- fv_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-fv ... Preparing to replace fp-units-fv-2.4.4 2.4.4-1 (using fp-units- fv-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-fv-2.4.4 ... Selecting previously deselected package fp-units-gfx. Unpacking fp-units-gfx (from fp-units-gfx_2.4.4-1_i386.deb) ... Selecting previously deselected package fp-units-gfx-2.4.4. Unpacking fp-units-gfx-2.4.4 (from fp-units- gfx-2.4.4_2.4.4-1_i386.deb) ... Preparing to replace fp-units-gnome1 2.4.4-1 (using fp-units- gnome1_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-gnome1 ... Preparing to replace fp-units-gnome1-2.4.4 2.4.4-1 (using fp-units- gnome1-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-gnome1-2.4.4 ... Preparing to replace fp-units-gtk2 2.4.4-1 (using fp-units- gtk2_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-gtk2 ... Preparing to replace fp-units-gtk2-2.4.4 2.4.4-1 (using fp-units- gtk2-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-gtk2-2.4.4 ... Preparing to replace fp-units-gtk 2.4.4-1 (using fp-units- gtk_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-gtk ... Preparing to replace fp-units-gtk-2.4.4 2.4.4-1 (using fp-units- gtk-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-gtk-2.4.4 ... Preparing to replace fp-units-i386 2.4.4-1 (using fp- units-i386_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-i386 ... Preparing to replace fp-units-i386-2.4.4 2.4.4-1 (using fp- units-i386-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-i386-2.4.4 ... Preparing to replace fp-units-math 2.4.4-1 (using fp-units- math_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-math ... Preparing to replace fp-units-math-2.4.4 2.4.4-1 (using fp-units- math-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-math-2.4.4 ... Preparing to replace fp-units-misc 2.4.4-1 (using fp-units- misc_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-misc ... Preparing to replace fp-units-misc-2.4.4 2.4.4-1 (using fp-units- misc-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-misc-2.4.4 ... Preparing to replace fp-units-multimedia 2.4.4-1 (using fp-units- multimedia_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-multimedia ... Preparing to replace fp-units-multimedia-2.4.4 2.4.4-1 (using fp- units-multimedia-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-multimedia-2.4.4 ... Preparing to replace fp-units-net 2.4.4-1 (using fp-units- net_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-net ... Preparing to replace fp-units-net-2.4.4 2.4.4-1 (using fp-units- net-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-net-2.4.4 ... Preparing to replace fp-units-rtl 2.4.4-1 (using fp-units- rtl_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-rtl ... Preparing to replace fp-units-rtl-2.4.4 2.4.4-1 (using fp-units- rtl-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-units-rtl-2.4.4 ... Preparing to replace fp-utils 2.4.4-1 (using fp- utils_2.4.4-1_i386.deb) ... Unpacking replacement fp-utils ... Preparing to replace fp-utils-2.4.4 2.4.4-1 (using fp- utils-2.4.4_2.4.4-1_i386.deb) ... Unpacking replacement fp-utils-2.4.4 ... Setting up fpc-source-2.4.4 (2.4.4-1) ... Setting up fp-docs-2.4.4 (2.4.4-1) ... dpkg: dependency problems prevent configuration of fp-units-gfx-2.4.4:  fp-units-gfx-2.4.4 depends on libsvga1-dev; however:   Package libsvga1-dev is not installed. dpkg: error processing fp-units-gfx-2.4.4 (--install):  dependency problems - leaving unconfigured Setting up fp-units-rtl-2.4.4 (2.4.4-1) ... Setting up fp-utils-2.4.4 (2.4.4-1) ... update-alternatives: using /usr/lib/fpc/2.4.4 to provide /usr/lib/fpc/default (fp-utils) in auto mode. dpkg: dependency problems prevent configuration of fpc-2.4.4:  fpc-2.4.4 depends on fp-units-gfx-2.4.4 (>= 2.4.4-1); however:   Package fp-units-gfx-2.4.4 is not configured yet. dpkg: error processing fpc-2.4.4 (--install):  dependency problems - leaving unconfigured Setting up fp-compiler-2.4.4 (2.4.4-1) ... update-alternatives: using /usr/bin/fpc-2.4.4 to provide /usr/bin/fpc (fpc) in auto mode. update-alternatives: using /usr/bin/fpc-2.4.4 to provide /usr/bin/pc (pc) in auto mode. update-alternatives: using /etc/fpc-2.4.4.cfg to provide /etc/fpc.cfg (fpc.cfg) in auto mode. Setting up fpc-source (2.4.4-1) ... Setting up fp-ide-2.4.4 (2.4.4-1) ... Setting up fp-units-base-2.4.4 (2.4.4-1) ... Setting up fp-units-db-2.4.4 (2.4.4-1) ... Setting up fp-units-fcl-2.4.4 (2.4.4-1) ... Setting up fp-units-fv-2.4.4 (2.4.4-1) ... dpkg: dependency problems prevent configuration of fp-units-gfx:  fp-units-gfx depends on fp-units-gfx-2.4.4 (= 2.4.4-1); however:   Package fp-units-gfx-2.4.4 is not configured yet. dpkg: error processing fp-units-gfx (--install):  dependency problems - leaving unconfigured Setting up fp-units-gtk2-2.4.4 (2.4.4-1) ... Setting up fp-units-gtk-2.4.4 (2.4.4-1) ... Setting up fp-units-i386-2.4.4 (2.4.4-1) ... Setting up fp-units-math-2.4.4 (2.4.4-1) ... Setting up fp-units-misc-2.4.4 (2.4.4-1) ... Setting up fp-units-multimedia-2.4.4 (2.4.4-1) ... Setting up fp-units-net-2.4.4 (2.4.4-1) ... Setting up fp-units-rtl (2.4.4-1) ... dpkg: dependency problems prevent configuration of fpc:  fpc depends on fpc-2.4.4 (= 2.4.4-1); however:   Package fpc-2.4.4 is not configured yet. dpkg: error processing fpc (--install):  dependency problems - leaving unconfigured Setting up fp-units-base (2.4.4-1) ... Setting up fp-units-db (2.4.4-1) ... Setting up fp-units-fcl (2.4.4-1) ... Setting up fp-units-fv (2.4.4-1) ... Setting up fp-units-gnome1-2.4.4 (2.4.4-1) ... Setting up fp-units-gtk2 (2.4.4-1) ... Setting up fp-units-gtk (2.4.4-1) ... Setting up fp-units-i386 (2.4.4-1) ... Setting up fp-units-math (2.4.4-1) ... Setting up fp-units-misc (2.4.4-1) ... Setting up fp-units-multimedia (2.4.4-1) ... Setting up fp-units-net (2.4.4-1) ... Setting up fp-units-gnome1 (2.4.4-1) ... Processing triggers for man-db ... Setting up fp-ide (2.4.4-1) ... Setting up fp-utils (2.4.4-1) ... Processing triggers for doc-base ... Processing 2 changed doc-base file(s)... Registering documents with scrollkeeper... Setting up fp-compiler (2.4.4-1) ... Setting up fp-docs (2.4.4-1) ... Errors were encountered while processing:  fp-units-gfx-2.4.4  fpc-2.4.4  fp-units-gfx  fpc Note the error warnings at the bottom of the list. Then the Lazarus debs... Code: [Select]ted@ubuntu-104:~/Downloads$ cd lazarus/ ted@ubuntu-104:~/Downloads/lazarus$ sudo dpkg -i * Selecting previously deselected package lazarus. (Reading database ... 447874 files and directories currently installed.) Unpacking lazarus (from lazarus_0.9.31-0~20110912_all.deb) ... Selecting previously deselected package lazarus-0.9.31. Unpacking lazarus-0.9.31 (from lazarus-0.9.31_0.9.31-0~20110912_all.deb) ... Selecting previously deselected package lazarus-doc. Unpacking lazarus-doc (from lazarus-doc_0.9.31-0~20110912_all.deb) ... Selecting previously deselected package lazarus-doc-0.9.31. Unpacking lazarus-doc-0.9.31 (from lazarus- doc-0.9.31_0.9.31-0~20110912_all.deb) ... Selecting previously deselected package lazarus-ide. Unpacking lazarus-ide (from lazarus-ide_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lazarus-ide-0.9.31. Unpacking lazarus-ide-0.9.31 (from lazarus- ide-0.9.31_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lazarus-ide-gtk2. Unpacking lazarus-ide-gtk2 (from lazarus-ide- gtk2_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lazarus-ide-gtk2-0.9.31. Unpacking lazarus-ide-gtk2-0.9.31 (from lazarus-ide- gtk2-0.9.31_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lazarus-ide-qt4. Unpacking lazarus-ide-qt4 (from lazarus-ide- qt4_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lazarus-ide-qt4-0.9.31. Unpacking lazarus-ide-qt4-0.9.31 (from lazarus-ide- qt4-0.9.31_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lazarus-src. Unpacking lazarus-src (from lazarus-src_0.9.31-0~20110912_all.deb) ... Selecting previously deselected package lazarus-src-0.9.31. Unpacking lazarus-src-0.9.31 (from lazarus- src-0.9.31_0.9.31-0~20110912_all.deb) ... Selecting previously deselected package lcl. Unpacking lcl (from lcl_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-0.9.31. Unpacking lcl-0.9.31 (from lcl-0.9.31_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-gtk2. Unpacking lcl-gtk2 (from lcl-gtk2_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-gtk2-0.9.31. Unpacking lcl-gtk2-0.9.31 (from lcl- gtk2-0.9.31_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-nogui. Unpacking lcl-nogui (from lcl-nogui_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-nogui-0.9.31. Unpacking lcl-nogui-0.9.31 (from lcl- nogui-0.9.31_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-qt4. Unpacking lcl-qt4 (from lcl-qt4_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-qt4-0.9.31. Unpacking lcl-qt4-0.9.31 (from lcl- qt4-0.9.31_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-units. Unpacking lcl-units (from lcl-units_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-units-0.9.31. Unpacking lcl-units-0.9.31 (from lcl- units-0.9.31_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-utils. Unpacking lcl-utils (from lcl-utils_0.9.31-0~20110912_i386.deb) ... Selecting previously deselected package lcl-utils-0.9.31. Unpacking lcl-utils-0.9.31 (from lcl- utils-0.9.31_0.9.31-0~20110912_i386.deb) ... Setting up lazarus-doc-0.9.31 (0.9.31-0~20110912) ... dpkg: dependency problems prevent configuration of lazarus-ide-0.9.31:  lazarus-ide-0.9.31 depends on libgdk-pixbuf2.0-0 (>= 2.22.0); however:   Package libgdk-pixbuf2.0-0 is not installed.  lazarus-ide-0.9.31 depends on libgtk2.0-0 (>= 2.24.0); however:   Version of libgtk2.0-0 on system is 2.20.1-0ubuntu2. dpkg: error processing lazarus-ide-0.9.31 (--install):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of lazarus-ide- gtk2-0.9.31:  lazarus-ide-gtk2-0.9.31 depends on libgdk-pixbuf2.0-0 (>= 2.22.0); however:   Package libgdk-pixbuf2.0-0 is not installed.  lazarus-ide-gtk2-0.9.31 depends on libgtk2.0-0 (>= 2.24.0); however:   Version of libgtk2.0-0 on system is 2.20.1-0ubuntu2.  lazarus-ide-gtk2-0.9.31 depends on lazarus-ide-0.9.31; however:   Package lazarus-ide-0.9.31 is not configured yet. dpkg: error processing lazarus-ide-gtk2-0.9.31 (--install):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of lazarus-ide- qt4-0.9.31:  lazarus-ide-qt4-0.9.31 depends on lazarus-ide-0.9.31; however:   Package lazarus-ide-0.9.31 is not configured yet.  lazarus-ide-qt4-0.9.31 depends on lazarus-ide-gtk-0.9.31; however:   Package lazarus-ide-gtk-0.9.31 is not installed.   Package lazarus-ide-gtk2-0.9.31 which provides lazarus-ide- gtk-0.9.31 is not configured yet. dpkg: error processing lazarus-ide-qt4-0.9.31 (--install):  dependency problems - leaving unconfigured Setting up lazarus-src-0.9.31 (0.9.31-0~20110912) ... Setting up lcl-gtk2-0.9.31 (0.9.31-0~20110912) ... Setting up lcl-nogui-0.9.31 (0.9.31-0~20110912) ... dpkg: dependency problems prevent configuration of lcl-qt4-0.9.31:  lcl-qt4-0.9.31 depends on libqt4pas-dev; however:   Package libqt4pas-dev is not installed. dpkg: error processing lcl-qt4-0.9.31 (--install):  dependency problems - leaving unconfigured Setting up lcl-units-0.9.31 (0.9.31-0~20110912) ... Setting up lcl-utils-0.9.31 (0.9.31-0~20110912) ... update-alternatives: using /usr/lib/lazarus/0.9.31 to provide /usr/lib/lazarus/default (lazarus) in auto mode. dpkg: dependency problems prevent configuration of lazarus-0.9.31:  lazarus-0.9.31 depends on lazarus-ide-0.9.31 (>= 0.9.31-0~20110912); however:   Package lazarus-ide-0.9.31 is not configured yet. dpkg: error processing lazarus-0.9.31 (--install):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of lazarus-ide:  lazarus-ide depends on lazarus-ide-0.9.31 (= 0.9.31-0~20110912); however:   Package lazarus-ide-0.9.31 is not configured yet. dpkg: error processing lazarus-ide (--install):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of lazarus-ide-gtk2:  lazarus-ide-gtk2 depends on lazarus-ide-gtk2-0.9.31 (= 0.9.31-0~20110912); however:   Package lazarus-ide-gtk2-0.9.31 is not configured yet. dpkg: error processing lazarus-ide-gtk2 (--install):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of lazarus-ide-qt4:  lazarus-ide-qt4 depends on lazarus-ide-qt4-0.9.31 (= 0.9.31-0~20110912); however:   Package lazarus-ide-qt4-0.9.31 is not configured yet. dpkg: error processing lazarus-ide-qt4 (--install):  dependency problems - leaving unconfigured Setting up lazarus-src (0.9.31-0~20110912) ... Setting up lcl-gtk2 (0.9.31-0~20110912) ... Setting up lcl-nogui (0.9.31-0~20110912) ... dpkg: dependency problems prevent configuration of lcl-qt4:  lcl-qt4 depends on lcl-qt4-0.9.31 (= 0.9.31-0~20110912); however:   Package lcl-qt4-0.9.31 is not configured yet. dpkg: error processing lcl-qt4 (--install):  dependency problems - leaving unconfigured Setting up lcl-units (0.9.31-0~20110912) ... dpkg: dependency problems prevent configuration of lazarus:  lazarus depends on lazarus-0.9.31 (= 0.9.31-0~20110912); however:   Package lazarus-0.9.31 is not configured yet. dpkg: error processing lazarus (--install):  dependency problems - leaving unconfigured Processing triggers for doc-base ... Processing 1 added doc-base file(s)... Registering documents with scrollkeeper... Setting up lazarus-doc (0.9.31-0~20110912) ... Processing triggers for man-db ... Setting up lcl-utils (0.9.31-0~20110912) ... Setting up lcl-0.9.31 (0.9.31-0~20110912) ... Setting up lcl (0.9.31-0~20110912) ... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_GB.utf8.cache... Processing triggers for python-support ... Errors were encountered while processing:  lazarus-ide-0.9.31  lazarus-ide-gtk2-0.9.31  lazarus-ide-qt4-0.9.31  lcl-qt4-0.9.31  lazarus-0.9.31  lazarus-ide  lazarus-ide-gtk2  lazarus-ide-qt4  lcl-qt4  lazarus Note the error warnings at the bottom of the list here too. If I try to install the deb one at a time I get : "Error: Dependency is not satisfiable: lazarus-ide-0.9.31 (= 0.9.31-0~20110912)", for example. How can I fix this so I can use the latest unstable snapshot? The answer may help the original poster with his query. ---------------------------------------------------------------------- dkjMusic · 2011-09-12 21:19 Aaaaah, I remember it well: when I was on Ubuntu 10.10 before I returned to Windows 7 (I know...boo, hiss!).  I finally started getting my Lazarus and FPC installed via CodeTyphon (http://www.pilotlogic.com/sitejoom/). It always seems they have the latest and greatest(?) versions of both. I installed v. 1.8 a couple of months ago and got Lazarus 0.9.31 with FPC 2.5.1. They are now up to v. 2.10. ---------------------------------------------------------------------- Rails · 2011-09-12 22:12 Quote from: tedsmith on September 12, 2011, 11:03:33 pmHow can I fix this so I can use the latest unstable snapshot? The answer may help the original poster with his query. You could always try the Lazarus 9.30 packages from the Debian unstable repository. http://packages.debian.org/unstable/devel/lazarus ---------------------------------------------------------------------- braximo · 2011-09-13 02:12 There is a forum thread for this. I bumped to this topic back then. But, the solution given is that you must download the packages and install them manually. But No need to worry cause there are instructions that comes with it. ---------------------------------------------------------------------- Gizmo · 2011-09-13 13:08 Braximo Using the deb from http://packages.debian.org/sid/all/lazarus/download, I got a similar error when installing : Error: Dependency is not satisfiable: lazarus-0.9.30 (= 0.9.30-3) :-( EDIT - To the original poster : At http://wiki.lazarus.freepascal.org/Installing_Lazarus#FPC_Sources there is a section titled 'Installing Lazarus under Linux - Ubuntu 11.04 or later' just over half way down the page. There's a a few lines of code that guide you to downloading and running a script that automatically removes legacy versions, downloads and installs the very latest bleeding edge version as source code from svn and it compiles and installs it all for you in your home directory (~/lazarus). If you then navigate to the lazarus dir in your home folder and launch the 'startlazarus' GUI, it works a treat! Mine worked perfectly on my system, despite using Ubuntu 10.04 and I now have Lazarus 0.9.31 with FPC 2.5.1. The only thing I had to change was redirect the config GUI (that runs at startup) to point to /home/ted/lazarus rather than '/usr/bin/lazarus/0.9.30' which is selected by default and I am missing my startup icons in Applications --> Programming, but I can add those manually. Ta ---------------------------------------------------------------------- braximo · 2011-09-14 00:44 Hmmm... Those instructions worked for me when I was also having troubles installing Lazarus/FPC on my 10.04  on my PC for the first time. But anyway, I am also curious on how will this problem be solved... As for future references... ---------------------------------------------------------------------- HappyLarry · 2011-09-15 20:48 Hi I have installed Free Pascal.2.4.2  on Lucid. I have tried to install Lazarus 0.9.30 with  sudo dpkg -i * but I get several dependency errors for libqt4pas5. I then downloaded and  installed the files  needed for that but got more dependency errors including for libqtwebkit4. I tried installing this but got still more errors. I ran update manager before I tried all this so  assume my system is up to date.  Is there an easy way to do this - and why doesn't everyone get these errors? Help! Here is the output: dpkg: dependency problems prevent configuration of libqt4pas5:  libqt4pas5 depends on libqtcore4 (>= 4:4.7.0~beta2); however:   Version of libqtcore4 on system is 4:4.6.2-0ubuntu5.2. dpkg: error processing libqt4pas5 (--install):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libqtwebkit4:  libqtwebkit4 depends on libphonon4 (>= 4:4.6.0); however:   Package libphonon4 is not installed.  libqtwebkit4 depends on libqt4-network (>= 4:4.7.0~beta1); however:   Version of libqt4-network on system is 4:4.6.2-0ubuntu5.2.  libqtwebkit4 depends on libqtcore4 (>= 4:4.7.0~beta1); however:   Version of libqtcore4 on system is 4:4.6.2-0ubuntu5.2.  libqtwebkit4 depends on libqtgui4 (>= 4:4.7.0~beta2); however:   Version of libqtgui4 on system is 4:4.6.2-0ubuntu5.2.  libqtwebkit4 depends on libsqlite3-0 (>= 3.7.2); however:   Version of libsqlite3-0 on system is 3.6.22-1.  libqtwebkit4 depends on phonon; however:   Package phonon is not installed. dpkg: error processing libqtwebkit4 (--install):  dependency problems - leaving unconfigured Errors were encountered while processing:  libqt4pas5  libqtwebkit4 ---------------------------------------------------------------------- Blaazen · 2011-09-15 21:17 @HappyLarry I assume you use Lucid because it is LTS version. Many Qt related problems, it seems you have Kubuntu. Why do you use fpc 2.4.2 ? It is version from repositories ? You can download and install newer 2.4.4. Your version of libQt4pas is also from repositories ? Solution can be to use older version of libQt4pas or newer version of Qt. ---------------------------------------------------------------------- HappyLarry · 2011-09-15 21:53 @Blaazen Thanks for your reply. I use Lucid because it is LTS (but not Kubuntu). I assume that it is possible to install Lazarus 0.9.30 on Lucid. The version in the repositories is 0.9.28 but I need version 30. The Free Pascal version in the Lucid repository is 2.2  which is no good. I tried installing 2.4.4 but I had to use the installation script that comes with it because there is no .deb version of Free Pascal  2.4.4 ~(as far as I know). The script did not  work properly because when I looked in Synaptic, FP 2.4.4. wasn't installed. I ran the script as sudo and just used the defaults. I don't know how else to install it. When I then tried to install Lazarus 0.9.30 on top, the system kept complaining that fpc units were not installed. Perhaps I need to do something after running the 2.4.4 script but there is no information in the folder, just the script. I installed FP 2.4.2 from a link in this thread because it was a .deb file and could be installed with dpkg. I think it installed ok. I think that FP 2.4.2 is a good enough version to install Lazarus 0.9.30 on. There is no  libqt4pas5 in the Lucid repository so I looked around on the Internet and downloaded it from an Ubuntu site - not the Lucid repository obviously - a newer one.. I installed it with dpkg. I have a fresh installation of Lucid. I don't know how to get a newer version of Qt. All help gratefully received. ---------------------------------------------------------------------- Blaazen · 2011-09-15 22:00 And why do you install Qt version of Lazarus, when you don't use Qt based distro ? Try GTK2 version of Lazazus, you will have less problems. ---------------------------------------------------------------------- HappyLarry · 2011-09-15 22:19 Aha! I didn't know I was using a Qt version of Lazarus!  I downloaded it from a link in the Lazarus wiki to Sourceforge - it is called lazarus-0.9.30-i386.deb.tar. (71MB). All I did was create a new folder, put it in,  double-click on it to extract the ,debs and run dpkg -i  * .  There are various packages in the folder such as lazarus-ide-gtk2-0.9.30_0.9.30-0_all and lazarus-ide-qt4-0.9.30_0.9.30-0_all but I thought you just installed everything. I'm sure that there are posts on this forum saying to do that. I use Ubuntu Lucid Lynx with a Gnome interface. Where should I get the Lazarus download from? Thanks for your help. ---------------------------------------------------------------------- Blaazen · 2011-09-15 22:25 It seems you already have it. I think "lazarus-ide- gtk2-0.9.30_0.9.30-0_all" is what you need. Try Code: [Select]dpkg -i lazarus-ide-gtk2-0.9.30_0.9.30-0_all.deb and you will see. ---------------------------------------------------------------------- HappyLarry · 2011-09-15 22:45 I tried it but.... sudo dpkg -i lazarus-ide-gtk2-0.9.30_0.9.30-0_all.deb dpkg: error processing lazarus-ide-gtk2-0.9.30_0.9.30-0_all.deb (--install):  cannot access archive: No such file or directory Errors were encountered while processing:  lazarus-ide-gtk2-0.9.30_0.9.30-0_all.deb Sorry! This is my mistake. I  misread the original file. It is lazarus-ide-gtk2-0.9.30_0.9.30-0_i386.deb Therefore I also tried ... sudo dpkg -i lazarus-ide-gtk2-0.9.30_0.9.30-0_i386.deb (Reading database ... 197050 files and directories currently installed.) Preparing to replace lazarus-ide-gtk2-0.9.30 0.9.30-0 (using lazarus- ide-gtk2-0.9.30_0.9.30-0_i386.deb) ... Unpacking replacement lazarus-ide-gtk2-0.9.30 ... Setting up lazarus-ide-gtk2-0.9.30 (0.9.30-0) ... update-alternatives: using /usr/lib/lazarus/0.9.30/lazarus-gtk2 to provide /usr/lib/lazarus/0.9.30/lazarus (lazarus-0.9.30) in auto mode. I don't understand this. Should I try Lazarus now? ---------------------------------------------------------------------- Blaazen · 2011-09-15 22:53 Sorry for confusion in my previous post, it was name of folder and not a filename. This output: Code: [Select]sudo dpkg -i lazarus-ide-gtk2-0.9.30_0.9.30-0_i386.deb (Reading database ... 197050 files and directories currently installed.) Preparing to replace lazarus-ide-gtk2-0.9.30 0.9.30-0 (using lazarus- ide-gtk2-0.9.30_0.9.30-0_i386.deb) ... Unpacking replacement lazarus-ide-gtk2-0.9.30 ... Setting up lazarus-ide-gtk2-0.9.30 (0.9.30-0) ... update-alternatives: using /usr/lib/lazarus/0.9.30/lazarus-gtk2 to provide /usr/lib/lazarus/0.9.30/lazarus (lazarus-0.9.30) in auto mode. seems that Laz. is installed. ---------------------------------------------------------------------- HappyLarry · 2011-09-15 23:05 I created a simple application with 1 button which changed the caption of a label. I got an error when I clicked the button. Error message = Can't find unit contnrs used by Masks This may be an unrelated error, although I have never seen one like it before. Is there any way of testing whether Lazarus is correctly installed? ---------------------------------------------------------------------- Blaazen · 2011-09-15 23:24 I am not sure what's wrong. Try to follow FAQ, section "Can't find unit XXX": http://wiki.lazarus.freepascal.org/Lazarus_Faq#When_compiling_lazarus_ the_compiler_can_not_find_a_unit._e.g.:_gtkint.pp.2817.2C16.29_Fatal:_ Can.27t_find_unit_GLIB ---------------------------------------------------------------------- HappyLarry · 2011-09-16 16:00 This doesn't seem right. There must be an easier way.  Is it easier to use the Lazarus Ubuntu repository to download Lazarus 0.9.30? ---------------------------------------------------------------------- GeoffreyBernardo · 2011-10-15 13:55 I am also on Ubuntu 10.04 because it is the LTS and because my computer is old. I uninstalled the old FPC and old Lazarus, then installed new FPC from debian packages on Lazarus Sourceforge, then installed all the 0.9.30 lcl packages as well as 0.9.30 lazarus-doc and lazarus-src packages successfully. When I tried to install lazarus-ide-gtk2-0.9.30, GDebi said it depends on lazarus-ide-0.9.30. When I tried to install lazarus-ide-0.9.30, it said it depends on lazarus-ide-gtk-0.9.30. But lazarus-ide-gtk-0.9.30 is not in the download. ---------------------------------------------------------------------- HappyLarry · 2011-10-16 20:29 Hi I eventually got Lazarus 0.9.30 working on Lucid. I made a lot of mistakes on the way as you can read on the thread - http://forum.lazarus.freepascal.org/index.php/topic,14672.0.html. I'm not sure I ever had exactly the problem you have but it might help.