Recent

Author Topic: Updating  (Read 10354 times)

Balf

  • New Member
  • *
  • Posts: 19
Updating
« on: March 31, 2011, 06:35:13 pm »
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!
new to Ubuntu 10 but learning

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Updating
« Reply #1 on: March 31, 2011, 09:56:10 pm »
You should be a bit more specific...

What distro, which filenames?
« Last Edit: March 31, 2011, 09:58:41 pm by TurboRascal »
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

Balf

  • New Member
  • *
  • Posts: 19
Re: Updating
« Reply #2 on: March 31, 2011, 11:27:34 pm »
http://sourceforge.net/projects/lazarus/files/

Looking for the latest version? Download lazarus-0.9.30-i386.deb.tar (71.1 MB)
new to Ubuntu 10 but learning

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Updating
« Reply #3 on: April 01, 2011, 10:12:04 pm »
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 <filename>.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?
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

Balf

  • New Member
  • *
  • Posts: 19
Re: Updating
« Reply #4 on: April 01, 2011, 11:09:47 pm »
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!
new to Ubuntu 10 but learning

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Updating
« Reply #5 on: April 02, 2011, 12:34:18 am »
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.
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

Balf

  • New Member
  • *
  • Posts: 19
Re: Updating
« Reply #6 on: April 04, 2011, 12:18:53 pm »
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.
new to Ubuntu 10 but learning

Balf

  • New Member
  • *
  • Posts: 19
Re: Updating
« Reply #7 on: April 05, 2011, 10:31:07 am »
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
new to Ubuntu 10 but learning

Zoran

  • Hero Member
  • *****
  • Posts: 1605
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Updating
« Reply #8 on: April 05, 2011, 08:23:16 pm »
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

The easiest way for Ubuntu is described here:
Lazarus release version for Ubuntu: Short version

macmike

  • Jr. Member
  • **
  • Posts: 86
    • Soft-Practice
Re: Updating
« Reply #9 on: May 16, 2011, 02:10:03 pm »
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.

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:

Quote
W: 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

  • Hero Member
  • *****
  • Posts: 2994
  • POKE 54296,15
    • Eye-Candy Controls
Re: Updating
« Reply #10 on: May 16, 2011, 02:19:59 pm »
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.
Lazarus 2.1.0 r64115 FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

macmike

  • Jr. Member
  • **
  • Posts: 86
    • Soft-Practice
Re: Updating
« Reply #11 on: May 16, 2011, 02:49:33 pm »
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.

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

  • Hero Member
  • *****
  • Posts: 2994
  • POKE 54296,15
    • Eye-Candy Controls
Re: Updating
« Reply #12 on: May 16, 2011, 03:14:20 pm »
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. :)
Lazarus 2.1.0 r64115 FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

 

TinyPortal © 2005-2018