Project

General

Profile

Bug #1658

[libvirt-openrc]: can't install due to conflicting packages

tatsumaru - over 2 years ago - . Updated 4 months ago.

Status:
open
Priority:
bug
Assignee:
-
% Done:

0%


Description

Tried to install libvirt-openrc so I can run libvirt from init.
Got "conflicting packages" error:

resolving dependencies...
looking for conflicting packages...

Packages (1) libvirt-openrc-20170927-1

Total Download Size:   0.01 MiB
Total Installed Size:  0.03 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 libvirt-openrc-20170927-1-any      6.2 KiB  0.00B/s 00:00 [###############################] 100%
(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)
libvirt-openrc: /etc/conf.d/libvirt-guests exists in filesystem
libvirt-openrc: /etc/conf.d/libvirtd exists in filesystem
Errors occurred, no packages were upgraded.

History

#1

Updated by bill-auger over 2 years ago

  • Subject changed from libvirt-openrc can't install due to conflicting packages to [libvirt-openrc]: can't install due to conflicting packages
#2

Updated by libreuser almost 2 years ago

The same error here.

#3

Updated by Time4Tea 5 months ago

Hi, I am getting a similar conflict between libvirt-openrc and libvirt:

$ sudo pacman -S libvirt-openrc
resolving dependencies...
looking for conflicting packages...

Packages (1) libvirt-openrc-20170927-1

Total Installed Size:  0.03 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)
libvirt-openrc: /etc/conf.d/libvirt-guests exists in filesystem (owned by libvirt)
libvirt-openrc: /etc/conf.d/libvirtd exists in filesystem (owned by libvirt)
Errors occurred, no packages were upgraded.

Is anybody looking at a resolution to this? Is there any temporary workaround?

#4

Updated by freemor 5 months ago

You can work around it for the time being with pacman's --overwrite option.
Tho the package deos need to be corrected

#5

Updated by Time4Tea 4 months ago

freemor ok, thanks, I will give that a try.

Also available in: Atom PDF