LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-12-2014, 03:29 AM   #1
asero12
LQ Newbie
 
Registered: Nov 2013
Posts: 20

Rep: Reputation: Disabled
Angry 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.
 
Old 07-12-2014, 05:41 AM   #2
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
D you have enough RAM?
 
Old 07-12-2014, 06:24 AM   #3
asero12
LQ Newbie
 
Registered: Nov 2013
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Slax-Dude View Post
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?
 
Old 07-12-2014, 07:10 AM   #4
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
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 ?
 
Old 07-12-2014, 08:39 AM   #5
asero12
LQ Newbie
 
Registered: Nov 2013
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dunric View Post
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...
 
Old 07-12-2014, 09:06 AM   #6
kfritz
Member
 
Registered: Aug 2006
Distribution: Slackware, OpenBSD, CentOS, Ubuntu
Posts: 99

Rep: Reputation: 31
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.
 
Old 07-12-2014, 09:42 AM   #7
kkady32
Member
 
Registered: Dec 2010
Distribution: Slackware64-current
Posts: 115

Rep: Reputation: 42
try to use "su -"
 
Old 07-12-2014, 11:51 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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
 
Old 07-12-2014, 12:36 PM   #9
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by asero12 View Post
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.
 
Old 07-12-2014, 02:38 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
If you are careful and feel brave, just put this line in (created and made executable)
/etc/rc.d/rc.local_shutdown
Code:
rm -r /tmp/*
 
Old 07-13-2014, 06:45 AM   #11
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by asero12 View Post
-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+
 
Old 07-15-2014, 04:41 AM   #12
asero12
LQ Newbie
 
Registered: Nov 2013
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kfritz View Post
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.
 
  


Reply

Tags
error, grep, slackbuilds, slackware



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
[SOLVED] Problem installing monodevelop from slackbuilds. george-lappies Slackware 2 07-01-2011 12:44 AM
Installing PC-BSD 8.0 on a 10 GB disk impossible? Cheatcode? JZL240I-U *BSD 13 07-09-2010 05:04 AM
installing software is impossible with linux... M O L8ingN2dust Linux - Newbie 10 05-25-2005 01:19 AM
Installing Mandrake 10 impossible! stevoo Linux - Hardware 6 10-21-2004 10:53 PM
Impossible: Installing mod_perl2 w/ Apache2 pauljtester Linux - General 1 07-30-2004 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:16 AM.

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
Open Source Consulting | Domain Registration