You are not logged in.

#1 2023-07-27 05:04:52

train__wreck
Member
Registered: 2020-08-23
Posts: 32

Yay can't update - "no such file or directory"

I recently installed yay on my mail server so I could update several Courier software packages without having to manually download them each time. Upon running "yay -Syua", the process fails, complaining that some directories don't exist.

:: Searching AUR for updates...
 -> Orphan (unmaintained) AUR Packages: perl-cgi-compile  perl-fcgi-procmanager  perl-filesys-notify-simple  perl-lwp-protocol-http10  perl-plack  perl-stream-buffered
 -> Flagged Out Of Date AUR Packages: perl-log-dispatch
:: 4 packages to upgrade/install.
4  aur/courier-authlib   0.71.6-1 -> 0.72.0-1
3  aur/courier-imap      5.2.3-1  -> 5.2.4-1
2  aur/courier-maildrop  3.0.9-1  -> 3.1.5-1
1  aur/courier-unicode   2.2.5-1  -> 2.2.6-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
AUR Explicit (4): courier-imap-5.2.4-1, courier-maildrop-3.1.5-1, courier-authlib-0.72.0-1, courier-unicode-2.2.6-1
:: (1/4) Downloaded PKGBUILD: courier-unicode
:: (2/4) Downloaded PKGBUILD: courier-maildrop
:: (3/4) Downloaded PKGBUILD: courier-authlib
:: (4/4) Downloaded PKGBUILD: courier-imap
  4 courier-authlib                          (Build Files Exist)
  3 courier-unicode                          (Build Files Exist)
  2 courier-imap                             (Build Files Exist)
  1 courier-maildrop                         (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/4): /home/user/.cache/yay/courier-authlib
HEAD is now at b54c0a4 Update to 0.72.0
:: Deleting (2/4): /home/user/.cache/yay/courier-unicode
HEAD is now at ceb0c2f Version 2.2.6
:: Deleting (3/4): /home/user/.cache/yay/courier-imap
HEAD is now at 4b7f96d Update to 5.2.4
:: Deleting (4/4): /home/user/.cache/yay/courier-maildrop
HEAD is now at 1216be1 Update to 3.1.5
  4 courier-imap                             (Build Files Exist)
  3 courier-maildrop                         (Build Files Exist)
  2 courier-authlib                          (Build Files Exist)
  1 courier-unicode                          (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
==> Making package: courier-imap 5.2.4-1 (Wed 26 Jul 2023 11:59:50 PM CDT)
==> Retrieving sources...
  -> Downloading courier-imap-5.2.4.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   359  100   359    0     0   1900      0 --:--:-- --:--:-- --:--:--  1909
100 3331k  100 3331k    0     0   541k      0  0:00:06  0:00:06 --:--:--  893k
  -> Found courier-imapd-ssl.service
  -> Found courier-imapd.service
  -> Found courier-pop3d.service
  -> Found courier-pop3d-ssl.service
==> Validating source files with sha512sums...
    courier-imap-5.2.4.tar.bz2 ... Passed
    courier-imapd-ssl.service ... Passed
    courier-imapd.service ... Passed
    courier-pop3d.service ... Passed
    courier-pop3d-ssl.service ... Passed
==> Making package: courier-maildrop 3.1.5-1 (Wed 26 Jul 2023 11:59:57 PM CDT)
==> Retrieving sources...
  -> Downloading maildrop-3.1.5.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   363  100   363    0     0   1920      0 --:--:-- --:--:-- --:--:--  1920
100 2105k  100 2105k    0     0   478k      0  0:00:04  0:00:04 --:--:--  705k
==> Validating source files with sha512sums...
    maildrop-3.1.5.tar.bz2 ... Passed
==> Making package: courier-authlib 0.72.0-1 (Thu 27 Jul 2023 12:00:03 AM CDT)
==> Retrieving sources...
  -> Downloading courier-authlib-0.72.0.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   373  100   373    0     0   1699      0 --:--:-- --:--:-- --:--:--  1695
100 2221k  100 2221k    0     0   523k      0  0:00:04  0:00:04 --:--:--  801k
  -> Found courier-authlib.tmpfiles
  -> Found authdaemond.service
  -> Found courier.conf
==> Validating source files with sha512sums...
    courier-authlib-0.72.0.tar.bz2 ... Passed
    courier-authlib.tmpfiles ... Passed
    authdaemond.service ... Passed
    courier.conf ... Passed
==> Making package: courier-unicode 2.2.6-1 (Thu 27 Jul 2023 12:00:09 AM CDT)
==> Retrieving sources...
  -> Downloading courier-unicode-2.2.6.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   784    0   784    0     0   7548      0 --:--:-- --:--:-- --:--:--  7611
100   800    0   800    0     0   3343      0 --:--:-- --:--:-- --:--:-- 26666
100  1037    0  1037    0     0   2748      0 --:--:-- --:--:-- --:--:--  2748
100   389  100   389    0     0    430      0 --:--:-- --:--:-- --:--:--   430
100  584k  100  584k    0     0   212k      0  0:00:02  0:00:02 --:--:--  365k
==> Validating source files with sha256sums...
    courier-unicode-2.2.6.tar.bz2 ... Passed
:: (1/4) Parsing SRCINFO: courier-authlib
:: (2/4) Parsing SRCINFO: courier-unicode
:: (3/4) Parsing SRCINFO: courier-imap
:: (4/4) Parsing SRCINFO: courier-maildrop
==> Making package: courier-unicode 2.2.6-1 (Thu 27 Jul 2023 12:00:15 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found courier-unicode-2.2.6.tar.bz2
==> Validating source files with sha256sums...
    courier-unicode-2.2.6.tar.bz2 ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting courier-unicode-2.2.6.tar.bz2 with bzip2
==> Sources are ready.
==> Making package: courier-unicode 2.2.6-1 (Thu 27 Jul 2023 12:00:20 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/home/user/.cache/yay/courier-unicode/PKGBUILD: line 20: cd: /home/user/.cache/yay/courier-unicode/src/courier-unicode-2.2.6: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> Failed to install layer, rolling up to next layer.error:error making: courier-unicode - exit status 4
==> Making package: courier-unicode 2.2.6-1 (Thu 27 Jul 2023 12:00:22 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found courier-unicode-2.2.6.tar.bz2
==> Validating source files with sha256sums...
    courier-unicode-2.2.6.tar.bz2 ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting courier-unicode-2.2.6.tar.bz2 with bzip2
==> Sources are ready.
==> Making package: courier-unicode 2.2.6-1 (Thu 27 Jul 2023 12:00:26 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/home/user/.cache/yay/courier-unicode/PKGBUILD: line 20: cd: /home/user/.cache/yay/courier-unicode/src/courier-unicode-2.2.6: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> Failed to install layer, rolling up to next layer.error:error making: courier-unicode - exit status 4
==> Making package: courier-unicode 2.2.6-1 (Thu 27 Jul 2023 12:00:28 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found courier-unicode-2.2.6.tar.bz2
==> Validating source files with sha256sums...
    courier-unicode-2.2.6.tar.bz2 ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting courier-unicode-2.2.6.tar.bz2 with bzip2
==> Sources are ready.
==> Making package: courier-unicode 2.2.6-1 (Thu 27 Jul 2023 12:00:32 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/home/user/.cache/yay/courier-unicode/PKGBUILD: line 20: cd: /home/user/.cache/yay/courier-unicode/src/courier-unicode-2.2.6: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> Failed to install layer, rolling up to next layer.error:error making: courier-unicode - exit status 4
==> Making package: courier-maildrop 3.1.5-1 (Thu 27 Jul 2023 12:00:33 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found maildrop-3.1.5.tar.bz2
==> Validating source files with sha512sums...
    maildrop-3.1.5.tar.bz2 ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting maildrop-3.1.5.tar.bz2 with bzip2
==> Sources are ready.
==> Making package: courier-maildrop 3.1.5-1 (Thu 27 Jul 2023 12:00:36 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/home/user/.cache/yay/courier-maildrop/PKGBUILD: line 21: cd: /home/user/.cache/yay/courier-maildrop/src/maildrop-3.1.5: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: courier-maildrop-exit status 4
==> Making package: courier-authlib 0.72.0-1 (Thu 27 Jul 2023 12:00:38 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found courier-authlib-0.72.0.tar.bz2
  -> Found courier-authlib.tmpfiles
  -> Found authdaemond.service
  -> Found courier.conf
==> Validating source files with sha512sums...
    courier-authlib-0.72.0.tar.bz2 ... Passed
    courier-authlib.tmpfiles ... Passed
    authdaemond.service ... Passed
    courier.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting courier-authlib-0.72.0.tar.bz2 with bzip2
==> Sources are ready.
==> Making package: courier-authlib 0.72.0-1 (Thu 27 Jul 2023 12:00:41 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/home/user/.cache/yay/courier-authlib/PKGBUILD: line 36: cd: /home/user/.cache/yay/courier-authlib/src/courier-authlib-0.72.0: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: courier-authlib-exit status 4
==> Making package: courier-unicode 2.2.6-1 (Thu 27 Jul 2023 12:00:43 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found courier-unicode-2.2.6.tar.bz2
==> Validating source files with sha256sums...
    courier-unicode-2.2.6.tar.bz2 ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting courier-unicode-2.2.6.tar.bz2 with bzip2
==> Sources are ready.
==> Making package: courier-unicode 2.2.6-1 (Thu 27 Jul 2023 12:00:47 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/home/user/.cache/yay/courier-unicode/PKGBUILD: line 20: cd: /home/user/.cache/yay/courier-unicode/src/courier-unicode-2.2.6: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: courier-unicode-exit status 4
==> Making package: courier-imap 5.2.4-1 (Thu 27 Jul 2023 12:00:48 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found courier-imap-5.2.4.tar.bz2
  -> Found courier-imapd-ssl.service
  -> Found courier-imapd.service
  -> Found courier-pop3d.service
  -> Found courier-pop3d-ssl.service
==> Validating source files with sha512sums...
    courier-imap-5.2.4.tar.bz2 ... Passed
    courier-imapd-ssl.service ... Passed
    courier-imapd.service ... Passed
    courier-pop3d.service ... Passed
    courier-pop3d-ssl.service ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting courier-imap-5.2.4.tar.bz2 with bzip2
==> Sources are ready.
==> Making package: courier-imap 5.2.4-1 (Thu 27 Jul 2023 12:00:53 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/home/user/.cache/yay/courier-imap/PKGBUILD: line 33: cd: /home/user/.cache/yay/courier-imap/src/courier-imap-5.2.4: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: courier-imap-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
courier-maildrop - exit status 4
courier-authlib - exit status 4
courier-unicode - exit status 4
courier-imap - exit status 4

No idea why they're not there, I tried deleting all of ~/.cache/yay and rerunning but it fails the same way.

Any thoughts how to proceed? Thanks.

Offline

#2 2023-07-27 07:04:21

seth
Member
Registered: 2012-09-03
Posts: 63,424

Re: Yay can't update - "no such file or directory"

https://aur.archlinux.org/packages/cour … ent-890769

1. stop using yay, build the package manually like the Great Taco meant it to be.
2. check the file type of the downloaded tar.bz2

Offline

Board footer

Powered by FluxBB