[Lazarus] Screwed up Lazarus installation - how to make clean and start over?

Bo Berglund bo.berglund at gmail.com
Wed Feb 22 21:15:00 CET 2023

On Wed, 22 Feb 2023 18:05:25 +0100, Ondrej Pokorny via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>On 22.02.2023 18:01, Bo Berglund via lazarus wrote:
>> So now I have found a package in OnLinePackageManager that will hose Lazarus if
>> installed:
>>   BGRABitmap
>> Up until installing that I was fine, but now Lazarus won't start....
>> The Initial image is shown for 3 seconds and then disappears.
>> Then nothing...
>> What can I do to get into Lazarus and remove the BGRABitmap?
>> Or is there somewhere a file or such I can edit and then rebuild the IDE from
>> the command line?
>> This is on Linux (Raspberry Pi  OS).
>Usually there is an "old" Lazarus executable (lazarus.old) next to the 
>Lazarus executable. I usually switch to that if something is wrong with 
>the new one. A problem arises if the old exe doesn't work either because 
>it has been overwritten etc. Try it, that might be the quickest help.

Thanks Ondrej!
I had no idea such a 1-level backup existed!

Now running that older version but with a partially installed package...
bglcontrols.lpk is not installed but bgrabitmappack.lpk is. So the whole thing
is partially installed.

How can I *remove it totally* such that it is not existing at all in my system?
I don't want this component to reinstall when I add another package and rebuild

I did the same OLPM install on a Linux Mint (PC platform) and there the whole
package was installed just fine. No crash on that CPU.

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list