Anki no longer functioning

I did a system update yesterday with the standard yay -Syu that I normally use, and when I try to use Anki today the application won’t start. I’ve checked that I have the most recent version installed from AUR, so I’m not sure what the cause of the issue is.

1 aur/anki 24.11-2 (+182 6.18) (Installed)
    Helps you remember facts (like words/phrases in a foreign language) efficiently

For context here’s some hardware/software info:

inxi
CPU: 6-core AMD Ryzen 5 3600 (-MT MCP-) speed/min/max: 2200/2200/4208 MHz
Kernel: 6.1.126-1-MANJARO x86_64 Up: 56m Mem: 2.96/15.54 GiB (19.0%)
Storage: 1.36 TiB (8.6% used) Procs: 297 Shell: Bash inxi: 3.3.37

It may not be sufficient to simply “have the most recent version”. anki has 30 dependencies. If any of them were updated, then anki needs to be rebuilt in order to reflect those underlying updates, even if anki itself has not received an update.

what’s the easiest way to cleanbuild it? I try to do an update with yay but get an error:

1 aur/anki 24.11-2 (+182 6.18) (Installed)
    Helps you remember facts (like words/phrases in a foreign language) efficiently
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
AUR Explicit (1): anki-24.11-2
:: PKGBUILD up to date, skipping download: anki
 -> error resetting /home/sage/.cache/yay/anki: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

I don’t use AUR helpers, so I can’t help with the yay issue. If you use the standard manual Arch method, then you don’t have to worry about being defeated by some AUR helper quirk. (Granted, you then still have to worry about regular AUR quirks.)

Have you tried with pamac?

I did find this: git-discovery-across-filesystem-not-set on StackOverflow.

I don’t know if this will be of any help but this did catch my attention:

In short, git is trying to access a repo it considers on another filesystem and to tell it explicitly that you’re okay with this, you must set the environment variable GIT_DISCOVERY_ACROSS_FILESYSTEM=1

I’m working in a CI/CD environment and using a dockerized git so I have to set it in that environment docker run -e GIT_DISCOVERY_ACROSS_FILESYSTEM=1 -v $(pwd):/git --rm alpine/git rev-parse --short HEAD'

If you’re curious: Above mounts $(pwd) into the git docker container and passes “rev-parse --short HEAD” to the git command in the container, which it then runs against that mounted volumes.

It’s from a few years ago, though might still be relevant.

hm seems useful but I’m also not fully understanding, when I check my .gitconfig it just lists my username and email, is this where I’d add the line GIT_DISCOVERY_ACROSS_FILESYSTEM=1 or should I be doing that elsewhere?

I ran git init and that is giving me an error that there isn’t an upstream branch and I need to set one. Wouldn’t I need to set a different branch for each of the packages that I’m installing/cloning from AUR?

-> error fetching visual-studio-code-bin: There is no tracking information for the current branch.
Please specify which branch you want to rebase against.
See git-pull(1) for details.

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=origin/<branch> master 
	 context: exit status 1

error fetching google-chrome: There is no tracking information for the current branch.
Please specify which branch you want to rebase against.
See git-pull(1) for details.

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=origin/<branch> master 
	 context: exit status 1

You might be better off changing your Manjaro branch, as I see you are on stable according to the inxi report from your other thread:

inxi (which I actually meant to link)
System:
  Kernel: 5.15.177-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=daac5ac1-4bfb-4410-8c88-c3aaa96daa44 rw quiet apparmor=1
    security=apparmor resume=UUID=59e46e3f-87f7-49db-bdef-37314e2ccca9
    udev.log_priority=3
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.20.0
    with: plank,xfce4-panel tools: light-locker vt: 7 dm: LightDM v: 1.32.0
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B450 GAMING PRO CARBON AC (MS-7B85)
    v: 1.0 serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: 1.F4 date: 04/22/2021
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 16 GiB available: 15.55 GiB used: 3.52 GiB (22.6%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: no module installed
  Device-2: Channel-A DIMM 1 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: G.Skill
    part-no: F4-3200C16-8GVKB serial: N/A
  Device-3: Channel-B DIMM 0 type: no module installed
  Device-4: Channel-B DIMM 1 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: G.Skill
    part-no: F4-3200C16-8GVKB serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 gen: 2
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701034
  Topology: cpus: 1x dies: 1 cores: 6 threads: 12 tpc: 2 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: 2298 min/max: 2200/4208 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 2298 2: 2298 3: 2298
    4: 2298 5: 2298 6: 2298 7: 2298 8: 2298 9: 2298 10: 2298 11: 2298 12: 2298
    bogomips: 86435
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme smep ssbd sse
    sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce
    topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean
    vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_rstack_overflow mitigation: safe RET
  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: Retpolines; IBPB: conditional; STIBP:
    always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 SUPER] vendor: Micro-Star MSI
    driver: nouveau v: kernel non-free: 550/565.xx+ status: current (as of
    2025-01; EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF
    built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3
    speed: 8 GT/s ports: active: DP-3,HDMI-A-1 empty: DP-1,DP-2
    bus-ID: 26:00.0 chip-ID: 10de:1f06 class-ID: 0300 temp: 24.0 C
  Device-2: Microdia Webcam Vitade AF driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1.4:6
    chip-ID: 0c45:6366 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.15 compositor: xfwm4 v: 4.20.0 driver:
    X: loaded: modesetting alternate: fbdev,vesa dri: nouveau gpu: nouveau
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1186x382mm (46.69x15.04")
    s-diag: 1246mm (49.06")
  Monitor-1: DP-3 pos: right model: HP Z27n G2 serial: <filter> built: 2019
    res: mode: 2560x1440 hz: 60 scale: 100% (1) dpi: 109 gamma: 1.2 chroma: red:
    x: 0.663 y: 0.329 green: x: 0.302 y: 0.620 blue: x: 0.145 y: 0.047 white:
    x: 0.314 y: 0.329 size: 597x336mm (23.5x13.23") diag: 685mm (27")
    ratio: 16:9 modes: 2560x1440, 1920x1200, 1920x1080, 1680x1050, 1600x900,
    1280x1024, 1440x900, 1280x800, 1280x720, 1024x768, 800x600, 720x576,
    720x480, 640x480, 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: primary,left model: Acer V246HYL
    serial: <filter> built: 2020 res: mode: 1920x1080 hz: 60 scale: 100% (1)
    dpi: 93 gamma: 1.2 chroma: red: x: 0.651 y: 0.337 green: x: 0.322 y: 0.616
    blue: x: 0.153 y: 0.059 white: x: 0.314 y: 0.329
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9
    modes: 1920x1080, 1680x1050, 1280x1024, 1440x900, 1280x800, 1152x864,
    1280x720, 1024x768, 800x600, 720x576, 720x480, 640x480, 720x400
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
  Info: Tools: de: xfce4-display-settings x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA TU106 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 26:00.1 chip-ID: 10de:10f9
    class-ID: 0403
  Device-2: Advanced Micro Devices [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: 28:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Focusrite-Novation Scarlett Solo 4th Gen driver: snd-usb-audio
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:2
    chip-ID: 1235:8218 class-ID: 0102 serial: <filter>
  Device-4: Microdia Webcam Vitade AF driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1.4:6
    chip-ID: 0c45:6366 class-ID: 0102 serial: <filter>
  API: ALSA v: k5.15.177-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.7 status: off tools: pw-cli
  Server-3: PulseAudio v: 17.0-43-g3e2bb status: active with:
    1: pulseaudio-alsa type: plugin 2: pulseaudio-jack type: module
    tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel Wi-Fi 5 Wireless-AC 9x6x [Thunder Peak] driver: iwlwifi
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 21:00.0
    chip-ID: 8086:2526 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel I211 Gigabit Network vendor: Micro-Star MSI driver: igb
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 22:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: mld, NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-4:5
    chip-ID: 8087:0025 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.36 TiB used: 130.15 GiB (9.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 500GB
    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: 2B2QEXE7 temp: 33.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: PSSD T7
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 2.1 spd: 480 Mb/s lanes: 1 mode: 2.0 tech: SSD serial: <filter>
    scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 40 GiB size: 39.08 GiB (97.69%) used: 36.47 GiB (93.3%)
    fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A
    uuid: daac5ac1-4bfb-4410-8c88-c3aaa96daa44
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 25.6 MiB (26.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: 1475-16ED
  ID-3: /home raw-size: 221.67 GiB size: 217.13 GiB (97.95%)
    used: 93.65 GiB (43.1%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
    label: N/A uuid: c4605162-72ba-4c54-b550-03ec030625f0
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
    uuid: 59e46e3f-87f7-49db-bdef-37314e2ccca9
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 201.48 GiB fs: ntfs label: N/A
    uuid: F02475C8247591F8
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 509 MiB fs: ntfs label: N/A
    uuid: B06682E46682AB24
  ID-4: /dev/sda1 maj-min: 8:1 size: 931.51 GiB fs: exfat label: T7
    uuid: 280A-8AE8
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-2:2 info: Focusrite-Novation Scarlett Solo 4th Gen type: audio
    driver: snd-usb-audio interfaces: 4 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 chip-ID: 1235:8218 class-ID: 0102 serial: <filter>
  Device-2: 1-3:3 info: Samsung PSSD T7 type: mass storage driver: uas
    interfaces: 1 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 500mA chip-ID: 04e8:4001 class-ID: 0806 serial: <filter>
  Device-3: 1-8:4 info: Logitech G9x Laser Mouse type: mouse,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 98mA chip-ID: 046d:c066 class-ID: 0300
    serial: <filter>
  Device-4: 1-9:5 info: LazyDesigners THE50 type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 500mA chip-ID: feed:0050 class-ID: 0300
  Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-6: 5-1:2 info: VIA Labs VL813 Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 2109:2813
    class-ID: 0900
  Device-1: 5-1.4:6 info: Microdia Webcam Vitade AF type: video,audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 0c45:6366 class-ID: 0102 serial: <filter>
  Device-2: 5-3:3 info: Micro Star PRO CARBON type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 500mA chip-ID: 1462:7b85 class-ID: 0300
    serial: <filter>
  Device-3: 5-4:5 info: Intel Wireless-AC 9260 Bluetooth Adapter
    type: bluetooth driver: btusb interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 8087:0025 class-ID: e001
  Hub-7: 6-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-8: 6-1:2 info: VIA Labs VL813 Hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 2109:0813
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 52.2 C mobo: N/A gpu: nouveau temp: 24.0 C
  Fan Speeds (rpm): N/A gpu: nouveau fan: 839
Repos:
  Packages: pm: pacman pkgs: 1556 libs: 465 tools: pamac,yay pm: flatpak
    pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://southfront.mm.fcix.net/manjaro/stable/$repo/$arch
    2: https://manjaro.kurdy.org/stable/$repo/$arch
    3: https://mirrors.sonic.net/manjaro/stable/$repo/$arch
    4: http://manjaro.grena.ge/stable/$repo/$arch
    5: https://ftp.linux.org.tr/manjaro/stable/$repo/$arch
    6: https://mirror.ufam.edu.br/manjaro/stable/$repo/$arch
    7: http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
    8: https://mirror.koddos.net/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 340
  1: cpu: 14.9% command: [kworker/u64:8-events_power_efficient] pid: 208
    mem: 0.00 MiB (0.0%)
  2: cpu: 12.0% command: [kworker/u64:10-events_unbound] pid: 210
    mem: 0.00 MiB (0.0%)
  3: cpu: 11.2% command: firefox pid: 2573 mem: 652.5 MiB (4.0%)
  4: cpu: 9.6% command: [kworker/u64:9-events_unbound] pid: 209
    mem: 0.00 MiB (0.0%)
  5: cpu: 8.3% command: firefox pid: 4741 mem: 310.4 MiB (1.9%)
  Memory top: 5 of 340
  1: mem: 652.5 MiB (4.0%) command: firefox pid: 2573 cpu: 11.2%
  2: mem: 355.1 MiB (2.2%) command: soffice.bin pid: 5597 cpu: 0.6%
  3: mem: 350.9 MiB (2.2%) command: firefox pid: 2947 cpu: 2.2%
  4: mem: 310.4 MiB (1.9%) command: firefox pid: 4741 cpu: 8.3%
  5: mem: 307.3 MiB (1.9%) command: firefox pid: 2653 cpu: 1.6%
Info:
  Processes: 340 Power: uptime: 34m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.21 GiB services: upowerd,xfce4-power-manager
    Init: systemd v: 257 default: graphical tool: systemctl
  Compilers: clang: 19.1.7 gcc: 14.2.1 Shell: Bash v: 5.2.37
    running-in: xfce4-terminal inxi: 3.3.37

I suggest Testing at minimum, although Unstable is preferable when using AUR programs.

I’ll look into that but I admit that feels a bit beyond my ken.

Given that I did the normal system update that I’ve been doing regularly, about weekly, for years now I’m curious how this could lead to where I’m at now and would like to understand how that happened before switching to a less stable branch. As far as I know I’ve been on stable and been able to use AUR packages and update them for quite some time now

You probably shouldn’t do it at all…at least not for this.

It seems like the repo doesn’t exist locally. It has searched up to the mount point, which in this case is / and still hasn’t found it.

There should be a .git directory. To check:

ls -a /home/sage/.cache/yay/anki

Anyway, I’d delete (or move) /home/sage/.cache/yay/anki and then try again. That should re-download the source files and give you a valid git repo.

3 Likes

Maybe I messed up, but i did rm /home/sage/.cache/yay/anki/* and tried again but got an error related to the local branch from what I can tell

:: PKGBUILD up to date, skipping download: anki
 -> error resetting /home/sage/.cache/yay/anki: fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

A typical git directory has .files and .directories that would not be covered by anki/*, so you should have removed or renamed the entire directory as suggested.

3 Likes

I always forget to do the proper rm -rf for this.

That allowed me to then re-install Anki from the AUR, thank you for the help everyone!

1 Like

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