You are not logged in.

#1 2018-01-05 00:30:59

genericname
Member
Registered: 2018-01-04
Posts: 4

[solved] makepkg Failing to validate sources

I installed private-internet-access-vpn manually from the aur, making sure i had all the dependencies.  Every time I run makepkg in my build folder i get this:

==> Validating source files with sha256sums...
    openvpn-ip-lport.zip ... Passed
    openvpn.zip ... Passed
    openvpn-strong.zip ... Passed
    login-example.conf ... Passed
    pia-example.conf ... Passed
    restart.conf ... Passed
    vpn.sh ... Passsed
    pia.8.gz ... Passed
    python-pia ... Skipped
    openvpn-update-resolv-conf ... Skipped

After searching the forums, i found a post that said adding --skippgpcheck would solve the problem but it did not help, the process skips the last two every time.
This is my first post so i apologize if the formatting is bad, any help would be appreciated. 
Thanks

Last edited by genericname (2018-01-07 00:34:13)

Offline

#2 2018-01-05 00:36:11

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [solved] makepkg Failing to validate sources

https://aur.archlinux.org/cgit/aur.git/ … ss-vpn#n23 that is what the PKGBUILD author intended one skip is for a git repository and the other for a config file provided from a git repo.
both are git repositories,  as there is no defined way to checksum a directory that leaves the option of skipping.
Why do did you believe --skippgpcheck was relevant?  Please also use code tags for commands and their outputs and do not post partial outputs.
edit:
spelling a git not agit
edit2:
corrected that one entry was a git repo and the other a config file when infact both were git repositories.

Last edited by loqs (2018-01-05 00:42:20)

Offline

#3 2018-01-05 00:57:05

genericname
Member
Registered: 2018-01-04
Posts: 4

Re: [solved] makepkg Failing to validate sources

That was a poor post on my part, I assumed --skippgpcheck was relevant because when i try to run pia -a from the cli, pia is not an even option for a command.  I thought it was a problem with the package build when i saw those messages.  Maybe the right question would be, why is pia missing from my commands?  When executing pia -a i get "pia is not installed," and when I tab after I type pi, pia is not even available.

Offline

#4 2018-01-05 01:05:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [solved] makepkg Failing to validate sources

See the "Tip" at the very top of the wiki page:
https://wiki.archlinux.org/index.php/Pacman

EDIT: ok, the binary is named `pia`.  In that case, the following is the relevant link: we need to know exactly what you have done to install the package and what comand you are running that gives an error.
https://bbs.archlinux.org/viewtopic.php?id=57855

Note that "pia is not installed" is not the error message you would get from a shell.

Last edited by Trilby (2018-01-05 01:08:45)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2018-01-05 01:08:09

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [solved] makepkg Failing to validate sources

pacman -Ql private-internet-access-vpn

To see all the files provided by the package

Offline

#6 2018-01-06 20:25:21

genericname
Member
Registered: 2018-01-04
Posts: 4

Re: [solved] makepkg Failing to validate sources

From a brand new builds directory I ran makepkg again, after that i ran the pia command and the command provided by loqs.

$pia -a
bash: pia: command not found
$pacman -Q1 private-internet-access-vpn
error: package 'private-internet access-vpn' was not found

Other than the standard output of makepkg (which is 73 lines, is that to long to post here?) I'm not sure what other information is needed to help me solve my problem.

Offline

#7 2018-01-06 20:29:01

ayekat
Member
Registered: 2011-01-17
Posts: 1,634

Re: [solved] makepkg Failing to validate sources

Running makepkg only builds the package.
You need to install it as well (e.g. with pacman -U).


pkgs │ hacks │ cfg │ blag

Offline

#8 2018-01-06 20:34:19

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [solved] makepkg Failing to validate sources

Or follow Arch_User_Repository#Installing_packages
By what information you are expected to provide it would be the exact command you used in this case the makepkg command showing the command used
with all parameters and the full output it produced if the output is too long to post then please use a pastebin and provide a link.

Offline

#9 2018-01-06 21:41:57

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [solved] makepkg Failing to validate sources

genericname wrote:

Other than the standard output of makepkg (which is 73 lines, is that to long to post here?) I'm not sure what other information is needed to help me solve my problem.

Provide us with the _full_ makepkg output (use code tags), not the part you _think_ is relevant. Like Trilby already pointed out, describe what you have done, I see the equivalent of hand waving and shrugging and nothing concrete regarding the steps you have taken.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#10 2018-01-07 00:10:24

genericname
Member
Registered: 2018-01-04
Posts: 4

Re: [solved] makepkg Failing to validate sources

I only did half of what i needed to do like ayekat posted.  Once i ran

$makepkg -si

pia is now in my /bin but i am still having problems. I created
/etc/private-internet-access/login.conf and changed the permissions according to the wiki (first line username, second line password) and /etc/private-internet-access/pia.conf

[pia]
openvpn_auto_login = True

[configure]
apps = nm
hosts = US East, US West, US Midwest
port = 8080

when i run

#pia -a

and load the pia homepage from my regular user my ip stiil shows up, I've tried this after restarting NetworkManager with systemctl with no luck.

Offline

#11 2018-01-07 00:18:32

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [solved] makepkg Failing to validate sources

That is a separate issue. Please mark this one as solved and start a new thread if you still need help after reading the wiki.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#12 2018-01-07 00:25:02

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [solved] makepkg Failing to validate sources

Please note as an AUR package it is not supported or tested by arch and may not work at all any more.  You may also want to consider just using the bundle provided by the VPN provider.

Offline

Board footer

Powered by FluxBB