Aur update issue

I am a newbie at troubleshooting aur issues. Looking for some help to figure this out.

[demo@manjaro ~]$ sudo pamac update -a
Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Preparing...
Synchronizing package databases...
Cloning python2 build files...
Running as unit: run-u2919.service
fatal: not a git repository (or any parent up to mount point /var/cache/private)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Finished with result: exit-code
Main processes terminated with: code=exited/status=128
Service runtime: 6ms
CPU time consumed: 6ms
Running as unit: run-u2920.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 41ms
CPU time consumed: 6ms
Running as unit: run-u2921.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.163s
CPU time consumed: 93ms
Generating python2 information...
Running as unit: run-u2922.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.037s
CPU time consumed: 1.151s
Checking python2 dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  python2  2.7.18-6  (2.7.18-5)  AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y


Building python2...
Running as unit: run-u2923.service
Press ^] three times within 1s to disconnect TTY.
==> Making package: python2 2.7.18-6 (Sun 25 Sep 2022 08:41:48 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading Python-2.7.18.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.2M  100 12.2M    0     0   9.9M      0  0:00:01  0:00:01 --:--:--  9.9M
  -> Downloading Python-2.7.18.tar.xz.asc...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   833  100   833    0     0   8065      0 --:--:-- --:--:-- --:--:--  8166
  -> Found mtime-workaround.patch
  -> Downloading python-gentoo-patches-2.7.18_p15.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 34956  100 34956    0     0  60481      0 --:--:-- --:--:-- --:--:-- 60582
==> Validating source files with sha512sums...
    Python-2.7.18.tar.xz ... Passed
    Python-2.7.18.tar.xz.asc ... Skipped
    mtime-workaround.patch ... Passed
    python-gentoo-patches-2.7.18_p15.tar.xz ... Passed
==> Verifying source file signatures with gpg...
    Python-2.7.18.tar.xz ... cat: write error: Broken pipe
FAILED
==> ERROR: One or more PGP signatures could not be verified!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1
Service runtime: 3.499s
CPU time consumed: 1.985s
Error: Failed to build python2

1 Like

pamac should not be run with sudo. It will ask you for a password when needed.

2 Likes

That helped getting the update running.
After it did about a million tests I got this:

Total duration: 7 min 40 sec
Tests result: FAILURE
==> ERROR: A failure occurred in check().
    Aborting...

Your initial issue, after running Pamac a second time it will ask to add the keys, or add them directly maybe from terminal.

but it doesn’t build.

What do you require python2 for? If you don’t need the package that requires it, just remove it all, python2 has been dropped and it now requires to be build from AUR.

//EDIT: maybe this can help try command dependency-checker python2

2 Likes

Looks like I have nothing using python2.
I will remove it.

[demo@manjaro ~]$ sudo pacman -Rcns python2
[sudo] password for demo: 
checking dependencies...
:: ark optionally requires unrar: RAR decompression support
:: grub optionally requires mtools: For grub-mkrescue FAT FS support
:: okular optionally requires unrar: Comic Book Archive support

Packages (18) cython2-0.29.32-2  libglade-2.6.4-8  live-usb-install-2.5.12-1  mtools-1:4.0.41-1  pygtk-2.24.0-12  python2-appdirs-1.4.4-6  python2-cairo-1.18.2-4
              python2-dbus-1.2.18-2  python2-gobject2-2.28.7-7  python2-numpy-1.16.6-2  python2-ordered-set-3.1.1-4  python2-packaging-20.9-7  python2-pyparsing-2.4.7-6
              python2-setuptools-2:44.1.1-2  python2-six-1.16.0-6  syslinux-6.04.pre2.r11.gbf6db5b4-3  unrar-1:6.1.7-1  python2-2.7.18-5

Total Removed Size:  135.75 MiB

:: Do you want to remove these packages? [Y/n] y
:: Running pre-transaction hooks...
(1/1) Removing old entries from the info directory file...
:: Processing package changes...
( 1/18) removing python2-packaging                                                                        [###############################################################] 100%
( 2/18) removing python2-six                                                                              [###############################################################] 100%
( 3/18) removing python2-setuptools                                                                       [###############################################################] 100%
( 4/18) removing python2-pyparsing                                                                        [###############################################################] 100%
( 5/18) removing python2-ordered-set                                                                      [###############################################################] 100%
( 6/18) removing python2-numpy                                                                            [###############################################################] 100%
( 7/18) removing python2-appdirs                                                                          [###############################################################] 100%
( 8/18) removing live-usb-install                                                                         [###############################################################] 100%
( 9/18) removing unrar                                                                                    [###############################################################] 100%
(10/18) removing syslinux                                                                                 [###############################################################] 100%
(11/18) removing mtools                                                                                   [###############################################################] 100%
(12/18) removing pygtk                                                                                    [###############################################################] 100%
(13/18) removing libglade                                                                                 [###############################################################] 100%
(14/18) removing python2-gobject2                                                                         [###############################################################] 100%
(15/18) removing python2-cairo                                                                            [###############################################################] 100%
(16/18) removing python2-dbus                                                                             [###############################################################] 100%
(17/18) removing cython2                                                                                  [###############################################################] 100%
(18/18) removing python2                                                                                  [###############################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Refreshing PackageKit...
(3/3) Updating the desktop file MIME type cache...

I don’t know why you end up removing all the dependencies for python2.
You needed to remove the package python2, not its dependencies. You can re-install unrar and mtools if you want.

Well I researched how to uninstall python2 so I used the instructions I found.
If I find I need something I will install it.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.