LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2010, 01:59 PM   #1
oalicein
LQ Newbie
 
Registered: Dec 2010
Posts: 10

Rep: Reputation: 0
No write permission to store packages in... (makepkg)


(Note: I'm not sure, but this question may be quite Arch-specific.)

I have tried to 'makepkg -s' easy-e17 in a few different places, but to no avail. I get the error:

Code:
ERROR: You do not have write permission to store packages in /bin/easy-e17.
Aborting...
Though, I also get this error for any other directory I try in. When trying with 'sudo' I am told that it is a "bad idea."

I have never used makepkg before, so whatever is wrong might be obvious; I have never "fine-tined" my makepkg.conf before, either.

Probably not relevant, but just in case: easy-e17 is a group of files from the Arch User Repository for installing Enlightenment (DR17). Perhaps there is something I need to install in order to make packages from the AUR? Or does that sound ridiculous? I wouldn't know.
 
Old 12-31-2010, 03:20 PM   #2
Linux_Revolution
LQ Newbie
 
Registered: Nov 2010
Location: Milwuakee, WI
Distribution: BackTrack - Ubuntu
Posts: 29

Rep: Reputation: 2
You would either need to run it as sudo, or add your username to the sudoers file sudo gedit /etc/sudoers
 
Old 12-31-2010, 04:04 PM   #3
oalicein
LQ Newbie
 
Registered: Dec 2010
Posts: 10

Original Poster
Rep: Reputation: 0
When running it with 'sudo' I get this error:

Code:
ERROR: Running makepkg as root is a BAD idea and can cause permanent, catastrophic damage to your system. If you wish to run as root, please use the --asroot option.
And using the '--asroot' option does nothing.

I believe I have successfully added my name to the 'sudoers' list, but the same errors appear.
 
Old 12-31-2010, 05:24 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,577

Rep: Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862
Try placing the package in /tmp
cd /wherever
makepkg /tmp/somepkg.txz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where does slackware store packages compiled with sbopkg? glore2002 Slackware 6 09-07-2009 01:21 AM
Problems with creating new packages via makepkg tomekdd Slackware 17 06-16-2009 03:33 AM
How can I store saved apt-get packages to save redownloading them? colabus Linux - Newbie 9 05-21-2004 11:35 PM
no write permission? santasballz Linux - Newbie 1 02-13-2004 12:26 AM
No Write Permission... cabrone Linux - Newbie 4 09-15-2003 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration