Remove file before updating error

I’m trying to do an update using yay with yay -Syu but I’m running into a new error:

-> error fetching celt: error: The following untracked working tree files would be overwritten by merge:
	010-celt-fix-tandem-test.patch
Please move or remove them before you merge.
Aborting 
	 context: exit status 1

I’m unsure how this issue came up, or where that file is in my directories to be able to remove it (if that is all I need to do).

For reference:

inxi -F
System:
  Host: alexandria Kernel: 5.15.108-1-MANJARO arch: x86_64 bits: 64
    Desktop: Xfce v: 4.18.1 Distro: Manjaro Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B450 GAMING PRO CARBON AC (MS-7B85)
    v: 1.0 serial: <superuser required> UEFI: American Megatrends LLC. v: 1.F4
    date: 04/22/2021
CPU:
  Info: 6-core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP cache: L2: 3 MiB
  Speed (MHz): avg: 2650 min/max: 2200/4208 cores: 1: 2089 2: 2119 3: 3598
    4: 2057 5: 3802 6: 2024 7: 3600 8: 2053 9: 3462 10: 2032 11: 2969 12: 2006
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 SUPER] driver: nouveau v: kernel
  Device-2: Microdia Webcam Vitade AF type: USB
    driver: snd-usb-audio,uvcvideo
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: modesetting
    dri: nouveau gpu: nouveau resolution: 1920x1080
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.
Audio:
  Device-1: NVIDIA TU106 High Definition Audio driver: snd_hda_intel
  Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel
  Device-3: Blue Microphones Yeti Stereo Microphone type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: Microdia Webcam Vitade AF type: USB
    driver: snd-usb-audio,uvcvideo
  API: ALSA v: k5.15.108-1-MANJARO status: kernel-api
  Server-1: PulseAudio v: 16.1 status: active
Network:
  Device-1: Intel Wireless-AC 9260 driver: iwlwifi
  IF: wlo1 state: up mac: 54:8d:5a:72:0e:ca
  Device-2: Intel I211 Gigabit Network driver: igb
  IF: enp34s0 state: down mac: 2c:f0:5d:07:f7:6d
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
  Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
  Local Storage: total: 465.76 GiB used: 113.26 GiB (24.3%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 500GB
    size: 465.76 GiB
Partition:
  ID-1: / size: 39.08 GiB used: 27.08 GiB (69.3%) fs: ext4 dev: /dev/nvme0n1p6
  ID-2: /boot/efi size: 96 MiB used: 25.3 MiB (26.4%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 217.13 GiB used: 86.16 GiB (39.7%) fs: ext4
    dev: /dev/nvme0n1p7
Swap:
  ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p5
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A gpu: nouveau temp: 27.0 C
  Fan Speeds (RPM): N/A gpu: nouveau fan: 842
Info:
  Processes: 308 Uptime: 1h 5m Memory: 15.55 GiB used: 2.42 GiB (15.6%)
  Shell: Zsh inxi: 3.3.26

Update with sudo pacman -Syu first, then update your AUR packages after.

You may not even need celt, it was dropped from the Arch repos to the AUR almost a year ago.

3 Likes

A little more details that might help in the future.

celt was removed from the Manjaro repositories in Stable Update - 2022-07-21, and it exists in the AUR.

pacman -Ss celt returns nothing, but pamac search celt shows it in the AUR.

This means if you have the package installed (things change) and there is a higher version in the AUR and you run an AUR helper — whether yay or pamac with the feature enabled, the package will be built from the AUR. One way to prevent this, is to always update your system without any AUR helper, then run pamac list --foreign to display packages which are installed but not in the Manjaro repositories. See additional details.

There’s a link in every Stable Update Announcement in the 1st post/Topic, before the poll, titled, “A list of all package changes can be found here”. The text for removal will look like:

There is one difference in the above Announcement. Ther word “here” is normally a link to Explore snippets · GitLab, but in this Announcment the text is inline.

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