Conflicting Files

i was going to run an update and i had an issue come up , i found some anwsers here on jonathon's post about Failing to commiit transaction (conflicting files)

my errors:

error: failed to commit transaction (conflicting files)
python-viv-utils: /usr/bin/get_function_args exists in filesystem (owned by python
2-viv-utils)
python-viv-utils: /usr/bin/trace_function_emulation exists in filesystem (owned by
python2-viv-utils)
Errors occurred, no packages were upgraded.

following instructions i traced down the package to

╭─[email protected] in ~ took 6s
[πŸ”΄] Γ— pacman -Qo /usr/bin/get_function_args
/usr/bin/get_function_args is owned by python2-viv-utils 0.3.17-1

╭─[email protected] in ~ took 263ms
╰─λ pacman -Qo /usr/bin/trace_function_emulation
/usr/bin/trace_function_emulation is owned by python2-viv-utils 0.3.17-1

one question i have is can this be removed? ive looked through the wiki on these and honestly im not sure their total function ,

the next command i followed


╭─[email protected] in ~ took 6s
[πŸ”] Γ— sudo pacman -S python2-viv-utils --overwrite /usr/bin/ 
[sudo] password for rick:     
error: target not found: python2-viv-utils
inxi -Faz
System:
Kernel: 5.12.11-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0  
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen  
root=UUID=bbd89eb5-eea1-46dc-a3aa-7df7ffedf994 rw [email protected] quiet
splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1
resume=UUID=9c130a55-2450-4422-8097-9e98e0e9ca28 loglevel=3
Desktop: KDE Plasma 5.22.1 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1  
dm: SDDM Distro: Garuda Linux base: Arch Linux  
Machine:
Type: Laptop System: Acer product: Nitro AN515-53 v: V1.28 serial: <filter>  
Mobo: CFL model: Freed_CFS v: V1.28 serial: <filter> UEFI: Insyde v: 1.28  
date: 08/05/2019  
Battery:
ID-1: BAT1 charge: 41.8 Wh (99.5%) condition: 42.0/48.9 Wh (85.8%)  
volts: 17.0 min: 15.2 model: LG PABAS0241231 type: Li-ion serial: <filter>  
status: Unknown  
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M185  
serial: <filter> charge: 50% (should be ignored) rechargeable: yes  
status: N/A  
CPU:
Info: Quad Core model: Intel Core i5-8300H bits: 64 type: MT MCP  
arch: Kaby Lake note: check family: 6 model-id: 9E (158) stepping: A (10)  
microcode: EA cache: L2: 8 MiB  
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx  
bogomips: 36799  
Speed: 2272 MHz min/max: 800/2300 MHz Core speeds (MHz): 1: 2272 2: 2300  
3: 2300 4: 2300 5: 2286 6: 2300 7: 2300 8: 2279  
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 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: conditional, RSB filling
Type: srbds mitigation: Microcode  
Type: tsx_async_abort status: Not affected  
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630]  
vendor: Acer Incorporated ALI driver: i915 v: kernel bus-ID: 00:02.0  
chip-ID: 8086:3e9b class-ID: 0300  
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile]  
vendor: Acer Incorporated ALI driver: nvidia v: 465.31  
alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1c8d  
class-ID: 0300  
Device-3: Quanta HD Webcam type: USB driver: uvcvideo bus-ID: 1-5:3  
chip-ID: 0408:a060 class-ID: 0e02 serial: <filter>  
Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver:  
loaded: modesetting,nvidia display-ID: :0 screens: 1  
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")  
s-diag: 582mm (22.9")  
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6")  
diag: 395mm (15.5")  
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 21.1.2  
direct render: Yes  
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Acer Incorporated ALI  
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl  
bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403  
Sound Server-1: ALSA v: k5.12.11-zen1-1-zen running: yes  
Sound Server-2: JACK v: 0.125.0 running: no  
Sound Server-3: PulseAudio v: 14.2 running: yes  
Sound Server-4: PipeWire v: 0.3.30 running: yes  
Network:
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel  
port: 5000 bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280  
IF: wlp0s20f3 state: up mac: <filter>  
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet  
vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000  
bus-ID: 06:00.1 chip-ID: 10ec:8168 class-ID: 0200  
IF: enp6s0f1 state: down mac: <filter>  
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB  
driver: btusb v: 0.8 bus-ID: 1-14:6 chip-ID: 8087:0aaa class-ID: e001  
Report: bt-adapter ID: hci0 rfk-id: 14 state: up address: <filter>  
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci  
v: 3.0 port: 5060 bus-ID: 00:17.0 chip-ID: 8086.282a rev: 10 class-ID: 0104  
Drives:
Local Storage: total: 931.51 GiB used: 73.7 GiB (7.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS721010A9E630
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
rotation: 7200 rpm serial: <filter> rev: A3J0 scheme: GPT
Partition:
ID-1: / raw-size: 922.46 GiB size: 922.46 GiB (100.00%)
used: 73.7 GiB (8.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%)
used: 546 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 922.46 GiB size: 922.46 GiB (100.00%)
used: 73.7 GiB (8.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 922.46 GiB size: 922.46 GiB (100.00%)
used: 73.7 GiB (8.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 922.46 GiB size: 922.46 GiB (100.00%)
used: 73.7 GiB (8.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 10 (default 60) cache-pressure: 75 (default 100)
ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda3 maj-min: 8:3
ID-2: swap-2 type: zram size: 974.1 MiB used: 188.8 MiB (19.4%)
priority: 32767 dev: /dev/zram0
ID-3: swap-3 type: zram size: 974.1 MiB used: 178.5 MiB (18.3%)
priority: 32767 dev: /dev/zram1
ID-4: swap-4 type: zram size: 974.1 MiB used: 203.5 MiB (20.9%)
priority: 32767 dev: /dev/zram2
ID-5: swap-5 type: zram size: 974.1 MiB used: 182.4 MiB (18.7%)
priority: 32767 dev: /dev/zram3
ID-6: swap-6 type: zram size: 974.1 MiB used: 195 MiB (20.0%)
priority: 32767 dev: /dev/zram4
ID-7: swap-7 type: zram size: 974.1 MiB used: 187.6 MiB (19.3%)
priority: 32767 dev: /dev/zram5
ID-8: swap-8 type: zram size: 974.1 MiB used: 192.1 MiB (19.7%)
priority: 32767 dev: /dev/zram6
ID-9: swap-9 type: zram size: 974.1 MiB used: 193.2 MiB (19.8%)
priority: 32767 dev: /dev/zram7
Sensors:
System Temperatures: cpu: 65.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 303 Uptime: 2d 17h 33m wakeups: 58 Memory: 7.61 GiB
used: 3.79 GiB (49.7%) Init: systemd v: 248 tool: systemctl Compilers:
gcc: 11.1.0 clang: 12.0.0 Packages: pacman: 2366 lib: 579 rpm: 0 Shell: fish
v: 3.2.2 default: Zsh v: 5.8 running-in: konsole inxi: 3.3.04

all in all is this something i can delete?

Thanks for any help or links!!!

Make sure that a working snapshot is available.
If it fails, restore it.

As always, Timeshift is not a backup solution, so back up important data separately.

1 Like

Thank you!
ill remove this and try again.

didnt even get to try out my timeshift :sweat_smile:

╭─[email protected] in ~
╰─λ sudo pacman -R python2-viv-utils
[sudo] password for rick:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python2-viv-utils breaks dependency 'python2-viv-utils' required by flare-floss

^^

Just boot from grub last snapshot, if it boot, fine.
Reboot normal and use overwrite.

1 Like

i have rebooted from 2 different timeshifts and neither would overwrite.. the timeshift i am on now wont eve let me upgrade

╭─[email protected] in ~ took 46ms

╰─λ sudo pacman -Syu

:: Synchronizing package databases...

error: failed to synchronize all databases (unable to lock database)

Boot from snapshot was only test if you can go back!

So, reboot (no snap) and try :crossed_fingers:

1 Like
 ╭─[email protected] in ~ took 2s
[πŸ”΄] Γ— sudo pacman -S python2-viv-utils --overwrite /usr/bin/
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck

so i ran the following command

sudo rm -r /var/lib/pacman/db.lck

now i get this when doing the overwrite:


╰─λ sudo pacman -S python2-viv-utils --overwrite /usr/bin/

warning: python2-viv-utils-0.3.17-1 is up to date -- reinstalling

resolving dependencies...

looking for conflicting packages...

Packages (1) python2-viv-utils-0.3.17-1

Total Download Size: 0.03 MiB

Total Installed Size: 0.16 MiB

Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] y

:: Retrieving packages...

python2-viv-utils-0.3.17-1-any.pkg.tar.zst failed to download

error: failed retrieving file 'python2-viv-utils-0.3.17-1-any.pkg.tar.zst' from mirrors.fosshost.org : The requested URL returned error: 404

error: failed retrieving file 'python2-viv-utils-0.3.17-1-any.pkg.tar.zst' from mirrors.fossho.st : The requested URL returned error: 404

warning: failed to retrieve some files

error: failed to commit transaction (failed to retrieve some files)

Errors occurred, no packages were upgraded.

does this have anything to do with the server maintenance being down at the moment?

1 Like
╭─[email protected] in ~ took 33s
[πŸ”΄] Γ— sudo pacman -S python2-viv-utils --overwrite /usr/bin/
error: target not found: python2-viv-utils

╭─[email protected] in ~ took 829ms
[πŸ”΄] Γ— sudo pacman -S python2-viv-utils
error: target not found: python2-viv-utils

╭─[email protected] in ~ took 540ms
[πŸ”΄] Γ—

im at a loss on what to do next ,,, i wasn't able to rm- r python2 either.

Thank you for your help with this SGS!!! im not sure what i could have been doing before this to make anything switch around like this , i was trying to set up a nextclould last night and everything on here was running perfect. got to work to today and it wouldn't update ..

Did you by any chance install any python packages with pip?

1 Like
sudo pacman -Rns flare-floss
4 Likes

THANK YOU!!!!!
i was just able to do a full update!! this solved the issue for me,

no i haven't installed anything with pip before.. just before this issue i had attempted to set up nextcloud with the package that i got with my first install of Garuda, and a few days before i had gotten a git clone for awesomewm

1 Like

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