ubuntu20.10 : tex-common missing with osc local build
The command is: osc build --nodebugpackages xUbuntu_20.10 i586 the result : [ 355s] [164/207] installing tex-common-6.15 [ 358s] /usr/sbin/update-updmap: line 166: getopt: command not found [ 358s] dpkg: error processing package tex-common (--install): [ 358s] installed tex-common package post-installation script subprocess returned error exit status 127 [ 358s] Processing triggers for man-db (2.9.3-2) ... [ 358s] Errors were encountered while processing: [ 358s] tex-common [ 358s] exit ... [ 358s] [ 358s] opensuse failed "build guile18.dsc" at Thu Dec 3 15:11:38 UTC 2020. [ 358s] although there is no problem with the online compilation : [ 1s] lamb04 started "build guile18.dsc" at Thu Dec 3 13:43:28 UTC 2020. [ 1s] [ 1s] Building Guile18 for project 'home:DenisRx:TeXmacs' repository 'xUbuntu_20.10' arch 'i586' srcmd5 'f9630deebb722ec55687291d0c9e8334' [ 1s] [ 1s] processing recipe /var/cache/obs/worker/root_3/.build-srcdir/guile18.dsc ... ........................ [ 71s] [163/207] installing libpython3.8-minimal-3.8.6-1 [ 71s] [164/207] installing tex-common-6.15 [ 71s] update-language: texlive-base not installed and configured, doing nothing! [ 71s] Processing triggers for man-db (2.9.3-2) ... and tex-common seems to be included on ubuntu20.10 as it appears in the file http://ftp.halifax.rwth-aachen.de/ubuntu/ubuntu/dists/groovy/universe/binary... $ egrep 'Package: *tex-common' -A6 Packages Package: tex-common Architecture: all Version: 6.15 Multi-Arch: foreign Priority: optional Section: universe/tex Origin: Ubuntu Regards
On 2020-12-03 16:46:29 +0100, Denis RAUX wrote:
The command is:
osc build --nodebugpackages xUbuntu_20.10 i586
the result :
[ 355s] [164/207] installing tex-common-6.15 [ 358s] /usr/sbin/update-updmap: line 166: getopt: command not found [ 358s] dpkg: error processing package tex-common (--install): [ 358s] installed tex-common package post-installation script subprocess returned error exit status 127 [ 358s] Processing triggers for man-db (2.9.3-2) ... [ 358s] Errors were encountered while processing: [ 358s] tex-common [ 358s] exit ... [ 358s] [ 358s] opensuse failed "build guile18.dsc" at Thu Dec 3 15:11:38 UTC 2020. [ 358s]
This might be a packaging "bug" in the tex-common package: in its postinst script it calls the /usr/sbin/update-updmap script, which calls getopt (update-updmap is provided by tex-common itself). Hence, the tex-common control file should contain a "Depends: util-linux" entry (I'm not sure if util-linux is considered as a "base" package in the debian world (that is, it does not have to be explicitly listed as a dependency)). As a workaround you can add an Order: util-linux:tex-common entry to your project config (for instance via "osc meta prjconf -e home:DenisRx:TeXmacs").
although there is no problem with the online compilation :
[ 1s] lamb04 started "build guile18.dsc" at Thu Dec 3 13:43:28 UTC 2020. [ 1s] [ 1s] Building Guile18 for project 'home:DenisRx:TeXmacs' repository 'xUbuntu_20.10' arch 'i586' srcmd5 'f9630deebb722ec55687291d0c9e8334' [ 1s] [ 1s] processing recipe /var/cache/obs/worker/root_3/.build-srcdir/guile18.dsc ... ........................
[ 71s] [163/207] installing libpython3.8-minimal-3.8.6-1 [ 71s] [164/207] installing tex-common-6.15 [ 71s] update-language: texlive-base not installed and configured, doing nothing! [ 71s] Processing triggers for man-db (2.9.3-2) ...
The OBS performs a VM (kvm) based build. For VM based builds, util-linux is installed because a "vminstall" package depends on it (see "osc meta prjconf Ubuntu:20.10" (grep for "VMinstall")). By default, "osc build ..." performs a chroot based build (that is, no VM based build) and, hence, no "vminstall" packages (+ depedencies) are installed. Marcus
participants (2)
-
Denis RAUX
-
Marcus Hüwe