devkitPro / pacman

GNU General Public License v2.0
170 stars 16 forks source link

pacman Error from MSYS2 (05-27-23) #45

Closed P0W3 closed 1 year ago

P0W3 commented 1 year ago

This error happened from MSYS2.


MSYS ~
$ pacman -Syu
:: Synchronizing package databases...
 clangarm64                     1643.2 KiB   519 KiB/s 00:03 [###############################] 100%
 clang32                        1706.0 KiB   556 KiB/s 00:03 [###############################] 100%
 clang64                        1856.6 KiB   570 KiB/s 00:03 [###############################] 100%
 ucrt64                         1908.6 KiB   618 KiB/s 00:03 [###############################] 100%
 mingw32                        1728.8 KiB   479 KiB/s 00:04 [###############################] 100%
 mingw64                        1865.7 KiB  1601 KiB/s 00:01 [###############################] 100%
 msys                            456.2 KiB  1097 KiB/s 00:00 [###############################] 100%
 dkp-libs                        185.6 KiB   107 KiB/s 00:02 [###############################] 100%
 dkp-linux                        22.7 KiB  10.4 KiB/s 00:02 [###############################] 100%
 dkp-windows                      21.9 KiB  14.7 KiB/s 00:01 [###############################] 100%
:: Starting core system upgrade...
error: duplicated database entry 'autoconf2.13'
error: duplicated database entry 'autoconf2.69'
error: duplicated database entry 'autoconf2.71'
error: duplicated database entry 'ca-certificates'
error: duplicated database entry 'cmake'
error: duplicated database entry 'curl'
error: duplicated database entry 'diffutils'
error: duplicated database entry 'git'
error: duplicated database entry 'inetutils'
error: duplicated database entry 'info'
error: duplicated database entry 'libcurl'
error: duplicated database entry 'libgcrypt'
error: duplicated database entry 'libgpg-error'
error: duplicated database entry 'libgpgme'
error: duplicated database entry 'liblzma'
error: duplicated database entry 'libopenssl'
error: duplicated database entry 'libopenssl'
error: duplicated database entry 'librhash'
error: duplicated database entry 'libsqlite'
error: duplicated database entry 'libsqlite'
error: duplicated database entry 'libuv'
error: duplicated database entry 'libxml2'
error: duplicated database entry 'libzstd'
error: duplicated database entry 'make'
error: duplicated database entry 'mintty'
error: duplicated database entry 'msys2-keyring'
error: duplicated database entry 'msys2-runtime'
error: duplicated database entry 'openssh'
error: duplicated database entry 'openssl'
error: duplicated database entry 'openssl'
error: duplicated database entry 'pacman'
error: duplicated database entry 'pacman'
error: duplicated database entry 'pacman-contrib'
error: duplicated database entry 'perl-Encode-Locale'
error: duplicated database entry 'perl-HTML-Tagset'
error: duplicated database entry 'perl-HTTP-Negotiate'
error: duplicated database entry 'perl-Net-SMTP-SSL'
error: duplicated database entry 'perl-Net-SSLeay'
error: duplicated database entry 'perl-TermReadKey'
error: duplicated database entry 'rebase'
error: duplicated database entry 'tcl'
error: duplicated database entry 'tzcode'
error: duplicated database entry 'xz'
error: duplicated database entry 'zstd'
warning: terminate other MSYS2 programs before proceeding
resolving dependencies...
looking for conflicting packages...

Packages (3) mintty-1~3.6.4-1  msys2-runtime-3.4.6-2  pacman-6.0.2-6

Total Download Size:    6.10 MiB
Total Installed Size:  47.77 MiB
Net Upgrade Size:       2.32 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 pacman-6.0.2-6-x86_64             6.1 MiB  3.38 MiB/s 00:02 [###############################] 100%
(3/3) checking keys in keyring                               [###############################] 100%
(3/3) checking package integrity                             [###############################] 100%
(3/3) loading package files                                  [###############################] 100%
(3/3) checking for file conflicts                            [###############################] 100%
(3/3) checking available disk space                          [###############################] 100%
:: Processing package changes...
error: could not create directory /var/lib/pacman/local/mintty-1~3.6.4-1/: File exists
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

MSYS ~
$

image image

pacman.log

P0W3 commented 1 year ago

Actually, never mind. I removed the folders of the duplicated database entries.

WinterMute commented 1 year ago

Again, not msys2 pacman.