You are not logged in.

#1 2019-10-09 18:26:50

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 858

[SOLVED] libx11 fails pacman update

Is there a workaround for this pacman update problem?

# pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra                                     1644.4 KiB  2.03M/s 00:01 [######################################] 100%
 community                                    4.9 MiB  4.44M/s 00:01 [######################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) libx11-1.6.9-1

Total Download Size:    1.98 MiB
Total Installed Size:  10.54 MiB
Net Upgrade Size:      -0.01 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 libx11-1.6.9-1-x86_64                     2030.0 KiB  2.46M/s 00:01 [######################################] 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)
libx11: /usr/include/X11/extensions/XKBgeom.h exists in filesystem (owned by xorgproto)
Errors occurred, no packages were upgraded.

Last edited by mcloaked (2019-10-09 19:04:11)


Mike C

Offline

#2 2019-10-09 18:32:05

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,140
Website

Re: [SOLVED] libx11 fails pacman update

Not yet: https://bugs.archlinux.org/task/64076

Mod note: Moving to pacman/upgrade issues


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#3 2019-10-09 18:41:34

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 200
Website

Re: [SOLVED] libx11 fails pacman update

Should be fixed now, both packages were just updated and I could perform the update without issue.

Offline

#4 2019-10-09 19:03:45

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 858

Re: [SOLVED] libx11 fails pacman update

Thank you.  Yes it is fixed now:

# pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra                                     1644.4 KiB  1581K/s 00:01 [######################################] 100%
 community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (2) libx11-1.6.9-3  xorgproto-2019.1-3

Total Download Size:    2.22 MiB
Total Installed Size:  12.15 MiB
Net Upgrade Size:      -0.03 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 xorgproto-2019.1-3-any                     250.3 KiB   297K/s 00:01 [######################################] 100%
 libx11-1.6.9-3-x86_64                     2028.0 KiB  2.00M/s 00:01 [######################################] 100%
(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%
(2/2) checking available disk space                                  [######################################] 100%
:: Processing package changes...
(1/2) upgrading xorgproto                                            [######################################] 100%
(2/2) upgrading libx11                                               [######################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Mike C

Offline

#5 2019-10-09 19:25:28

auyoq
Member
From: Switzerland
Registered: 2019-10-09
Posts: 3

Re: [SOLVED] libx11 fails pacman update

For some reason this is still broken for me:

[user@laptop ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
 core                     133.5 KiB  1335K/s 00:00 [######################] 100%
 extra                   1644.4 KiB  1192K/s 00:01 [######################] 100%
 community                  4.9 MiB  1467K/s 00:03 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) libx11-1.6.9-1

Total Installed Size:  10.54 MiB
Net Upgrade Size:      -0.01 MiB

:: Proceed with installation? [Y/n] y
(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)
libx11: /usr/include/X11/extensions/XKBgeom.h exists in filesystem (owned by xorgproto)
Errors occurred, no packages were upgraded.

Offline

#6 2019-10-09 19:28:37

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,140
Website

Re: [SOLVED] libx11 fails pacman update

Try an up-to-date mirror, or wait for yours to catch up.

Note: you don't need two 'y's in your update command. If there's an updated package database, pacman will download it.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#7 2019-10-09 19:54:14

auyoq
Member
From: Switzerland
Registered: 2019-10-09
Posts: 3

Re: [SOLVED] libx11 fails pacman update

Ah, I could have guessed. Thank you.

Regarding your note, this is what pacman's manpage says: "Passing two --refresh or -y flags will force a refresh of all package databases, even if they appear to be up-to-date". Is this undesirable behavior?

Offline

#8 2019-10-09 20:01:24

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,140
Website

Re: [SOLVED] libx11 fails pacman update

If there isn't an update on the mirror, then you're just causing unnecessary traffic by re-downloading the same package databases again.

There are rare cases where you may have a local package database file which is either a) corrupted in a way that it appears newer than the remote file, or b) is actually newer than the remote file, but you need to downgrade your system to match that repo (in which case you also need two 'u's). This situation is neither of those cases.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#9 2019-10-09 20:04:08

auyoq
Member
From: Switzerland
Registered: 2019-10-09
Posts: 3

Re: [SOLVED] libx11 fails pacman update

Thank you for taking the time to clarify, this wasn't clear to me.

Offline

Board footer

Powered by FluxBB