The officially official Devuan Forum!

You are not logged in.

#1 2024-11-20 11:16:50

pequi
Member
Registered: 2020-10-01
Posts: 6  

Lazarus weird after update

Updated Lazarus though synaptic from v 3.0 to v 3.6. Said it was upgrading. When it was done I removed Lazarus 3.0(usually done automatically, but I had to do it manually).
Lazarus 3.6 is working perfectly.

The problem is I keep getting nagged to remove Lazarus:

apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  lazarus-ide lazarus-ide-3.6 lazarus-ide-gtk2-3.6 lazarus-src-3.6 lcl-3.6
  lcl-gtk2-3.6 lcl-nogui-3.6 lcl-units-3.6 lcl-utils-3.6
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

"no longer required"? What's this , AI deciding what I do or don't require? LOL
Seriously, how do I get rid of that message? I've tried uninstalling and re-installing, message is the same.
PS I don't want to lose Lazarus configuration files.
TIA

Offline

#2 2024-11-20 15:33:24

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 206  

Re: Lazarus weird after update


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#3 2024-11-21 10:11:29

pequi
Member
Registered: 2020-10-01
Posts: 6  

Re: Lazarus weird after update

Something wrong with the package

apt remove --purge --autoremove lazarus-ide
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  lazarus-ide* lazarus-ide-3.6* lazarus-ide-gtk2-3.6* lazarus-src-3.6*
  lcl-3.6* lcl-gtk2-3.6* lcl-nogui-3.6* lcl-units-3.6* lcl-utils-3.6*
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
After this operation, 710 MB disk space will be freed.
Do you want to continue? [Y/n] y

apt-get install lazarus-ide
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  lazarus-ide-2.2 lazarus-ide-gtk2-2.2 lazarus-src-2.2 lcl-2.2 lcl-gtk2-2.2
  lcl-nogui-2.2 lcl-units-2.2 lcl-utils-2.2
The following NEW packages will be installed:
  lazarus-ide lazarus-ide-2.2 lazarus-ide-gtk2-2.2 lazarus-src-2.2 lcl-2.2
  lcl-gtk2-2.2 lcl-nogui-2.2 lcl-units-2.2 lcl-utils-2.2
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.6 MB/83.7 MB of archives.
After this operation, 666 MB of additional disk space will be used.
Do you want to continue? [Y/n] n       
Abort.

I have synaptic configured to install the latest version. Yet it chose an old, obsolete version of Lazarus.
I had to force it to install v 3.6

apt-get install lazarus-ide-3.6
Which did not install the main files. Just non functional icons and menus.

apt-get install lazarus-ide-gtk2-3.6
The following additional packages will be installed:
  lazarus-src-3.6 lcl-3.6 lcl-gtk2-3.6 lcl-nogui-3.6 lcl-units-3.6
  lcl-utils-3.6
The following NEW packages will be installed:
  lazarus-ide-gtk2-3.6 lazarus-src-3.6 lcl-3.6 lcl-gtk2-3.6 lcl-nogui-3.6
  lcl-units-3.6 lcl-utils-3.6

Which fixed the problem...
Don't know if I should mark it "solved". Anyone attempting to upgrade Lazarus to the latest version will have the same problem.
Anyways, thanks for the help.
I was uninstalling/re-installing it through synaptic, not the command line. Which gave me the error in the first message.

Offline

#4 2024-11-21 11:41:19

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 206  

Re: Lazarus weird after update

currently using Daedalus. when i search synaptic using just the "name" matching i get about a dozen search results. one of them is "lazarus-ide-gtk2-2.2 IDE for Free Pascal - GTK+ version" and as you described, it says "latest available version is  2.2.6+dfsg2-2"

there is also a Qt5 version which may explain why your "apt-get install lazarus-ide-3.6" didn't quite get the job done.

thanks for keeping us posted!


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#5 2024-11-21 13:52:24

rolfie
Member
Registered: 2017-11-25
Posts: 1,178  

Re: Lazarus weird after update

Checked on my Daedalus with backports enabled. Synaptic shows version 2.2 from the standard repo, and 3.0 from backports as available. Nothing about 3.6.

The metapackage lazarus-2.2 re. lazarus-3.0 should install the complete suite.

To get hold of version 3.6 you must have added an external repo. What exactly did you do regarding this "trick" to synaptic?

Offline

#6 2024-11-21 15:31:41

rolfie
Member
Registered: 2017-11-25
Posts: 1,178  

Re: Lazarus weird after update

Checked under Excalibur: there version 3.6 is available.

You are mixing stable and testing. I would call this idea at least challenging, its no good idea if you do not know exactly what you are doing.

Offline

#7 2024-11-21 19:59:41

delgado
Member
Registered: 2022-07-14
Posts: 213  

Re: Lazarus weird after update

Assuming daedalus with backports:

# apt install  -t daedalus-backports  lazarus-ide 

should have done the trick.

Offline

#8 2024-11-26 10:35:48

pequi
Member
Registered: 2020-10-01
Posts: 6  

Re: Lazarus weird after update

deb http://deb.devuan.org/merged/ daedalus main
deb http://deb.devuan.org/merged/ daedalus-updates main
deb http://deb.devuan.org/merged/ daedalus-security main
deb http://deb.devuan.org/merged/ daedalus-backports main
deb http://deb.devuan.org/merged/ daedalus non-free
deb http://deb.devuan.org/merged/ daedalus non-free-firmware
deb http://deb.devuan.org/merged/ daedalus contrib

So yes, I use backports. Not marking this as "solved" because package is broken. Synaptic marked Lazarus 3.6 as an "available upgrade", I clicked OK and instead it installed v3.6 and kept v3.0, so effectively I had two versions installed. And when I uninstalled both, and tried to reinstall Lazarus, it installed v2.2.
Under preferences I have "install latest version".

Offline

Board footer