You are not logged in.

#1 2020-09-02 04:37:47

gitattributes
Member
Registered: 2020-09-02
Posts: 2

[SOLVED] : failed to commit transaction (conflicting files)

Hi

I installed Arch with Vagrant:

vagrant init archlinux/archlinux
vagrant up
vagrant ssh

then inside VM

sudo pacman -Syy
sudo pacman -S gnome

error

(558/558) checking keys in keyring                                    [######################################] 100%
(558/558) checking package integrity                                  [######################################] 100%
(558/558) loading package files                                       [######################################] 100%
(558/558) checking for file conflicts                                 [######################################] 100%
error: failed to commit transaction (conflicting files)
libxcrypt: /usr/include/crypt.h exists in filesystem (owned by glibc)
libxcrypt: /usr/lib/libcrypt.so exists in filesystem (owned by glibc)
Errors occurred, no packages were upgraded.

Last edited by gitattributes (2020-09-02 09:48:44)

Offline

#2 2020-09-02 04:43:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] : failed to commit transaction (conflicting files)

Partial updates are unsupported. Don't run pacman -Syy. It updates the databases without updating the entire system, and the second y is pretty useless anyway.

Update the entire system.

Offline

#3 2020-09-02 04:44:34

gitattributes
Member
Registered: 2020-09-02
Posts: 2

Re: [SOLVED] : failed to commit transaction (conflicting files)

found the solution myself

sudo pacman -Syu

fixed it

Offline

#4 2020-09-02 05:17:01

Jtm-lis
Member
From: Ottawa, Canada
Registered: 2020-08-26
Posts: 9
Website

Re: [SOLVED] : failed to commit transaction (conflicting files)

gitattributes wrote:

found the solution myself
fixed it

Be sure to edit your thread when the issue has been solved, https://wiki.archlinux.org/index.php/Co … ow_to_post

Last edited by Jtm-lis (2020-09-02 05:22:17)

Offline

Board footer

Powered by FluxBB