Kailash <listskail...@gmail.com> writes: > On Saturday 08 June 2013 01:49 PM, Csanyi Pal wrote:
>> Kailash<listskail...@gmail.com> writes: >> >>> On Tue, 04 Jun 2013 16:50:40 +0200 >>> Csanyi Pal<csanyi...@gmail.com> wrote: >>> >>>> Joe<j...@jretrading.com> writes: >>>> >>>>> On Sun, 02 Jun 2013 20:36:18 +0200 >>>>> Csanyi Pal<csanyi...@gmail.com> wrote: >>>> >>>>>> on my Debian GNU/Linux unstable (sid) system I can't (re)install >>>>>> libapache2-mod-php5 debian package. >>>>>> >>>>>> It remain half configured after an upgrade process. >>>>>> >>>>>> In Aptitude interface when I try to reinstall it, I get error >>>>>> message: E: Internal Error, No file name for >>>>>> libapache2-mod-php5:amd64 >>>>>> >>>>>> What can I do to solve this problem? >>>> >>>>> Difficult to say. The current version is 5.5.0~rc2+dfsg-2 and my >>>>> previous version upgraded today OK, also sid on amd64. There are new >>>>> versions of both apache2 and php5. >>>>> >>>>> What you have sounds like a confused aptitude rather than an apache2 >>>>> issue. You might first try an update, then a reboot and update, and >>>>> if this hasn't cleared the problem, try one of the other tools, >>>>> either Synaptic or apt-get dist-upgrade. Synaptic does a >>>>> dist-upgrade by default. >>>> >>>> Well, I don't remember what I did, probably try in aptitude interface >>>> to remove packages, and it's dependencies, but now I have only one >>>> package that I can't remove: ldap-account-manager. >>>> >>>> When I try to purge it in Synaptic, I get the following message: >>>> >>>> E: ldap-account-manager: subprocess installed post-removal script >>>> returned error exit status 1 >>>> >>>> Removing ldap-account-manager ... >>>> [ ok ] Reloading web server: apache2. >>>> invoke-rc.d: initscript apache2, action "reload" failed. >>>> dpkg: error processing ldap-account-manager (--remove): >>>> subprocess installed post-removal script returned error exit status 1 >>>> Errors were encountered while processing: >>>> ldap-account-manager >>>> W: Waited for dpkg --assert-multi-arch but it wasn't there - dpkgGo >>>> (10: No child processes) >>>> E: Sub-process /usr/bin/dpkg returned an error code (1) >>>> A package failed to install. Trying to recover: >>>> >>>> So on my Desktop system, I can't run apache2, and can't remove >>>> ldap-account-manager. >>>> >>>> What I want it the following: to get again a running apache2, php5, >>>> and ldap-account-manager. >>>> >>>> The ldap-account-manager is now Half installed, and can't to do with >>>> it anything. >>>> >>>> Advices? >>>> >>> I looked at this thread: >>> http://forums.linuxmint.com/viewtopic.php?f=47&t=110314 >>> >>> And while it's not debian the suggestion was to use the following >>> command: >>> sudo dpkg --clear-avail&& sudo apt-get update >>> >>> That seemed to fix it. >>> from dpkg man pages: >>> --clear-avail >>> Erase the existing information about what packages are >>> available. >> >> OK, when I run this command >> sudo dpkg --clear-avail&& sudo apt-get update >> >> and right after that I run >> sudo apt-get install ldap-account-manager >> >> I get the following output with error. >> >> csanyipal@debian-asztal:~$ sudo apt-get install ldap-account-manager >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> ldap-account-manager is already the newest version. >> 0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded. >> 1 not fully installed or removed. >> Need to get 0 B/11.8 MB of archives. >> After this operation, 0 B of additional disk space will be used. >> Do you want to continue [Y/n]? >> dpkg: error processing 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) >> >> What can I do to solve this problem? >> > Hi, > > Here's one solution: > http://www.cyberciti.biz/tips/troubleshooting-debian-ubuntu-package-upgrades-removals.html > > One option would be to try dpkg -r <packagename> before you try the > above workaround. Well, in those ldap-account-manager.* files I have instead #/bin/sh -e the lines: #!/bin/bash set -e so if I replace all occurance of the 'set -e' with the '#set -e', save those files and run sudo apt-get --purge remove ldap-account-manager I can finally purge the ldap-account-manager debian package. But, now I can't to install it again! sudo apt-get install ldap-account-manager Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: ldap-account-manager-lamdaemon The following NEW packages will be installed: ldap-account-manager 0 upgraded, 1 newly installed, 0 to remove and 57 not upgraded. Need to get 0 B/11.8 MB of archives. After this operation, 35.9 MB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package ldap-account-manager. dpkg: warning: files list file for package 'ldap-utils' missing; assuming package has no files currently installed (Reading database ... 428093 files and directories currently installed.) Unpacking ldap-account-manager (from .../ldap-account-manager_4.1-1_all.deb) ... Setting up ldap-account-manager (4.1-1) ... ln: failed to create symbolic link '/etc/apache2/conf.d/ldap-account-manager': No such file or directory dpkg: error processing ldap-account-manager (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: ldap-account-manager E: Sub-process /usr/bin/dpkg returned an error code (1) Advices? -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87hah99b8r....@gmail.com