[mythtv-users] mythbuntu mythweb package error with latest fixes/31

Bill Meek keemllib at gmail.com
Tue Mar 3 16:55:03 UTC 2020


On 3/2/20 11:51 PM, Tim Pletcher wrote:
> Just installed the latest fixes/31 mythbuntu build on Xubuntu 18.04 and received the following errors during installation related to mythweb:
> 
> dpkg: warning: old mythweb package post-removal script subprocess returned error exit status 2
> dpkg: trying script from the new package instead ...
> /var/lib/dpkg/tmp.ci/postrm <http://tmp.ci/postrm>: 34: /var/lib/dpkg/tmp.ci/postrm <http://tmp.ci/postrm>: Syntax error: newline unexpected 
> (expecting ")")
> dpkg: error processing archive /tmp/apt-dpkg-install-FmIZij/36-mythweb_2%3a31.0+fixes.202003021351.f2e0469~ubuntu18.04.1_all.deb (--unpack):
> new mythweb package post-removal script subprocess returned error exit status 2
> /var/lib/dpkg/tmp.ci/postrm <http://tmp.ci/postrm>: 34: /var/lib/dpkg/tmp.ci/postrm <http://tmp.ci/postrm>: Syntax error: newline unexpected 
> (expecting ")")
> dpkg: error while cleaning up:
> new mythweb package post-removal script subprocess returned error exit status 2
> Errors were encountered while processing:
> /tmp/apt-dpkg-install-FmIZij/36-mythweb_2%3a31.0+fixes.202003021351.f2e0469~ubuntu18.04.1_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Despite these errors, mythweb remains accessible.


Looks like an errant ;; in the postrm script. Packaging fixes pushed for
master and fixes/v31:

@@ -28,7 +28,6 @@ case "$1" in
             [ -d /etc/php/${CURRENT_PHP_VERSION}/apache2/conf.d ]; then
                  mv_conffile /etc/php5/apache2/conf.d/20-mythweb.ini /etc/php/${CURRENT_PHP_VERSION}/apache2/conf.d/20-mythweb.ini 
2:0.28.0+fixes.20160325.2520617-0ubuntu3~
          fi
          ;; <--------- delete this line

          REL=$(lsb_release -c -s)
          if [ "$REL" \> "raring" ]; then

Thanks for reporting.

-- 
Bill


More information about the mythtv-users mailing list