> While trying to upgrade to 1.38 from 1.36.3 on FreeBSD 5.4, the installs
> fails with the following:
> 
> <...snip...>
> 
> --->  Backing up the old version
> --->  Uninstalling the old version
> --->  Deinstalling 'bacula-server-1.36.3'
> rmdir: /var/db/bacula: Directory not empty
> Check if /var/db/bacula is empty and delete it to permanently remove the
> bacula port
> To delete Bacula user  permanently, use 'pw userdel  bacula'
> To delete Bacula group permanently, use 'pw groupdel bacula'
> pkg_delete: '/usr/local/etc/rc.d/z-bacula.sh.sample' fails original MD5
> checksum - deleted anyway.
> pkg_delete: '/usr/local/etc/bacula-dir.conf.sample' fails original MD5
> checksum - deleted anyway.
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 46 packages
> found (-1 +0) (...) done]
> --->  Installing the new version via the port
> ===>  Installing for bacula-server-1.38.0
> ===>   bacula-server-1.38.0 depends on shared library: pq.3 - found
> ===>   Generating temporary packing list
> ===>  Checking if sysutils/bacula-server already installed
> ./autoconf/mkinstalldirs /usr/local/sbin
> ./autoconf/mkinstalldirs /usr/local/etc
> ./autoconf/mkinstalldirs /usr/local/share/bacula
> mkdir /usr/local/share/bacula
> ./autoconf/mkinstalldirs /var/db/bacula
> ../autoconf/mkinstalldirs /usr/local/etc
> ../autoconf/mkinstalldirs /usr/local/sbin
> ../autoconf/mkinstalldirs /usr/local/share/bacula
> ../autoconf/mkinstalldirs /usr/share/man/man8
> /usr/bin/install -c -o root -g wheel -m 0754 bacula
> (DESTDIR)/usr/local/etc/rc.d/z-bacula.sh.sample
> Syntax error: "(" unexpected
> *** Error code 2
> 
> Stop in /usr/ports/sysutils/bacula-server/work/bacula-1.38.0/scripts.
> *** Error code 1
> 
> Stop in /usr/ports/sysutils/bacula-server/work/bacula-1.38.0.
> *** Error code 1
> 
> Stop in /usr/ports/sysutils/bacula-server.
> *** Error code 1
> 
> Stop in /usr/ports/sysutils/bacula-server.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade74625.33 make reinstall
> egrep: /var/db/pkg/bacula-server-1.36.3/+CONTENTS: No such file or directory
> --->  Restoring the old version
> bacula:*:910:
> You already have a group "bacula", so I will use it.
> bacula:*:910:910::0:0:Bacula Daemon:/var/db/bacula:/sbin/nologin
> You already have a user "bacula", so I will use it.
> Changed home directory of "bacula" to "/var/db/bacula"
> ** Fix the installation problem and try again.
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 47 packages
> found (-0 +1) . done]
> ** Listing the failed packages (*:skipped / !:failed)
>         ! sysutils/bacula-server (bacula-server-1.36.3) (install error)
> --->  Packages processed: 0 done, 46 ignored, 0 skipped and 1 failed
> 
> 
> Using PGSQL 7.4.9 as Bacula database.
> 
> I'm new to FreeBSD so cannot figure out what this actually means. Anyone
> else?

A known problem and easily fixed.  Do a make clean, then make a one 
character change to the file described here:

   http://www.freebsd.org/cgi/query-pr.cgi?pr=88997


-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to