How to Blacklist a certain package from chaotic-aur?

Problem:
I have this installed: AUR (en) - rtl8814au-dkms-git

I need this for my Stick. It works well so thats not the issue.

However: Whenever i update the system via the official garuda updater/assistant, the updater removes this package and installs this from the chaotic-aur: AUR (en) - rtl8814au-aircrack-dkms-git (i cannot find the link for the chaotic-aur for it)

while both of them seem to be for the same chip the latter one is not working for me so i really need the first one from the AUR. the mentioned package i need is not available on the Chaotic-AUR

so how do i blacklist this certain package? you guys can imagine the pain i go through everytime i update the system because i have to manually uninstall the package from chaotic-aur and install the different one from AUR. :smiley:

Kernel: 5.15.23-2-lts x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
root=UUID=62e0613e-a4a1-4055-8b03-1b34ca6ce7a4 rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=5fbf23c9-6c0d-434e-a316-4997ed2bb782 loglevel=3
Desktop: KDE Plasma 5.24.1 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: Thomas-Krenn.AG product: All Series v: N/A
serial:
Mobo: ASUSTeK model: H97M-E v: Rev X.0x serial:
UEFI-[Legacy]: American Megatrends v: 2702 date: 03/28/2016
CPU:
Info: model: Intel Core i5-4570S bits: 64 type: MCP arch: Haswell family: 6
model-id: 0x3C (60) stepping: 3 microcode: 0x28
Topology: cpus: 1x cores: 4 smt: cache: L1: 256 KiB
desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
desc: 1x6 MiB
Speed (MHz): avg: 2925 high: 2954 min/max: 800/3600 scaling:
driver: intel_cpufreq governor: performance cores: 1: 2947 2: 2901 3: 2954
4: 2900 bogomips: 23197
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
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: disabled, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU117 [GeForce GTX 1650] vendor: Micro-Star MSI
driver: nvidia v: 510.54 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
chip-ID: 10de:1f82 class-ID: 0300
Device-2: Logitech BRIO 4K Stream Edition type: USB
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus-ID: 4-4:2
chip-ID: 046d:086b class-ID: 0300 serial:
Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver:
loaded: nvidia unloaded: modesetting alternate: fbdev,nouveau,nv,vesa
display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 92 s-size: 707x393mm (27.8x15.5")
s-diag: 809mm (31.8")
Monitor-1: DP-0 res: 2560x1440 hz: 165 dpi: 93
size: 697x392mm (27.4x15.4") diag: 800mm (31.5")
OpenGL: renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
v: 4.6.0 NVIDIA 510.54 direct render: Yes
Audio:
Device-1: Intel 9 Series Family HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8ca0
class-ID: 0403
Device-2: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
Device-3: Logitech BRIO 4K Stream Edition type: USB
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus-ID: 4-4:2
chip-ID: 046d:086b class-ID: 0300 serial:
Sound Server-1: ALSA v: k5.15.23-2-lts running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.45 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK AM1I-A driver: r8169 v: kernel port: d000 bus-ID: 03:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: down mac:
Device-2: ASUSTek 802.11ac NIC type: USB driver: rtl8814au bus-ID: 3-10:6
chip-ID: 0b05:1853 class-ID: 0000 serial:
IF: wlp0s20u10 state: up mac:
IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac:
IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac:
Bluetooth:
Device-1: Edimax Edimax Bluetooth Adapter type: USB driver: btusb v: 0.8
bus-ID: 3-6:4 chip-ID: 7392:c611 class-ID: e001 serial:
Report: bt-adapter ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address:
Drives:
Local Storage: total: 931.51 GiB used: 461.95 GiB (49.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: rev: 3B6Q scheme: MBR
Partition:
ID-1: / raw-size: 897.08 GiB size: 897.08 GiB (100.00%)
used: 461.95 GiB (51.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-2: /home raw-size: 897.08 GiB size: 897.08 GiB (100.00%)
used: 461.95 GiB (51.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-3: /var/log raw-size: 897.08 GiB size: 897.08 GiB (100.00%)
used: 461.95 GiB (51.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-4: /var/tmp raw-size: 897.08 GiB size: 897.08 GiB (100.00%)
used: 461.95 GiB (51.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.3 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 34.43 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sda2 maj-min: 8:2
Sensors:
System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 50 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 246 Uptime: 3m wakeups: 0 Memory: 31.3 GiB used: 2.99 GiB (9.6%)
Init: systemd v: 250 tool: systemctl Compilers: gcc: 11.2.0 Packages:
pacman: 1483 lib: 351 Shell: fish v: 3.3.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.12
Garuda (2.5.4-2):
System install date: 2022-02-01
Last full system update: 2022-02-16
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot:
Snapshots: Snapper
Failed units:

edit pacman.conf file:

$ sudo vi /etc/pacman.conf

Add the line - "IgnorePkg = vlc" as shown below.

Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup

#IgnorePkg =
IgnorePkg = vlc
#IgnoreGroup =

Save and close the file.

4 Likes

I would not suggest black listing the package as if it does get updated at some point you would actually want it updated . . . Black listing any package for any length of time is a recipe for eventual disaster.

I would check pacman -Qi rtl8814au-dkms-gitand make sure it was explicitly installed first (I don't know why it wouldn't be, but just to make sure the reason installed is explicitly installed). If it's not - make it explicitily installed with pacman -D -asexplicit <package-name>

More information about changing dependancies: pacman - ArchWiki

Flip side - if you DID want to blacklist a package I would blacklist the rtl8814au-aircrack-dkms-gitand not the one you actually want to keep so you continue getting updates to it.

4 Likes

Problem solved, the unwanted package is now ignored

thanks to @snugglej for the solution

Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGrup

IgnorePkg = rtl8814au-aircrack-dkms-git
#IgnoreGroup =

1 Like

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