Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: apt-get during add-on install
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-29
07:50 AM
2012-05-29
07:50 AM
apt-get during add-on install
Hello all,
I'm trying to create a plug-in on the ReadyNAS Ultra, running RAIDiator 4.2.20.
In my install.sh, I'm running an apt-get command.
To test the script, I build the plug-in, then manually extract from the .bin and run install.sh
The script works correctly and everything is installed as I expect.
If I install the plug-in through Frontview though, the script gets stuck and the install never finishes.
If I ssh to the box and ps at that time, I can see the apt-get command displayed twice.
More specifically, I can see the following happening:
1. apt-get process appears
2. after a while, it spawns a /usr/lib/apt/methods/http process
3. this later gets replaced with a second apt-get command
4. this eventually turns into a zombie process and then the install just sits there.
Does anyone have an explanation of what might be going on ?
Thanks a lot,
Eric
I'm trying to create a plug-in on the ReadyNAS Ultra, running RAIDiator 4.2.20.
In my install.sh, I'm running an apt-get command.
To test the script, I build the plug-in, then manually extract from the .bin and run install.sh
The script works correctly and everything is installed as I expect.
If I install the plug-in through Frontview though, the script gets stuck and the install never finishes.
If I ssh to the box and ps at that time, I can see the apt-get command displayed twice.
More specifically, I can see the following happening:
1. apt-get process appears
2. after a while, it spawns a /usr/lib/apt/methods/http process
3. this later gets replaced with a second apt-get command
4. this eventually turns into a zombie process and then the install just sits there.
Does anyone have an explanation of what might be going on ?
Thanks a lot,
Eric
Message 1 of 4
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-01
08:33 AM
2012-06-01
08:33 AM
Re: apt-get during add-on install
Perhaps have a look at some add-ons that use apt-get and see how they do it, to look for clues that might explain the problem with yours.
Message 2 of 4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-19
03:29 PM
2012-11-19
03:29 PM
Re: apt-get during add-on install
Same problem
I'm working on plugin that needs php.
... do you have a solution? :oops:
I'd like to know if it's safe to apt-get install during installation?
I'm working on plugin that needs php.
... do you have a solution? :oops:
I'd like to know if it's safe to apt-get install during installation?
Message 3 of 4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-19
03:40 PM
2012-11-19
03:40 PM
Re: apt-get during add-on install
There's already a PHP add-on. Why not just do a check to make sure PHP is installed and if it isn't abort the install?
Message 4 of 4