mjakeman / extension-manager

A utility for browsing and installing GNOME Shell Extensions.
https://mattjakeman.com/apps/extension-manager
GNU General Public License v3.0
995 stars 78 forks source link

Extensions-manager fails to install/update- error: failed to commit transaction (conflicting files) #157

Closed Scotty-Trees closed 2 years ago

Scotty-Trees commented 2 years ago

Greetings,

Just wanted to say real quick your application is amazing, has lots of potential, and has been fun to use since it was released. I've been testing and using each release on EndeavourOS Gnome and it's been working great, so thank you for making this available to for users to use.

However, todays update v 0.3.0-1, does not build due to conflicting files. I've installed the package from the AUR (https://aur.archlinux.org/packages/extension-manager), and have been using it for a while, but now today it will no longer build. I've tried running a cleanbuild on the package, but that still produced the same error, which I'll show below:

Package (1)        Old Version  New Version  Net Change

extension-manager  0.2.3-1      0.3.0-1        0.07 MiB

Total Installed Size:  0.35 MiB
Net Upgrade Size:      0.07 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                     [-----------------------] 100%
(1/1) checking package integrity                   [-----------------------] 100%
(1/1) loading package files                        [-----------------------] 100%
(1/1) checking for file conflicts                  [-----------------------] 100%
error: failed to commit transaction (conflicting files)
extension-manager: /usr/share/icons/hicolor/scalable/actions/settings-symbolic.svg exists in filesystem (owned by cozy-audiobooks)
Errors occurred, no packages were upgraded.
 -> exit status 1
[scott@endeavourOS ~]$ 

If you need any additional information, please do let me know. Also, I'll add my system specs if that helps as well:

[scott@endeavourOS ~]$ inxi -Fxxxza --no-host
System:
  Kernel: 5.16.16-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux-zen
    root=UUID=2c6a8f39-939c-47a4-9d95-dabf69e6f5c6 rw nvidia-drm.modeset=1
    quiet loglevel=3 nowatchdog
  Desktop: GNOME v: 41.5 tk: GTK v: 3.24.33 wm: gnome-shell dm: GDM v: 41.0
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Aspire E5-576G v: V1.32
    serial: <superuser required>
  Mobo: KBL model: Ironman_SK v: V1.32 serial: <superuser required>
    UEFI: Insyde v: 1.32 date: 10/24/2017
Battery:
  ID-1: BAT1 charge: 13.4 Wh (100.0%) condition: 13.4/62.2 Wh (21.6%)
    volts: 12.6 min: 11.1 model: PANASONIC AS16B5J type: Li-ion
    serial: <filter> status: full
CPU:
  Info: model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake
    family: 6 model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xEC
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled 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: 3400 high: 3401 min/max: 400/3400 scaling:
    driver: intel_pstate governor: powersave cores: 1: 3401 2: 3400 3: 3401
    4: 3400 5: 3400 6: 3400 7: 3400 8: 3400 bogomips: 28800
  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 vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI driver: i915
    v: kernel ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:5917 class-ID: 0300
  Device-2: NVIDIA GP108M [GeForce MX150] vendor: Acer Incorporated ALI
    driver: nvidia v: 510.54 alternate: nouveau,nvidia_drm pcie: gen: 3
    speed: 8 GT/s lanes: 4 bus-ID: 01:00.0 chip-ID: 10de:1d10 class-ID: 0302
  Device-3: Chicony HD WebCam type: USB driver: uvcvideo bus-ID: 1-7:4
    chip-ID: 04f2:b571 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.3 compositor: gnome-shell driver: X:
    loaded: modesetting,nvidia gpu: i915 display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: eDP-1 mapped: eDP-1-1 model: Najing CEC Panda LM156LF1L03
    built: 2017 res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
    modes: 1920x1080
  OpenGL: renderer: NVIDIA GeForce MX150/PCIe/SSE2 v: 4.6.0 NVIDIA 510.54
    direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d71 class-ID: 0403
  Sound Server-1: ALSA v: k5.16.16-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0
    chip-ID: 8086:24fb class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Acer Incorporated ALI driver: N/A modules: r8169 pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.1 chip-ID: 10ec:8168
    class-ID: 0200
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-5:3 chip-ID: 8087:0aa7 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Drives:
  Local Storage: total: 238.47 GiB used: 147.32 GiB (61.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: SK Hynix model: HFS256G39TND-N210A
    size: 238.47 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1P10 scheme: GPT
Partition:
  ID-1: / raw-size: 237.97 GiB size: 233.17 GiB (97.99%)
    used: 147.32 GiB (63.2%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 296 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 62.0 C pch: 55.5 C mobo: N/A gpu: nvidia
    temp: 52 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 292 Uptime: 19h 26m wakeups: 1 Memory: 15.5 GiB
  used: 4.99 GiB (32.2%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 Packages: pacman: 1376 lib: 313 flatpak: 0 Shell: Bash
  v: 5.1.16 running-in: tilix inxi: 3.3.14
[scott@endeavourOS ~]$ 

Thank you for taking the time to read this bug report and I hope we can work together to address this as this extension manager is one of the best to have, must use apps in the Gnome environment. Thank you and have a good day.

mjakeman commented 2 years ago

Thanks for the interest! Glad you're enjoying the app :)

The AUR package is a downstream package that is not maintained me, so I can't provide support for it. That being said, I notice the following comment, which is probably true:

This is not an application build error. Upstream bug (conflicts with cozy-audiobooks, they use the settings-symbolic.svg icon)

There's a recent trend for GNOME/Adwaita apps to bundle the theme and resources (e.g. icons) along with the application, so the program looks consistent for end users. We bundle all the app icons in this directory.

Given settings-symbolic.svg conflicts between us and Cozy, this is probably an issue with how both projects are packaging icons. This is not an issue with flatpak as each app exists inside its own sandbox, therefore having no chance of file collisions.

The immediate solution would be to compile the icons into the program as resources, rather than install them into the system icons directory. I'll try look into that for 0.3.1. In the mean time, I would recommend using the flatpak or staying on 0.2 (be aware that lacks some important error handling features). It might be worth reporting this against Cozy's AUR package too since that's an error on their end also.