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

paru -Syu $package_name does not install $package_name if it's an aur package #1219

Open
RubenKelevra opened this issue Jul 19, 2024 · 0 comments

Comments

@RubenKelevra
Copy link
Contributor

Affected Version

paru v2.0.3 - libalpm v14.0.0

Description

I wanted to install a package, and used paru -Syu $package_name. Paru fetched the pkgbuild and built it correctly in the chroot, but then did not mark it as necessary to install, and completed the installation step, skipping the package I wanted to install.

Since it's stored in my aur "repo" locally then, I could install the built package with paru -S $packagename from there, but that's not the intended workflow.

Output

❯ paru -Syu python-securetar 
[sudo] password for ruben: 
no new news
:: Synchronizing package databases...
 cachyos-v4 is up to date
 cachyos-core-v4 is up to date
 cachyos-extra-v4 is up to date
 cachyos is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 aur is up to date
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
1 aur-aur/ladybird-git  r62425.062a266574-1 -> r62561.2c918b540d-1
:: Packages to exclude (eg: 1 2 3, 1-3):
:: 1
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
:: marked out of date: python-securetar  python-sqlalchemy2-stubs  python-sqlmodel

Aur (1)               Old Version  New Version    Make Only
aur/python-securetar               2023.3.0-2     No

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
/home/ruben/.cache/paru/clone/python-securetar/PKGBUILD------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
# Maintainer: @RubenKelevra <[email protected]>

pkgname='python-securetar'
_module=${pkgname#python-}
pkgver='2024.2.1'
pkgrel=2
pkgdesc="Python module to handle tarfile backups."
url="https://github.com/pvizeli/securetar"
depends=(
        'python>=3.12'
        'python-cryptography'
)
makedepends=('python-setuptools')
license=('Apache')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
b2sums=('ff4768bbd474fe71bd00dd86872ae2251f1beb461f00789baa547dda079efa31bc98d5495bb1ede131b1f20b52fdc30e67607dd1d1b25791200412a8f759a236')

build() {
        cd "${srcdir}/${_module}-${pkgver}"
        python setup.py build
}

package() {
        cd "${srcdir}/${_module}-${pkgver}"
        python setup.py install --root="${pkgdir}" --optimize=2 --skip-build
}


:: Accept changes? [Y/n]: 
fetching devel info...
:: Synchronizing package databases...
 cachyos-v4 is up to date
 cachyos-core-v4 is up to date
 cachyos-extra-v4 is up to date
 cachyos is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 aur is up to date
:: Starting full system upgrade...
 there is nothing to do
==> Synchronizing chroot copy [/var/lib/paru/aur_chroot/root] -> [ruben]...done
:: Synchronizing package databases...
 cachyos-v4 is up to date
 cachyos-core-v4 is up to date
 cachyos-extra-v4 is up to date
 cachyos is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 aur is up to date
:: Starting full system upgrade...
 there is nothing to do
==> Making package: python-securetar 2024.2.1-2 (Sat 20 Jul 2024 12:51:21 AM CEST)
==> Retrieving sources...
  -> Downloading securetar-2024.2.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 11136  100 11136    0     0  44264      0 --:--:-- --:--:-- --:--:-- 44264
==> Validating source files with b2sums...
    securetar-2024.2.1.tar.gz ... Passed
==> Making package: python-securetar 2024.2.1-2 (Sat Jul 20 00:51:24 2024)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (6)                           New Version  Net Change  Download Size

cachyos-core-v4/expat                 2.6.2-1.1      0.43 MiB               
cachyos-core-v4/mpdecimal             4.0.0-2.1      0.34 MiB               
extra/python-cffi                     1.16.0-2       1.32 MiB       0.27 MiB
extra/python-pycparser                2.22-2         1.71 MiB       0.22 MiB
cachyos-v4/python                     3.12.4-2      73.44 MiB               
cachyos-extra-v4/python-cryptography  42.0.6-1.1     4.43 MiB       0.97 MiB

Total Download Size:    1.46 MiB
Total Installed Size:  81.66 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-cryptography-42.0.6-1.1-x86_64                                                                            993.8 KiB  2.54 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 python-cffi-1.16.0-2-x86_64                                                                                      276.2 KiB   372 KiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
 python-pycparser-2.22-2-any                                                                                      225.3 KiB   303 KiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
 Total (3/3)                                                                                                     1495.3 KiB  1808 KiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
(6/6) checking keys in keyring                                                                                                                [---------------------------------------------------------------------------------------] 100%
(6/6) checking package integrity                                                                                                              [---------------------------------------------------------------------------------------] 100%
(6/6) loading package files                                                                                                                   [---------------------------------------------------------------------------------------] 100%
(6/6) checking for file conflicts                                                                                                             [---------------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/6) installing expat                                                                                                                        [---------------------------------------------------------------------------------------] 100%
(2/6) installing mpdecimal                                                                                                                    [---------------------------------------------------------------------------------------] 100%
(3/6) installing python                                                                                                                       [---------------------------------------------------------------------------------------] 100%
Optional dependencies for python
    python-setuptools: for building Python packages using tooling that is usually bundled with Python
    python-pip: for installing Python packages using tooling that is usually bundled with Python
    python-pipx: for installing Python software not packaged on Arch Linux
    sqlite: for a default database integration [installed]
    xz: for lzma [installed]
    tk: for tkinter
(4/6) installing python-pycparser                                                                                                             [---------------------------------------------------------------------------------------] 100%
(5/6) installing python-cffi                                                                                                                  [---------------------------------------------------------------------------------------] 100%
Optional dependencies for python-cffi
    python-setuptools: "limited api" version checking in cffi.setuptools_ext
(6/6) installing python-cryptography                                                                                                          [---------------------------------------------------------------------------------------] 100%
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (16)                     New Version  Net Change

extra/python-autocommand         2.2.2-6        0.08 MiB
extra/python-fastjsonschema      2.20.0-1       0.27 MiB
extra/python-inflect             7.3.1-1        0.36 MiB
extra/python-jaraco.context      4.3.0-4        0.03 MiB
extra/python-jaraco.functools    4.0.1-1        0.07 MiB
extra/python-jaraco.text         3.12.1-1       0.08 MiB
extra/python-more-itertools      10.3.0-1       0.63 MiB
extra/python-ordered-set         4.1.0-5        0.06 MiB
extra/python-packaging           24.1-1         0.49 MiB
extra/python-platformdirs        4.2.2-1        0.24 MiB
extra/python-tomli               2.0.1-4        0.10 MiB
extra/python-trove-classifiers   2024.7.1-1     0.12 MiB
extra/python-typeguard           4.3.0-1        0.41 MiB
extra/python-typing_extensions   4.12.2-1       0.41 MiB
extra/python-validate-pyproject  0.18-1         0.33 MiB
extra/python-setuptools          1:69.5.1-1     8.82 MiB

Total Installed Size:  12.51 MiB

:: Proceed with installation? [Y/n] 
(16/16) checking keys in keyring                                                                                                              [---------------------------------------------------------------------------------------] 100%
(16/16) checking package integrity                                                                                                            [---------------------------------------------------------------------------------------] 100%
(16/16) loading package files                                                                                                                 [---------------------------------------------------------------------------------------] 100%
(16/16) checking for file conflicts                                                                                                           [---------------------------------------------------------------------------------------] 100%
:: Processing package changes...
( 1/16) installing python-more-itertools                                                                                                      [---------------------------------------------------------------------------------------] 100%
( 2/16) installing python-jaraco.functools                                                                                                    [---------------------------------------------------------------------------------------] 100%
( 3/16) installing python-jaraco.context                                                                                                      [---------------------------------------------------------------------------------------] 100%
( 4/16) installing python-autocommand                                                                                                         [---------------------------------------------------------------------------------------] 100%
( 5/16) installing python-typing_extensions                                                                                                   [---------------------------------------------------------------------------------------] 100%
( 6/16) installing python-typeguard                                                                                                           [---------------------------------------------------------------------------------------] 100%
( 7/16) installing python-inflect                                                                                                             [---------------------------------------------------------------------------------------] 100%
( 8/16) installing python-jaraco.text                                                                                                         [---------------------------------------------------------------------------------------] 100%
( 9/16) installing python-ordered-set                                                                                                         [---------------------------------------------------------------------------------------] 100%
(10/16) installing python-packaging                                                                                                           [---------------------------------------------------------------------------------------] 100%
(11/16) installing python-platformdirs                                                                                                        [---------------------------------------------------------------------------------------] 100%
(12/16) installing python-tomli                                                                                                               [---------------------------------------------------------------------------------------] 100%
(13/16) installing python-fastjsonschema                                                                                                      [---------------------------------------------------------------------------------------] 100%
(14/16) installing python-trove-classifiers                                                                                                   [---------------------------------------------------------------------------------------] 100%
(15/16) installing python-validate-pyproject                                                                                                  [---------------------------------------------------------------------------------------] 100%
(16/16) installing python-setuptools                                                                                                          [---------------------------------------------------------------------------------------] 100%
==> Retrieving sources...
  -> Found securetar-2024.2.1.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting securetar-2024.2.1.tar.gz with bsdtar
==> Sources are ready.
python-securetar-2023.3.0-2: parsing pkg list...
==> Making package: python-securetar 2024.2.1-2 (Sat 20 Jul 2024 12:51:28 AM CEST)
==> Retrieving sources...
  -> Found securetar-2024.2.1.tar.gz
==> Validating source files with b2sums...
    securetar-2024.2.1.tar.gz ... Passed
==> Making package: python-securetar 2024.2.1-2 (Sat Jul 20 00:51:30 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
running build
running build_py
creating build
creating build/lib
creating build/lib/securetar
copying securetar/__init__.py -> build/lib/securetar
==> Entering fakeroot environment...
==> Starting package()...
running install
/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
running install_lib
creating /build/python-securetar/pkg/python-securetar/usr
creating /build/python-securetar/pkg/python-securetar/usr/lib
creating /build/python-securetar/pkg/python-securetar/usr/lib/python3.12
creating /build/python-securetar/pkg/python-securetar/usr/lib/python3.12/site-packages
creating /build/python-securetar/pkg/python-securetar/usr/lib/python3.12/site-packages/securetar
copying build/lib/securetar/__init__.py -> /build/python-securetar/pkg/python-securetar/usr/lib/python3.12/site-packages/securetar
byte-compiling /build/python-securetar/pkg/python-securetar/usr/lib/python3.12/site-packages/securetar/__init__.py to __init__.cpython-312.pyc
writing byte-compilation script '/tmp/tmpyn291xh_.py'
/usr/bin/python /tmp/tmpyn291xh_.py
removing /tmp/tmpyn291xh_.py
running install_egg_info
running egg_info
writing securetar.egg-info/PKG-INFO
writing dependency_links to securetar.egg-info/dependency_links.txt
writing requirements to securetar.egg-info/requires.txt
writing top-level names to securetar.egg-info/top_level.txt
reading manifest file 'securetar.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[co]' found under directory '*'
adding license file 'LICENSE'
writing manifest file 'securetar.egg-info/SOURCES.txt'
Copying securetar.egg-info to /build/python-securetar/pkg/python-securetar/usr/lib/python3.12/site-packages/securetar-2024.2.1-py3.12.egg-info
running install_scripts
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "python-securetar"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: python-securetar 2024.2.1-2 (Sat Jul 20 00:51:32 2024)
[INFO] Extracting aur.db.tar.gz to a temporary location...
[INFO] Extracting aur.files.tar.gz to a temporary location...
[INFO] Adding package '/var/lib/repo/aur/python-securetar-2024.2.1-2-any.pkg.tar.zst'
[INFO] Computing checksums...
[INFO] Creating 'desc' db entry...
[INFO] Creating 'files' db entry...
[INFO] Creating updated database file '/var/lib/repo/aur/aur.db.tar.gz'
:: syncing local databases...
  syncing aur.db...
:: Synchronizing package databases...
 cachyos-v4 is up to date
 cachyos-core-v4 is up to date
 cachyos-extra-v4 is up to date
 cachyos is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 aur is up to date
:: Starting full system upgrade...
 there is nothing to do

~/Projects/AUR_maintained_packages/python-securetar master 41s
❯ paru -Qs python-securetar

~/Projects/AUR_maintained_packages/python-securetar master
❯ paru -S python-securetar
resolving dependencies...
looking for conflicting packages...

Package (1)           New Version  Net Change

aur/python-securetar  2024.2.1-2     0.04 MiB

Total Installed Size:  0.04 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-securetar-2024.2.1-2-any                                                                                   12.7 KiB  12.4 MiB/s 00:00 [---------------------------------------------------------------------------------------] 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%
:: Processing package changes...
(1/1) installing python-securetar                                                                                                             [---------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Config files

paru.conf

[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
BottomUp
RemoveMake
SudoLoop
UseAsk
SaveChanges
CombinedUpgrade
CleanAfter
UpgradeMenu
NewsOnUpgrade
LocalRepo
Chroot = /var/lib/paru/aur_chroot

pacman.conf

[options]
CacheDir     = /var/cache/pacman/pkg/
CacheDir     = /var/lib/repo/aur
HoldPkg     = pacman glibc
Architecture = auto
Color
ILoveCandy
VerbosePkgLists
ParallelDownloads = 10
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
[cachyos-v4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos-core-v4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos-extra-v4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[aur]
SigLevel = PackageOptional DatabaseOptional
Server = file:///var/lib/repo/aur
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