*-debug package conflict on system update

I’m sorry if this is the wrong category I’m posting.
I couldn’t find anything about this issue on related packages’ AUR sites or forums. Similar ones were related to manual package installs (without yay/pacman) or drive failures.

The usual full system update failed with the following:

error: failed to commit transaction (conflicting files)
insomnia-bin-debug: /usr/lib/debug/.build-id/73/2e24a29d582f7bc4cea91594e5705a473fc762 exists in filesystem (owned by slack-desktop-debug)
insomnia-bin-debug: /usr/lib/debug/.build-id/73/2e24a29d582f7bc4cea91594e5705a473fc762.debug exists in filesystem (owned by slack-desktop-debug)
insomnia-bin-debug: /usr/lib/debug/.build-id/f4/621c3403815feaf0b0e1f04c3cd0a2aa3dddf0 exists in filesystem (owned by slack-desktop-debug)
insomnia-bin-debug: /usr/lib/debug/.build-id/f4/621c3403815feaf0b0e1f04c3cd0a2aa3dddf0.debug exists in filesystem (owned by slack-desktop-debug)
Errors occurred, no packages were upgraded.

While upgrading the packages, 3 of the packages also tried to install their *-debug packages. namely;

  1. bruno-bin-debug (while installing the bruno-bin package)
  2. slack-desktop-debug (from slack-desktop)
  3. insomnia-bin-debug (from insomnia-bin)

I have uninstalled bruno-bin and insomnia-bin packages, did a full system update, and tried to reinstall insomnia-bin. The message above is from that effort.
The three packages have one thing in common: they are all electron apps.
Related to that, in the middle of the full system update, I uninstalled the electron24 package because fetching the git repo was taking a really long time. I then installed the electron24-bin package. I’m afraid I might have caused it myself, but I also don’t know what I need to do to fix it.

That looks like a packaging issue. What repo are you getting those packages from?

all from AUR I think;

❯ yay -Ss bruno-bin && yay -Ss slack-desktop && yay -Ss insomnia-bin
aur/bruno-bin 1.8.0-1 (+11 2.20)
    Opensource API Client for Exploring and Testing APIs
aur/slack-desktop-black-theme-night-mood 4.25.0-1 (+1 0.00) (Out-of-date: 2022-11-18)
    Slack Desktop (Beta) for Linux, with black theme night mood patch
aur/slack-desktop-wayland 4.36.134-3 (+1 1.00) (Out-of-date: 2024-02-01)
    Slack Desktop (Beta) for Linux with Wayland Support
aur/slack-desktop 4.36.140-1 (+597 6.45) (Installed)
    Slack Desktop (Beta) for Linux
aur/insomnia-bin 1:8.6.1-1 (+153 0.73)
    API Client and Design Platform for GraphQL and REST

As you can see from your output, those debug packages aren’t in AUR.

Can you share the full output from yay -S insomnia-bin

Here is the full output

❯ yay -S insomnia-bin
AUR Explicit (1): insomnia-bin-1:8.6.1-1
:: PKGBUILD up to date, skipping download: insomnia-bin
  1 insomnia-bin                     (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
  1 insomnia-bin                     (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: insomnia-bin 1:8.6.1-1 (Thu 08 Feb 2024 03:30:25 PM +03)
==> Retrieving sources...
  -> Downloading Insomnia.Core-8.6.1.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100 90.7M  100 90.7M    0     0  9680k      0  0:00:09  0:00:09 --:--:-- 19.6M
  -> Downloading LICENSE...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 11344  100 11344    0     0  14088      0 --:--:-- --:--:-- --:--:-- 14088
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    Insomnia.Core-8.6.1.deb ... Passed
    LICENSE ... Passed
:: (1/1) Parsing SRCINFO: insomnia-bin
==> Making package: insomnia-bin 1:8.6.1-1 (Thu 08 Feb 2024 03:30:36 PM +03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found Insomnia.Core-8.6.1.deb
  -> Found LICENSE
==> Validating source files with sha256sums...
    Insomnia.Core-8.6.1.deb ... Passed
    LICENSE ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting Insomnia.Core-8.6.1.deb with bsdtar
==> Sources are ready.
==> Making package: insomnia-bin 1:8.6.1-1 (Thu 08 Feb 2024 03:30:37 PM +03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
./
./usr/
./usr/share/
./usr/share/icons/
./usr/share/icons/hicolor/
./usr/share/icons/hicolor/256x256/
./usr/share/icons/hicolor/256x256/apps/
./usr/share/icons/hicolor/256x256/apps/insomnia.png
./usr/share/icons/hicolor/16x16/
./usr/share/icons/hicolor/16x16/apps/
./usr/share/icons/hicolor/16x16/apps/insomnia.png
./usr/share/icons/hicolor/64x64/
./usr/share/icons/hicolor/64x64/apps/
./usr/share/icons/hicolor/64x64/apps/insomnia.png
./usr/share/icons/hicolor/48x48/
./usr/share/icons/hicolor/48x48/apps/
./usr/share/icons/hicolor/48x48/apps/insomnia.png
./usr/share/icons/hicolor/512x512/
./usr/share/icons/hicolor/512x512/apps/
./usr/share/icons/hicolor/512x512/apps/insomnia.png
./usr/share/icons/hicolor/128x128/
./usr/share/icons/hicolor/128x128/apps/
./usr/share/icons/hicolor/128x128/apps/insomnia.png
./usr/share/icons/hicolor/32x32/
./usr/share/icons/hicolor/32x32/apps/
./usr/share/icons/hicolor/32x32/apps/insomnia.png
./usr/share/icons/hicolor/1024x1024/
./usr/share/icons/hicolor/1024x1024/apps/
./usr/share/icons/hicolor/1024x1024/apps/insomnia.png
./usr/share/applications/
./usr/share/applications/insomnia.desktop
./usr/share/doc/
./usr/share/doc/insomnia/
./usr/share/doc/insomnia/changelog.gz
./opt/
./opt/Insomnia/
./opt/Insomnia/LICENSE.electron.txt
./opt/Insomnia/v8_context_snapshot.bin
./opt/Insomnia/snapshot_blob.bin
./opt/Insomnia/LICENSES.chromium.html
./opt/Insomnia/libEGL.so
./opt/Insomnia/icudtl.dat
./opt/Insomnia/chrome_200_percent.pak
./opt/Insomnia/chrome_100_percent.pak
./opt/Insomnia/chrome_crashpad_handler
./opt/Insomnia/libvk_swiftshader.so
./opt/Insomnia/resources/
./opt/Insomnia/resources/opensource-licenses.txt
./opt/Insomnia/resources/bin/
./opt/Insomnia/resources/bin/yarn-standalone.js
./opt/Insomnia/resources/app.asar
./opt/Insomnia/libGLESv2.so
./opt/Insomnia/chrome-sandbox
./opt/Insomnia/vk_swiftshader_icd.json
./opt/Insomnia/libffmpeg.so
./opt/Insomnia/locales/
./opt/Insomnia/locales/ko.pak
./opt/Insomnia/locales/sl.pak
./opt/Insomnia/locales/am.pak
./opt/Insomnia/locales/ms.pak
./opt/Insomnia/locales/zh-CN.pak
./opt/Insomnia/locales/hi.pak
./opt/Insomnia/locales/sr.pak
./opt/Insomnia/locales/hr.pak
./opt/Insomnia/locales/en-GB.pak
./opt/Insomnia/locales/it.pak
./opt/Insomnia/locales/he.pak
./opt/Insomnia/locales/bg.pak
./opt/Insomnia/locales/zh-TW.pak
./opt/Insomnia/locales/ta.pak
./opt/Insomnia/locales/id.pak
./opt/Insomnia/locales/fi.pak
./opt/Insomnia/locales/es.pak
./opt/Insomnia/locales/gu.pak
./opt/Insomnia/locales/ur.pak
./opt/Insomnia/locales/ro.pak
./opt/Insomnia/locales/vi.pak
./opt/Insomnia/locales/mr.pak
./opt/Insomnia/locales/pt-PT.pak
./opt/Insomnia/locales/hu.pak
./opt/Insomnia/locales/sk.pak
./opt/Insomnia/locales/et.pak
./opt/Insomnia/locales/nb.pak
./opt/Insomnia/locales/fa.pak
./opt/Insomnia/locales/lt.pak
./opt/Insomnia/locales/kn.pak
./opt/Insomnia/locales/ru.pak
./opt/Insomnia/locales/da.pak
./opt/Insomnia/locales/ca.pak
./opt/Insomnia/locales/sw.pak
./opt/Insomnia/locales/ja.pak
./opt/Insomnia/locales/uk.pak
./opt/Insomnia/locales/de.pak
./opt/Insomnia/locales/af.pak
./opt/Insomnia/locales/te.pak
./opt/Insomnia/locales/tr.pak
./opt/Insomnia/locales/th.pak
./opt/Insomnia/locales/ml.pak
./opt/Insomnia/locales/el.pak
./opt/Insomnia/locales/pt-BR.pak
./opt/Insomnia/locales/es-419.pak
./opt/Insomnia/locales/nl.pak
./opt/Insomnia/locales/en-US.pak
./opt/Insomnia/locales/cs.pak
./opt/Insomnia/locales/bn.pak
./opt/Insomnia/locales/ar.pak
./opt/Insomnia/locales/pl.pak
./opt/Insomnia/locales/lv.pak
./opt/Insomnia/locales/sv.pak
./opt/Insomnia/locales/fr.pak
./opt/Insomnia/locales/fil.pak
./opt/Insomnia/libvulkan.so.1
./opt/Insomnia/resources.pak
./opt/Insomnia/insomnia
install: creating directory '/home/aimless/.cache/yay/insomnia-bin/pkg/insomnia-bin/usr/bin'
'/home/aimless/.cache/yay/insomnia-bin/pkg/insomnia-bin/usr/bin/insomnia' -> '/opt/Insomnia/insomnia'
install: creating directory '/home/aimless/.cache/yay/insomnia-bin/pkg/insomnia-bin/usr/share/licenses'
install: creating directory '/home/aimless/.cache/yay/insomnia-bin/pkg/insomnia-bin/usr/share/licenses/insomnia'
'/home/aimless/.cache/yay/insomnia-bin/pkg/insomnia-bin/opt/Insomnia/LICENSE.electron.txt' -> '/home/aimless/.cache/yay/insomnia-bin/pkg/insomnia-bin/usr/share/licenses/insomnia/LICENSE.electron.txt'
'/home/aimless/.cache/yay/insomnia-bin/pkg/insomnia-bin/opt/Insomnia/LICENSES.chromium.html' -> '/home/aimless/.cache/yay/insomnia-bin/pkg/insomnia-bin/usr/share/licenses/insomnia/LICENSES.chromium.html'
'LICENSE' -> '/home/aimless/.cache/yay/insomnia-bin/pkg/insomnia-bin/usr/share/licenses/insomnia/LICENSE'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
objcopy: ./opt/Insomnia/chrome_crashpad_handler: debuglink section already exists
objcopy: ./opt/Insomnia/insomnia: debuglink section already exists
objcopy: ./opt/Insomnia/libEGL.so: debuglink section already exists
objcopy: ./opt/Insomnia/libGLESv2.so: debuglink section already exists
objcopy: ./opt/Insomnia/libffmpeg.so: debuglink section already exists
objcopy: ./opt/Insomnia/libvk_swiftshader.so: debuglink section already exists
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "insomnia-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Creating package "insomnia-bin-debug"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: insomnia-bin 1:8.6.1-1 (Thu 08 Feb 2024 03:31:35 PM +03)
==> Cleaning up...
[sudo] password for aimless:
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (2)         New Version  Net Change

insomnia-bin        1:8.6.1-1    422.02 MiB
insomnia-bin-debug  1:8.6.1-1      8.92 MiB

Total Installed Size:  430.94 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                                                                                        [----------------------------------------------------------------------] 100%
(2/2) checking package integrity                                                                                      [----------------------------------------------------------------------] 100%
(2/2) loading package files                                                                                           [----------------------------------------------------------------------] 100%
(2/2) checking for file conflicts                                                                                     [----------------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
insomnia-bin-debug: /usr/lib/debug/.build-id/73/2e24a29d582f7bc4cea91594e5705a473fc762 exists in filesystem (owned by slack-desktop-debug)
insomnia-bin-debug: /usr/lib/debug/.build-id/73/2e24a29d582f7bc4cea91594e5705a473fc762.debug exists in filesystem (owned by slack-desktop-debug)
insomnia-bin-debug: /usr/lib/debug/.build-id/f4/621c3403815feaf0b0e1f04c3cd0a2aa3dddf0 exists in filesystem (owned by slack-desktop-debug)
insomnia-bin-debug: /usr/lib/debug/.build-id/f4/621c3403815feaf0b0e1f04c3cd0a2aa3dddf0.debug exists in filesystem (owned by slack-desktop-debug)
Errors occurred, no packages were upgraded.
 -> error installing: [/home/aimless/.cache/yay/insomnia-bin/insomnia-bin-1:8.6.1-1-x86_64.pkg.tar.zst /home/aimless/.cache/yay/insomnia-bin/insomnia-bin-debug-1:8.6.1-1-x86_64.pkg.tar.zst] - exit status 1

Where is this coming from?

When I use yay to install the same package from AUR, I do not get this output.

Also, the PKGBUILD doesn’t seem to reflect that this should be getting created.

Please share the full output from these commands:

git clone https://aur.archlinux.org/insomnia-bin.git
cd insomnia-bin
makepkg -si
❯ git clone https://aur.archlinux.org/insomnia-bin.git
cd insomnia-bin
makepkg -si
Cloning into 'insomnia-bin'...
remote: Enumerating objects: 275, done.
remote: Counting objects: 100% (275/275), done.
remote: Compressing objects: 100% (168/168), done.
remote: Total 275 (delta 106), reused 274 (delta 106), pack-reused 0
Receiving objects: 100% (275/275), 116.02 KiB | 698.00 KiB/s, done.
Resolving deltas: 100% (106/106), done.
==> Making package: insomnia-bin 1:8.6.1-1 (Thu 08 Feb 2024 03:50:00 PM +03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading Insomnia.Core-8.6.1.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 90.7M  100 90.7M    0     0  25.6M      0  0:00:03  0:00:03 --:--:-- 38.7M
  -> Downloading LICENSE...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 11344  100 11344    0     0  12144      0 --:--:-- --:--:-- --:--:-- 48686
==> Validating source files with sha256sums...
    Insomnia.Core-8.6.1.deb ... Passed
    LICENSE ... Passed
==> Extracting sources...
  -> Extracting Insomnia.Core-8.6.1.deb with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
./
./usr/
./usr/share/
./usr/share/icons/
./usr/share/icons/hicolor/
./usr/share/icons/hicolor/256x256/
./usr/share/icons/hicolor/256x256/apps/
./usr/share/icons/hicolor/256x256/apps/insomnia.png
./usr/share/icons/hicolor/16x16/
./usr/share/icons/hicolor/16x16/apps/
./usr/share/icons/hicolor/16x16/apps/insomnia.png
./usr/share/icons/hicolor/64x64/
./usr/share/icons/hicolor/64x64/apps/
./usr/share/icons/hicolor/64x64/apps/insomnia.png
./usr/share/icons/hicolor/48x48/
./usr/share/icons/hicolor/48x48/apps/
./usr/share/icons/hicolor/48x48/apps/insomnia.png
./usr/share/icons/hicolor/512x512/
./usr/share/icons/hicolor/512x512/apps/
./usr/share/icons/hicolor/512x512/apps/insomnia.png
./usr/share/icons/hicolor/128x128/
./usr/share/icons/hicolor/128x128/apps/
./usr/share/icons/hicolor/128x128/apps/insomnia.png
./usr/share/icons/hicolor/32x32/
./usr/share/icons/hicolor/32x32/apps/
./usr/share/icons/hicolor/32x32/apps/insomnia.png
./usr/share/icons/hicolor/1024x1024/
./usr/share/icons/hicolor/1024x1024/apps/
./usr/share/icons/hicolor/1024x1024/apps/insomnia.png
./usr/share/applications/
./usr/share/applications/insomnia.desktop
./usr/share/doc/
./usr/share/doc/insomnia/
./usr/share/doc/insomnia/changelog.gz
./opt/
./opt/Insomnia/
./opt/Insomnia/LICENSE.electron.txt
./opt/Insomnia/v8_context_snapshot.bin
./opt/Insomnia/snapshot_blob.bin
./opt/Insomnia/LICENSES.chromium.html
./opt/Insomnia/libEGL.so
./opt/Insomnia/icudtl.dat
./opt/Insomnia/chrome_200_percent.pak
./opt/Insomnia/chrome_100_percent.pak
./opt/Insomnia/chrome_crashpad_handler
./opt/Insomnia/libvk_swiftshader.so
./opt/Insomnia/resources/
./opt/Insomnia/resources/opensource-licenses.txt
./opt/Insomnia/resources/bin/
./opt/Insomnia/resources/bin/yarn-standalone.js
./opt/Insomnia/resources/app.asar
./opt/Insomnia/libGLESv2.so
./opt/Insomnia/chrome-sandbox
./opt/Insomnia/vk_swiftshader_icd.json
./opt/Insomnia/libffmpeg.so
./opt/Insomnia/locales/
./opt/Insomnia/locales/ko.pak
./opt/Insomnia/locales/sl.pak
./opt/Insomnia/locales/am.pak
./opt/Insomnia/locales/ms.pak
./opt/Insomnia/locales/zh-CN.pak
./opt/Insomnia/locales/hi.pak
./opt/Insomnia/locales/sr.pak
./opt/Insomnia/locales/hr.pak
./opt/Insomnia/locales/en-GB.pak
./opt/Insomnia/locales/it.pak
./opt/Insomnia/locales/he.pak
./opt/Insomnia/locales/bg.pak
./opt/Insomnia/locales/zh-TW.pak
./opt/Insomnia/locales/ta.pak
./opt/Insomnia/locales/id.pak
./opt/Insomnia/locales/fi.pak
./opt/Insomnia/locales/es.pak
./opt/Insomnia/locales/gu.pak
./opt/Insomnia/locales/ur.pak
./opt/Insomnia/locales/ro.pak
./opt/Insomnia/locales/vi.pak
./opt/Insomnia/locales/mr.pak
./opt/Insomnia/locales/pt-PT.pak
./opt/Insomnia/locales/hu.pak
./opt/Insomnia/locales/sk.pak
./opt/Insomnia/locales/et.pak
./opt/Insomnia/locales/nb.pak
./opt/Insomnia/locales/fa.pak
./opt/Insomnia/locales/lt.pak
./opt/Insomnia/locales/kn.pak
./opt/Insomnia/locales/ru.pak
./opt/Insomnia/locales/da.pak
./opt/Insomnia/locales/ca.pak
./opt/Insomnia/locales/sw.pak
./opt/Insomnia/locales/ja.pak
./opt/Insomnia/locales/uk.pak
./opt/Insomnia/locales/de.pak
./opt/Insomnia/locales/af.pak
./opt/Insomnia/locales/te.pak
./opt/Insomnia/locales/tr.pak
./opt/Insomnia/locales/th.pak
./opt/Insomnia/locales/ml.pak
./opt/Insomnia/locales/el.pak
./opt/Insomnia/locales/pt-BR.pak
./opt/Insomnia/locales/es-419.pak
./opt/Insomnia/locales/nl.pak
./opt/Insomnia/locales/en-US.pak
./opt/Insomnia/locales/cs.pak
./opt/Insomnia/locales/bn.pak
./opt/Insomnia/locales/ar.pak
./opt/Insomnia/locales/pl.pak
./opt/Insomnia/locales/lv.pak
./opt/Insomnia/locales/sv.pak
./opt/Insomnia/locales/fr.pak
./opt/Insomnia/locales/fil.pak
./opt/Insomnia/libvulkan.so.1
./opt/Insomnia/resources.pak
./opt/Insomnia/insomnia
install: creating directory '/home/aimless/insomnia-bin/pkg/insomnia-bin/usr/bin'
'/home/aimless/insomnia-bin/pkg/insomnia-bin/usr/bin/insomnia' -> '/opt/Insomnia/insomnia'
install: creating directory '/home/aimless/insomnia-bin/pkg/insomnia-bin/usr/share/licenses'
install: creating directory '/home/aimless/insomnia-bin/pkg/insomnia-bin/usr/share/licenses/insomnia'
'/home/aimless/insomnia-bin/pkg/insomnia-bin/opt/Insomnia/LICENSE.electron.txt' -> '/home/aimless/insomnia-bin/pkg/insomnia-bin/usr/share/licenses/insomnia/LICENSE.electron.txt'
'/home/aimless/insomnia-bin/pkg/insomnia-bin/opt/Insomnia/LICENSES.chromium.html' -> '/home/aimless/insomnia-bin/pkg/insomnia-bin/usr/share/licenses/insomnia/LICENSES.chromium.html'
'LICENSE' -> '/home/aimless/insomnia-bin/pkg/insomnia-bin/usr/share/licenses/insomnia/LICENSE'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
objcopy: ./opt/Insomnia/chrome_crashpad_handler: debuglink section already exists
objcopy: ./opt/Insomnia/insomnia: debuglink section already exists
objcopy: ./opt/Insomnia/libEGL.so: debuglink section already exists
objcopy: ./opt/Insomnia/libGLESv2.so: debuglink section already exists
objcopy: ./opt/Insomnia/libffmpeg.so: debuglink section already exists
objcopy: ./opt/Insomnia/libvk_swiftshader.so: debuglink section already exists
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "insomnia-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Creating package "insomnia-bin-debug"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: insomnia-bin 1:8.6.1-1 (Thu 08 Feb 2024 03:51:03 PM +03)
==> Installing package insomnia-bin with pacman -U...
[sudo] password for aimless:
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (2)         New Version  Net Change

insomnia-bin        1:8.6.1-1    422.02 MiB
insomnia-bin-debug  1:8.6.1-1      8.92 MiB

Total Installed Size:  430.94 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                                                                                        [----------------------------------------------------------------------] 100%
(2/2) checking package integrity                                                                                      [----------------------------------------------------------------------] 100%
(2/2) loading package files                                                                                           [----------------------------------------------------------------------] 100%
(2/2) checking for file conflicts                                                                                     [----------------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
insomnia-bin-debug: /usr/lib/debug/.build-id/73/2e24a29d582f7bc4cea91594e5705a473fc762 exists in filesystem (owned by slack-desktop-debug)
insomnia-bin-debug: /usr/lib/debug/.build-id/73/2e24a29d582f7bc4cea91594e5705a473fc762.debug exists in filesystem (owned by slack-desktop-debug)
insomnia-bin-debug: /usr/lib/debug/.build-id/f4/621c3403815feaf0b0e1f04c3cd0a2aa3dddf0 exists in filesystem (owned by slack-desktop-debug)
insomnia-bin-debug: /usr/lib/debug/.build-id/f4/621c3403815feaf0b0e1f04c3cd0a2aa3dddf0.debug exists in filesystem (owned by slack-desktop-debug)
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).

This is quite interesting, it is still trying to install the insomnia-bin-debug package

Out of curiosity, what does: cat PKGBUILD show?

❯ cat PKGBUILD
# Maintainer: Ali Molaei <ali dot molaei at protonmail dot com>
# Contributor: Caltlgin Stsodaat <contact at fossdaily dot xyz>

_pkgname='insomnia'
_upkgname='Insomnia'
pkgname="${_pkgname}-bin"
pkgver=8.6.1
pkgrel=1
epoch=1
pkgdesc='API Client and Design Platform for GraphQL and REST'
arch=('x86_64')
url='https://insomnia.rest'
_url_source='https://github.com/Kong/insomnia'
license=('Apache')
depends=('libxss' 'nss' 'gtk3' 'alsa-lib')
optdepends=("libappindicator-gtk3: StatusNotifierItem support"
	    "xdg-utils: open URLs with desktop's default (xdg-email, xdg-open)")
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_url_source}/releases/download/core@${pkgver}/${_upkgname}.Core-${pkgver}.deb"
        "${_url_source}/raw/core@${pkgver}/LICENSE")
sha256sums=('ab2da3ea4766b4381f4da6fc813cfb79bfee34ac2dcdbc5ca091cd89b55adf97'
            '4197d1eeea274289901dc8b68e16f538ceb535ce1ff592f6895c0a7439908ca2')

package() {
  tar -xvf 'data.tar.xz' -C "${pkgdir}"
  rm -rf "${pkgdir}/usr/share/doc"
  install -dv "${pkgdir}/usr/bin"
  ln -sfv "/opt/${_upkgname}/${_pkgname}" -t "${pkgdir}/usr/bin"
  install -Dvm644 "${pkgdir}/opt/${_upkgname}/"{'LICENSE.electron.txt','LICENSES.chromium.html'} \
    -t "${pkgdir}/usr/share/licenses/${_pkgname}"
  install -Dvm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}

# vim: ts=2 sw=2 et:

I see. It is probably because you enabled debugging in /etc/makepkg.conf

Edit /edit/makepkg.conf, find the line that starts with OPTIONS= and change debug to !debug

Then when yay asks you, tell it to clean build.

1 Like

It worked like a charm. Thanks a lot!

I’m curious though, I haven’t manually changed the settings. Is it possible that some other program changed the setting?

Anything is possible. Although, in general, if you have a program that is changing your makepkg.conf settings without your knowledge that would be concerning.

Is it possible you ran a script that changed it at one point?

I doubt it. I did not run any scripts that messed with the system configuration in general. I almost exclusively use yay to install packages, and if I have to use a manual script, I check the contents to make sure that it’s not doing anything “extra”.

Is it possible for a package that I downloaded from the AUR repo to modify the configuration? I’m not very knowledgeable about the package build process.

It is theoretically possible, but an AUR package should never do that and any package that did would likely get removed or modified pretty quick. I have also never seen one that did anything like that.

1 Like

I see. It’s more likely that I did something that affected my makepkg config. Thanks for your help; I now know a little more about where I should look if something similar happens. I appreciate it.

1 Like

No, some options are enabled by default when installing the latest version of EOS. This is pacman

1 Like

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