Pacman 6 got released: Requires manual intervention

Hey guys!
Pacman 6 finally hit Archs core repos! :slight_smile: This update introduces (amongst other things) parallel downloads, resulting in much faster download speeds!
However, there is also a downside: Pamac doesnt work with it yet and refuses to start. Progress can be tracked here:

Update 11/06:
https://forum.garudalinux.org/t/pamac-add-remove-software-does-not-launch/9342/4?u=dr460nf1r3

Also, the update introduced new defaults for pacman.conf so it is recommended to merge these new files to prevent issues (eg: Warning: config file /etc/pacman.conf option not recognized). Garuda automatically lists these files for your convenience so thats a good time to learn how to handle these files for those who don't know about those yet :wink:

(12/14) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.conf.pacnew

https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave

/etc/pacman.conf however is shipped with some modifications which means some manual work is required to retain them:

diff /etc/pacman.conf /etc/pacman.conf.pacnew

The differences will have to be added, mine are the ILoveCandy & Color option being enabled, also chaotic-aur being added as repo. So:

sudo mv /etc/pacman.conf.pacnew /etc/pacman.conf

Then add both options to the new /etc/pacman.conf & append the following, now missing chaotic-aur entry (sudo micro /etc/pacman.conf)

[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist 
27 Likes

OMG just a couple hours ago, I googled this...and was wondering if it would EVER come out.

5 Likes

Q: Is Octopi impacted?

2 Likes

yay is impacted.

Edit: yay is working again after a reinstall. :+1:

3 Likes

Seems all graphical file managers are affected. Had to do with libalpm 13

5 Likes

:smiley:

alias | grep pacdif
alias pacdif 'sudo -H DIFFPROG=meld pacdiff'

#TotalDownload

8 Likes

Good addition actually, people on KDE should be using kompare instead of meld though :smiley:

3 Likes

So will pamac not work at all until the fix?

1 Like

Hi, I got this error :

warning: config file /etc/pacman.conf, line 34: directive 'TotalDownload' in section 'options' not recognized.

running inxi -Fxxxza :

╰─λ inxi -Fxxxza 
System:
Kernel: 5.12.8-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0 
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen 
root=UUID=6334074f-bc48-4253-b780-04249a9efe97 rw rootflags=subvol=@ quiet splash 
rd.udev.log_priority=3 vt.global_cursor_default=0 
systemd.unified_cgroup_hierarchy=1 
resume=UUID=e50a6d2a-b35a-4fef-bf34-fd93c59cab11 loglevel=3 
Desktop: KDE Plasma 5.21.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 
dm: SDDM Distro: Garuda Linux base: Arch Linux 
Machine:
Type: Laptop System: ASUSTeK product: G752VSK v: 1.0 serial: <filter> 
Mobo: ASUSTeK model: G752VSK v: 1.0 serial: <filter> UEFI: American Megatrends 
v: G752VSK.302 date: 04/27/2017 
Battery:
ID-1: BAT0 charge: 81.3 Wh (94.9%) condition: 85.7/96.5 Wh (88.8%) volts: 14.4 
min: 14.4 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A 
status: Not charging cycles: 96 
CPU:
Info: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake 
family: 6 model-id: 9E (158) stepping: 9 microcode: DE cache: L2: 6 MiB 
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44798 
Speed: 3611 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 3611 2: 3643 3: 3572 
4: 3550 5: 3567 6: 3533 7: 3568 8: 3590 
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
Type: l1tf 
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
Type: meltdown mitigation: PTI 
Type: spec_store_bypass 
mitigation: Speculative Store Bypass disabled via prctl and seccomp 
Type: spectre_v1 
mitigation: usercopy/swapgs barriers and __user pointer sanitization 
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
STIBP: conditional, RSB filling 
Type: srbds mitigation: Microcode 
Type: tsx_async_abort status: Not affected 
Graphics:
Device-1: NVIDIA GP104BM [GeForce GTX 1070 Mobile] vendor: ASUSTeK driver: nvidia 
v: 465.31 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1be1 
class-ID: 0300 
Device-2: Realtek USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 1-4:3 
chip-ID: 0bda:57fa class-ID: 0e02 serial: <filter> 
Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: loaded: nvidia 
display-ID: :0 screens: 1 
Screen-1: 0 s-res: 1921x2160 s-dpi: 130 s-size: 375x422mm (14.8x16.6") 
s-diag: 565mm (22.2") 
Monitor-1: DP-2 res: 1920x1080 hz: 120 dpi: 128 size: 381x214mm (15.0x8.4") 
diag: 437mm (17.2") 
Monitor-2: HDMI-0 res: 1920x1080 hz: 60 dpi: 92 size: 531x299mm (20.9x11.8") 
diag: 609mm (24") 
OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 465.31 
direct render: Yes 
Audio:
Device-1: Intel CM238 HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
bus-ID: 00:1f.3 chip-ID: 8086:a171 class-ID: 0403 
Device-2: NVIDIA GP104 High Definition Audio vendor: ASUSTeK 
driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:10f0 class-ID: 0403 
Device-3: GN Netcom Jabra EVOLVE Link MS type: USB 
driver: jabra,snd-usb-audio,usbhid bus-ID: 1-6:4 chip-ID: 0b0e:0305 
class-ID: 0300 serial: <filter> 
Sound Server-1: ALSA v: k5.12.8-zen1-1-zen running: yes 
Sound Server-2: sndio v: N/A running: no 
Sound Server-3: JACK v: 0.125.0 running: no 
Sound Server-4: PulseAudio v: 14.2 running: yes 
Sound Server-5: PipeWire v: 0.3.28 running: yes 
Network:
Device-1: Intel Wireless 8260 driver: iwlwifi v: kernel port: e000 
bus-ID: 04:00.0 chip-ID: 8086:24f3 class-ID: 0280 
IF: wlp4s0 state: up mac: <filter> 
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK 
driver: r8169 v: kernel port: d000 bus-ID: 05:00.0 chip-ID: 10ec:8168 
class-ID: 0200 
IF: enp5s0 state: down mac: <filter> 
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
bus-ID: 1-9:6 chip-ID: 8087:0a2b class-ID: e001 
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter> 
Drives:
Local Storage: total: 2.05 TiB used: 132 GiB (6.3%) 
SMART Message: Unable to run smartctl. Root privileges required. 
ID-1: /dev/nvme0n1 maj-min: 259:5 vendor: Crucial model: CT1000P5SSD8 
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
lanes: 4 rotation: SSD serial: <filter> rev: P4CR311 scheme: GPT 
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung model: MZVPW256HEGL-00000 
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
lanes: 4 rotation: SSD serial: <filter> rev: CXZ7500Q scheme: GPT 
ID-3: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS721010A9E630 
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
rotation: 7200 rpm serial: <filter> rev: A3V0 scheme: GPT 
Partition:
ID-1: / raw-size: 879.54 GiB size: 879.54 GiB (100.00%) used: 132 GiB (15.0%) 
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:7 
ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 546 KiB (0.2%) 
fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:6 
ID-3: /home raw-size: 879.54 GiB size: 879.54 GiB (100.00%) used: 132 GiB (15.0%) 
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:7 
ID-4: /var/log raw-size: 879.54 GiB size: 879.54 GiB (100.00%) 
used: 132 GiB (15.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:7 
ID-5: /var/tmp raw-size: 879.54 GiB size: 879.54 GiB (100.00%) 
used: 132 GiB (15.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:7 
Swap:
Kernel: swappiness: 10 (default 60) cache-pressure: 75 (default 100) 
ID-1: swap-1 type: partition size: 51.71 GiB used: 0 KiB (0.0%) priority: -2 
dev: /dev/nvme0n1p3 maj-min: 259:8 
ID-2: swap-2 type: zram size: 5.88 GiB used: 0 KiB (0.0%) priority: 32767
dev: /dev/zram0
ID-3: swap-3 type: zram size: 5.88 GiB used: 0 KiB (0.0%) priority: 32767
dev: /dev/zram1
ID-4: swap-4 type: zram size: 5.88 GiB used: 0 KiB (0.0%) priority: 32767
dev: /dev/zram2
ID-5: swap-5 type: zram size: 5.88 GiB used: 0 KiB (0.0%) priority: 32767
dev: /dev/zram3
ID-6: swap-6 type: zram size: 5.88 GiB used: 0 KiB (0.0%) priority: 32767
dev: /dev/zram4
ID-7: swap-7 type: zram size: 5.88 GiB used: 0 KiB (0.0%) priority: 32767
dev: /dev/zram5
ID-8: swap-8 type: zram size: 5.88 GiB used: 0 KiB (0.0%) priority: 32767
dev: /dev/zram6
ID-9: swap-9 type: zram size: 5.88 GiB used: 0 KiB (0.0%) priority: 32767
dev: /dev/zram7
Sensors:
System Temperatures: cpu: 70.0 C mobo: N/A gpu: nvidia temp: 58 C
Fan Speeds (RPM): cpu: 2500
Info:
Processes: 350 Uptime: 45m wakeups: 1 Memory: 47.01 GiB used: 6.06 GiB (12.9%)
Init: systemd v: 248 tool: systemctl Compilers: gcc: 11.1.0 alt: 10 clang: 11.1.0
Packages: pacman: 1875 lib: 549 Shell: fish v: 3.2.2 default: Zsh v: 5.8
running-in: konsole inxi: 3.3.04

does anyone has the same error ?
Also don't know if it is linked but software installer does not launch anymore...

I'm reading your tutotrial upthere @dr460nf1r3

3 Likes

Maybe, read many of the related posts on the forum (including this one) ?

5 Likes

this is what I am doing, got to fast posting :wink:

1 Like

Read first, search second, post third.

9 Likes

Can't better explained :wink:

5 Likes

Kompare is excellent

3 Likes

I'll post this here in case it's useful to people. I use this as a "safe" way to graphically merge:

#!/usr/bin/bash
set -euo pipefail

for i in $(/usr/bin/pacdiff --output); do
	echo "Merging $i ..."
	SUDO_EDITOR=/usr/bin/meld /usr/bin/sudo -e "$i" "${i/.pacnew/}"
done

(And yes, you can replace meld with kompare. :stuck_out_tongue_winking_eye:)

On the other hand, if you don't have sudo but do have gvfs, then:

#!/usr/bin/bash
set -euo pipefail

for i in $(/usr/bin/pacdiff --output); do
	echo "Merging $i ..."
	/usr/bin/meld "admin://$i" "admin://${i/.pacnew/}"
done

Save your choice as a script, make it executable, and it will iterate through all pacnew files and compare them. You can then remove the pacnew afterwards.

13 Likes

Despite that it burns my eyes with its white bg (unlike Kate). :face_with_raised_eyebrow:

5 Likes

You can use Kate in split mode and use line by line highlighting to see what's different.

Not quite the same, but it's usable if the conf file is smaller.

6 Likes

ok, so I used mousepad at first then nano to check that the total downloads had a # in front of it and saved.
rebooted did pacman -syyu via term still nada what step did I miss?

Nothing, you got error/warn without # :slight_smile:

3 Likes