Package: bugzilla3
Version: 3.6.2.0-4.4
Severity: important
Tags: patch

hi,
    i tried to install bugzilla on a fresh box and I nocited that liburl-perl 
isnt in the Depends field of the package, so it breaks on the installation as 
seen below

Setting up bugzilla3 (3.6.2.0-4.4) ...
Run /etc/bugzilla3/pre-checksetup.d/03shutdownhtmlset
Can't locate URI.pm in @INC (@INC contains: /usr/share/bugzilla3 /etc/perl 
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl .) at /usr/share/perl5/Bugzilla/Bug.pm line 53.
BEGIN failed--compilation aborted at /usr/share/perl5/Bugzilla/Bug.pm line 53.
Compilation failed in require at /usr/share/perl5/Bugzilla/Template.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/Bugzilla/Template.pm line 
37.
Compilation failed in require at /usr/share/bugzilla3/Bugzilla.pm line 48.
BEGIN failed--compilation aborted at /usr/share/bugzilla3/Bugzilla.pm line 48.
Compilation failed in require at /usr/share/bugzilla3/contrib/bugzparam line 22.
/etc/bugzilla3/pre-checksetup.d/03shutdownhtmlset failed with error code 2.
dbconfig-common: writing config to /etc/dbconfig-common/bugzilla3.conf
Reloading web server config: apache2.
dpkg: error processing bugzilla3 (--configure):
 subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
                                      Errors were encountered while processing:
 bugzilla3
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@xxxx:~# apt-get install liburi-perl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  libwww-perl
The following NEW packages will be installed:
  liburi-perl
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 98.5 kB of archives.
After this operation, 401 kB of additional disk space will be used.
Get:1 http://mirror-debian.locaweb.com.br/debian/ squeeze/main liburi-perl all 
1.54-2 [98.5 kB]
Fetched 98.5 kB in 0s (752 kB/s) 
Selecting previously deselected package liburi-perl.
(Reading database ... 27474 files and directories currently installed.)
Unpacking liburi-perl (from .../liburi-perl_1.54-2_all.deb) ...
Processing triggers for man-db ...
Setting up bugzilla3 (3.6.2.0-4.4) ...
Run /etc/bugzilla3/pre-checksetup.d/03shutdownhtmlset
dbconfig-common: writing config to /etc/dbconfig-common/bugzilla3.conf
Reloading web server config: apache2.
Setting up liburi-perl (1.54-2) ...



I`m attaching a patch to solve this , hope that helps

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-ahfalo (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- bugzilla-3.6.2.0.old/debian/control	2010-10-14 05:50:56.000000000 -0300
+++ bugzilla-3.6.2.0/debian/control	2011-10-27 14:56:13.000000000 -0200
@@ -28,6 +28,7 @@
          ucf (>= 0.08), patch, dbconfig-common (>= 1.8.27),
          mysql-client | postgresql-client,
          libjs-yui,
+         liburi-perl,
          ${python:Depends},
          ${misc:Depends}
 Suggests: bugzilla3-doc,

Reply via email to