Setting up webmin-security-updates (4.0) ...
Error: Script was not run with full path (failed to find /usr/share/webmin/run-postinstalls.pl under /var/share/webmin)
Setting up webmin-virtual-server (3.76) ...
Error: Script was not run with full path (failed to find /usr/share/webmin/run-postinstalls.pl under /var/share/webmin)
Setting up webmin-virtual-server-theme (7.6) ...
Error: Script was not run with full path (failed to find /usr/share/webmin/run-postinstalls.pl under /var/share/webmin)
Setting up webmin-virtualmin-mailman (5.8) ...
Error: Script was not run with full path (failed to find /usr/share/webmin/run-postinstalls.pl under /var/share/webmin)
Setting up webmin-virtualmin-svn (4.7) ...
Error: Script was not run with full path (failed to find /usr/share/webmin/run-postinstalls.pl under /var/share/webmin)
Comments
Submitted by JamieCameron on Mon, 01/04/2010 - 14:30 Comment #1
Looking into this now ..
Where is /var/share/webmin coming from though?? Normally on Debian the install path is /usr/share/webmin
Submitted by sgrayban on Mon, 01/04/2010 - 14:53 Comment #2
Right which has me confused -- the server has always been debian so I have no idea what happened here. In fact I installed debian 5.0 when Nick got it.
Please make sure the upgrade didn't break something because of this, it's heaven.openstream.ch and you still have login rights.
Submitted by JamieCameron on Mon, 01/04/2010 - 15:06 Comment #3
I see the cause .. /usr/share/webmin is a link to /var/share/webmin
Was that intentional? It is likely to cause a bunch of problems (such as this one), as it confuses Webmin as to the location of it's base directory.
Submitted by sgrayban on Mon, 01/04/2010 - 15:12 Comment #4
I never did this... this was a fresh server that I setup a few months ago using debian 5.0 so I have no idea how or why this happened
Submitted by sgrayban on Mon, 01/04/2010 - 15:17 Comment #5
Oh wait -- I did do this. I asked about moving the install directory because I was having a partition problem and I think Joe said I could move it and use a symlink.
Submitted by JamieCameron on Mon, 01/04/2010 - 15:49 Comment #6
Do you have enough free disk space now to move it back again?
I'm certain I wouldn't have suggested a symlink for the Webmin install directory (because I've seen this problem myself in the distant past).
Submitted by sgrayban on Mon, 01/04/2010 - 19:21 Comment #8
Ok I'll change it back then
Submitted by JamieCameron on Mon, 01/04/2010 - 23:25 Comment #9
I'd suggest doing the following :
1 - Delete the symlink
2 - mv /var/share/webmin /usr/share/webmin
3 - cd /usr/share/webmin ; ./setup.sh
The last step is needed to update any paths in files under /etc/webmin to use /usr/share/webmin
Submitted by sgrayban on Mon, 01/04/2010 - 23:30 Comment #10
I did that already
Submitted by JamieCameron on Mon, 01/04/2010 - 23:35 Comment #11
Cool .. so can you install the updates now?
Submitted by sgrayban on Mon, 01/04/2010 - 23:39 Comment #12
Those updates were installed -- I just can't check them to see if they didn't break because of the wrong path.
Submitted by JamieCameron on Mon, 01/04/2010 - 23:42 Comment #13
The only part that might possibly have failed (according to those errors) was the post-install scripts, which aren't critical for upgrades of those packages.
If dpkg thinks they didn't complete properly, you can try the command :
dpkg -a --configure
If that doesn't fail, all is OK.
Submitted by sgrayban on Mon, 01/04/2010 - 23:45 Comment #14
No errors so I guess its all ok
Submitted by sgrayban on Mon, 01/04/2010 - 23:48 Comment #15
BTW the in the miniserv.conf the root= variable was set to /var/share/webmin so I shouldn't have gotten a error since that was set unless you have /usr/share/webmin hard coded in.
root=/var/share/webmin
Submitted by JamieCameron on Tue, 01/05/2010 - 00:00 Comment #16
Yes, the Debian packages are hard-coded to use /usr/share/webmin
Submitted by fuzzie on Thu, 01/07/2010 - 08:22 Comment #17
I think I'm seeing the same issue...webmin-security-updates: Errors were encountered while processing: libapache2-mod-php5 E: Sub-process /usr/bin/dpkg returned an error code (1)
.. install failed!
How do I tell if I have this symlink?
Submitted by sgrayban on Thu, 01/07/2010 - 08:28 Comment #18
That is not the same.
Do the upgrade from console to see all the errors
Submitted by JamieCameron on Thu, 01/07/2010 - 11:29 Comment #19
Yes, try running :
apt-get install libapache2-mod-php5
as root from the console.
Submitted by Issues on Fri, 01/22/2010 - 01:32 Comment #20
Automatically closed -- issue fixed for 2 weeks with no activity.