Bug #417
closedPackages don't install on embedded
Added by Oscar Francia over 14 years ago. Updated over 14 years ago.
0%
Description
Downloading package configuration file... done.
Saving updated package information... done.
Downloading OpenVPN Client Export Utility and its dependencies... done.
Checking for successful package installation... of p7zip-9.04 failed!
Installation aborted.
Updated by Chris Buechler over 14 years ago
- Status changed from New to Feedback
They all work for me including the client export, on a gitsync as of 10 minutes ago. Maybe a connectivity issue on your system preventing the downloads?
Updated by Oscar Francia over 14 years ago
I've tested package installation for 2-3 days in 2 different adsl line and 3 different alix board...
Now I've only lan with gateway. Embedded image 512Mb 10.03.2010.
I can't see errors on log files :(
Updated by Chris Buechler over 14 years ago
- Subject changed from Error when installing package OpenVPN Client Export Utility to Packages don't install on embedded
- Status changed from Feedback to New
Probably a mount ro/rw issue on embedded, though I haven't confirmed.
Updated by Scott Ullrich over 14 years ago
Try again in about 15 minutes. I just committed a fix for the openvpn-client-export case but there are surely more packages that have this issue as well that should be looked at.
Updated by Andy L over 14 years ago
Scott Ullrich wrote:
Try again in about 15 minutes. I just committed a fix for the openvpn-client-export case but there are surely more packages that have this issue as well that should be looked at.
FYI, I just tried imspector, lcdproc, bandwidthd and snortdev with no success. 2g-nano updated to 3/9/10.
Updated by Dave Sanderson over 14 years ago
It appears to be a read-only mount issue on the embedded image.
I tested this using LCDProc and I was able to get the package to install after looping the remount of / as rw from the shell during install.
Updated by Andy L over 14 years ago
Dave Sanderson wrote:
It appears to be a read-only mount issue on the embedded image.
I tested this using LCDProc and I was able to get the package to install after looping the remount of / as rw from the shell during install.
I just attempted this. Mounted as rw via shell and tried LCDProc with no success on the 1G embedded dated 3-14.
Updated by Dave Sanderson over 14 years ago
I looked into this again after Andy had it failed. It appears my loop of mount -o rw /dev/ufs/pfsense0 / only worked because it happened that right time, being after the package downloaded and before the install.
After digging through everything is I've found that adding conf_mount_rw(); to /etc/inc/pkg-utils.php before line 406, corrects the issue and allows packages to install.
406: conf_mount_rw();
407: exec("cat {$g['tmp_path']}/y | /usr/sbin/pkg_add -fv {$fetchto} 2>&1", $pkgaddout);
Updated by Erik Fonnesbeck over 14 years ago
Does it get remounted in the proper read-only state afterward?
Updated by Dave Sanderson over 14 years ago
Yes, after the install the disk gets remounted in a read-only state.
Updated by Peter Baumann over 14 years ago
I figured out you need another conf_mount_rw(); if you install as example OpenVPN Export Utility. This Package installs additional p7zip and zip packages.
I could manage to install these packages with the following in /etc/inc/pfsense-utils.inc
1553 conf_mount_rw();
1554 $fout = fopen($destination_file, "wb");
Greetings
Peter
Updated by Oscar Francia over 14 years ago
On last build ( tested on pfSense-2.0-BETA1-1g-20100322-0920-nanobsd ) works!
Tnx
Updated by Chris Buechler over 14 years ago
- Status changed from Feedback to Resolved