Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
problem ragarding apt-get upgrade
Re: problem ragarding apt-get upgrade
root@zx:/home/qwerty# apt-get -s remove apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
apache2
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Remv apache2 [2.4.10-10+deb8u1]
Conf ldap-account-manager (4.7.1-1 Debian:8.1/stable [all])
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
apache2
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Remv apache2 [2.4.10-10+deb8u1]
Conf ldap-account-manager (4.7.1-1 Debian:8.1/stable [all])
- kiyop
- Posts: 3983
- Joined: 2011-05-05 15:16
- Location: Where persons without desire to improve themselves fear to tread, in Japan
- Been thanked: 3 times
Re: problem ragarding apt-get upgrade
apache2 package is installed in the debian of yours.tr64 wrote:The following packages will be REMOVED:
apache2
Maybe apache2 was installed because it was required by some other package which you installed, before you were aware of it.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
http://kiyoandkei.bbs.fc2.com/
- kiyop
- Posts: 3983
- Joined: 2011-05-05 15:16
- Location: Where persons without desire to improve themselves fear to tread, in Japan
- Been thanked: 3 times
Re: problem ragarding apt-get upgrade
How about trying to remove apache2?
and then, check what packages may be removed by "autoremove":
Code: Select all
apt-get remove apache2
Code: Select all
apt-get -s autoremove
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
http://kiyoandkei.bbs.fc2.com/
Re: problem ragarding apt-get upgrade
yes,I guess apache2 was a dependency or just was installed by default.
I asked the guy you intruduced to help me ,may he helps.
root@zx:/home/qwerty# dpkg -l|grep apache
ii apache2 2.4.10-10+deb8u1 amd64 Apache HTTP Server
ii apache2-bin 2.4.10-10+deb8u1 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.10-10+deb8u1 all Apache HTTP Server (common files)
ii apache2-dev 2.4.10-10+deb8u1 amd64 Apache HTTP Server (development headers)
ii apache2-doc 2.4.10-10+deb8u1 all Apache HTTP Server (on-site documentation)
ii apache2-suexec 2.4.10-10+deb8u1 amd64 transitional package for apache2-suexec-pristine
ii apache2-suexec-custom 2.4.10-10+deb8u1 amd64 Apache HTTP Server configurable suexec program for mod_suexec
ii apache2-suexec-pristine 2.4.10-10+deb8u1 amd64 Apache HTTP Server standard suexec program for mod_suexec
ii apache2-utils 2.4.10-10+deb8u1 amd64 Apache HTTP Server (utility programs for web servers)
ii apache2.2-bin 2.4.10-10+deb8u1 amd64 Transitional package for apache2-bin
rc apache2.2-common 2.4.10-10+deb8u1 amd64 Transitional package for apache2
ii apachedex 1.6.2-1 all Compute APDEX from Apache-style logs
ii apachetop 0.12.6-16 amd64 Realtime Apache monitoring tool
ii libapache-logformat-compiler-perl 0.30-1 all Perl module to pre-compile a LogFormat string
ii libapache-pom-java 10-2 all Maven metadata for all Apache Software projects
ii libapache2-mod-dnssd 0.6-3.1 amd64 Zeroconf support for Apache 2 via avahi
rc libapache2-mod-nss 1.0.10-3 amd64 NSS-based SSL module for Apache2
rc libapache2-mod-php5 5.6.9+dfsg-0+deb8u1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii libapache2-mod-upload-progress 0.2-2 amd64 upload progress support for the Apache web server
rc libapache2-mpm-itk 2.4.7-02-1.1 amd64 multiuser module for Apache
ii libbatik-java 1.7+dfsg-5 all xml.apache.org SVG Library
root@zx:/home/qwerty#
**********************************************************************************
root@zx:/home/qwerty# apt-get -s autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Conf ldap-account-manager (4.7.1-1 Debian:8.1/stable [all])
root@zx:/home/qwerty#
I asked the guy you intruduced to help me ,may he helps.
root@zx:/home/qwerty# dpkg -l|grep apache
ii apache2 2.4.10-10+deb8u1 amd64 Apache HTTP Server
ii apache2-bin 2.4.10-10+deb8u1 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.10-10+deb8u1 all Apache HTTP Server (common files)
ii apache2-dev 2.4.10-10+deb8u1 amd64 Apache HTTP Server (development headers)
ii apache2-doc 2.4.10-10+deb8u1 all Apache HTTP Server (on-site documentation)
ii apache2-suexec 2.4.10-10+deb8u1 amd64 transitional package for apache2-suexec-pristine
ii apache2-suexec-custom 2.4.10-10+deb8u1 amd64 Apache HTTP Server configurable suexec program for mod_suexec
ii apache2-suexec-pristine 2.4.10-10+deb8u1 amd64 Apache HTTP Server standard suexec program for mod_suexec
ii apache2-utils 2.4.10-10+deb8u1 amd64 Apache HTTP Server (utility programs for web servers)
ii apache2.2-bin 2.4.10-10+deb8u1 amd64 Transitional package for apache2-bin
rc apache2.2-common 2.4.10-10+deb8u1 amd64 Transitional package for apache2
ii apachedex 1.6.2-1 all Compute APDEX from Apache-style logs
ii apachetop 0.12.6-16 amd64 Realtime Apache monitoring tool
ii libapache-logformat-compiler-perl 0.30-1 all Perl module to pre-compile a LogFormat string
ii libapache-pom-java 10-2 all Maven metadata for all Apache Software projects
ii libapache2-mod-dnssd 0.6-3.1 amd64 Zeroconf support for Apache 2 via avahi
rc libapache2-mod-nss 1.0.10-3 amd64 NSS-based SSL module for Apache2
rc libapache2-mod-php5 5.6.9+dfsg-0+deb8u1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii libapache2-mod-upload-progress 0.2-2 amd64 upload progress support for the Apache web server
rc libapache2-mpm-itk 2.4.7-02-1.1 amd64 multiuser module for Apache
ii libbatik-java 1.7+dfsg-5 all xml.apache.org SVG Library
root@zx:/home/qwerty#
**********************************************************************************
root@zx:/home/qwerty# apt-get -s autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Conf ldap-account-manager (4.7.1-1 Debian:8.1/stable [all])
root@zx:/home/qwerty#
Re: problem ragarding apt-get upgrade
root@zx:/home/qwerty# dpkg -l|grep apache|grep ^i
ii apache2 2.4.10-10+deb8u1 amd64 Apache HTTP Server
ii apache2-bin 2.4.10-10+deb8u1 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.10-10+deb8u1 all Apache HTTP Server (common files)
ii apache2-dev 2.4.10-10+deb8u1 amd64 Apache HTTP Server (development headers)
ii apache2-doc 2.4.10-10+deb8u1 all Apache HTTP Server (on-site documentation)
ii apache2-suexec 2.4.10-10+deb8u1 amd64 transitional package for apache2-suexec-pristine
ii apache2-suexec-custom 2.4.10-10+deb8u1 amd64 Apache HTTP Server configurable suexec program for mod_suexec
ii apache2-suexec-pristine 2.4.10-10+deb8u1 amd64 Apache HTTP Server standard suexec program for mod_suexec
ii apache2-utils 2.4.10-10+deb8u1 amd64 Apache HTTP Server (utility programs for web servers)
ii apache2.2-bin 2.4.10-10+deb8u1 amd64 Transitional package for apache2-bin
ii apachedex 1.6.2-1 all Compute APDEX from Apache-style logs
ii apachetop 0.12.6-16 amd64 Realtime Apache monitoring tool
ii libapache-logformat-compiler-perl 0.30-1 all Perl module to pre-compile a LogFormat string
ii libapache-pom-java 10-2 all Maven metadata for all Apache Software projects
ii libapache2-mod-dnssd 0.6-3.1 amd64 Zeroconf support for Apache 2 via avahi
ii libapache2-mod-upload-progress 0.2-2 amd64 upload progress support for the Apache web server
ii libbatik-java 1.7+dfsg-5 all xml.apache.org SVG Library
root@zx:/home/qwerty#
ii apache2 2.4.10-10+deb8u1 amd64 Apache HTTP Server
ii apache2-bin 2.4.10-10+deb8u1 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.10-10+deb8u1 all Apache HTTP Server (common files)
ii apache2-dev 2.4.10-10+deb8u1 amd64 Apache HTTP Server (development headers)
ii apache2-doc 2.4.10-10+deb8u1 all Apache HTTP Server (on-site documentation)
ii apache2-suexec 2.4.10-10+deb8u1 amd64 transitional package for apache2-suexec-pristine
ii apache2-suexec-custom 2.4.10-10+deb8u1 amd64 Apache HTTP Server configurable suexec program for mod_suexec
ii apache2-suexec-pristine 2.4.10-10+deb8u1 amd64 Apache HTTP Server standard suexec program for mod_suexec
ii apache2-utils 2.4.10-10+deb8u1 amd64 Apache HTTP Server (utility programs for web servers)
ii apache2.2-bin 2.4.10-10+deb8u1 amd64 Transitional package for apache2-bin
ii apachedex 1.6.2-1 all Compute APDEX from Apache-style logs
ii apachetop 0.12.6-16 amd64 Realtime Apache monitoring tool
ii libapache-logformat-compiler-perl 0.30-1 all Perl module to pre-compile a LogFormat string
ii libapache-pom-java 10-2 all Maven metadata for all Apache Software projects
ii libapache2-mod-dnssd 0.6-3.1 amd64 Zeroconf support for Apache 2 via avahi
ii libapache2-mod-upload-progress 0.2-2 amd64 upload progress support for the Apache web server
ii libbatik-java 1.7+dfsg-5 all xml.apache.org SVG Library
root@zx:/home/qwerty#
- kiyop
- Posts: 3983
- Joined: 2011-05-05 15:16
- Location: Where persons without desire to improve themselves fear to tread, in Japan
- Been thanked: 3 times
Re: problem ragarding apt-get upgrade
Indeed, a lot of packages relevant to apache2 are installed.
How about trying what is on my last post?
How about trying what is on my last post?
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
http://kiyoandkei.bbs.fc2.com/
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: problem ragarding apt-get upgrade
Can you force the removal of ldap-account-manager with dpkg?
Code: Select all
su -c 'dpkg -r --force-all ldap-account-manager'
MX Linux packager and developer
Re: problem ragarding apt-get upgrade
root@zx:/home/qwerty# su -c 'dpkg -r --force-all ldap-account-manager'
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
(Reading database ... 363916 files and directories currently installed.)
Removing ldap-account-manager (4.7.1-1) ...
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript apache2, action "reload" failed.
dpkg: error processing package ldap-account-manager (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
ldap-account-manager
root@zx:/home/qwerty# apt-get remove apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
apache2
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/10.7 MB of archives.
After this operation, 518 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 363916 files and directories currently installed.)
Removing apache2 (2.4.10-10+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
dpkg: error processing package ldap-account-manager (--configure):
package ldap-account-manager is not ready for configuration
cannot configure (current status `half-installed')
Errors were encountered while processing:
ldap-account-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@zx:/home/qwerty# apt-get -s autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Conf ldap-account-manager (4.7.1-1 Debian:8.1/stable [all])
root@zx:/home/qwerty
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
(Reading database ... 363916 files and directories currently installed.)
Removing ldap-account-manager (4.7.1-1) ...
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript apache2, action "reload" failed.
dpkg: error processing package ldap-account-manager (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
ldap-account-manager
root@zx:/home/qwerty# apt-get remove apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
apache2
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/10.7 MB of archives.
After this operation, 518 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 363916 files and directories currently installed.)
Removing apache2 (2.4.10-10+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
dpkg: error processing package ldap-account-manager (--configure):
package ldap-account-manager is not ready for configuration
cannot configure (current status `half-installed')
Errors were encountered while processing:
ldap-account-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@zx:/home/qwerty# apt-get -s autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Conf ldap-account-manager (4.7.1-1 Debian:8.1/stable [all])
root@zx:/home/qwerty
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: problem ragarding apt-get upgrade
Boy, that's annoying. How about
Code: Select all
su -c 'apt-get --purge remove ldap-account-manager'
MX Linux packager and developer
Re: problem ragarding apt-get upgrade
Code: Select all
dpkg-reconfigure ldap-account-manager
Re: problem ragarding apt-get upgrade
root@zx:/home/qwerty# su -c 'apt-get --purge remove ldap-account-manager'
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
ldap-account-manager*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 34.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: error processing package ldap-account-manager (--purge):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
ldap-account-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@zx:/home/qwerty# dpkg-reconfigure ldap-account-manager
/usr/sbin/dpkg-reconfigure: ldap-account-manager is broken or not fully installed
root@zx:/home/qwerty#
F***. son of a *****.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
ldap-account-manager*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 34.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: error processing package ldap-account-manager (--purge):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
ldap-account-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@zx:/home/qwerty# dpkg-reconfigure ldap-account-manager
/usr/sbin/dpkg-reconfigure: ldap-account-manager is broken or not fully installed
root@zx:/home/qwerty#
F***. son of a *****.
Re: problem ragarding apt-get upgrade
also tried:
root@zx:/home/qwerty# dpkg --remove --force remove-reinstreq ldap-account-manager
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
dpkg: warning: files list file for package 'liba52-0.7.4' missing; assuming package has no files currently installed
(Reading database ... 363994 files and directories currently installed.)
Removing ldap-account-manager (4.7.1-1) ...
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript apache2, action "reload" failed.
dpkg: error processing package ldap-account-manager (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
ldap-account-manager
apt-get -o Debug::pkgProblemResolver=yes remove ldap-account-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages will be REMOVED:
ldap-account-manager
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 34.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: error processing package ldap-account-manager (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
ldap-account-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@zx:/home/qwerty#
root@zx:/home/qwerty# dpkg --remove --force remove-reinstreq ldap-account-manager
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
dpkg: warning: files list file for package 'liba52-0.7.4' missing; assuming package has no files currently installed
(Reading database ... 363994 files and directories currently installed.)
Removing ldap-account-manager (4.7.1-1) ...
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript apache2, action "reload" failed.
dpkg: error processing package ldap-account-manager (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
ldap-account-manager
apt-get -o Debug::pkgProblemResolver=yes remove ldap-account-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages will be REMOVED:
ldap-account-manager
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 34.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: error processing package ldap-account-manager (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
ldap-account-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@zx:/home/qwerty#
- kiyop
- Posts: 3983
- Joined: 2011-05-05 15:16
- Location: Where persons without desire to improve themselves fear to tread, in Japan
- Been thanked: 3 times
Re: problem ragarding apt-get upgrade
I am confused.tr64 wrote:I don't have a web server .
I'm simply using debian 8.1 with no server or anything such
after upgrading .this error just apeared.
Let me confirm that you did not upgrade your debian from wheezy to jessie. Did you?
How did you install the debian?
Execute the following and post the results:
kiyop wrote:Try alsoCode: Select all
journalctl -xn
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
http://kiyoandkei.bbs.fc2.com/
Re: problem ragarding apt-get upgrade
I downloaded the debian 8 dvd from the website and installed it via USB flash drive
Then I Upgraded it from 8 to 8.1 .
Soon after when I wanted to apt-upgrade it and this error appeared.
(durnig the 8.1 upgrade ,there was some internet disconnectivity in between.It could be the reason for this error )
I also tried commenting "set -e" in "ldap-account-manager" config files in /var/lib/dpkg/info
no luck !
Then I Upgraded it from 8 to 8.1 .
Soon after when I wanted to apt-upgrade it and this error appeared.
(durnig the 8.1 upgrade ,there was some internet disconnectivity in between.It could be the reason for this error )
I also tried commenting "set -e" in "ldap-account-manager" config files in /var/lib/dpkg/info
no luck !
- kiyop
- Posts: 3983
- Joined: 2011-05-05 15:16
- Location: Where persons without desire to improve themselves fear to tread, in Japan
- Been thanked: 3 times
Re: problem ragarding apt-get upgrade
Thank you for replying
Execute the following with root privilege and post the results:
How about trying
Did you execute the following?tr64 wrote:I downloaded the debian 8 dvd from the website and installed it via USB flash drive
Then I Upgraded it from 8 to 8.1 .
Code: Select all
apt-get update
apt-get upgrade
I wonder if it could not.tr64 wrote:Soon after when I wanted to apt-upgrade it and this error appeared.
(durnig the 8.1 upgrade ,there was some internet disconnectivity in between.It could be the reason for this error )
Execute the following with root privilege and post the results:
Code: Select all
journalctl -xn
dpkg-query -s ldap-account-manager
Code: Select all
apt-get update
apt-get dist-upgrade -f
I wonder if it made the problem worse...tr64 wrote:I also tried commenting "set -e" in "ldap-account-manager" config files in /var/lib/dpkg/info
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
http://kiyoandkei.bbs.fc2.com/
Re: problem ragarding apt-get upgrade
I upgraded via synaptic the first time.
but now I can't either upgrade with synaptic or terminal emulator.
As for the "set -e" problem, I can just uncomment it to get restored to the previous state if it is necessary. that's np.
root@zx:/home/qwerty# journalctl -xn
-- Logs begin at Fri 2015-08-14 16:44:28 IRDT, end at Fri 2015-08-14 16:57:31 IR
Aug 14 16:57:31 zx NetworkManager[469]: <info> plen 24 (255.255.255.0)
Aug 14 16:57:31 zx NetworkManager[469]: <info> gateway 192.168.1.1
Aug 14 16:57:31 zx NetworkManager[469]: <info> server identifier 192.168.1.1
Aug 14 16:57:31 zx NetworkManager[469]: <info> lease time 600
Aug 14 16:57:31 zx NetworkManager[469]: <info> hostname 'zx'
Aug 14 16:57:31 zx NetworkManager[469]: <info> nameserver '192.168.1.1'
Aug 14 16:57:31 zx dbus[513]: [system] Activating via systemd: service name='org
Aug 14 16:57:31 zx dbus[513]: [system] Successfully activated service 'org.freed
Aug 14 16:57:31 zx nm-dispatcher[4409]: Dispatching action 'dhcp4-change' for et
Aug 14 16:57:31 zx dhclient[1451]: bound to 192.168.1.69 -- renewal in 213 secon
lines 1-11/11 (END)
************************************************************************************************************
root@zx:/home/qwerty# dpkg-query -s ldap-account-manager
Package: ldap-account-manager
Status: deinstall reinstreq half-installed
Priority: extra
Section: web
Installed-Size: 33674
Maintainer: Roland Gruber <post@rolandgruber.de>
Architecture: all
Version: 4.7.1-1
Depends: php5 (>= 5.2.4), php5-ldap, php5-gd, php5-json, apache2 | httpd, php-fpdf (>= 1.7), debconf (>= 0.5) | debconf-2.0
Recommends: php-apc
Suggests: ldap-server, php5-mcrypt, ldap-account-manager-lamdaemon, perl
Conffiles:
/etc/ldap-account-manager/nginx.conf eebe518b2d70da9ed43101598b26db11
/etc/ldap-account-manager/apache.conf faefdede2746f46cd721279a46e5a455
/etc/ldap-account-manager/config.cfg 730ec7132212a0b59fa4252a1e36d777
Description: webfrontend for managing accounts in an LDAP directory
LDAP Account Manager (LAM) runs on an existing webserver.
It manages user, group and host accounts. Currently LAM
supports these account types: Samba 3/4, Unix, Kolab 2/3,
address book entries, NIS mail aliases and MAC addresses.
There is an integrated LDAP browser to allow access to the
raw LDAP attributes. You can use templates
for account creation and use multiple configuration profiles.
Account information can be exported as PDF file. There is also
a script included which manages quotas and homedirectories.
Homepage: https://www.ldap-account-manager.org/
root@zx:/home/qwerty#
*****************************************************************************************************
root@zx:/home/qwerty# journalctl -xn
-- Logs begin at Fri 2015-08-14 16:44:28 IRDT, end at Fri 2015-08-14 17:05:37 IR
Aug 14 17:05:01 zx CRON[5038]: (cricket) CMD (test -x /usr/share/cricket/collect
Aug 14 17:05:01 zx CRON[5040]: (munin) CMD (if [ -x /usr/bin/munin-cron ]; then
Aug 14 17:05:01 zx CRON[5039]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ];
Aug 14 17:05:01 zx CRON[5036]: pam_unix(cron:session): session closed for user r
Aug 14 17:05:01 zx CRON[5035]: pam_unix(cron:session): session closed for user c
Aug 14 17:05:09 zx CRON[5037]: pam_unix(cron:session): session closed for user m
Aug 14 17:05:32 zx su[4400]: pam_unix(su:session): session closed for user root
Aug 14 17:05:37 zx su[5557]: Successful su for root by qwerty
Aug 14 17:05:37 zx su[5557]: + /dev/pts/0 qwerty:root
Aug 14 17:05:37 zx su[5557]: pam_unix(su:session): session opened for user root
lines 1-11/11 (END)
is the last command results ok ?
I guess there's more to it than that,but I can't see the rest of the results.or maybe that's it.
but now I can't either upgrade with synaptic or terminal emulator.
As for the "set -e" problem, I can just uncomment it to get restored to the previous state if it is necessary. that's np.
root@zx:/home/qwerty# journalctl -xn
-- Logs begin at Fri 2015-08-14 16:44:28 IRDT, end at Fri 2015-08-14 16:57:31 IR
Aug 14 16:57:31 zx NetworkManager[469]: <info> plen 24 (255.255.255.0)
Aug 14 16:57:31 zx NetworkManager[469]: <info> gateway 192.168.1.1
Aug 14 16:57:31 zx NetworkManager[469]: <info> server identifier 192.168.1.1
Aug 14 16:57:31 zx NetworkManager[469]: <info> lease time 600
Aug 14 16:57:31 zx NetworkManager[469]: <info> hostname 'zx'
Aug 14 16:57:31 zx NetworkManager[469]: <info> nameserver '192.168.1.1'
Aug 14 16:57:31 zx dbus[513]: [system] Activating via systemd: service name='org
Aug 14 16:57:31 zx dbus[513]: [system] Successfully activated service 'org.freed
Aug 14 16:57:31 zx nm-dispatcher[4409]: Dispatching action 'dhcp4-change' for et
Aug 14 16:57:31 zx dhclient[1451]: bound to 192.168.1.69 -- renewal in 213 secon
lines 1-11/11 (END)
************************************************************************************************************
root@zx:/home/qwerty# dpkg-query -s ldap-account-manager
Package: ldap-account-manager
Status: deinstall reinstreq half-installed
Priority: extra
Section: web
Installed-Size: 33674
Maintainer: Roland Gruber <post@rolandgruber.de>
Architecture: all
Version: 4.7.1-1
Depends: php5 (>= 5.2.4), php5-ldap, php5-gd, php5-json, apache2 | httpd, php-fpdf (>= 1.7), debconf (>= 0.5) | debconf-2.0
Recommends: php-apc
Suggests: ldap-server, php5-mcrypt, ldap-account-manager-lamdaemon, perl
Conffiles:
/etc/ldap-account-manager/nginx.conf eebe518b2d70da9ed43101598b26db11
/etc/ldap-account-manager/apache.conf faefdede2746f46cd721279a46e5a455
/etc/ldap-account-manager/config.cfg 730ec7132212a0b59fa4252a1e36d777
Description: webfrontend for managing accounts in an LDAP directory
LDAP Account Manager (LAM) runs on an existing webserver.
It manages user, group and host accounts. Currently LAM
supports these account types: Samba 3/4, Unix, Kolab 2/3,
address book entries, NIS mail aliases and MAC addresses.
There is an integrated LDAP browser to allow access to the
raw LDAP attributes. You can use templates
for account creation and use multiple configuration profiles.
Account information can be exported as PDF file. There is also
a script included which manages quotas and homedirectories.
Homepage: https://www.ldap-account-manager.org/
root@zx:/home/qwerty#
*****************************************************************************************************
root@zx:/home/qwerty# journalctl -xn
-- Logs begin at Fri 2015-08-14 16:44:28 IRDT, end at Fri 2015-08-14 17:05:37 IR
Aug 14 17:05:01 zx CRON[5038]: (cricket) CMD (test -x /usr/share/cricket/collect
Aug 14 17:05:01 zx CRON[5040]: (munin) CMD (if [ -x /usr/bin/munin-cron ]; then
Aug 14 17:05:01 zx CRON[5039]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ];
Aug 14 17:05:01 zx CRON[5036]: pam_unix(cron:session): session closed for user r
Aug 14 17:05:01 zx CRON[5035]: pam_unix(cron:session): session closed for user c
Aug 14 17:05:09 zx CRON[5037]: pam_unix(cron:session): session closed for user m
Aug 14 17:05:32 zx su[4400]: pam_unix(su:session): session closed for user root
Aug 14 17:05:37 zx su[5557]: Successful su for root by qwerty
Aug 14 17:05:37 zx su[5557]: + /dev/pts/0 qwerty:root
Aug 14 17:05:37 zx su[5557]: pam_unix(su:session): session opened for user root
lines 1-11/11 (END)
is the last command results ok ?
I guess there's more to it than that,but I can't see the rest of the results.or maybe that's it.
Re: problem ragarding apt-get upgrade
root@zx:/home/qwerty# apt-get update
Ign http://security.debian.org jessie/updates InRelease
Get:1 http://security.debian.org jessie/updates Release.gpg [1,554 B]
Get:2 http://security.debian.org jessie/updates Release [61.5 kB]
Hit http://ftp.de.debian.org jessie InRelease
Hit http://ftp.de.debian.org jessie/main Sources
Hit http://ftp.de.debian.org jessie/contrib Sources
Hit http://ftp.de.debian.org jessie/non-free Sources
Hit http://ftp.de.debian.org jessie/main amd64 Packages
Hit http://ftp.de.debian.org jessie/contrib amd64 Packages
Hit http://ftp.de.debian.org jessie/non-free amd64 Packages
Get:3 http://security.debian.org jessie/updates/main Sources [81.7 kB]
Hit http://ftp.de.debian.org jessie/main i386 Packages
Hit http://ftp.de.debian.org jessie/contrib i386 Packages
Hit http://ftp.de.debian.org jessie/non-free i386 Packages
Hit http://ftp.de.debian.org jessie/contrib Translation-en
Hit http://ftp.de.debian.org jessie/main Translation-en
Hit http://ftp.de.debian.org jessie/non-free Translation-en
Get:4 http://security.debian.org jessie/updates/contrib Sources [1,453 B]
Get:5 http://security.debian.org jessie/updates/non-free Sources [14 B]
Get:6 http://security.debian.org jessie/updates/main amd64 Packages [129 kB]
Get:7 http://security.debian.org jessie/updates/contrib amd64 Packages [2,488 B]
Get:8 http://security.debian.org jessie/updates/non-free amd64 Packages [14 B]
Get:9 http://security.debian.org jessie/updates/main i386 Packages [130 kB]
Get:10 http://security.debian.org jessie/updates/contrib i386 Packages [2,500 B]
Get:11 http://security.debian.org jessie/updates/non-free i386 Packages [14 B]
Get:12 http://security.debian.org jessie/updates/contrib Translation-en [1,098 B]
Get:13 http://security.debian.org jessie/updates/main Translation-en [71.4 kB]
Get:14 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Fetched 483 kB in 19s (24.6 kB/s)
Reading package lists... Done
root@zx:/home/qwerty# apt-get dist-upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/10.7 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package ldap-account-manager (--configure):
package ldap-account-manager is not ready for configuration
cannot configure (current status `half-installed')
Errors were encountered while processing:
ldap-account-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@zx:/home/qwerty#
Ign http://security.debian.org jessie/updates InRelease
Get:1 http://security.debian.org jessie/updates Release.gpg [1,554 B]
Get:2 http://security.debian.org jessie/updates Release [61.5 kB]
Hit http://ftp.de.debian.org jessie InRelease
Hit http://ftp.de.debian.org jessie/main Sources
Hit http://ftp.de.debian.org jessie/contrib Sources
Hit http://ftp.de.debian.org jessie/non-free Sources
Hit http://ftp.de.debian.org jessie/main amd64 Packages
Hit http://ftp.de.debian.org jessie/contrib amd64 Packages
Hit http://ftp.de.debian.org jessie/non-free amd64 Packages
Get:3 http://security.debian.org jessie/updates/main Sources [81.7 kB]
Hit http://ftp.de.debian.org jessie/main i386 Packages
Hit http://ftp.de.debian.org jessie/contrib i386 Packages
Hit http://ftp.de.debian.org jessie/non-free i386 Packages
Hit http://ftp.de.debian.org jessie/contrib Translation-en
Hit http://ftp.de.debian.org jessie/main Translation-en
Hit http://ftp.de.debian.org jessie/non-free Translation-en
Get:4 http://security.debian.org jessie/updates/contrib Sources [1,453 B]
Get:5 http://security.debian.org jessie/updates/non-free Sources [14 B]
Get:6 http://security.debian.org jessie/updates/main amd64 Packages [129 kB]
Get:7 http://security.debian.org jessie/updates/contrib amd64 Packages [2,488 B]
Get:8 http://security.debian.org jessie/updates/non-free amd64 Packages [14 B]
Get:9 http://security.debian.org jessie/updates/main i386 Packages [130 kB]
Get:10 http://security.debian.org jessie/updates/contrib i386 Packages [2,500 B]
Get:11 http://security.debian.org jessie/updates/non-free i386 Packages [14 B]
Get:12 http://security.debian.org jessie/updates/contrib Translation-en [1,098 B]
Get:13 http://security.debian.org jessie/updates/main Translation-en [71.4 kB]
Get:14 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Fetched 483 kB in 19s (24.6 kB/s)
Reading package lists... Done
root@zx:/home/qwerty# apt-get dist-upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/10.7 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package ldap-account-manager (--configure):
package ldap-account-manager is not ready for configuration
cannot configure (current status `half-installed')
Errors were encountered while processing:
ldap-account-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@zx:/home/qwerty#
Re: problem ragarding apt-get upgrade
this is a nuclear solution and you should only apply it if you really don't need that package:
basically what you are doing is removing the package's files manually.
after this, dist-upgrade should complete without error.
Code: Select all
cd /var/lib/dpkg/info
Code: Select all
rm ldap-account-manager.*
Code: Select all
dpkg --remove --force-remove-reinstreq ldap-account-manager
after this, dist-upgrade should complete without error.
Re: problem ragarding apt-get upgrade
Thanks a lot. the error is gone for good.
I tried to install it again via synaptic .but the same error came along when I was installing it.
Is there any harm to my computer regarding installing other packages?
I mean ,can I install other packages that need this package as a dependency?
I tried to install it again via synaptic .but the same error came along when I was installing it.
Is there any harm to my computer regarding installing other packages?
I mean ,can I install other packages that need this package as a dependency?
Re: problem ragarding apt-get upgrade
good to know!
last night i tried to install it (as a simulation) but used apt, not synaptic and had no problems (can't say for sure if that would make a big difference)
last night i tried to install it (as a simulation) but used apt, not synaptic and had no problems (can't say for sure if that would make a big difference)
Code: Select all
fireexit@jessie:~$ cat /var/log/dpkg.log | grep ldap-account-manager
2015-08-13 23:42:53 install ldap-account-manager:all <none> 4.7.1-1
2015-08-13 23:42:53 status half-installed ldap-account-manager:all 4.7.1-1
2015-08-13 23:43:07 status unpacked ldap-account-manager:all 4.7.1-1
2015-08-13 23:43:07 status unpacked ldap-account-manager:all 4.7.1-1
2015-08-13 23:43:24 configure ldap-account-manager:all 4.7.1-1 <none>
2015-08-13 23:43:24 status unpacked ldap-account-manager:all 4.7.1-1
2015-08-13 23:43:24 status unpacked ldap-account-manager:all 4.7.1-1
2015-08-13 23:43:24 status unpacked ldap-account-manager:all 4.7.1-1
2015-08-13 23:43:24 status unpacked ldap-account-manager:all 4.7.1-1
2015-08-13 23:43:24 status half-configured ldap-account-manager:all 4.7.1-1
2015-08-13 23:43:25 status installed ldap-account-manager:all 4.7.1-1
2015-08-14 16:08:02 status installed ldap-account-manager:all 4.7.1-1
2015-08-14 16:08:02 remove ldap-account-manager:all 4.7.1-1 <none>
2015-08-14 16:08:02 status half-configured ldap-account-manager:all 4.7.1-1
2015-08-14 16:08:02 status half-installed ldap-account-manager:all 4.7.1-1
2015-08-14 16:08:03 status config-files ldap-account-manager:all 4.7.1-1
2015-08-14 16:08:03 purge ldap-account-manager:all 4.7.1-1 <none>
2015-08-14 16:08:03 status config-files ldap-account-manager:all 4.7.1-1
2015-08-14 16:08:03 status config-files ldap-account-manager:all 4.7.1-1
2015-08-14 16:08:03 status config-files ldap-account-manager:all 4.7.1-1
2015-08-14 16:08:03 status config-files ldap-account-manager:all 4.7.1-1
2015-08-14 16:08:03 status config-files ldap-account-manager:all 4.7.1-1
2015-08-14 16:08:03 status not-installed ldap-account-manager:all <none>
fireexit@jessie:~$
it's a very specific package, unless you are installing a web-server you won't see it again and even then you almost certainly have to install it explicitly.tr64 wrote:I mean ,can I install other packages that need this package as a dependency?