Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 20 Aug 2014, 00:50
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Problem installing Crashplan in Slacko 5.3.3
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Sat 24 Nov 2012, 20:30    Post_subject:  Problem installing Crashplan in Slacko 5.3.3  

I have never had any problems installing Crashplan in Lucid 5.2.8 or even Saluki, but for some reason, I can't in Slacko. Any idea why? This is what I get:

Code:

CrasCrashPlan_3.4.1.cpi  install.defaults      README
EULA.txt             install.sh            scripts
INSTALL              jre1.6.0_25_i586.tgz  uninstall.sh
# ./install.sh
./install.sh: line 27: who: command not found

Welcome to the CrashPlan Installer.

Press enter to continue with installation.

Validating environment...
  detected root permissions
ERROR: who not found and is required for install. Exiting
#
Back to top
View user's profile Send_private_message Visit_website 
Semme

Joined: 07 Aug 2011
Posts: 3708
Location: World_Hub

PostPosted: Sat 24 Nov 2012, 20:49    Post_subject:  

It would appear you need the coreutils pkg. If no:
Code:
which who

.. install via PPM..
Back to top
View user's profile Send_private_message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Sat 24 Nov 2012, 21:32    Post_subject:  

Thanks!

I will see if it is in the Slako repos and install it. I never heard of this utility before. That's what I love about Linux. You never stop learning. Smile
Back to top
View user's profile Send_private_message Visit_website 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Sun 25 Nov 2012, 09:26    Post_subject:  

I installed coreutils 6.9-7-p4, restarted X and tried to install Crashplan again with the same error. Any ideas?
Back to top
View user's profile Send_private_message Visit_website 
Semme

Joined: 07 Aug 2011
Posts: 3708
Location: World_Hub

PostPosted: Sun 25 Nov 2012, 10:17    Post_subject:  

Does: which who result in /usr/bin/who? Install this'n run ldconfig- retry. Attach a copy of the readme..

I gather you didn't install coreutils from PPM? Perhaps there's an even later build- the one for Slack 14?
Back to top
View user's profile Send_private_message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Sun 25 Nov 2012, 12:19    Post_subject:  

I installed it from the Slacko PPM but I will see if there is another version out there I can install. Thanks for getting back to me!!

Quick question, do I have to keep all the files that are in my .packages folder or can I move them outside of my root folder to free up space in my save file?
Back to top
View user's profile Send_private_message Visit_website 
Semme

Joined: 07 Aug 2011
Posts: 3708
Location: World_Hub

PostPosted: Sun 25 Nov 2012, 21:43    Post_subject:  

Rt-clk that directory and goto props.. they shouldn't amount to much- right?

I think they're there for uninstall information.. and not that PPM ever removes everything anyway..

In other words.. if you don't mind manual removal- adios!

In my opinion- I couldn't bother..
Back to top
View user's profile Send_private_message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Sat 01 Dec 2012, 15:19    Post_subject:  

rmcellig wrote:
I installed coreutils 6.9-7-p4, restarted X and tried to install Crashplan again with the same error. Any ideas?

The version of coreutils that you installed via the PPM, coreutils 6.9-7-p4, (probably from the puppy-common repository) was likely the best choice available, but that version doesn't contain the "who" utility. So why do I say it was the best choice? It was the best choice because it did no damage. In fact, it is the same package that comes already installed on Slacko 5.3.3. It didn't solve your problem, but it didn't create new ones.

The Puppy Package Manager's ability to install packages from the repositories of other distros has certainly given us added flexibility and power. It is a great to have this ability available. But, as is the case in any field, added power doesn't come without added danger, and the need for added caution.

While there is, of course, some potential danger in installing any package (which is why it is good to have a recent backup of one's save file handy), extra caution is merited when considering installing a package from a non-Puppy repository if a Puppy version of that package is already installed on Puppy. The existing Puppy version may have been specially modified to work with Puppy, while the package from the other distro's repository has not.

Such is the case with coreutils.

For instance, back in 2006 Barry wrote a utility called "truncate", which is used to truncate the length of a file. A couple of years later (on 2008-Oct-10), the GNU folks released coreutils 7.0 which, among other things, added a new utility which can also be used for truncating a file. Guess what they called it? Yes, they called it "truncate".

So if you install a recent version of a non-Puppyized coreutils package, the new GNU truncate will be installed to /bin/ or /usr/bin/ (depending on the distro it was built for). If it is installed to /usr/bin/, it overwrites Barry's version. If it is installed to /bin/, it doesn't overwrite Barry's version, which is in /usr/bin/, but because /bin/ comes before /usr/bin/ in $PATH, the GNU version will be run when truncate is called (unless the full "/usr/bin/truncate" pathname is used).

Barry's truncate is used by his pet2tgz script, which is used by the package manager (PPM). And while the new GNU truncate is similar, the arguments need to be passed differently, so it is incompatible with Puppy scripts. What this means is that if you install a recent version of coreutils from a non-Puppy repository, you will likely loose the ability to install .pet packages with the PPM (until you remove the offending truncate).

There is at least one other compatibility issue that I am aware of. Some Puppies (including your Slacko 5.3.3) have both a Barry script called "df" and a binary called "df-FULL". The binary is the GNU utility which has been renamed from "df", and the script calls the GNU utility and massages its output to be compatible with other Puppy scripts. If Barry's script isn't found, the device mounted on / will be incorrectly identified for folks with full installs of Puppy.

And if you go too far afield, you can run into dependency problems. I once mistakenly installed a coreutils package on Slacko that I had previously downloaded sometime. It wasn't from either a Puppy repository or a Slackware repository, so it is no surprise that it caused problems. (I think it was built for Debian.) Many of its utilities had been compiled with a library that Slacko doesn't have. (I think it was libselinux.) Not only did those utilities not work, but, of course, everything that depended on them -- including ROX-Filer and the PPM -- had problems. The only way I could recover was to use /initrd/pup_ro2/bin/cp to copy itself and the other utilities to /bin/.

Of course that mistake was simply a result of my own foolishness. I would not expect a dependency problem if you grabbed coreutils from a Slackware 13 repository for Slacko.


Anyway, since you only need the "who" utility, I would recommend installing only that. To save you the trouble of finding an appropriate coreutils package for Slacko, and extracting the "who" utility from it, I have attached a version of "who" that works with Slacko 5.3.3. Choose to open it with pupzip, decompress it, set the executable permissions with chmod or ROX-Filer, then move it to /usr/bin/.

Good luck.
who.gz
Description  who 8.11 utility, for use with Slacko 5.3.3
gz

 Download 
Filename  who.gz 
Filesize  18.85 KB 
Downloaded  268 Time(s) 
Back to top
View user's profile Send_private_message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Sat 01 Dec 2012, 16:04    Post_subject:  

Thanks so much for the explanation as well as the Who utility!!
Back to top
View user's profile Send_private_message Visit_website 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Sat 01 Dec 2012, 17:05    Post_subject:  

You're welcome.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0730s ][ Queries: 13 (0.0085s) ][ GZIP on ]