[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#865300: marked as done (tex-common: check for texlive-base ambiguous in /usr/sbin/update-language)



Your message dated Tue, 27 Jun 2017 06:34:21 +0000
with message-id <E1dPk4r-0004Mx-GE@fasolo.debian.org>
and subject line Bug#865300: fixed in tex-common 6.07
has caused the Debian Bug report #865300,
regarding tex-common: check for texlive-base ambiguous in /usr/sbin/update-language
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
865300: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865300
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tex-common
Version: 6.06
Severity: normal
Tags: patch

Dear Maintainer,

I had noticed that since some time my latex installation did not recognise 
the Italian language as installed, even if the pertinent package was indeed 
installed. Today, upon the huge texlive update that hit sid, I noticed that 
in the configuration phase update-language, when called, would say that it 
would do nothing since texlive base was not installed or configured.
However texlive-base was installed and properly configured, so what?
Looking into update-language, I found that it checks for the status of 
texlive-base like this:

dpkg-query -W -f=\'\${Status}\' texlive-base 2>/dev/null

which, on my system, reports:

'unknown ok not-installed''install ok installed'

and hence causes the following check to fail.


This is apparently due to the fact that I have been updating my installation 
for a long, long time, so if I query my system with 

apt-show-versions -a texlive-base

it says:

texlive-base:all 2017.20170619-1 install ok installed
No stable version
texlive-base:all 2017.20170619-1 sid             ftp.debian.org
texlive-base:all 2017.20170619-1 buildd-unstable incoming.debian.org
No experimental version
texlive-base:all/sid 2017.20170619-1 uptodate
texlive-base:amd64 unknown ok not-installed
No stable version
No unstable version
No experimental version
texlive-base:amd64 not installed (even not available)

So apparently my system remembers the (ancient?) existence of a 
texlive-base:amd64 package, now unavailable, and when queried by 
dpkg-query about texlive-base it gives two answers: one for this ancient
version, which is now unavailable and is hence 'unknown ok not-installed',
and one for the current version which is 'install ok installed'.


The easy and painless fix for this is to replace

dpkg-query -W -f=\'\${Status}\' texlive-base 2>/dev/null

in line 104 of /usr/sbin/update-language with the architecture specific

dpkg-query -W -f=\'\${Status}\' texlive-base:all 2>/dev/null

which refers unambiguously to the present version in sid and stretch and
hence does not incur in the problem.


I hope this may be useful for others, best regards

Giacomo Mulas


-- System Information:
Debian Release: 9.0
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.25-jak (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.utf8), LANGUAGE=it_IT.utf8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tex-common depends on:
ii  dpkg  1.18.24
ii  ucf   3.0036

tex-common recommends no packages.

Versions of packages tex-common suggests:
ii  debhelper  10.2.5

Versions of packages texlive-base depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  libpaper-utils         1.1.24+nmu5
ii  texlive-binaries       2017.20170613.44572-2
ii  ucf                    3.0036
ii  xdg-utils              1.1.1-1

Versions of packages texlive-base recommends:
ii  lmodern  2.004.5-3

Versions of packages texlive-base suggests:
ii  acroread [pdf-viewer]             9.5.5-dmo2
ii  atril [postscript-viewer]         1.16.1-2
ii  evince [postscript-viewer]        3.22.1-3
ii  ghostscript [postscript-viewer]   9.21~dfsg-1
ii  gv [postscript-viewer]            1:3.7.4-1+b1
ii  okular [postscript-viewer]        4:16.08.2-1+b1
ii  perl-tk                           1:804.033-1+b3
ii  zathura-pdf-poppler [pdf-viewer]  0.2.7-1

Versions of packages texlive-binaries depends on:
ii  dpkg              1.18.24
ii  install-info      6.3.0.dfsg.1-1+b2
ii  libc6             2.24-12
ii  libcairo2         1.14.8-1
ii  libfontconfig1    2.11.0-6.7+b1
ii  libfreetype6      2.6.3-3.2
ii  libgcc1           1:6.3.0-18
ii  libgmp10          2:6.1.2+dfsg-1
ii  libgraphite2-3    1.3.10-2
ii  libgs9            9.21~dfsg-1
ii  libharfbuzz-icu0  1.4.2-1
ii  libharfbuzz0b     1.4.2-1
ii  libice6           2:1.0.9-2
ii  libicu57          57.1-6
ii  libkpathsea6      2017.20170613.44572-2
ii  libmpfr4          3.1.5-1
ii  libpaper1         1.1.24+nmu5
ii  libpixman-1-0     0.34.0-1
ii  libpng16-16       1.6.29-3
ii  libpoppler64      0.48.0-2
ii  libpotrace0       1.14-2
ii  libptexenc1       2017.20170613.44572-2
ii  libsm6            2:1.2.2-1+b3
ii  libstdc++6        6.3.0-18
ii  libsynctex1       2017.20170613.44572-2
ii  libtexlua52       2017.20170613.44572-2
ii  libtexluajit2     2017.20170613.44572-2
ii  libx11-6          2:1.6.4-3
ii  libxaw7           2:1.0.13-1+b2
ii  libxext6          2:1.3.3-1+b2
ii  libxi6            2:1.7.9-1
ii  libxmu6           2:1.1.2-2
ii  libxpm4           1:3.5.12-1
ii  libxt6            1:1.1.5-1
ii  libzzip-0-13      0.13.62-3.1
ii  perl              5.24.1-3
ii  t1utils           1.39-2
ii  zlib1g            1:1.2.8.dfsg-5

Versions of packages texlive-binaries recommends:
ii  python        2.7.13-2
ii  ruby          1:2.3.3
ii  texlive-base  2017.20170619-1
ii  tk [wish]     8.6.0+9

-- debconf information:
  tex-common/check_texmf_missing:
  texlive-base/binary_chooser: pdftex, dvips, dvipdfmx, xdvi
  tex-common/check_texmf_wrong:
  texlive-base/texconfig_ignorant:

-- debsums errors found:
debsums: changed file /usr/sbin/update-language (from tex-common package)

--- End Message ---
--- Begin Message ---
Source: tex-common
Source-Version: 6.07

We believe that the bug you reported is fixed in the latest version of
tex-common, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 865300@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated tex-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 24 Jun 2017 21:20:59 +0900
Source: tex-common
Binary: tex-common
Architecture: source all
Version: 6.07
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description:
 tex-common - common infrastructure for building and installing TeX
Closes: 865300 865723
Changes:
 tex-common (6.07) unstable; urgency=medium
 .
   * use texlive-base:all in dpkg query, to make sure no rogue :ARCH
     package interferes with the output (Closes: #865300)
   * switch all triggers to -noawait (Closes: #865723)
   * bump standards version to 4.0.0, no changes necessary
Checksums-Sha1:
 b43ced62c6ec70f2cc2fd4af5e3b4c30d77927d7 1398 tex-common_6.07.dsc
 f372ca1228351104bdb94264fc1bad386538998f 633300 tex-common_6.07.tar.gz
 9bdaf2a46f4f47284df333897999e6d423285d6d 565828 tex-common_6.07_all.deb
 28bd5291f1e8eb64f51c89a383c9bf1f53e2e17d 5893 tex-common_6.07_amd64.buildinfo
Checksums-Sha256:
 66288d4f127e31f4830a1e7f207f8b3f1ca45e27ea0723b3d5f0c3abe4329e53 1398 tex-common_6.07.dsc
 22a3f2d7163bf16a506afc5f9ab9ffb004404f0a0f03acee1881fce5faadeb96 633300 tex-common_6.07.tar.gz
 d836ce64d3983f995bb71e0795c2f510762c918152dd22ecd51b2e600ee4f4da 565828 tex-common_6.07_all.deb
 22f17d53467dc86429f8087c1b1fd41a6bd238a0a4dd10b07c36080cf89b60d1 5893 tex-common_6.07_amd64.buildinfo
Files:
 92eaf3f38c5d1f5e3be0969076276ae8 1398 tex optional tex-common_6.07.dsc
 304ece0af2195c110c116884d9844d4e 633300 tex optional tex-common_6.07.tar.gz
 9bee4c1d8481be9dcfcab7a4c89f38cf 565828 tex optional tex-common_6.07_all.deb
 2833c5b0f9e2c7d7ec394bfa1e0a4b1f 5893 tex optional tex-common_6.07_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEWHH4JC3MNmAjYr597AC42tMiZqoFAllR9rUACgkQ7AC42tMi
ZqoZHwf/ek/A+TUR75PUI8XgGZSN94f+JwPg1kqgwKNJ2CQ39H4daTfM+VLglITD
ZFvVHyuOYc32Lf+nCuzp9bzBVYhCiGDKA///RceWgeRj90fM4iExU1jMdGLB7dDh
9z0eae9Shew9ZXfGstR1UFvht3kSGKqLPYAaTwPCNFTLMwtIwKx/+d4LB5gjc/Oq
6r8Io0+zL+bhisaqZ5OE3FI9Xo47s3eK1xVRU2YCxO06eCV/6E9/sEdLkiGcCuvj
muA+GyXBm4pRf7zmaRptR3o2nxvnoIEyjJigRDfULYx4pecTBFepd/xtFAxK6YC7
Bred6/e1ONyZnpForOi1LFq3K251/w==
=dTht
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: