Hello Chris,

Thanks for reporting this issue. It is a problem in the package
script. It happens when you have enabled debug AND debug files are
rotated. To solve it, you can remove debug files for Web:

rm /usr/share/baculum/htdocs/protected/Web/Logs/baculum-web.log*

and for API (if you have enabled debug for API):

rm /usr/share/baculum/htdocs/protected/API/Logs/baculum-api.log*

and do upgrade once again:

apt-get update
apt-get upgrade

I have prepared new packages that solve it. I am sorry for this inconvenience.

Best regards,
Marcin Haba (gani)

On Sun, 14 Jun 2020 at 23:45, Chris Wilkinson <winstonia...@gmail.com> wrote:
>
> I am seeing an error during update of Baculum Web from the Debian 10 
> repository. This is being run from Webmin.
>
> Now updating baculum-web ..
>
> Installing package(s) with command apt-get -y install baculum-web ..
>
> Reading package lists...
> Building dependency tree...
> Reading state information...
> The following packages will be upgraded:
>   baculum-web
> apt-listchanges: Reading changelogs...
> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/367 kB of archives.
> After this operation, 6144 B of additional disk space will be used.
> (Reading database ...
> (Reading database ... 5%
> (Reading database ... 10%
> ...
> (Reading database ... 100%
> (Reading database ... 452221 files and directories currently installed.)
> Preparing to unpack .../baculum-web_9.6.5~buster_all.deb ...
> rmdir: failed to remove '/usr/share/baculum/htdocs/protected/Web/Logs': 
> Directory not empty
> dpkg: warning: old baculum-web package pre-removal script subprocess returned 
> error exit status 1
> dpkg: trying script from the new package instead ...
> rmdir: failed to remove '/usr/share/baculum/htdocs/protected/Web/Logs': 
> Directory not empty
> dpkg: error processing archive 
> /var/cache/apt/archives/baculum-web_9.6.5~buster_all.deb (--unpack):
>  new baculum-web package pre-removal script subprocess returned error exit 
> status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/baculum-web_9.6.5~buster_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> .. install failed!
>
>
> No packages were installed. Check the messages above for the cause of the 
> error.
>
> The above mentioned log directory is not empty as the message says but I 
> wouldn't expect it be.
>
>
> Regards
> Chris Wilkinson
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to