[SOLVED] Impossible installing slackbuilds, I always get the same error (grep)
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
grep: Unmatched [ or [^
grep: Unmatched [ or [^
grep: Unmatched [ or [^
grep: Unmatched [ or [^
grep: Unmatched [ or [^
grep: Unmatched [ or [^
grep: Invalid range end
The first time this happened I was trying to install code::blocks, so I thought the problem was just with that Slackbuild, but now that I'm trying to install rar, I get the same error.
I don't know if this could have something to do, but I moved the /tmp folder to RAM (adding it to fstab), so it could get cleaned each time my pc boots, I did that cause it was getting full of lots of temporary files of slackbuilds I had already installed but hadn't got erased despite being a lot of time there...
Do you know what may cause this error?
Thank you in advance...
Last edited by asero12; 07-12-2014 at 03:37 AM.
Reason: It had unusual phrasing, I'm not a native speaker, sorry.
This sounded like it could be the problem, so I just erased /tmp on RAM from fslist, rebooted, but still have the same problem...
Don't you know what else could it be? what is the meaning of those random characters?
It's hard to say, you need to be a more specific. What steps do you take and what are the results.
Btw. do you have a dependency wxPython correctly installed ?
It's hard to say, you need to be a more specific. What steps do you take and what are the results.
Btw. do you have a dependency wxPython correctly installed ?
Yes, I installed it, it's the only dependency that code::blocks seems to have according to Slackbuilds.org
When I install a package, I follow these steps:
-Download source and slackbuild
-uncompress the slackbuild with tar -zxvf
-Move the source into the folder which results of the mentioned uncompression.
-use "su"
-use "chmod o+x filename.Slackbuild"
-use ./filename.Slackbuild"
UNTIL HERE EVERYTHING FINE, THE PROBLEM IS WHEN.
-slackpkg install /tmp/SBo/filename.tgz <------------------- At this point is when I get the already mentioned error...
Try using "installpkg /tmp/SBo/filename.tgz" after becoming root with "su -" (note the dash). Slackpkg is not meant to install random packages. It only works with packages in the official Slackware repository.
I don't know if this could have something to do, but I moved the /tmp folder to RAM (adding it to fstab), so it could get cleaned each time my pc boots, I did that cause it was getting full of lots of temporary files of slackbuilds I had already installed but hadn't got erased despite being a lot of time there...
For what it's worth, all you need to do to get rid of those files left over in the /tmp directory is to delete everything in the /tmp/SBo/ directory after the binary .tgz (or .txz) file is created. You do not need that stuff after the binary package is installed.
slackpkg is for keeping up-to-date with the Slackware repository. For Slackbuilds, just use installpkg, upgradepkg, and removepkg.
This was the problem. god, this is what happens when one stops using slackware for 6 months and doesn't read again the instructions for the commands one has forgotten. Thank you really much...
I will try what the others say for erasing the /tmp folder each time...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.