You are not logged in.

#1 2021-08-02 14:17:49

AcerE5-573-58ZF
Member
Registered: 2021-05-16
Posts: 5

Need help installing .rpm nordvpnteams for work

Hi, I have extracted the .rpm package and I have now a PKGBUILD which is this:

pkgname=nordvpnteams-latest-1_0_0-noarch
pkgver=current
pkgrel=1
pkgdesc="A program necessary for VPN"
arch=("x86_64")
url=""
license=('Unknown')
depends=()
makedepends=('rpmextract')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=('emptydirs')
install="nordvpnteams-latest-1_0_0-noarch.install"
changelog=
source=()
noextract=()
md5sums=()
validpgpkeys=()

prepare() {
  cp ../nordvpnteams-latest-1.0.0-noarch.rpm $srcdir/
}

package() {
  rpm2cpio nordvpnteams-latest-1.0.0-noarch.rpm | cpio -idmv -D $pkgdir/
}

However when I run makepkg -s it shows the following error:

==> Making package: nordvpnteams-latest-1_0_0-noarch current-1 (Mon 02 Aug 2021 10:09:40 PM HKT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> Extracting sources...
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
cpio: /etc/pki/rpm-gpg/RPM-GPG-KEY-Tefincom: Cannot open: Permission denied
/etc/pki/rpm-gpg/RPM-GPG-KEY-Tefincom
cpio: /etc/yum.repos.d/nordvpnteams.repo: Cannot open: Permission denied
/etc/yum.repos.d/nordvpnteams.repo
5 blocks
==> ERROR: A failure occurred in package().
    Aborting...

I have changed the permissions of said folders and it's directories to 777.

Anyone can help me? I really this specific application for work.

Thanks.

Offline

#2 2021-08-02 14:24:24

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Need help installing .rpm nordvpnteams for work

You can't use the AUR package? https://aur.archlinux.org/packages/nordvpnteams-bin/

Moving to AUR issues (even if you can't use the AUR package, this is not an installation issue, and the AUR section is for packages not in the official repos).

Last edited by 2ManyDogs (2021-08-02 14:26:19)

Offline

#3 2021-08-02 22:53:22

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: Need help installing .rpm nordvpnteams for work

nordvpnteams-latest-1.0.0-noarch.rpm contains a yum config for a repo rather than the package nordvpnteams itself.

Offline

Board footer

Powered by FluxBB