[Bug 205608] Re: libapache2-mod-php5 can't be configured
Since this seem to be happening only in a particular environment, and there exists a workaround, I am closing this report. If you can provide the information how to reproduce the problem please feel free to set the status back to 'New'. Thanks again for your support. ** Changed in: php5 (Ubuntu) Importance: Undecided => Low Status: Incomplete => Won't Fix ** Changed in: php5 (Ubuntu) Assignee: Ralph Janke (txwikinger) => (unassigned) ** Description changed: Binary package hint: php5 hi, I tried to install LAMP but when it wants to configure the package "libapache2-mod-php5" it says: Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, line 1. dpkg: error processing libapache2-mod-php5 (--configure): subprocess post-installation script returned error exit status 9 I tried to remove/purge/reinstall/configure/reconfigure by apt-get and aptitude in 3 systems running (k)ubuntu but the result was same. its my full story: $ sudo apt-get install apache2 php5 mysql-server libapache2-mod-auth-mysql php5-mysql Reading package lists... Done Building dependency tree Reading state information... Done apache2 is already the newest version. php5 is already the newest version. The following extra packages will be installed: mysql-server-5.0 Suggested packages: tinyca mysql-doc-5.0 Recommended packages: mailx The following NEW packages will be installed: libapache2-mod-auth-mysql mysql-server mysql-server-5.0 php5-mysql 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. Need to get 0B/26.9MB of archives. After unpacking 84.9MB of additional disk space will be used. Do you want to continue [Y/n]? Media change: please insert the disc labeled 'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071017)' in the drive '/cdrom/' and press enter Preconfiguring packages ... Selecting previously deselected package mysql-server-5.0. (Reading database ... 200731 files and directories currently installed.) Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.45-1ubuntu3.3_i386.deb) ... Selecting previously deselected package libapache2-mod-auth-mysql. Unpacking libapache2-mod-auth-mysql (from .../libapache2-mod-auth-mysql_4.3.9-4_i386.deb) ... Selecting previously deselected package mysql-server. Unpacking mysql-server (from .../mysql-server_5.0.45-1ubuntu3.3_all.deb) ... * Stopping MySQL database server mysqld [ OK ] Selecting previously deselected package php5-mysql. Unpacking php5-mysql (from .../php5-mysql_5.2.3-1ubuntu6.3_i386.deb) ... Setting up libapache2-mod-php5 (5.2.3-1ubuntu6.3) ... Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, line 1. dpkg: error processing libapache2-mod-php5 (--configure): subprocess post-installation script returned error exit status 9 dpkg: dependency problems prevent configuration of php5: php5 depends on libapache2-mod-php5 (>= 5.2.3-1ubuntu6.3) | php5-cgi (>= 5.2.3-1ubuntu6.3); however: Package libapache2-mod-php5 is not configured yet. Package php5-cgi is not installed. dpkg: error processing php5 (--configure): dependency problems - leaving unconfigured Setting up mysql-server-5.0 (5.0.45-1ubuntu3.3) ... * Stopping MySQL database server mysqld [ OK ] * Starting MySQL database server mysqld [ OK ] * Checking for corrupt, not cleanly closed and upgrade needing tables. Setting up libapache2-mod-auth-mysql (4.3.9-4) ... Setting up mysql-server (5.0.45-1ubuntu3.3) ... dpkg: dependency problems prevent configuration of php5-mysql: php5-mysql depends on phpapi-20060613+lfs; however: Package phpapi-20060613+lfs is not installed. Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not configured yet. Package php5-cli which provides phpapi-20060613+lfs is not installed. Package php5-cgi which provides phpapi-20060613+lfs is not installed. dpkg: error processing php5-mysql (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: libapache2-mod-php5 php5 php5-mysql E: Sub-process /usr/bin/dpkg returned an error code (1) + + + WORKAROUND: Run /usr/share/debconf/fix_db.pl as root user -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/u
[Bug 205608] Re: libapache2-mod-php5 can't be configured
@MohamadReza : Your debconf database is corrupted (maybe a system crash ?). If it's still an issue, run /usr/share/debconf/fix_db.pl and let us know if it fixes the issue. Thanks. -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 205608] Re: libapache2-mod-php5 can't be configured
This was the fix for my problem, why this happened I have no idea. It took quite a bit of searching to locate this... Run /usr/share/debconf/fix_db.pl as root user I hope this will help someone else! Steve -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 205608] Re: libapache2-mod-php5 can't be configured
Same problem here on 7.10 -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 205608] Re: libapache2-mod-php5 can't be configured
Same results here on 7.10 -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 205608] Re: libapache2-mod-php5 can't be configured
I have the same problem, but with the "aptitude" command... with "apt-get" (on another bat identical machine) there was no problem. I was trying to upgrade the an Ubuntu Feisty... :-( -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 205608] Re: libapache2-mod-php5 can't be configured
Does this problem still exist with hardy? Thanks -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 205608] Re: libapache2-mod-php5 can't be configured
I also tried this by installing the previous versian (6.2) of php5-common and libapache2-mod-php2 but the problem persists. -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 205608] Re: libapache2-mod-php5 can't be configured
its my source.list: --- # deb cdrom:[Xubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. # deb cdrom:[Homa Magic Add-on CD Multimedia Edition, Ubuntu-Updates 2007-12-13]/ gutsy contrib free main multiverse non-free partner restricted universe # deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071017)]/ gutsy main restricted deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://se.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse # deb-src http://se.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. This software is not part of Ubuntu, but is ## offered by Canonical and the respective vendors as a service to Ubuntu ## users. deb http://archive.canonical.com/ubuntu gutsy partner deb-src http://archive.canonical.com/ubuntu gutsy partner deb http://security.ubuntu.com/ubuntu gutsy-security main restricted deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted deb http://security.ubuntu.com/ubuntu gutsy-security universe deb-src http://security.ubuntu.com/ubuntu gutsy-security universe deb http://security.ubuntu.com/ubuntu gutsy-security multiverse deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse deb http://ppa.launchpad.net/kubuntu-kde-3.5.9/ubuntu gutsy main deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main and inside /etc/apt/sources.list.d is NOthing! ;) its empty! -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 205608] Re: libapache2-mod-php5 can't be configured
Could you please provide your /etc/apt/sources.list and all the contents of all files inside /etc/apt/sources.list.d Thanks -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 205608] Re: libapache2-mod-php5 can't be configured
hi, thanks for your attention. I use kubuntu 7.10 and the last 2 questions: 1- I commented the CDs repositories from my source.list updated. my main repository was active. my system is up to date. I've also installed the latests upgrades of kde4. I upgraded my system right know but no upgrades were found. 2- this is the log: $ sudo apt-get install lamp-server^ Reading package lists... Done Building dependency tree Reading state information... Done apache2-utils is already the newest version. libnet-daemon-perl is already the newest version. libdbi-perl is already the newest version. libdbd-mysql-perl is already the newest version. mysql-server-5.0 is already the newest version. libapr1 is already the newest version. libpcre3 is already the newest version. mysql-client-5.0 is already the newest version. mysql-common is already the newest version. apache2-mpm-prefork is already the newest version. libplrpc-perl is already the newest version. libmysqlclient15off is already the newest version. apache2 is already the newest version. apache2.2-common is already the newest version. mysql-server is already the newest version. libxml2 is already the newest version. libpq5 is already the newest version. php5-mysql is already the newest version. libapache2-mod-php5 is already the newest version. libaprutil1 is already the newest version. php5-common is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Setting up libapache2-mod-php5 (5.2.3-1ubuntu6.3) ... Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, line 1. dpkg: error processing libapache2-mod-php5 (--configure): subprocess post-installation script returned error exit status 9 dpkg: dependency problems prevent configuration of php5: php5 depends on libapache2-mod-php5 (>= 5.2.3-1ubuntu6.3) | php5-cgi (>= 5.2.3-1ubuntu6.3); however: Package libapache2-mod-php5 is not configured yet. Package php5-cgi is not installed. dpkg: error processing php5 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php5-mysql: php5-mysql depends on phpapi-20060613+lfs; however: Package phpapi-20060613+lfs is not installed. Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not configured yet. Package php5-cli which provides phpapi-20060613+lfs is not installed. Package php5-cgi which provides phpapi-20060613+lfs is not installed. dpkg: error processing php5-mysql (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: libapache2-mod-php5 php5 php5-mysql E: Sub-process /usr/bin/dpkg returned an error code (1) -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 205608] Re: libapache2-mod-php5 can't be configured
Thanks for reporting this problem and helping to make Ubuntu better. I am not sure which version you use. I tried to install the package in question installed well on the lastest hardy release. However, the package version is 5.2.4-2ubuntu5. Please provide more information about the which ubuntu release you are referring to. Thanks. ** Changed in: php5 (Ubuntu) Assignee: (unassigned) => Ralph Janke (txwikinger) Status: New => Incomplete -- libapache2-mod-php5 can't be configured https://bugs.launchpad.net/bugs/205608 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs