I was walking though what I thought was going to be pretty simple upgrade. I've not installed any plugins other then what is considered "base" or provided from OMV core.
So following the directions from here: http://wiki.openmediavault.org….php?title=Updates_to_OMV
I am now left with a broken NAS...
The error:
Code
root@nas-chi-00:~# uptime
12:55:01 up 2 min, 1 user, load average: 0.31, 0.23, 0.09
root@nas-chi-00:~# dpkg --configure -a
Setting up openmediavault (0.4.13) ...
Updating configuration ...
/var/lib/dpkg/info/openmediavault.postinst: 456: omv_config_delete_user: not found
dpkg: error processing openmediavault (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
openmediavault
I've tried removing it (dissipate the error it does appear to be removed):
Code
root@nas-chi-00:~# apt-get remove openmediavault
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libtalloc2 hdparm proftpd-basic bind9-host libsensors4 libfile-copy-recursive-perl libsnmp15 lvm2 whiptail ttf-dejavu-core libx11-data rrdtool libparted0debian1 xmlstarlet libdbus-1-3
update-inetd apache2-suexec apache2-mpm-worker tftpd-hpa netatalk libdbi0 libdns69 collectd libapr1 libxslt1.1 libwbclient0 librrd4 libcpufreq0 quota libcairo2 quotatool beep
libaprutil1-ldap cron-apt libthai-data parted libglib2.0-0 libisccc60 apache2-utils libsnmp-base ifenslave-2.6 libnss-mdns apache2 libdatrie1 fontconfig libavahi-common-data sdparm
libavahi-core7 samba-common libapache2-mod-fcgid snmpd dbus libxcb1 apache2.2-common libpango1.0-common libxau6 php-json-schema libpixman-1-0 liblwres60 libjs-extjs3 collectd-core
libcups2 cpufrequtils scponly libnfnetlink0 smartmontools libaprutil1-dbd-sqlite3 libxft2 fontconfig-config apache2.2-bin libxdmcp6 libthai0 libbind9-60 libntfs-3g75 wget samba
libxrender1 uuid libcrack2 libcap-ng0 libgeoip1 libperl5.10 libnewt0.52 monit libdaemon0 libisccfg62 libnl1 avahi-daemon libavahi-client3 libx11-6 watchdog php5-auth-pam libfontconfig1
libpango1.0-0 samba-common-bin libxcb-render0 libisc62 libaprutil1 libossp-uuid16 defoma libavahi-common3 iptables libxcb-render-util0 ca-certificates ntfs-3g libltdl7
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
openmediavault
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 3,844 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 23454 files and directories currently installed.)
Removing openmediavault ...
.: 48: Can't open /usr/share/openmediavault/scripts/helper-functions
E: Problem executing scripts DPkg::Post-Invoke '. /etc/default/openmediavault; . /usr/share/openmediavault/scripts/helper-functions; if omv_checkyesno ${OMV_DPKG_POSTINVOKE_PURGE_MAN}; then if [ $(ps w -p $PPID | grep -c remove) != 1 ]; then echo 'Purging man pages ...'; rm -rf /usr/share/doc/* /usr/share/man/* /var/cache/man/*; else exit 0; fi; fi'
E: Sub-process returned an error code
Alles anzeigen
Then tried reinstalling:
Code
root@nas-chi-00:~# apt-get installopenmediavault
E: Invalid operation installopenmediavault
root@nas-chi-00:~# apt-get install openmediavault
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
netatalk libcrack2 php5-auth-pam
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
openmediavault
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/967 kB of archives.
After this operation, 3,844 kB of additional disk space will be used.
Selecting previously deselected package openmediavault.
(Reading database ... 23015 files and directories currently installed.)
Unpacking openmediavault (from .../openmediavault_0.4.13_all.deb) ...
Setting up openmediavault (0.4.13) ...
Updating configuration ...
/var/lib/dpkg/info/openmediavault.postinst: 456: omv_config_delete_user: not found
dpkg: error processing openmediavault (--configure):
subprocess installed post-installation script returned error exit status 127
configured to not write apport reports
Errors were encountered while processing:
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@nas-chi-00:~#
Alles anzeigen
Any thoughts or help would be greatly appreciated.