Slackware This 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.
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.
|
 |
07-12-2014, 03:29 AM
|
#1
|
LQ Newbie
Registered: Nov 2013
Posts: 20
Rep: 
|
Impossible installing slackbuilds, I always get the same error (grep)
Hi everybody.
Lately I've trying to install some programs using slackbuilds but I'm always getting the same error.
Quote:
`
p/µÓðÝô¾ÉØlÆúøÀàZ`p'ÐòÊ,j.F½À` дÛÀvàÒIíl®æ·£Ü@Ó7(7Ð4aª&Û`;pÐü-ÒZMØJþÀ6rÿåvM#ÑûÎHzËå6}vvýv&u½ÌvQx* Ù/!<ÐÔÑ#-À`;°&úA´0(ó▒¬eÀD`0Ø´»UäÞÙ#7Û~`ë ÐLVýü£(}%`0kXÕ1øMÝh?`+PôÀÒ?°
ØD´áÆÐØ)}è_0(µ'P>`¾rýÀõô* È]}la6iò,` °Ø¬¶[]À@. ·«ÝÀ|C@NN%ÛúÙôKµQ¹¾*À.`*: ôÓ]À|*ò%`3°=ù«¢¼ÀÖØl¾ñiÀ.`>Ð4
ùÍÀZ` °¾ã²¾{U@2:ÕLøÀ&`Ð
4ðW"_*X,V»Ídp,ñÉØlvQ¼3Ð>W!3Q/`¾Ï Èë*À½@S"ò#w*<cþÙ¨°ýO('°e8ÒúÏ
È1éð?å!¼õúP?fPågýÀZ`;°Øvúئ|^ 0qU!>}'#>° ¸tɬÜG¢Ü@
°mÍ¢ý3ÐN£1þ2è
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.
|
|
|
07-12-2014, 05:41 AM
|
#2
|
Member
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Debian, Slackware
Posts: 535
|
D you have enough RAM? 
|
|
|
07-12-2014, 06:24 AM
|
#3
|
LQ Newbie
Registered: Nov 2013
Posts: 20
Original Poster
Rep: 
|
Quote:
Originally Posted by Slax-Dude
D you have enough RAM? 
|
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?
|
|
|
07-12-2014, 07:10 AM
|
#4
|
Member
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498
Rep: 
|
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 ?
|
|
|
07-12-2014, 08:39 AM
|
#5
|
LQ Newbie
Registered: Nov 2013
Posts: 20
Original Poster
Rep: 
|
Quote:
Originally Posted by dunric
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...
|
|
|
07-12-2014, 09:06 AM
|
#6
|
Member
Registered: Aug 2006
Distribution: Slackware, OpenBSD, CentOS, Ubuntu
Posts: 99
Rep:
|
Go read step 4 here: http://slackbuilds.org/howto/
slackpkg is for keeping up-to-date with the Slackware repository. For Slackbuilds, just use installpkg, upgradepkg, and removepkg.
Last edited by kfritz; 07-12-2014 at 09:15 AM.
|
|
|
07-12-2014, 09:42 AM
|
#7
|
Member
Registered: Dec 2010
Distribution: Slackware64-current
Posts: 115
Rep:
|
try to use "su -"
|
|
|
07-12-2014, 11:51 AM
|
#8
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
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.
Eric
|
|
|
07-12-2014, 12:36 PM
|
#9
|
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230
|
Quote:
Originally Posted by asero12
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.
|
|
|
07-12-2014, 02:38 PM
|
#10
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,418
Rep: 
|
If you are careful and feel brave, just put this line in (created and made executable)
/etc/rc.d/rc.local_shutdown
|
|
|
07-13-2014, 06:45 AM
|
#11
|
Member
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322
Rep: 
|
Quote:
Originally Posted by asero12
-slackpkg install /tmp/SBo/filename.tgz <------------------- At this point is when I get the already mentioned error...
|
The error you are seeing is that you need to use slackpkg in a way that that it can use local packages. The correct command to use is therefore:
Code:
slackpkg install file:/tmp/SBo/filename.tgz
The key is to use "file:" to use a locally built package.
edit) in case the above doesn't work with native slackpkg....it might be that you need slackpkg+ for this to work.
Last edited by moesasji; 07-13-2014 at 06:51 AM.
Reason: remembered that this might need slackpkg+
|
|
|
07-15-2014, 04:41 AM
|
#12
|
LQ Newbie
Registered: Nov 2013
Posts: 20
Original Poster
Rep: 
|
Quote:
Originally Posted by kfritz
Go read step 4 here: http://slackbuilds.org/howto/
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...
Thank y'all.
|
|
|
All times are GMT -5. The time now is 08:59 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
|
|