You are not logged in.
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
Not yet: https://bugs.archlinux.org/task/64076
Mod note: Moving to pacman/upgrade issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Should be fixed now, both packages were just updated and I could perform the update without issue.
Offline
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
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
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 MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
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
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 MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thank you for taking the time to clarify, this wasn't clear to me.
Offline