LinHES Forums
http://forums.linhes.org/

Need help installing PPTP
http://forums.linhes.org/viewtopic.php?f=21&t=24350
Page 1 of 1

Author:  nbdwt73 [ Sat May 21, 2016 8:02 am ]
Post subject:  Need help installing PPTP

I have recently upgraded to 8.4.1. System seems to be running well. I now have to reinstall a few packages that are incredibly important (been running for years). The most important one is pptpclient. I have been able to get thru MAKEPKG - had to alter PKGBUILD from pptpclient from http://linhes.org/repo/src_packages/extra/ to include

package() {
cd "$srcdir/pptp-$pkgver"
make DESTDIR="$pkgdir/" install

}

Now when i run MAKEPKG -i I am getting the following error:

(1/1) checking for file conflicts [#############################################] 100%
error: failed to commit transaction (conflicting files)
pptpclient: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).

I know it has something to do with a change to use /usr/bin instead of /usr/sbin ( https://www.archlinux.org/news/binaries ... ervention/ ) but I am not experienced enough to know how to fix it.

Author:  brfransen [ Sat May 21, 2016 8:22 am ]
Post subject:  Re: Need help installing PPTP

That PKGBUILD is really old and we don't have it in our tree anymore. You are correct that the error is with the changed location of sbin and it has to do with the sed command in prepare(). To fix it you can fix your PKGBUILD to put things in /usr/bin or just use the Arch PKGBUILD (https://git.archlinux.org/svntogit/pack ... pptpclient) and run makepkg again.

Author:  nbdwt73 [ Sat May 21, 2016 10:06 am ]
Post subject:  Re: Need help installing PPTP

Thanks - Got it working. You have saved me (again).

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/