Bacula-users

Re: [Bacula-users] Debian Packages: Bacula Beta 2.5.42-b2

2009-03-25 09:32:12
Subject: Re: [Bacula-users] Debian Packages: Bacula Beta 2.5.42-b2
From: Chris Cameron <chrisacameron AT gmail DOT com>
To: Thomas Mueller <thomas AT chaschperli DOT ch>
Date: Wed, 25 Mar 2009 08:24:11 -0500
end result of "aptitude dist-upgrade": segfault =(

root@daffy:~# aptitude dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following packages are BROKEN:
  bacula-traymonitor
The following NEW packages will be installed:
  mt-st{a}
The following packages will be upgraded:
  bacula-client bacula-common bacula-console bacula-director-common
  bacula-director-mysql bacula-fd bacula-sd bacula-sd-mysql bacula-server
9 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2525kB of archives. After unpacking 205kB will be freed.
The following packages have unmet dependencies:
  bacula-traymonitor: Depends: bacula-common (= 2.4.2-1ubuntu6) but 2.5.42~beta2mit1 is to be installed.
The following actions will resolve these dependencies:

Remove the following packages:
bacula-traymonitor

Leave the following dependencies unresolved:
bacula-client recommends bacula-traymonitor
Score is -441

Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
  mt-st{a}
The following packages will be REMOVED:
  bacula-traymonitor{a}
The following packages will be upgraded:
  bacula-client bacula-common bacula-console bacula-director-common
  bacula-director-mysql bacula-fd bacula-sd bacula-sd-mysql bacula-server
9 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 2525kB of archives. After unpacking 528kB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Err http://us.archive.ubuntu.com intrepid/universe mt-st 1.1-2
  302 Moved Temporarily [IP: 91.189.88.46 80]
Err http://chaschperli.ch intrepid-bacula/ bacula-sd-mysql 2.5.42~beta2mit1
  302 Moved Temporarily
Err http://chaschperli.ch intrepid-bacula/ bacula-common 2.5.42~beta2mit1
  302 Moved Temporarily
Err http://chaschperli.ch intrepid-bacula/ bacula-sd 2.5.42~beta2mit1
  302 Moved Temporarily
Err http://chaschperli.ch intrepid-bacula/ bacula-fd 2.5.42~beta2mit1
  302 Moved Temporarily
Err http://chaschperli.ch intrepid-bacula/ bacula-console 2.5.42~beta2mit1
  302 Moved Temporarily
Err http://chaschperli.ch intrepid-bacula/ bacula-director-mysql 2.5.42~beta2mit1
  302 Moved Temporarily
Err http://chaschperli.ch intrepid-bacula/ bacula-director-common 2.5.42~beta2mit1
  302 Moved Temporarily
Err http://chaschperli.ch intrepid-bacula/ bacula-client 2.5.42~beta2mit1
  302 Moved Temporarily
Err http://chaschperli.ch intrepid-bacula/ bacula-server 2.5.42~beta2mit1
  302 Moved Temporarily
Segmentation fault


~Chris Cameron



On Wed, Mar 25, 2009 at 4:05 AM, Thomas Mueller <thomas AT chaschperli DOT ch> wrote:
On Wed, 25 Mar 2009 16:39:18 +0900, Craig Ringer wrote:

> Craig Ringer wrote:
>> Thomas Mueller wrote:
>>
>>> as this is a beta version, and the package is not tested
>>
>> Youch, I spoke too soon on the upgrade.
>>
>> I just updated the server running the director, or tried to, as I'd
>> finished updating all the FDs with your packages.
>>
>> Looks like the pgsql director and sd packages are broken and
>> uninstallable due to unresolvable dependency problems.
>
> Sorry for the reply to self:
>
> Downloading the package sources, removing all references to MySQL from
> debian/control, removing MySQL references from debian/rules, and running
> "rm debian/*mysql*" to get rid of the binary package descriptors allowed
> me to build a copy of the packages without broken dependencies.
>
> It looks like dh_makeshlibs or dh_shlibdeps must be adding the
> dependency to satisfy a library dependency in the sd, and fail to
> understand that the libraries needed appear in both the pgsql and mysql
> packages.
>
> I just did the quick and dirty fix for now, but I'll if I can figure out
> how to fix it properly in a bit. I don't do much Debian packaging, and
> find it pretty arcane, so I'm not sure how much luck I'll have.

the problem is the /usr/lib/libbacsql.so.1  library file which seems to
be shared among sd and dir.

this file contains only support for one database flavor, so it seems that
it needs 3 new packages bacula-common-(mysql|pgsql|sqlite3). the sql
independent files are already in bacula-common

at the moment the packages work only for mysql. i'm removing the other
flavors.

- Thomas




------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users