Recent

Author Topic: [SOLVED] Problem on Linux - Warning : wrong version in ide/version.inc: 1.6.4  (Read 4160 times)

Gizmo

  • Hero Member
  • *****
  • Posts: 831
Just tried to upgrade Lazarus 1.6.2 x64 to 1.6.4 x64 on Linux Mint 17 LTS, 64-bit.

Installation seems to go OK but on launch I briefly get the splashscreen with the cheetah and it says "1.6.4" at the bottom and then I get the usual new installation screen but it says "Welcome to Lazarus 1.6.2". Then there is a red exclamation mark in the left next to "Lazarus" and the messages is "Warning : wrong version in ide/version.inc: 1.6.4" and the selected path in the field above is "/usr/share/lazarus/1.6.4"

So I tried uninstalling everything using

> sudo dpkg --remove packagenames

and tried re-installing fpc, fpc-src and lazarus-project. Same problem. If I click OK to the "Start IDE" button I get a warning that I'll see lots of error, and I indeed do so!

Is it just me or is there a trick or something to get past the problem? 
« Last Edit: May 26, 2017, 04:52:00 pm by Gizmo »

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
You may need to manually do the cleaning up:

- Delete ~/.lazarus, except: editoroptions, environmentoption
- Delete /etc/fp.*
- Delete /usr/share/fpcsrc
- Delete /usr/lib/fpc
- Delete /usr/bin/ppc*

After manually delete those files, restart your computer.

Note:
I keep editoroptions and environmentoption because I want to keep the settings I have made on Lazarus. You should delete them if you really want to remove those settings.

Gizmo

  • Hero Member
  • *****
  • Posts: 831
Perfect! That worked. Thanks!

 

TinyPortal © 2005-2018