You are not logged in.

#1 2015-04-08 13:32:53

aaa234
Member
Registered: 2015-01-07
Posts: 33

[Solved]You do not have write permission to create package

Hi archers! this is my second installation of arch on my laptop. I used nouveau driver in the first installation and it worked pretty well but this time I used nvidia packages which is the beginning of error that

[ERROR]Cannot access secondary GPU - error: Could not load GPU driver

so i tried to compile the package manually but when I

makepkg -s

it returns, I don't have write permission, what can I do it? any idea? Is there any solution without installing yaourt?

Last edited by aaa234 (2015-04-12 07:23:00)

Offline

#2 2015-04-08 13:46:55

pdgessler
Member
From: Milwaukee, WI
Registered: 2011-04-06
Posts: 23

Re: [Solved]You do not have write permission to create package

This issue comes up in a search—you are most likely trying to run makepkg somewhere outside your home directory, where you do not have permissions.

Move the PKGBUILD (and any associated files) somewhere under ~ (I use ~/builds/<pkgname>) and try again.

Last edited by pdgessler (2015-04-08 13:47:45)

Offline

#3 2015-04-08 13:58:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved]You do not have write permission to create package

What package are you trying to compile? nvidia? Unless you're using the stock Arch PKGBUILD, post the link to the PKGBUILD you're using.

Offline

#4 2015-04-08 14:00:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [Solved]You do not have write permission to create package

Moving to Newbie corner


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2015-04-08 14:46:27

aaa234
Member
Registered: 2015-01-07
Posts: 33

Re: [Solved]You do not have write permission to create package

pdgessler wrote:

This issue comes up in a search—you are most likely trying to run makepkg somewhere outside your home directory, where you do not have permissions.

Move the PKGBUILD (and any associated files) somewhere under ~ (I use ~/builds/<pkgname>) and try again.


Yes, I'm in the directory. I placed nvidia to

$HOME/abs/nvidia

and

cd $HOME/abs/nvidia 

and ran makepkg.

Offline

#6 2015-04-08 14:49:36

aaa234
Member
Registered: 2015-01-07
Posts: 33

Re: [Solved]You do not have write permission to create package

karol wrote:

What package are you trying to compile? nvidia? Unless you're using the stock Arch PKGBUILD, post the link to the PKGBUILD you're using.

of course! I'm trying to compile nvidia as the direction from the troubleshooting section from bumblebee page

https://www.archlinux.org/packages/?name=nvidia

Offline

#7 2015-04-08 15:07:59

Silkworm205
Member
From: UK
Registered: 2012-05-21
Posts: 267

Re: [Solved]You do not have write permission to create package

So pwd says you're definitely in /home/username/abs/nvidia? If so this is weird. You didn't make the any of the subfolders as root did you? And your account owns the /home/username directory too?
I overlooked that on a recent install. Made the /home/username directory as root. Of course, then only root had write access to it.

Or maybe the tarball inherited some bogus folder permissions? I remember reading once that tar can retain folder and ownership settings.


I think I know enough to know I don't know enough.

Offline

#8 2015-04-09 04:00:04

aaa234
Member
Registered: 2015-01-07
Posts: 33

Re: [Solved]You do not have write permission to create package

Hey guys I got a bit problem here. I got a new error when I ran

 optirun glxgears 

which is already shown in the troubleshooting section from Bumblebee wiki that

[ 1648.179533] [ERROR]You've no permission to communicate with the Bumblebee daemon. Try adding yourself to the 'bumblebee' group
[ 1648.179628] [ERROR]Could not connect to bumblebee daemon - is it running?

and I did it as [link] http://bbs.archlinux.org/viewtopic.php? … 7#p1517947 [/link] but today I when I run

 option glxgears 

I got

 [ERROR]Cannot access secondary GPU - error: [XORG] (EE) systemd-logind: failed to get session: PID 2361 does not belong to any known session
[ERROR]Aborting because fallback start is disabled. 

and doing the solving instruction from bumblebee wiki doesn't make any difference. what should I do?

Offline

#9 2015-04-09 04:56:07

aaa234
Member
Registered: 2015-01-07
Posts: 33

Re: [Solved]You do not have write permission to create package

problem has been solved for makepkg -s following this post http://bbs.archlinux.org/viewtopic.php?id=84120 smile yayyyyyyyyyy ,but other problems still remain

Last edited by aaa234 (2015-04-09 04:59:08)

Offline

#10 2015-04-12 04:15:17

ackt1c
Banned
From: Visalia, California
Registered: 2012-10-10
Posts: 241

Re: [Solved]You do not have write permission to create package

Changed

Last edited by ackt1c (2022-11-05 12:52:53)

Offline

Board footer

Powered by FluxBB