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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-29-2017, 09:32 PM
|
#1
|
Member
Registered: Jan 2017
Location: SE Asia
Distribution: Arch
Posts: 67
Rep:
|
How to run makepkg? Only strangers allowed?
Strange outputs trying to install some stuff. They assure me I can't run makepkg when in root whether I am root, user, or superuser. Are only strangers allowed then?
This output happens with several programs whether I answer yes or no to the question.
tiger 3.2.3-4 (2015-10-30 19:09)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
==> ERROR: An unknown error has occurred. Exiting...
Bizarre. I was actually superuser here but its the same output regardless.
May have to invite a stranger over.
Any better ideas?
Thnx
|
|
|
06-29-2017, 09:48 PM
|
#2
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Take a look at this doc for makepkg it has some tips and tricks that can help.
https://wiki.archlinux.org/index.php/makepkg
What are you trying to install and is the Arch you are running?
|
|
|
06-29-2017, 09:49 PM
|
#3
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Which distro are you using? And which command are you running?
|
|
|
06-29-2017, 09:54 PM
|
#4
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
|
|
|
06-30-2017, 12:20 AM
|
#5
|
Member
Registered: Jan 2017
Location: SE Asia
Distribution: Arch
Posts: 67
Original Poster
Rep:
|
I do have the man and scanned it a few times, but nothing about special privileges at all. Seems to work fine alone.
The command in the output above is yaourt -S tiger while already in superuser mode.
Identical results are given for sudo yaourt -S tiger as well as one other program, innoextract.
So its using yaourt to fire pacman which fires PKGBUILD which reaches for makepkg and fails.
Its an ArchLinux system.
As for the last post, I was rather hoping not to havta go so far into it as building my own from scratch. Not yet. Yaourt and pacman were supposed to save me that hassle for now,but are likely the ones failing on this.
So thanks for the link. It may just end up being easier doing it your way as this seems recurring.
Skip to the end of the line and get things done. Pretend pacman never happened. Hasn't Windows taught me long ago how unhelpful helpers are? Doff the crutches.
Got books and the man. I'll get to reading. Makes sense.
Thanx all.
|
|
|
06-30-2017, 12:07 PM
|
#6
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
I heard of yaourt when I was running Apricity OS (arch based) but never used it.
Hope that doing some reading helps and gives you clarification that you need.
Let us know how things go.
|
|
|
07-03-2017, 01:00 AM
|
#7
|
Member
Registered: Jan 2017
Location: SE Asia
Distribution: Arch
Posts: 67
Original Poster
Rep:
|
Celebratory bowl time!
That took a while. Its a pretty Arch-specific tick.
Updated all keys. Even reinstalled 'em.
Went thru pacman and yaourt settings.Discovered pacaur. Ended up skipping all of 'em.
learned to download and assemble from the UAR. With Arch it was only a matter of time.
Finally finished it up with makepkg -si innoextract and it nicely did all the lifting from there. Flawless and easy even.
Having been in the repositories, I had never really checked out the wiki until Ztcoraocat's link. Lots of really top notch Arch-specific tutorials so thanks much for that. Put me right on track. I plan to spend alot of time there.
So makepkg will work in root if you ask nice. Solved.
|
|
|
07-03-2017, 01:07 AM
|
#8
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
There tends to be logs of failures if you wanted to see what it's gripes were.
$ find . -iname '*log*'
The one with the timestamp of when you compiled / errored out is the applicable one. But glad you got it working. Package management stuff probably ends up in /var/log/ or $(journalctl -a) type ways.
|
|
|
07-03-2017, 10:56 AM
|
#9
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Quote:
Originally Posted by Barkester
Celebratory bowl time!
That took a while. Its a pretty Arch-specific tick.
Updated all keys. Even reinstalled 'em.
Went thru pacman and yaourt settings.Discovered pacaur. Ended up skipping all of 'em.
learned to download and assemble from the UAR. With Arch it was only a matter of time.
Finally finished it up with makepkg -si innoextract and it nicely did all the lifting from there. Flawless and easy even.
Having been in the repositories, I had never really checked out the wiki until Ztcoraocat's link. Lots of really top notch Arch-specific tutorials so thanks much for that. Put me right on track. I plan to spend alot of time there.
So makepkg will work in root if you ask nice. Solved.
|
Glad the link helped.
Have a nice 4th of July!
|
|
|
All times are GMT -5. The time now is 08:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|