Yay update problem : java-runtime-headless

Hey all,

Here’s my inxi :

System:
Kernel: 6.8.7-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=66082618-ab1d-4528-aec7-ddaef29e9b82 rw rootflags=subvol=@
quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3 splash
pcie_aspm=off ibt=off
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.1.0
wm: kwin_x11 vt: 2 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Convertible System: LENOVO product: 20FRS08U00
v: ThinkPad X1 Carbon 4th serial: <superuser required> Chassis: type: 31
serial: <superuser required>
Mobo: LENOVO model: 20FRS08U00 v: SDK0J40697 WIN
serial: <superuser required> part-nu: LENOVO_MT_20FR_BU_Think_FM_ThinkPad
X1 Carbon 4th uuid: <superuser required> UEFI: LENOVO v: N1FET81W (1.55 )
date: 10/11/2022
Battery:
ID-1: BAT0 charge: 47.4 Wh (100.0%) condition: 47.4/47.4 Wh (100.0%)
volts: 16.5 min: 14.8 model: LGC 00HW028 type: Li-ion serial: <filter>
status: full
CPU:
Info: model: Intel Core i7-6600U bits: 64 type: MT MCP arch: Skylake
gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
model-id: 0x4E (78) stepping: 3 microcode: 0xF0
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 475 high: 700 min/max: 400/3400 scaling:
driver: intel_pstate governor: powersave cores: 1: 700 2: 400 3: 400 4: 400
bogomips: 22399
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915
v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports: active: eDP-1
empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:1916
class-ID: 0300
Device-2: Lite-On HD Webcam (960×540) driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:5 chip-ID: 04ca:705a
class-ID: 0e02
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 23.2.6
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: AU Optronics 0x183d built: 2014 res: 1920x1080
hz: 60 dpi: 158 gamma: 1.2 size: 309x173mm (12.17x6.81") diag: 354mm (13.9")
ratio: 16:9 modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.5-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 520 (SKL GT2)
device-ID: 8086:1916 memory: 14.99 GiB unified: yes
API: Vulkan v: 1.3.279 layers: 3 device: 0 type: integrated-gpu name: Intel
HD Graphics 520 (SKL GT2) driver: mesa intel v: 24.0.5-arch1.1
device-ID: 8086:1916 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.5-arch1.1 (LLVM
17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403
API: ALSA v: k6.8.7-zen1-2-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6 chip-ID: 8086:156f class-ID: 0200
IF: enp0s31f6 state: down mac: <filter>
Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:24f3 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
Info: services: NetworkManager,wpa_supplicant
Bluetooth:
Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:4 chip-ID: 8087:0a2b
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 4.2
lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c0000
Drives:
Local Storage: total: 1.4 TiB used: 296.25 GiB (20.7%)
ID-1: /dev/mmcblk0 maj-min: 179:0 model: SN01T size: 953.55 GiB
block-size: physical: 512 B logical: 512 B type: Removable tech: SSD
serial: <filter> scheme: MBR
SMART Message: Unknown smartctl error. Unable to generate data.
SMART Message: Unable to run smartctl. Root privileges required.
ID-2: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZVKV512HAJH-000L1 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 7L0QBXX7 temp: 24.9 C scheme: GPT
Partition:
ID-1: / raw-size: 194.8 GiB size: 194.8 GiB (100.00%)
used: 180.72 GiB (92.8%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
used: 584 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p5 maj-min: 259:5
ID-3: /home raw-size: 194.8 GiB size: 194.8 GiB (100.00%)
used: 180.72 GiB (92.8%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
ID-4: /var/log raw-size: 194.8 GiB size: 194.8 GiB (100.00%)
used: 180.72 GiB (92.8%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
ID-5: /var/tmp raw-size: 194.8 GiB size: 194.8 GiB (100.00%)
used: 180.72 GiB (92.8%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.35 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 35.0 C pch: 33.5 C mobo: N/A
Fan Speeds (rpm): fan-1: 0
Info:
Memory: total: 16 GiB note: est. available: 15.35 GiB used: 2.45 GiB (16.0%)
Processes: 242 Power: uptime: 4m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 6.1 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: pm: dpkg pkgs: 0 pm: pacman pkgs: 1628 libs: 457
tools: octopi,paru,yay Compilers: clang: 17.0.6 gcc: 13.2.1
Shell: garuda-inxi default: Bash v: 5.2.26 running-in: konsole
inxi: 3.3.34
Garuda (2.6.26-1):
System install date:     2023-07-23
Last full system update: 2024-04-27
Is partially upgraded:   No
Relevant software:       snapper NetworkManager mkinitcpio
Windows dual boot:       Probably (Run as root to verify)
Failed units

 λ yay
[sudo] Mot de passe de jacques :
:: Synchronisation des bases de données de paquets…
garuda                                          67.3 KiB  12.4 KiB/s 00:05 [-------------------------------------------] 100%
core est à jour
extra est à jour
multilib est à jour
chaotic-aur                                   1892.9 KiB   339 KiB/s 00:06 [-------------------------------------------] 100%
:: Searching AUR for updates...
:: There are 17 providers available for java-runtime-headless:
:: Repository extra
1) jdk-openjdk 2) jdk11-openjdk 3) jdk17-openjdk 4) jdk21-openjdk 5) jre-openjdk 6) jre-openjdk-headless 7) jre11-openjdk 8) jre11-openjdk-headless 9) jre17-openjdk 10) jre17-openjdk-headless 11) jre21-openjdk 12) jre21-openjdk-headless 13) jre8-openjdk-headless
:: Repository chaotic-aur
14) java-openjdk-ea-bin 15) jdk 16) jre 17) jre8

Enter a number (default=1):
==>

The update begins, but after more than one our, it ends with an error about debugedit.
I think i cant delet this java-runtime-headlesst

Is there a way to do it ?

Thanks in forward… :slight_smile:

  1. your formatting is all wrong haha. you need three ~~~ instead of just two :wink:
  2. Your post is less than descriptive, but I’ve seen this or a similar this problem just a few minutes ago: Garuda-Update's AUR Package's 27-Apr-2024
  3. If all else fails, try to uninstall the headless java runtime. it was probably installed as a dependency, so you’ll have to decide what to do with it

Edit. I see you edited your post. Just press enter on the prompt to use the default value

2 Likes

Sorry for the bad formating…

I’m unable to delete java-runtime-headless

Just saying unable to find it…

Remove the debug option as explained here

3 Likes

Ok, i’m trying it, but the update takes more tha one hour…

Do i really need this java-runtime-headless ?

Or if it’s safe, how can get rid of it ?

λ yay
[sudo] Mot de passe de jacques :
:: Synchronisation des bases de données de paquets…
garuda est à jour
core est à jour
extra est à jour
multilib est à jour
chaotic-aur                                   1882.5 KiB  2013 KiB/s 00:01 [-------------------------------------------] 100%
:: Searching AUR for updates...
:: There are 17 providers available for java-runtime-headless:
:: Repository extra
1) jdk-openjdk 2) jdk11-openjdk 3) jdk17-openjdk 4) jdk21-openjdk 5) jre-openjdk 6) jre-openjdk-headless 7) jre11-openjdk 8) jre11-openjdk-headless 9) jre17-openjdk 10) jre17-openjdk-headless 11) jre21-openjdk 12) jre21-openjdk-headless 13) jre8-openjdk-headless
:: Repository chaotic-aur
14) java-openjdk-ea-bin 15) jdk 16) jre 17) jre8

Enter a number (default=1):
==>
:: There are 17 providers available for java-runtime-headless:
:: Repository extra
1) jdk-openjdk 2) jdk11-openjdk 3) jdk17-openjdk 4) jdk21-openjdk 5) jre-openjdk 6) jre-openjdk-headless 7) jre11-openjdk 8) jre11-openjdk-headless 9) jre17-openjdk 10) jre17-openjdk-headless 11) jre21-openjdk 12) jre21-openjdk-headless 13) jre8-openjdk-headless
:: Repository chaotic-aur
14) java-openjdk-ea-bin 15) jdk 16) jre 17) jre8

Enter a number (default=1):
==>
:: Searching databases for updates...

-> Packages not in AUR: garuda-dr460nized-next  garuda-fastfetch-git
:: 12 dependencies will also be installed for this operation.
extra/gn                    -> 0.2157.22581fb4-1
(make dependency of electron25, electron26)
extra/gperf                 -> 3.1-5
(make dependency of electron25, electron26)
extra/jdk-openjdk           -> 22.0.1.u0-1
(make dependency of electron25, electron26)
extra/lld                   -> 17.0.6-1
(make dependency of electron26, electron25)
extra/llvm                  -> 17.0.6-3
(make dependency of electron25, electron26)
extra/nodejs-lts-hydrogen   -> 18.18.2-2
(make dependency of electron25, electron26)
extra/npm                   -> 10.5.2-1
(make dependency of electron25, electron26)
extra/patchutils            -> 0.4.2-2
(make dependency of electron25, electron26)
extra/python-httplib2       -> 0.22.0-5
(make dependency of electron26, electron25)
extra/python-pyparsing      -> 3.1.2-2
(make dependency of electron26, electron25)
extra/rust                  -> 1:1.77.2-1
(make dependency of electron26)
extra/yarn                  -> 1.22.22-1
(make dependency of electron25, electron26)

:: 2 packages to upgrade/install.
2  aur/electron25  25.9.8-5  -> 25.9.8-6
1  aur/electron26  26.6.10-4 -> 26.6.10-5
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
-> Excluding packages may cause partial upgrades and break systems
==> AUR Dependency (2): electron25-25.9.8-6, electron26-26.6.10-5
Sync Make Dependency (12): jdk-openjdk-22.0.1.u0-1, python-httplib2-0.22.0-5, gperf-3.1-5, gn-0.2157.22581fb4-1, llvm-17.0.6-3, npm-10.5.2-1, python-pyparsing-3.1.2-2, lld-17.0.6-1, rust-1:1.77.2-1, nodejs-lts-hydrogen-18.18.2-2, patchutils-0.4.2-2, yarn-1.22.22-1

It’s an important part of the Java environment, used by many packages. You should not remove it.
The time is probably due to AUR packages being rebuilt.
Btw, are you sure you are not in a PKGBUILD preview of a package, that you can quit with button q?

1 Like

yes, i’m sure…

Update is ending with this error

(5/8) Updating icon theme caches...
(6/8) Updating the desktop file MIME type cache...
(7/8) Performing snapper post snapshots for the following configurations...
==> root: 1779
(8/8) Syncing all file systems...
-> Failed to install the following packages. Manual intervention is required:
electron26 - exit status 1
electron25 - exit status 4

jacques@jacques in ~ as 🧙 took 34m38s
[🔴] ×

Don’t know what to do… :sob: :sob: :sob:

What is the AUR package you are trying to update? If you aren’t sure, you should think twice before installing all that stuff; it may be a package has dropped out of the repos and should be uninstalled.

Run the update this way and paste the output into the thread:

garuda-update

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.