Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install python package #377

Open
neptunao opened this issue Aug 22, 2024 · 0 comments
Open

Can't install python package #377

neptunao opened this issue Aug 22, 2024 · 0 comments

Comments

@neptunao
Copy link

Describe the issue
When I try to install python package via pacman or yay I get an error.

To Reproduce

sudo pacman -Syyu --debug python

Expected behavior
Latest version of python is installed from repo.

Screenshots
If applicable, add screenshots to help explain your problem.

Enviroment:

  • Windows build number: 10.0.19044.4529
  • Security Software: zScaler proxy, beyond trust privilege management
  • WSL version 1/2: WSL 2
  • ArchWSL version: 24.4.28.0
  • ArchWSL Installer type: clean online
  • Launcher version: 24042000

Additional context
Pacman log:

$ sudo pacman -Syyu --debug  python

debug: pacman v6.1.0 - libalpm v14.0.0
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: Architecture: auto
debug: config: arch: x86_64
debug: config: IgnorePkg: fakeroot
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist
debug: config: finished parsing C�g:V
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirrors.kernel.org/archlinux/core/os/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirrors.kernel.org/archlinux/extra/os/x86_64
:: Synchronizing package databases...
 core downloading...
 extra downloading...
debug: core.db: url is https://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
debug: core.db: maxsize 134217728
debug: core.db: opened tempfile for download: /var/lib/pacman/sync/core.db.part
(wb)
debug: extra.db: url is https://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db
debug: extra.db: maxsize 134217728
debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: core.db: curl returned result 0 from transfer
debug: core.db: response code 200
debug: core.db.sig: url is https://mirrors.edge.kernel.org/archlinux/core/os/x86_64/core.db.sig
debug: core.db.sig: maxsize 16384
debug: core.db.sig: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb)
debug: core.db.sig: curl returned result 0 from transfer
debug: core.db.sig: response code 404
debug: core.db.sig: no more servers to retry
debug: extra.db: curl returned result 0 from transfer
debug: extra.db: response code 200
debug: extra.db.sig: url is https://mirrors.edge.kernel.org/archlinux/extra/os/x86_64/extra.db.sig
debug: extra.db.sig: maxsize 16384
debug: extra.db.sig: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: extra.db.sig: curl returned result 0 from transfer
debug: extra.db.sig: response code 404
debug: extra.db.sig: no more servers to retry
debug: curl_download_internal return code is 0
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature
debug: missing optional signature
debug: loading package cache for repository 'core'
debug: opening archive /var/lib/pacman/sync/core.db
debug: added 266 packages to package cache for db 'core'
debug: adding package 'python'
debug: loading package cache for repository 'local'
debug: added 184 packages to package cache for db 'local'
debug: adding package python-3.12.4-1 to the transaction add list
:: Starting full system upgrade...
debug: checking for package upgrades
debug: searching for replacements for acl in core
debug: searching for replacements for arch-install-scripts in core
debug: searching for replacements for arch-install-scripts in extra
debug: loading package cache for repository 'extra'
debug: opening archive /var/lib/pacman/sync/extra.db
debug: added 13747 packages to package cache for db 'extra'
debug: searching for replacements for archlinux-keyring in core
debug: searching for replacements for argon2 in core
debug: searching for replacements for aspnet-runtime in core
debug: searching for replacements for aspnet-runtime in extra
debug: searching for replacements for attr in core
debug: searching for replacements for audit in core
debug: searching for replacements for autoconf in core
debug: searching for replacements for automake in core
debug: searching for replacements for base in core
debug: searching for replacements for base-devel in core
debug: searching for replacements for bash in core
debug: searching for replacements for binutils in core
debug: searching for replacements for bison in core
debug: searching for replacements for bridge-utils in core
debug: searching for replacements for bridge-utils in extra
debug: searching for replacements for brotli in core
debug: searching for replacements for bzip2 in core
debug: searching for replacements for ca-certificates in core
debug: searching for replacements for ca-certificates-mozilla in core
debug: searching for replacements for ca-certificates-utils in core
debug: searching for replacements for containerd in core
debug: searching for replacements for containerd in extra
debug: searching for replacements for coreutils in core
debug: searching for replacements for cryptsetup in core
debug: searching for replacements for curl in core
debug: searching for replacements for db5.3 in core
debug: searching for replacements for dbus in core
debug: searching for replacements for dbus-broker in core
debug: searching for replacements for dbus-broker-units in core
debug: searching for replacements for debugedit in core
debug: searching for replacements for device-mapper in core
debug: searching for replacements for diffutils in core
debug: searching for replacements for docker in core
debug: searching for replacements for docker in extra
debug: searching for replacements for dotnet-host in core
debug: searching for replacements for dotnet-host in extra
debug: searching for replacements for dotnet-runtime in core
debug: searching for replacements for dotnet-runtime in extra
debug: searching for replacements for dotnet-sdk in core
debug: searching for replacements for dotnet-sdk in extra
debug: searching for replacements for dotnet-targeting-pack in core
debug: searching for replacements for dotnet-targeting-pack in extra
debug: searching for replacements for e2fsprogs in core
debug: searching for replacements for expat in core
debug: searching for replacements for eza in core
debug: searching for replacements for eza in extra
debug: searching for replacements for fakeroot-tcp in core
debug: searching for replacements for fakeroot-tcp in extra
debug: searching for replacements for fakeroot-tcp-debug in core
debug: searching for replacements for fakeroot-tcp-debug in extra
debug: searching for replacements for file in core
debug: searching for replacements for filesystem in core
debug: searching for replacements for findutils in core
debug: searching for replacements for fish in core
debug: searching for replacements for fish in extra
debug: searching for replacements for flex in core
debug: searching for replacements for gawk in core
debug: searching for replacements for gc in core
debug: searching for replacements for gcc in core
debug: searching for replacements for gcc-libs in core
debug: searching for replacements for gdbm in core
debug: searching for replacements for gettext in core
debug: searching for replacements for git in core
debug: searching for replacements for git in extra
debug: searching for replacements for glib2 in core
debug: searching for replacements for glibc in core
debug: searching for replacements for gmp in core
debug: searching for replacements for gnupg in core
debug: searching for replacements for gnutls in core
debug: searching for replacements for go in core
debug: searching for replacements for go in extra
debug: searching for replacements for gpgme in core
debug: searching for replacements for gpm in core
debug: searching for replacements for grep in core
debug: searching for replacements for groff in core
debug: searching for replacements for guile in core
debug: searching for replacements for gzip in core
debug: searching for replacements for http-parser in core
debug: searching for replacements for http-parser in extra
debug: searching for replacements for hwdata in core
debug: searching for replacements for iana-etc in core
debug: searching for replacements for icu in core
debug: searching for replacements for iproute2 in core
debug: searching for replacements for iptables in core
debug: searching for replacements for iputils in core
debug: searching for replacements for jansson in core
debug: searching for replacements for json-c in core
debug: searching for replacements for kbd in core
debug: searching for replacements for keyutils in core
debug: searching for replacements for kmod in core
debug: searching for replacements for krb5 in core
debug: searching for replacements for less in core
debug: searching for replacements for libarchive in core
debug: searching for replacements for libassuan in core
debug: searching for replacements for libbpf in core
debug: searching for replacements for libcap in core
debug: searching for replacements for libcap-ng in core
debug: searching for replacements for libdatrie in core
debug: searching for replacements for libdatrie in extra
debug: searching for replacements for libelf in core
debug: searching for replacements for libevent in core
debug: searching for replacements for libffi in core
debug: searching for replacements for libgcrypt in core
debug: searching for replacements for libgit2 in core
debug: searching for replacements for libgit2 in extra
debug: searching for replacements for libgpg-error in core
debug: searching for replacements for libidn2 in core
debug: searching for replacements for libisl in core
debug: searching for replacements for libksba in core
debug: searching for replacements for libldap in core
debug: searching for replacements for libmnl in core
debug: searching for replacements for libmpc in core
debug: searching for replacements for libnetfilter_conntrack in core
debug: searching for replacements for libnfnetlink in core
debug: searching for replacements for libnftnl in core
debug: searching for replacements for libnghttp2 in core
debug: searching for replacements for libnghttp3 in core
debug: searching for replacements for libnl in core
debug: searching for replacements for libnsl in core
debug: searching for replacements for libp11-kit in core
debug: searching for replacements for libpcap in core
debug: searching for replacements for libpsl in core
debug: searching for replacements for libsasl in core
debug: searching for replacements for libseccomp in core
debug: searching for replacements for libsecret in core
debug: searching for replacements for libssh2 in core
debug: searching for replacements for libsysprof-capture in core
debug: searching for replacements for libsysprof-capture in extra
debug: searching for replacements for libtasn1 in core
debug: searching for replacements for libthai in core
debug: searching for replacements for libthai in extra
debug: searching for replacements for libtirpc in core
debug: searching for replacements for libtool in core
debug: searching for replacements for libunistring in core
debug: searching for replacements for libunwind in core
debug: searching for replacements for libunwind in extra
debug: searching for replacements for libusb in core
debug: searching for replacements for libutempter in core
debug: searching for replacements for libutempter in extra
debug: searching for replacements for libverto in core
debug: searching for replacements for libxcrypt in core
debug: searching for replacements for libxml2 in core
debug: searching for replacements for licenses in core
debug: searching for replacements for linux-api-headers in core
debug: searching for replacements for lmdb in core
debug: searching for replacements for lmdb in extra
debug: searching for replacements for lz4 in core
debug: searching for replacements for m4 in core
debug: searching for replacements for make in core
debug: searching for replacements for mpdecimal in core
debug: searching for replacements for mpfr in core
debug: searching for replacements for nano in core
debug: searching for replacements for ncurses in core
debug: searching for replacements for netstandard-targeting-pack in core
debug: searching for replacements for netstandard-targeting-pack in extra
debug: searching for replacements for nettle in core
debug: searching for replacements for npth in core
debug: searching for replacements for openssl in core
debug: searching for replacements for p11-kit in core
debug: searching for replacements for pacman in core
debug: searching for replacements for pacman-mirrorlist in core
debug: searching for replacements for pam in core
debug: searching for replacements for pambase in core
debug: searching for replacements for patch in core
debug: searching for replacements for pciutils in core
debug: searching for replacements for pcre2 in core
debug: searching for replacements for perl in core
debug: searching for replacements for perl-error in core
debug: searching for replacements for perl-error in extra
debug: searching for replacements for perl-mailtools in core
debug: searching for replacements for perl-mailtools in extra
debug: searching for replacements for perl-mime-charset in core
debug: searching for replacements for perl-mime-charset in extra
debug: searching for replacements for perl-timedate in core
debug: searching for replacements for perl-timedate in extra
debug: searching for replacements for perl-unicode-linebreak in core
debug: searching for replacements for perl-unicode-linebreak in extra
debug: searching for replacements for perl-yaml-tiny in core
debug: searching for replacements for perl-yaml-tiny in extra
debug: searching for replacements for pinentry in core
debug: searching for replacements for pkgconf in core
debug: searching for replacements for po4a in core
debug: searching for replacements for po4a in extra
debug: searching for replacements for popt in core
debug: searching for replacements for procps-ng in core
debug: searching for replacements for psmisc in core
debug: searching for replacements for pyenv in core
debug: searching for replacements for pyenv in extra
debug: searching for replacements for readline in core
debug: searching for replacements for runc in core
debug: searching for replacements for runc in extra
debug: searching for replacements for sed in core
debug: searching for replacements for shadow in core
debug: searching for replacements for sqlite in core
debug: searching for replacements for starship in core
debug: searching for replacements for starship in extra
debug: searching for replacements for sudo in core
debug: searching for replacements for systemd in core
debug: searching for replacements for systemd-libs in core
debug: searching for replacements for systemd-sysvcompat in core
debug: searching for replacements for tar in core
debug: searching for replacements for texinfo in core
debug: searching for replacements for tpm2-tss in core
debug: searching for replacements for tzdata in core
debug: searching for replacements for util-linux in core
debug: searching for replacements for util-linux-libs in core
debug: searching for replacements for vim in core
debug: searching for replacements for vim in extra
debug: searching for replacements for vim-runtime in core
debug: searching for replacements for vim-runtime in extra
debug: searching for replacements for wget in core
debug: searching for replacements for wget in extra
debug: searching for replacements for which in core
debug: searching for replacements for xz in core
debug: searching for replacements for yay-bin in core
debug: searching for replacements for yay-bin in extra
debug: searching for replacements for yay-bin-debug in core
debug: searching for replacements for yay-bin-debug in extra
debug: searching for replacements for zlib in core
debug: searching for replacements for zstd in core
resolving dependencies...
debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package python-3.12.4-1
debug: finished resolving dependencies
looking for conflicting packages...
debug: looking for conflicts
debug: check targets vs targets
debug: check targets vs targets
debug: check targets vs db and db vs targets
debug: check targets vs db
debug: check db vs targets
debug: checking dependencies
debug: checkdeps: package python-3.12.4-1
debug: returning error 33 from alpm_db_get_pkg (../lib/libalpm/db.c: 316) : could not find or read package
debug: found cached pkg: /var/cache/pacman/pkg/python-3.12.4-1-x86_64.pkg.tar.zst.part
debug: using (package - .part) size
debug: setting download size 0 for pkg python
debug: sorting by dependencies
debug: started sorting dependencies
debug: sorting dependencies finished
debug: returning error 33 from alpm_db_get_pkg (../lib/libalpm/db.c: 316) : could not find or read package

Packages (1) python-3.12.4-1

Total Installed Size:  70.24 MiB

:: Proceed with installation? [Y/n]


debug: using cachedir: /var/cache/pacman/pkg/
:: Retrieving packages...
debug: python-3.12.4-1-x86_64.pkg.tar.zst: url is https://mirrors.kernel.org/archlinux/core/os/x86_64/python-3.12.4-1-x86_64.pkg.tar.zst
debug: python-3.12.4-1-x86_64.pkg.tar.zst: maxsize 13176657
debug: python-3.12.4-1-x86_64.pkg.tar.zst: tempfile found, attempting continuation from 13176657 bytes
debug: curl_download_internal return code is 1
checking keyring...
debug: found signature key: C06086337C50773E
debug: GPGME version: 1.23.2
debug: GPGME engine info: file=/usr/bin/gpg, home=/etc/pacman.d/gnupg/
debug: looking up key C06086337C50773E locally
debug: key lookup success, key exists
checking package integrity...
error: python: could not find package in cache
debug: returning error 33 from check_validity (../lib/libalpm/sync.c: 1003) : could not find or read package
error: failed to commit transaction (could not find or read package)
Errors occurred, no packages were upgraded.
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant