Stuck in partial upgrade state after closing octopi, can't set locale / run pacman

After trying everything I found in other topics and not finding a solution, I turn to here.

I was very tired and let Octopi run updates. However, probably before it was done, I shut the PC down. Now I get the issue outlined in this thread: WARNING: community/qtermwidget 0.17.0-2 -> 1.0.0-1 Breaks Octopi - #25 with the following message:

octopi: error while loading shared libraries: libqtermwidget5.so.1: cannot open shared object file: No such fi
le or directory

As outlined in the thread, I tried rebuilding octopi using pacman, which did not let me finish the command because snapper didn’t manage to set a locale.

: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
(1/1) loading package files                                        [------------------------------------] 100%
(1/1) checking for file conflicts                                  [------------------------------------] 100%
(1/1) checking available disk space                                [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/2) Rejecting pacman transaction if running in snapshot...
(2/2) Performing snapper pre snapshots for the following configurations...
Failed to set locale.
==> root: 65
:: Processing package changes...
(1/1) reinstalling octopi                                          [------------------------------------] 100%
:: Running post-transaction hooks...
(1/9) Arming ConditionNeedsUpdate...
(2/9) Refreshing PackageKit...
(3/9) Foreign/AUR package notification
xivlauncher 1:1.0.8-2
(4/9) Orphaned package notification...
dotnet-sdk 8.0.4.sdk104-1
gcab 1.6-1
gtkmm3 3.24.9-1
libsmbios 2.4.3-7
python-natsort 8.4.0-2
qt5-quickcontrols 5.15.13-1
qt6-webview 6.7.0-1
qtkeychain-qt5 0.14.3-1
(5/9) Checking for .pacnew and .pacsave files...
(6/9) Updating icon theme caches...
(7/9) Updating the desktop file MIME type cache...
(8/9) Performing snapper post snapshots for the following configurations...
Failed to set locale.
==> root: 66
(9/9) Syncing all file systems...

Now the fun part. I tried everything outlined in the other threads (and several other non-Garuda threads) where I tried running locale-gen, making sure that the right locales are uncommented (they are). I even went into locale.conf and set LC_ALL there, making sure to reboot after that.

image

The error I get is still the same.

What else is there to do?

Garuda-inxi output

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LC_ADDRESS = "de_DE.UTF-8",
LC_NAME = "de_DE.UTF-8",
LC_MONETARY = "en_DE.UTF-8",
LC_PAPER = "de_DE.UTF-8",
LC_IDENTIFICATION = "de_DE.UTF-8",
LC_TELEPHONE = "de_DE.UTF-8",
LC_MEASUREMENT = "de_DE.UTF-8",
LC_TIME = "de_DE.UTF-8",
LC_NUMERIC = "de_DE.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
System:
Kernel: 6.9.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=4a466e50-60d7-4073-b8c9-b66e1af59a62 rw rootflags=subvol=@
quiet resume=UUID=3ffce4e8-7a4f-4b8c-bdbd-112904b36efa loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.2.0
wm: kwin_x11 with: krunner vt: 2 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B450M PRO-VDH MAX (MS-7A38) v: 8.0
serial: <superuser required> uuid: <superuser required> BIOS: American
Megatrends LLC. v: B.G0 date: 07/26/2022
CPU:
Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 3741 high: 4059 min/max: 2200/4208 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 4050 2: 3600
3: 3600 4: 3600 5: 3600 6: 3672 7: 3600 8: 4059 9: 4048 10: 4050 11: 3600
12: 3415 bogomips: 86408
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA TU104 [GeForce RTX 2060] driver: nvidia v: 550.78
alternate: nouveau,nvidia_drm non-free: 550.xx+ status: current (as of
2024-04; EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF
built: 2018-2022 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: none
off: DP-1 empty: DVI-D-1,HDMI-A-1 bus-ID: 29:00.0 chip-ID: 10de:1e89
class-ID: 0300
Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-3.1:4
chip-ID: 046d:082d class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0
compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3440x1440 s-dpi: 109 s-size: 802x333mm (31.57x13.11")
s-diag: 868mm (34.19")
Monitor-1: DP-1 mapped: DP-0 note: disabled model: Huawei ZQE-CBA
serial: <filter> built: 2022 res: 3440x1440 hz: 100 dpi: 110 gamma: 1.2
size: 797x334mm (31.38x13.15") diag: 864mm (34") modes: max: 3440x1440
min: 640x480
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.78
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
memory: 5.86 GiB
API: Vulkan v: 1.3.279 layers: 12 device: 0 type: discrete-gpu
name: NVIDIA GeForce RTX 2060 driver: nvidia v: 550.78 device-ID: 10de:1e89
surfaces: xcb,xlib
Audio:
Device-1: NVIDIA TU104 HD Audio driver: snd_hda_intel v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 29:00.1 chip-ID: 10de:10f8 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 2b:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-3.1:4
chip-ID: 046d:082d class-ID: 0102 serial: <filter>
Device-4: SteelSeries ApS Arctis 7
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 5-3.3.1:8 chip-ID: 1038:12ad class-ID: 0300
Device-5: fifine Microphone driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-3.3.3:10
chip-ID: 3142:a601 class-ID: 0300 serial: <filter>
Device-6: Creative Sound Blaster Play!
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 5-3.3.4:11 chip-ID: 041e:30d3 class-ID: 0300
serial: <filter>
API: ALSA v: k6.9.1-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.6 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 25:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp37s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-3.2:5
chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: enp43s0f3u3u2 state: down mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd
Bluetooth:
Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:2
chip-ID: 0a12:0001 class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 4.0 lmp-v: 6
status: discoverable: no pairing: no
Drives:
Local Storage: total: 2.73 TiB used: 1.55 TiB (56.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SA2000M8500G
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: S5Z42105 temp: 49.9 C
scheme: MBR
ID-2: /dev/sda maj-min: 8:0 vendor: SanDisk model: Extreme 55AE
size: 465.73 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 2.1 spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter>
fw-rev: 3000 scheme: GPT
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD20SDRW-11VUUS0 size: 1.82 TiB block-size: physical: 512 B
logical: 512 B type: USB rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
tech: HDD rpm: 5400 serial: <filter> fw-rev: 1028 scheme: GPT
Partition:
ID-1: / raw-size: 448.67 GiB size: 448.67 GiB (100.00%)
used: 222.24 GiB (49.5%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
ID-2: /home raw-size: 448.67 GiB size: 448.67 GiB (100.00%)
used: 222.24 GiB (49.5%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /var/log raw-size: 448.67 GiB size: 448.67 GiB (100.00%)
used: 222.24 GiB (49.5%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
ID-4: /var/tmp raw-size: 448.67 GiB size: 448.67 GiB (100.00%)
used: 222.24 GiB (49.5%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.54 GiB used: 3.1 GiB (19.9%)
priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12
dev: /dev/zram0
ID-2: swap-2 type: partition size: 17.09 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p2 maj-min: 259:2
Sensors:
System Temperatures: cpu: 78.0 C mobo: N/A gpu: nvidia temp: 53 C
Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Info:
Memory: total: 16 GiB available: 15.54 GiB used: 4.67 GiB (30.1%)
Processes: 518 Power: uptime: 2m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 6.18 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 2054 libs: 560 tools: octopi,pamac,paru
Compilers: clang: 17.0.6 gcc: 14.1.1 Shell: garuda-inxi default: fish
v: 3.7.1 running-in: konsole inxi: 3.3.34
Garuda (2.6.26-1):
System install date:     2024-05-03
Last full system update: 2024-05-20
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       <superuser required>
Failed units:

Use last working snapshot, details in Garuda wiki.

1 Like

All snapshots I see in Snapper and Grub are from today, and there is no known working state today.

Not a good idea.

And this idea isn’t any better.

When you searched for octopi you didn’t find the topic from the day before yesterday?

5 Likes

Still new to navigating the forums, so I didn’t see the thread you linked. Will take a look when I’m back at my desk.

Need to check the wiki more for pointers regarding updates I guess, but turning it off was not planned. My tired mind forgot they were running. :sweat_smile:

At the moment I don’t think that was the issue. The problem was probably that octopi was broken at the time.
Always do system updates via console:

garuda-update

and not with toolz like octopi or pamac.

1 Like

garuda-assistant has a button to reinstall all packages, so I’d recommend you try that.
if that doesn’t work, chroot into your system and try to do the same from the terminal (there are several ways to do so, as outlined here

Since snap-pac is erroring out without stoppping pacman, none of the pacman operations should be cancelled.

It seems like running garuda-update now did solve the issue of Octopi not opening.

Is there any other application I should use when installing new apps? Maybe I’m just still to unfamiliar with Garuda / Arch in General. I migrated from Ubuntu and Fedora so still learning the ropes.

octopi has been fixed, you installed the latest version when you ran garuda-update.
The best way to install applications is pacman.
For example:

sudo pacman -S firefox

octopi is just a frontend for pacman and is very good for searching for applications. You can also install and uninstall packages with octopi. But you should always run updates using garuda-update or update or upd (they’re all the same) in the terminal. It’s best to reboot afterwards. As an alternative to octopi you can also use pacseek in the terminal.

Check it out here:

3 Likes

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