Updating lazarus / 1-Linux ---------------------------------------------------------------------- Balf · 2011-03-31 16:35 I can't believe I can't find the answer!  I have downloaded the update  to 0.9.30 and have some files.  Now what do I do? Stupid in France! ---------------------------------------------------------------------- TurboRascal · 2011-03-31 19:56 You should be a bit more specific... What distro, which filenames? ---------------------------------------------------------------------- Balf · 2011-03-31 21:27 http://sourceforge.net/projects/lazarus/files/ Looking for the latest version? Download lazarus-0.9.30-i386.deb.tar (71.1 MB) ---------------------------------------------------------------------- TurboRascal · 2011-04-01 20:12 I'm not sure what is in the tar archives, I suppose it is a collection of several required debs. So, you should unpack the tar archive first (this is the commandline version): tar vfx lazarus-0.9.30-i386.deb.tar That should get you all the installation debs in the curent dir, you need to install the file which has "lazarus-ide" or something like that in the filename, using the command: sudo dpkg -i .deb Other required packages should get installed automatically if they are present in the current dir or by apt. I think you should also download the fpc tar in the mentioned sourceforge download area, since it is also needed for lazarus. The GUI way of doing the same would consist of opening tar archives in the designated GUI archiver from the file manager, then extracting them somewhere, and open unpacked .deb files by the gkdebi program (if installed), or the Software Center (in Ubuntu 10.10), and then install. Now that we've covered that, why installing debs maually when you can get everything automatically using the apt repository? ---------------------------------------------------------------------- Balf · 2011-04-01 21:09 Thanks for your detailed reply. "Now that we've covered that, why installing debs maually when you can get everything automatically using the apt repository?" I didn't choose to install manually I just followed the link in the news post. How can I get it automatically? I've never heard of the apt repository.  Sorry to be so dense! ---------------------------------------------------------------------- TurboRascal · 2011-04-01 22:34 No problem. Here come the step-by-step instructions: Use the Ubuntu menus and start System/Administration/Software Sources On the second tab, "Other Software", click the Add button; as the apt line enter: http://www.hu.freepascal.org/lazarus/ lazarus-stable universe Then close that window and install Lazarus as you normally install software - using either Software Center, Synaptic or apt-get. ---------------------------------------------------------------------- Balf · 2011-04-04 10:18 Thanks.  Almost there I think! But I get this error:- W: GPG error: http://www.hu.freepascal.org lazarus-stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 670C48C26A11800F After the packages are downloaded. ---------------------------------------------------------------------- Balf · 2011-04-05 08:31 gpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 6A11800F  gpg --export 6A11800F | sudo apt-key add - I was told to do this in the Ubuntu forum and it solved the problem. Thanks, Peter ---------------------------------------------------------------------- Zoran · 2011-04-05 18:23 Quote from: Balf on April 05, 2011, 10:31:07 amgpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 6A11800F  gpg --export 6A11800F | sudo apt-key add - I was told to do this in the Ubuntu forum and it solved the problem. Thanks, Peter The easiest way for Ubuntu is described here: Lazarus release version for Ubuntu: Short version ---------------------------------------------------------------------- macmike · 2011-05-16 12:10 Quote from: TurboRascal on April 02, 2011, 12:34:18 amNo problem. Here come the step-by-step instructions: Use the Ubuntu menus and start System/Administration/Software Sources On the second tab, "Other Software", click the Add button; as the apt line enter: http://www.hu.freepascal.org/lazarus/ lazarus-stable universe Then close that window and install Lazarus as you normally install software - using either Software Center, Synaptic or apt-get. I just did this (after adding the keys mentioned) but I don't think it worked. During an apt-get update I saw the following: QuoteW: Failed to fetch http://www.hu.freepascal.org/lazarus/dists/lazarus-stable/Release  Unable to find expected entry 'universe/source/Sources' in Release file (Wrong sources.list entry or malformed file) And after it was all done I've got lazarus 0.9.28 instead of 0.9.30 ---------------------------------------------------------------------- Blaazen · 2011-05-16 12:19 AFAIK the entry in /etc/apt/sources.list must be like this: Code: [Select]deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universebut the "deb " is probably added automaticly when you add this source using graphic configurator. If error says "Wrong sources.list entry or malformed file" then check the file, maybe problem is there. ---------------------------------------------------------------------- macmike · 2011-05-16 12:49 Quote from: Blaazen on May 16, 2011, 02:19:59 pmAFAIK the entry in /etc/apt/sources.list must be like this: Code: [Select]deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universebut the "deb " is probably added automaticly when you add this source using graphic configurator. If error says "Wrong sources.list entry or malformed file" then check the file, maybe problem is there. Yes, you do need the "deb " at the front. I had a look a the file, can't see anything wrong but I don't really know what I'm looking at ---------------------------------------------------------------------- Blaazen · 2011-05-16 13:14 Now, I rebooted to Kubuntu, added the line to sources.list (if it is on the last line then add one empty line after it). I saved it and started KPackageKit. Searching for Lazarus, it found 0.9.28 version (it is from Ubuntu repositories). I disabled and immediately enabled Code: [Select]http://www.hu.freepascal.org/lazarus/ lazarus-stable universeusing checkbox - to refresh the list of available packages. Searching for Lazarus again, it found 0.9.28 version (it is from Ubuntu repositories) and versions 0.9.30 - GTK2 and 0.9.30 - Qt from new lazarus repository. So it needed only one little trick and works.