[SOLVED] How to run makepkg? Only strangers allowed?
Linux - NewbieThis 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.
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.
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.
==> 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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.