Opened 11 months ago
Closed 7 months ago
#23722 closed defect (needinfo)
Josm cannot be installed in Ubuntu 24 LTS without warnings
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
Ubuntu Noble Numbat 24 LTS
sudo apt update
Error josm could not be updated
Public Key was not signed
Corrected according to : josm.openstreetmap.de/wiki/Download
Switched computer off and back on
sudo apt update successfull no more errors
App Center Search for apps => josm => See all results for "josm" => A) Filter by Debian packages
No results found for "josm" => B) Filter by Snap packages josm Michael Vogt Editor for OpenStreettMap
Suggestion in ticket #2379 install other software is not possible
Suggestion in ticket #2379 snap is unstable and beta : snap 9-Dec-2014 and Ubuntu Jun 2016
Choose option B) => Install => No errors => Latest Stable r19067
Switch computer off and back on
Start Josm => Warning :
You should update!
JOSM soon will no longer support this version of Java, you should update to version 17 or better!
What is the expected result?
I expected Josm to start without errors
What happens instead?
Start Josm => Warning :
You should update!
JOSM soon will no longer support this version of Java, you should update to version 17 or better!
Download map data => Download from OSM => Slippy map => Select piece of the map => Download
Help About JOSM => Info:
Version 19067
Last change at 2024-05-02 01:31:13
Java Version 11.0.22
Help About JOSM => Installation Details :
Symbolic names for directories and the actual paths :
$(JAVA_HOME) /snap/josm/142/usr/lib/jvm/default-java/jre
myself@LuxTop:~$ sudo ls /snap/josm/142/usr/lib/jvm
default-java java-1.11.0-openjdk-amd64 java-11-openjdk-amd64
myself@LuxTop:~$ sudo update-alternatives --config java
[sudo] password for myself:
There is 1 choice for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
- 0 /usr/lib/jvm/java-21-openjdk-amd64/bin/java 2111 auto mode 1 /usr/lib/jvm/java-21-openjdk-amd64/bin/java 2111 manual mode
Press <enter> to keep the current choice[*], or type selection number: 0
myself@LuxTop:~$ java --version
openjdk 21.0.3 2024-04-16
OpenJDK Runtime Environment (build 21.0.3+9-Ubuntu-1ubuntu1)
OpenJDK 64-Bit Server VM (build 21.0.3+9-Ubuntu-1ubuntu1, mixed mode, sharing)
So,
In Ubuntu 24 LTS
The Public Key is not signed
/snap/josm/142/usr/lib/jvm contains the outdated java-11-openjdk-amd64
and not the available openjdk 21.0.3 2024-04-16
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2024-04-29 18:37:36 +0200 (Mon, 29 Apr 2024) Revision:19067 Build-Date:2024-05-02 01:31:13 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (19067 en) Linux Ubuntu 24.04 LTS Memory Usage: 370 MB / 1962 MB (141 MB allocated, but free) Java version: 11.0.22+7-post-Ubuntu-0ubuntu220.04.1, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1366×768 (scaling 1.00×1.00) Maximum Screen Size: 1366×768 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_US.UTF-8 System property file.encoding: ANSI_X3.4-1968 System property sun.jnu.encoding: ANSI_X3.4-1968 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: ubuntu:GNOME VM arguments: [-Duser.home=${HOME}, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED] Dataset consistency test: No problems found
Attachments (0)
Change History (2)
comment:1 by , 11 months ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 7 months ago
Resolution: | → needinfo |
---|---|
Status: | needinfo → closed |
Your text is very confusing. You mixed a lot of stuff together which doesn't belong.
First you made an error with the repo and thus got the "not signed" message, but after you fixed this (but without saying what you fixed, so we can't verify whether your fix was ok or bogus as well), you installed the snap package instead which is not provided by us.
If you have an issue with the snap package then open a bug report with the authors of the snap.
If you want to report a bug here, then please also install the stuff we provide and not something else.
I suggest you reread the instructions and start from scratch and report here the results.