Bug#663092: tex-common: Not modified files reported as modified

2012-03-09 Thread Hilmar Preusse
On 09.03.12 Norbert Preining (prein...@logic.at) wrote:
 On Do, 08 Mär 2012, Frank Küster wrote:

Hi,

  The reason is that the files aren't under dpkg's control, but under
  ucf's instead.  Therefore we need to manually
 
 Yes, see first item in svn texlive2012/TODO:
 - removal of not-really-conffiles in /etc/texmf/texmf.d and
   /etc/texmf.d/updmapd./00..., probably all the ucf based ones!
   Should be all removed ???
 
Err, sorry!! ..for not reading the TODO list. I'll do next time.

Hilmar
-- 
sigmentation fault



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663092: tex-common: Not modified files reported as modified

2012-03-09 Thread Frank Küster
Norbert Preining prein...@logic.at wrote:

 On Fr, 09 Mär 2012, Norbert Preining wrote:
 for i in $UCF_FILES ; do
   rm -f $i
   ucf --purge $i
   if test -x `which ucfr` ; then
 ucfr --purge tex-common $i
   fi
 done

 Well (with small bugs) that does it, but it is brutal, since it removes
 even if something has changed.

 I have now added some (UNTESTED) code that:
 - checks for md5sum changes and removes only if unchanged, otherwise
   simply renames it

You can use ucf for that:

ucfq /etc/texmf/texmf.d/05TeXMF.cnf | grep \
'/etc/texmf/texmf.d/05TeXMF.cnf'| tr -s '[:blank:]' '\t' | cut -f 4

(gives the Yes/No in the Changed? column)

Note that there might be ucf-old, ucf-new and ucf-dist files around.

Regards, Frank

P.S. leaving now for a weekend without internet access
-- 
Frank Küster
Sprecher B90/Grüne OV Miltenberg und Umgebung
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
Debian Developer (TeXLive)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663092: tex-common: Not modified files reported as modified

2012-03-09 Thread Norbert Preining
On Fr, 09 Mär 2012, Frank Küster wrote:
  I have now added some (UNTESTED) code that:
  - checks for md5sum changes and removes only if unchanged, otherwise
simply renames it
 
 You can use ucf for that:
 
 ucfq /etc/texmf/texmf.d/05TeXMF.cnf | grep \
 '/etc/texmf/texmf.d/05TeXMF.cnf'| tr -s '[:blank:]' '\t' | cut -f 4

Thansk, I use now ucfq --with-colons ...

I have now updated and will soon upload tex-common 3.1 that properly 
handles all the config and ucf files, on upgrades from versions  3
moves 00updmap.cfg settings over, removes all ucf files if unchanged,
etc etc etc.

For those who have upgrades to 3.0 there is some har work to be
done to do it by hand, though ;-)

Now also leaving for a shifted weekend Sat night - Mon night without
much internet (no laptop, only smartphone).

Best wishes

Norbert

Norbert Preiningpreining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live  Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094

RAMSGATE (n.)
All institutional buildings must, by law, contain at least twenty
ramsgates. These are doors which open the opposite way to the one you
expect.
--- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663092: tex-common: Not modified files reported as modified

2012-03-08 Thread Frank Küster
Hilmar Preusse hill...@web.de wrote:

 Package: tex-common
 Version: 3.0
 Severity: normal

 Dear Maintainer,

 I have a little VM, which had never tex-common installed. Today I installed
 the version 2.10 from unstable and then upgraded to 3.0 from experimental.
 Attached is the screen output. Maybe the 3.0 version expects other checksums
 for these files? Bug is sent from a different box.

I can reproduce the problem in a clean chroot. 

The reason is that the files aren't under dpkg's control, but under
ucf's instead.  Therefore we need to manually

- remove the files along with ucf-new or however they might be called

- ucf --purge the files 

- ucfr --purge the files.

Regards, Frank
-- 
Frank Küster
Sprecher B90/Grüne OV Miltenberg und Umgebung
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
Debian Developer (TeXLive)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663092: tex-common: Not modified files reported as modified

2012-03-08 Thread Norbert Preining
On Do, 08 Mär 2012, Frank Küster wrote:
 The reason is that the files aren't under dpkg's control, but under
 ucf's instead.  Therefore we need to manually

Yes, see first item in svn texlive2012/TODO:
- removal of not-really-conffiles in /etc/texmf/texmf.d and
  /etc/texmf.d/updmapd./00..., probably all the ucf based ones!
  Should be all removed ???

I know about it. THe warnings cannot be circumvented, but I was (am)
too lazy to do anything in this direction. People can purge the files
manually ;-)

 - ucf --purge the files 
 - ucfr --purge the files.

Whatever all these variants are ;-) If you can provide code in branches/v3/trunk
I would be happy ;-)

The warnings are coming from
dpkg-maintscript-helper
which is called via debian/maintscript where conffiles to be removed 
are listed (actual dpkg-maintscript-helper actions)

Best wishes

Norbert

Norbert Preiningpreining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live  Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094

BURLINGJOBB
A seventeenth-century crime by which excrement is thrown into the
street from a ground-floor window.
--- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663092: tex-common: Not modified files reported as modified

2012-03-08 Thread Norbert Preining
Hi Frank,

On Do, 08 Mär 2012, Frank Küster wrote:
 The reason is that the files aren't under dpkg's control, but under
 ucf's instead.  Therefore we need to manually
 - remove the files along with ucf-new or however they might be called
 - ucf --purge the files 
 - ucfr --purge the files.

Would that code in 
tex-common v3 postinst.in
work:
for i in $UCF_FILES ; do
  rm -f $i
  ucf --purge $i
  if test -x `which ucfr` ; then
ucfr --purge tex-common $i
  fi
done

Is there anything else we have to do?

Best wishes

Norbert

Norbert Preiningpreining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live  Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094

ERIBOLL (n.)
A brown bubble of cheese containing gaseous matter which grows on
welsh rarebit. It was Sir Alexander Flemming's study of eribolls which
led, indirectly, to his discovery of the fact that he didn't like
welsh rarebit very much.
--- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663092: tex-common: Not modified files reported as modified

2012-03-08 Thread Norbert Preining
On Fr, 09 Mär 2012, Norbert Preining wrote:
 for i in $UCF_FILES ; do
   rm -f $i
   ucf --purge $i
   if test -x `which ucfr` ; then
 ucfr --purge tex-common $i
   fi
 done

Well (with small bugs) that does it, but it is brutal, since it removes
even if something has changed.

I have now added some (UNTESTED) code that:
- checks for md5sum changes and removes only if unchanged, otherwise
  simply renames it
- 00updmpa.cfg settings that are different form TL2012 defaults are
  carried over to /etc/texmf/web2c/updmap.cfg

For the second we need one change in texlive-base that it ships also
/u/s/texlive/texmf/web2c/updmap.cfg with the default settings.
THat will bei n final TL, but is not by now. 

If someone can take a look at the code in postinst that would be great.

Best wishes

Norbert

Norbert Preiningpreining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live  Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094

BOOKThere is a theory which states that if ever anyone discovers
exactly what the Universe is for and why it is here, it will
instantly disappear and be replaced by something even more
bizarrely inexeplicable.
There is another theory which states that this has already happened.
 --- Introduction to Fit the Seventh.
 --- Douglas Adams, The Hitchhikers Guide to the Galaxy



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663092: tex-common: Not modified files reported as modified

2012-03-08 Thread Hilmar Preusse
Package: tex-common
Version: 3.0
Severity: normal

Dear Maintainer,

I have a little VM, which had never tex-common installed. Today I installed
the version 2.10 from unstable and then upgraded to 3.0 from experimental.
Attached is the screen output. Maybe the 3.0 version expects other checksums
for these files? Bug is sent from a different box.

Regards,
  Hilmar

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  dpkg   1.16.1.2
ii  ucf3.0025+nmu2

tex-common recommends no packages.

Versions of packages tex-common suggests:
ii  debhelper  9.20120115

Versions of packages texlive-base depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  dpkg   1.16.1.2
ii  install-info   4.13a.dfsg.1-8
ii  libpaper-utils 1.1.24+nmu1
ii  luatex 0.70.1-1+b1
ii  mime-support   3.52-1
ii  po-debconf 1.0.16+nmu2
ii  texlive-binaries   2009-12
ii  texlive-common 2009-15
ii  texlive-doc-base   2009-2

Versions of packages texlive-base recommends:
ii  lmodern  2.004.1-3.1

Versions of packages texlive-base suggests:
ii  ghostscript [postscript-viewer]  9.05~dfsg-3
ii  gv [postscript-viewer]   1:3.7.3-1
ii  perl-tk  1:804.029-1.2
ii  xpdf [pdf-viewer]3.03-9

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

-- 
sigmentation fault
root@debian-exp:~# apt-get install tex-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  debhelper
The following NEW packages will be installed:
  tex-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 725 kB of archives.
After this operation, 1,589 kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian/ unstable/main tex-common all 2.10 [725 
kB]
Fetched 725 kB in 0s (763 kB/s)
Preconfiguring packages ...
Selecting previously unselected package tex-common.
(Reading database ... 29394 files and directories currently installed.)
Unpacking tex-common (from .../tex-common_2.10_all.deb) ...
Processing triggers for man-db ...
Setting up tex-common (2.10) ...

Creating config file /etc/texmf/texmf.d/05TeXMF.cnf with new version

Creating config file /etc/texmf/texmf.d/15Plain.cnf with new version

Creating config file /etc/texmf/texmf.d/45TeXinputs.cnf with new version

Creating config file /etc/texmf/texmf.d/55Fonts.cnf with new version

Creating config file /etc/texmf/texmf.d/65BibTeX.cnf with new version

Creating config file /etc/texmf/texmf.d/75DviPS.cnf with new version

Creating config file /etc/texmf/texmf.d/80DVIPDFMx.cnf with new version

Creating config file /etc/texmf/texmf.d/85Misc.cnf with new version

Creating config file /etc/texmf/texmf.d/90TeXDoc.cnf with new version

Creating config file /etc/texmf/texmf.d/95NonPath.cnf with new version

Creating config file /etc/texmf/updmap.d/00updmap.cfg with new version

Creating config file /etc/texmf/texmf.cnf with new version
root@debian-exp:~# apt-get -t experimental install tex-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  debhelper
The following packages will be upgraded:
  tex-common
1 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
Need to get 704 kB of archives.
After this operation, 318 kB disk space will be freed.
Get:1 http://ftp.de.debian.org/debian/ experimental/main tex-common all 3.0 
[704 kB]
Fetched 704 kB in 0s (842 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 29513 files and directories currently installed.)
Preparing to replace tex-common 2.10 (using .../tex-common_3.0_all.deb) ...
Obsolete conffile /etc/texmf/texmf.d/05TeXMF.cnf has been modified by you.
Saving as /etc/texmf/texmf.d/05TeXMF.cnf.dpkg-bak ...
Obsolete conffile /etc/texmf/texmf.d/15Plain.cnf has been modified by you.
Saving as /etc/texmf/texmf.d/15Plain.cnf.dpkg-bak ...
Obsolete conffile /etc/texmf/texmf.d/45TeXinputs.cnf has been modified by you.
Saving as /etc/texmf/texmf.d/45TeXinputs.cnf.dpkg-bak ...
Obsolete conffile /etc/texmf/texmf.d/55Fonts.cnf has been modified by you.
Saving as /etc/texmf/texmf.d/55Fonts.cnf.dpkg-bak ...
Obsolete conffile /etc/texmf/texmf.d/65BibTeX.cnf has been modified by you.
Saving as /etc/texmf/texmf.d/65BibTeX.cnf.dpkg-bak ...
Obsolete conffile /etc/texmf/texmf.d/75DviPS.cnf has been modified by you.
Saving as /etc/texmf/texmf.d/75DviPS.cnf.dpkg-bak ...