Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-04

config problem - deleted pkg source

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Santhoff

Hi,

I've tested a package by installing it into lazarus. I forgot about that and deleted the pkg source. Now, when starting lazarus, a warning is shown saying sth. like:

"The package is installed but no .lpk file was found. A dummy package was created."

OK, after skipping those warnings I tried to deinstall the package using lazarus' dialog (Package - > Install/Uninstall packages), but when selecting the package in question and hitting the "Uninstall" button there is another warning:

"The package can not be uninstalled, because it is needed by the IDE itself."

How can I fix this problem without having to restore the package deleted?

TIA,
Marc

Marc Santhoff

Reply by email

Mattias Gaertner
to Marc Santhoff

Marc Santhoff hat am 30. April 2011 um 00:45 geschrieben:

Show quoted text 16 lines
Hi, I've tested a package by installing it into lazarus. I forgot about that and deleted the pkg source. Now, when starting lazarus, a warning is shown saying sth. like: "The package is installed but no .lpk file was found. A dummy package was created." OK, after skipping those warnings I tried to deinstall the package using lazarus' dialog (Package - > Install/Uninstall packages), but when selecting the package in question and hitting the "Uninstall" button there is another warning: "The package can not be uninstalled, because it is needed by the IDE itself."?

This warning comes for LCL, codetools, synedit, lazcontrols and IDEIntf. You can not uninstall them.
Otherwise you found a bug.
?

How can I fix this problem without having to restore the package deleted??

Start a default build Lazarus, e.g. built via a make clean all - this does not change your list of install packages. Then build the IDE. ?
Mattias
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110430/2cf065cb/attachment-0001.html>

Reply by email

Hans-Peter Diettrich
to Mattias Gaertner
Show quoted text 10 lines
> "The package is installed but no .lpk file was found. A dummy package > was created." > > OK, after skipping those warnings I tried to deinstall the package using > lazarus' dialog (Package - > Install/Uninstall packages), but when > selecting the package in question and hitting the "Uninstall" button > there is another warning: > > "The package can not be uninstalled, because it is needed by the IDE > itself."

I can confirm this unpleasant behaviour. It also occurs when a package doesn't compile due to errors.

This warning comes for LCL, codetools, synedit, lazcontrols and IDEIntf. You can not uninstall them. Otherwise you found a bug.

The problem may be the dummy package, that refuses to uninstall.

DoDi

Reply by email

Marc Santhoff
to Mattias Gaertner: Marc Santhoff hat am 30. April 2011 um 00:45 geschrieben: This warning comes for LCL,…
Mattias Gaertner wrote 8 lines
Marc Santhoff hat am 30. April 2011 um 00:45 geschrieben: > How can I fix this problem without having to restore the package > deleted? Start a default build Lazarus, e.g. built via a make clean all - this does not change your list of install packages. Then build the IDE.

That did the trick, many thanks.

Marc

Marc Santhoff

Reply by email