Package Details: nerdctl-full-bin 2.0.0_beta.5-1

Git Clone URL: https://aur.archlinux.org/nerdctl-full-bin.git (read-only, click to copy)
Package Base: nerdctl-full-bin
Description: nerdctl full pkg, bundle with containerd/CNI plugin/RootlessKit
Upstream URL: https://github.com/containerd/nerdctl
Licenses: Apache
Submitter: wuhx
Maintainer: wuhx
Last Packager: wuhx
Votes: 2
Popularity: 0.000465
First Submitted: 2021-11-15 09:50 (UTC)
Last Updated: 2024-05-07 12:02 (UTC)

Latest Comments

toothrot commented on 2024-04-28 00:38 (UTC)

It looks like the release page uses a hyphen instead of an underscore:

==> ERROR: Failure while downloading 
https://github.com/containerd/nerdctl/releases/download/v2.0.0_beta.3/nerdctl-full-2.0.0_beta.3-linux-amd64.tar.gz

https://github.com/containerd/nerdctl/releases/tag/v2.0.0-beta.3 mentions https://github.com/containerd/nerdctl/releases/download/v2.0.0-beta.3/nerdctl-full-2.0.0-beta.3-linux-amd64.tar.gz as the correct url

duchess commented on 2024-03-29 22:34 (UTC) (edited on 2024-03-29 22:47 (UTC) by duchess)

I'm getting the same error as @helen-frank.

makepkg -si
---
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.

Updating the PKGBUILD file to this fixed it for me:

# Maintainer: wuhx <aur@xun.im>

pkgname=nerdctl-full-bin
pkgver=2.0.0
pkgversion=2.0.0-beta.1
pkgrel=1
pkgdesc="nerdctl full pkg, bundle with containerd/CNI plugin/RootlessKit"
arch=('x86_64' 'aarch64')
url="https://github.com/containerd/nerdctl"
license=('Apache')
source_aarch64=("nerdctl-full-${CARCH}-${pkgver}.tar.gz::https://github.com/containerd/nerdctl/releases/download/v${pkgver}/nerdctl-full-${pkgver}-linux-arm64.tar.gz")
source_x86_64=("nerdctl-full-${CARCH}-${pkgversion}.tar.gz::https://github.com/containerd/nerdctl/releases/download/v${pkgversion}/nerdctl-full-${pkgversion}-linux-amd64.tar.gz")

package() {
  mkdir -p "$pkgdir/usr/local"
  tar Cxzvvf "$pkgdir/usr/local" nerdctl-full-${CARCH}-${pkgversion}.tar.gz
}
sha256sums_x86_64=('869d2cff809a6cd8014cdeae2257bc14d0daf0a37c4c09a8bcb7a1338504edb3')
sha256sums_aarch64=('e762071c6fc927909c2c340151fb4dacebb472b082de93c51cc4fb5cb443ab25')

helen-frank commented on 2024-02-22 10:08 (UTC)

ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.

JulianXhokaxhiu commented on 2022-06-28 07:48 (UTC)

Hi, may I ask if you can please remove the v notation before the package version? Yay goes crazy everytime trying to track down the package version here by printing this:

-> nerdctl-full-bin: local (0.20.0-1) is newer than AUR (v0.21.0-1)

Thank you in advance

Lightless commented on 2022-02-13 17:11 (UTC)

Small correction to my previous comment: Nerdctl-full also provides a containerd.service file in lib/systemd/system/, which has precendence over the "real" containerd service file. So we would need to add an additional command to prevent conflicts, like such: rm "$pkgdir/usr/local/lib/systemd/system/containerd.service"

Lightless commented on 2022-02-12 18:36 (UTC)

Since containerd is available in the community repository, please consider adding depends=('containerd') for the dependency, and rm "$pkgdir/usr/local/bin/containerd" in the package() section to avoid conflicts. I tested it and it worked fine.