I use the method in question 1556, but become Samba, I use jabberd2-ldap-pgsql, after I remove S25jabberd2-ldap-pgsql, and run sudo apt-get remove -f jabberd2-ldap-pgsql Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: feisty-session-splashes Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: jabberd2-ldap-pgsql 0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 1593kB disk space will be freed. Do you want to continue [Y/n]? y dpkg: error processing jabberd2-ldap-pgsql (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: jabberd2-ldap-pgsql E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt-get -f install jabberd2-ldap-pgsql Reading package lists... Done Building dependency tree Reading state information... Done jabberd2-ldap-pgsql is already the newest version. The following packages were automatically installed and are no longer required: feisty-session-splashes Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 1 not fully installed or removed. Need to get 0B/577kB of archives. After unpacking 0B of additional disk space will be used. Selecting previously deselected package jabberd2-ldap-pgsql. (Reading database ... 502144 files and directories currently installed.) Preparing to replace jabberd2-ldap-pgsql 2.0s11-1ubuntu1 (using .../jabberd2-ldap-pgsql_2.0s11-1ubuntu1_i386.deb) ... mkdir: cannot create directory `': No such file or directory invoke-rc.d: initscript jabberd2-ldap-pgsql, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... mkdir: cannot create directory `': No such file or directory invoke-rc.d: initscript jabberd2-ldap-pgsql, action "stop" failed. dpkg: error processing /var/cache/apt/archives/jabberd2-ldap-pgsql_2.0s11-1ubuntu1_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 1 mkdir: cannot create directory `': No such file or directory invoke-rc.d: initscript jabberd2-ldap-pgsql, action "start" failed. dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/jabberd2-ldap-pgsql_2.0s11-1ubuntu1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) [EMAIL PROTECTED]:/etc/rc2.d$ apt-get autoremove E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? [EMAIL PROTECTED]:/etc/rc2.d$ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: feisty-session-splashes The following packages will be REMOVED: feisty-session-splashes 0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded. 1 not fully installed or removed. Need to get 0B/577kB of archives. After unpacking 152kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 502144 files and directories currently installed.) Preparing to replace jabberd2-ldap-pgsql 2.0s11-1ubuntu1 (using .../jabberd2-ldap-pgsql_2.0s11-1ubuntu1_i386.deb) ... mkdir: cannot create directory `': No such file or directory invoke-rc.d: initscript jabberd2-ldap-pgsql, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... mkdir: cannot create directory `': No such file or directory invoke-rc.d: initscript jabberd2-ldap-pgsql, action "stop" failed. dpkg: error processing /var/cache/apt/archives/jabberd2-ldap-pgsql_2.0s11-1ubuntu1_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 1 mkdir: cannot create directory `': No such file or directory invoke-rc.d: initscript jabberd2-ldap-pgsql, action "start" failed. dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/jabberd2-ldap-pgsql_2.0s11-1ubuntu1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code sudo dpkg --configure -a dpkg: error processing jabberd2-ldap-pgsql (--configure): Package is in a very bad inconsistent state - you should reinstall it before attempting configuration. Errors were encountered while processing: jabberd2-ldap-pgsql -- NVIDIA-Graphic Card and jabberd2-ldap-pgsql https://bugs.launchpad.net/bugs/147592 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs