[mythtv] [PATCH 1/4] DEB: Make pwgen a pre-dependency

Philipp Matthias Hahn pmhahn+mythtv at pmhahn.de
Sat Sep 30 14:46:10 UTC 2017


as the programm is used in mythtv-common.config, which gets run by dpkg
*before* the package is installed. At this time dpkg only guarentees
that 'Pre-Depends' are installed and configured to be fully operational.

This was alredy fixed in 0.21, but broken again:
> mythtv (0.21.0+fixes19556-0ubuntu1) jaunty; urgency=low
...
>  * debian/control:
>    - Promote pwgen to pre-depends for mythtv-common
>      so that it can be used in the .config.
>
> -- Mario Limonciello <superm1 at ubuntu.com>  Thu, 08 Jan 2009 21:55:34 -0600

Remove the second listing as well.
---
 deb/debian/control.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/deb/debian/control.in b/deb/debian/control.in
index b1da449..0884e9f 100644
--- a/deb/debian/control.in
+++ b/deb/debian/control.in
@@ -129,8 +129,8 @@ Description: Personal video recorder application (client and server)
 
 Package: mythtv-common
 Architecture: any
-Depends: pwgen,
-         adduser,
+Pre-Depends: pwgen,
+Depends: adduser,
          mysql-client | virtual-mysql-client | mysql-client-5.7 | mysql-client-5.6 | mariadb-client,
          fonts-liberation | ttf-liberation,
          fonts-droid-fallback | fonts-droid | ttf-droid,
@@ -139,7 +139,6 @@ Depends: pwgen,
          fonts-texgyre | tex-gyre,
          python,
          libxml-xpath-perl,
-         pwgen,
          pciutils,
          usbutils,
          python-future,
-- 
2.14.2



More information about the mythtv-dev mailing list