LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems installing Bugzilla (https://www.linuxquestions.org/questions/linux-software-2/problems-installing-bugzilla-615430/)

cewan 01-22-2008 04:12 AM

Problems installing Bugzilla
 
Hello!
I have problems installing bugzilla on Kubuntu 7.04. This is what I get:

Code:

$ sudo aptitude install bugzilla
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up bugzilla (2.22.1-2) ...
dbconfig-common: writing config to /etc/dbconfig-common/bugzilla.conf
Not replacing deleted config file /etc/dbconfig-common/bugzilla.conf
unable to read input file /etc/dbconfig-common/bugzilla.conf
dpkg: error processing bugzilla (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 bugzilla
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up bugzilla (2.22.1-2) ...
dbconfig-common: writing config to /etc/dbconfig-common/bugzilla.conf
Not replacing deleted config file /etc/dbconfig-common/bugzilla.conf
unable to read input file /etc/dbconfig-common/bugzilla.conf
dpkg: error processing bugzilla (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 bugzilla

What could I possibly have done wrong?

BR

indeliblestamp 01-22-2008 05:17 AM

I just searched for 'Not replacing deleted config file /etc/dbconfig-common/bugzilla.conf' and found this link, which seems to have a decent fix.

Apparently the chap in that thread fixed it by creating the conf file manually (/etc/dbconfig-common/bugzilla.conf in your case), and then doing an apt-get remove --purge bugzilla followed by apt-get install bugzilla again.

Can you try that on your distro (using aptitude instead of apt-get, sorry I'm not aware if aptitude supports arguments like --purge) and see if it helps?

cewan 01-22-2008 06:35 AM

Wohoo! Thanks alot man, Ive been pulling my hair for the last couple of days, tried to think of a hundred search phrases in google but found nothing. This worked perfectly :-)
You made my day!

indeliblestamp 01-22-2008 07:08 AM

Glad I could be of some use :)


All times are GMT -5. The time now is 11:21 AM.