Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-04 Thread Frank Küster
Hilmar Preusse [EMAIL PROTECTED] wrote:

 On 03.05.08 Jörg Sommer ([EMAIL PROTECTED]) wrote:
 Frank Küster schrieb am Sat 03. May, 11:47 (+0200):
  A. Costa [EMAIL PROTECTED] wrote:

 Hi,

   It looks like 'tetex-bin' is missing some files, or it used to have them
   and they're now in some other package.  What package has those config 
   files?
  
  tex-common, in etch, lenny, sid. The problem with --force-confmiss is
  that those files are under ucf control, not dpkg control, and ucf
  doesn't understand --force-confmiss. 
 
 BTW: Why are these files managed with ucf? Why doesn't dpkg fit to your
   needs?
 
 The files are used to build the file texmf.cnf in Debian. This file
 however is widely described as the central config file of a TeX
 system. So on the one hand the recommended way to change texmf.cnf is
 to change the files in question, but direct changes to texmf.cnf
 should be regarded. There are a few bugs about this topic for tetex
 packages around 2003-2004.
 At this time Frank decided to involve ucf.

That's only half correct: It's the reason why texmf.cnf is managed by
ucf. 

IIRC, the reason why the files in texmf.d are managed by ucf is that
dpkg wasn't at all able to handle the movement of conffiles from one
package to the other, at the time the files were moved from tetex-bin to
tex-common. 

No, sorry, that can't be the complete story either, since even in
oldstable (and tetex-bin) they are ucf-managed. 

We would be glad to put them back under dpkg control, if only dpkg would
provide

a) the necessary features (in particular moving between packages) and

b) some clean way to get them back from ucf without loosing information.

Regards, Frank

-- 
Frank Küster
Debian Developer (teTeX/TeXLive)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-04 Thread Jörg Sommer
Hallo A.,

A. Costa schrieb am Sun 04. May, 01:16 (-0400):
 On Sat, 3 May 2008 14:21:46 +0200
 Jörg Sommer [EMAIL PROTECTED] wrote:
 
  Frank Küster schrieb am Sat 03. May, 11:47 (+0200):
   A. Costa [EMAIL PROTECTED] wrote:
   
It looks like 'tetex-bin' is missing some files, or it used to
have them and they're now in some other package.  What package
has those config files?
   
   tex-common, in etch, lenny, sid. The problem with --force-confmiss
   is that those files are under ucf control, not dpkg control, and ucf
   doesn't understand --force-confmiss. 
  
  Simply do
UCF_FORCE_CONFFMISS=yes dpkg-reconfigure tex-common
 
 Thanks, I got...
 
   % UCF_FORCE_CONFFMISS=yes dpkg-reconfigure tex-common ; echo $?
   /usr/sbin/dpkg-reconfigure: tex-common is broken or not fully installed
   1

Sorry, I missed your installation didn't succeed.

 ...then tried that variable with 'dpkg', and (for some reason) it worked:
 
   % UCF_FORCE_CONFFMISS=yes dpkg -i --force-confmiss 
 /var/cache/apt/archives/tex-common_1.11_all.deb

Yes, this was the right thing to do.

   (Reading database ... 234065 files and directories currently installed.)
   Preparing to replace tex-common 1.11 (using 
 .../tex-common_1.11_all.deb) ...
   Ignoring nonregistered document `debian-tex-policy'
   Ignoring nonregistered document `tex-on-debian'
   Unpacking replacement tex-common ...
   Setting up tex-common (1.11) ...
 
   Recreating deleted config file /etc/texmf/texmf.d/05TeXMF.cnf with new 
 version, as asked
 
   Recreating deleted config file /etc/texmf/texmf.d/15Plain.cnf with new 
 version, as asked
 

 But does this constitute an actual bug in any of the current software?
 From what Frank Kuster said, it sounds like my system's odd behavior
 might have been caused by many things

Yes, was an odd behaviour of the system somewhere in the past and now,
from the package point of view it looks like the admin decided to remove
the files. That's his choice, but he must expect that things break. The
problem here is, you didn't made the decision. There was any corruption
of the system.

So, I would close this report, because it is not a bug in the package.
The system was misconfigured and the Policy force to don't change user
configuration. And it's allowed that misconfigured software breaks.

 For diagnostics, it might be nice to have some util like 'dlocate' that
 worked for config files,

This is difficult. Many packages do not announce their ownership
anywhere. They drop the files in /etc and go away.

Regards, Jörg.
-- 
A red sign on the door of a physics professor: 'If this sign is blue,
you're going too fast.'


signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP


Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-04 Thread Jörg Sommer
Hallo Hilmar,

Hilmar Preusse schrieb am Sat 03. May, 16:31 (+0200):
 On 03.05.08 Jörg Sommer ([EMAIL PROTECTED]) wrote:
  BTW: Why are these files managed with ucf? Why doesn't dpkg fit to your
needs?
  
 The files are used to build the file texmf.cnf in Debian. This file
 however is widely described as the central config file of a TeX
 system. So on the one hand the recommended way to change texmf.cnf is
 to change the files in question, but direct changes to texmf.cnf
 should be regarded.

I know. I think you are doing the same as the Exim team with exim.conf.

 At this time Frank decided to involve ucf.

But I don't see why the files in /etc/texmf/texmf.d have to be managed
with ucf. They can be normal conffile, shipped with the package. Yes,
/etc/texmf/texmf.cnf is different. It must be managed with ucf or moved
out of /etc, like the Exim people do.

Bye, Jörg.
-- 
Computer Science is no more about Computers than astronomy is about
telescopes.
(Edsger Wybe Dijkstra)


signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP


Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-03 Thread Frank Küster
A. Costa [EMAIL PROTECTED] wrote:

 Hmm, maybe the config files are in a different package.  'dlocate'
 reports those are in 'tetex-bin':

[...]
 Now here I find there was no 'tetex-bin' in my cache, (a recent space
 saving backup), 

These files were part of tetex-bin in *oldstable*, while even in stable
they are in tex-common. On the other hand, your system claims to be 

Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')

That sounds as if you didn't properly dist-upgrade somehow long ago.

 Looks OK, did it work?  No:

That's expected, since tetex-bin is now just an empty transitional
package. 

 It looks like 'tetex-bin' is missing some files, or it used to have them
 and they're now in some other package.  What package has those config files?

tex-common, in etch, lenny, sid. The problem with --force-confmiss is
that those files are under ucf control, not dpkg control, and ucf
doesn't understand --force-confmiss. 

In other days, I'd had been able to give you a solution at once, but
currently I am so out of these ucf things that I cannot - and I must
leave now, so I'm sending this e-mail anyway.

Regards, Frank

-- 
Frank Küster
Debian Developer (teTeX/TeXLive)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-03 Thread Jörg Sommer
Hi,

Frank Küster schrieb am Sat 03. May, 11:47 (+0200):
 A. Costa [EMAIL PROTECTED] wrote:
 
  It looks like 'tetex-bin' is missing some files, or it used to have them
  and they're now in some other package.  What package has those config files?
 
 tex-common, in etch, lenny, sid. The problem with --force-confmiss is
 that those files are under ucf control, not dpkg control, and ucf
 doesn't understand --force-confmiss. 

Simply do
  UCF_FORCE_CONFFMISS=yes dpkg-reconfigure tex-common

BTW: Why are these files managed with ucf? Why doesn't dpkg fit to your
  needs?

Bye, Jörg.
-- 
“Perl—the only language that looks the same
 before and after RSA encryption.”   (Keith Bostic)


signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP


Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-03 Thread Hilmar Preusse
On 03.05.08 Jörg Sommer ([EMAIL PROTECTED]) wrote:
 Frank Küster schrieb am Sat 03. May, 11:47 (+0200):
  A. Costa [EMAIL PROTECTED] wrote:

Hi,

   It looks like 'tetex-bin' is missing some files, or it used to have them
   and they're now in some other package.  What package has those config 
   files?
  
  tex-common, in etch, lenny, sid. The problem with --force-confmiss is
  that those files are under ucf control, not dpkg control, and ucf
  doesn't understand --force-confmiss. 
 
 BTW: Why are these files managed with ucf? Why doesn't dpkg fit to your
   needs?
 
The files are used to build the file texmf.cnf in Debian. This file
however is widely described as the central config file of a TeX
system. So on the one hand the recommended way to change texmf.cnf is
to change the files in question, but direct changes to texmf.cnf
should be regarded. There are a few bugs about this topic for tetex
packages around 2003-2004.
At this time Frank decided to involve ucf.

H.
-- 
sigmentation fault



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-03 Thread A. Costa
On Sat, 3 May 2008 14:21:46 +0200
Jörg Sommer [EMAIL PROTECTED] wrote:

 Frank Küster schrieb am Sat 03. May, 11:47 (+0200):
  A. Costa [EMAIL PROTECTED] wrote:
  
   It looks like 'tetex-bin' is missing some files, or it used to
   have them and they're now in some other package.  What package
   has those config files?
  
  tex-common, in etch, lenny, sid. The problem with --force-confmiss
  is that those files are under ucf control, not dpkg control, and ucf
  doesn't understand --force-confmiss. 
 
 Simply do
   UCF_FORCE_CONFFMISS=yes dpkg-reconfigure tex-common

Thanks, I got...

% UCF_FORCE_CONFFMISS=yes dpkg-reconfigure tex-common ; echo $?
/usr/sbin/dpkg-reconfigure: tex-common is broken or not fully installed
1

...then tried that variable with 'dpkg', and (for some reason) it worked:

% UCF_FORCE_CONFFMISS=yes dpkg -i --force-confmiss 
/var/cache/apt/archives/tex-common_1.11_all.deb
(Reading database ... 234065 files and directories currently installed.)
Preparing to replace tex-common 1.11 (using 
.../tex-common_1.11_all.deb) ...
Ignoring nonregistered document `debian-tex-policy'
Ignoring nonregistered document `tex-on-debian'
Unpacking replacement tex-common ...
Setting up tex-common (1.11) ...

Recreating deleted config file /etc/texmf/texmf.d/05TeXMF.cnf with new 
version, as asked

Recreating deleted config file /etc/texmf/texmf.d/15Plain.cnf with new 
version, as asked

Recreating deleted config file /etc/texmf/texmf.d/55Fonts.cnf with new 
version, as asked

Recreating deleted config file /etc/texmf/texmf.d/65BibTeX.cnf with new 
version, as asked

Recreating deleted config file /etc/texmf/texmf.d/75DviPS.cnf with new 
version, as asked

Recreating deleted config file /etc/texmf/texmf.d/85Misc.cnf with new 
version, as asked

Recreating deleted config file /etc/texmf/texmf.d/95NonPath.cnf with 
new version, as asked
Replacing config file /etc/texmf/texmf.cnf with new version
Processing triggers for man-db ...

After that, no more 'apt-get' errors.

So my system is fixed, and this report is online, and any users with the
same problem can fix it if they search.  But does this constitute an
actual bug in any of the current software?  From what Frank Kuster
said, it sounds like my system's odd behavior might have been caused by
many things -- this system's been running since 1998, and had several
hardware and dist upgrades since then.  I don't recall mucking with
those files, but that's no guarantee.  Or some bug that was fixed years
ago, but left behind a few loose ends.

For diagnostics, it might be nice to have some util like 'dlocate' that
worked for config files, (highly speculative), if not all of them,
whatever subset of the whole on which it could be made to work, (I
don't know how).  

Less speculative would be a util like 'dlocate' for files from packages
that aren't installed -- I think some Debian web page has a search
function that does this, (or rather searches all packages), but I don't
remember where it is; given that page, such a util could access the
page, parse the output, do some logic to filter out the local stuff,
and print the results to standard output.

Bugs or no bugs, thanks Jörg Sommer, Frank Kuster,  Norbert Preining
for collectively fixing my system.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-02 Thread Norbert Preining
Hi,

On Do, 01 Mai 2008, A. Costa wrote:
 Not replacing deleted config file /etc/texmf/texmf.d/05TeXMF.cnf
 Not replacing deleted config file /etc/texmf/texmf.d/15Plain.cnf
 Not replacing deleted config file /etc/texmf/texmf.d/55Fonts.cnf
 Not replacing deleted config file /etc/texmf/texmf.d/65BibTeX.cnf
 Not replacing deleted config file /etc/texmf/texmf.d/75DviPS.cnf
 Not replacing deleted config file /etc/texmf/texmf.d/85Misc.cnf
 Not replacing deleted config file /etc/texmf/texmf.d/95NonPath.cnf

You seem to have removed the config files, sorry, there is no way around
that. If you have done that without knowing you have to install
tex-common via dpkg and --install-missing (AFAIR) command line to get
the removed config files back.

If this is an error it is an error of dpkg, but it seems (again) that
you did remove the files.

Best wishes

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Vienna University of Technology
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
GREELEY (n.)
Someone who continually annoys you by continually apologising for
annoying you.
--- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-02 Thread Norbert Preining
severity 478992 normal
tags 478992 + unreproducible
thanks

Tagging this bug as unreprodrucible, and normal severity. Seems to be a
user problem.

Best wishes

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Vienna University of Technology
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
KNOPTOFT (n.)
The mysterious fluff placed in your pockets by dry-cleaning firms.
--- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-02 Thread A. Costa
On Fri, 2 May 2008 09:21:50 +0200
Norbert Preining [EMAIL PROTECTED] wrote:

  Not replacing deleted config
  file /etc/texmf/texmf.d/95NonPath.cnf
 
 You seem to have removed the config files, sorry, there is no way
 around that. If you have done that without knowing you have to install
 tex-common via dpkg and --install-missing (AFAIR) command line to get
 the removed config files back.

I don't recall doing much anything with those config files,
but a run of:
 
# as root
% zgrep -h tex-common /var/log/dpkg.log* | sort -g | gzip  
/tmp/tc.log.gz

...(attached) shows this may have been an issue for 6 months; odds are your
informed opinion is better than my fumbling.

On 'dpkg' and '--install-missing', there's no such option, but it's a good clue,
and 'man dpkg' has a '--force-confmiss'; let's try that: 

% dpkg -i --force-confmiss 
/var/cache/apt/archives/tex-common_1.11_all.deb
{...}
update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf 
missing.
{...}

Hmm, maybe the config files are in a different package.  'dlocate'
reports those are in 'tetex-bin':

% dlocate /etc/texmf/texmf.d/05TeXMF.cnf /etc/texmf/texmf.d/15Plain.cnf 
/etc/texmf/texmf.d/55Fonts.cnf /etc/texmf/texmf.d/65BibTeX.cnf 
/etc/texmf/texmf.d/75DviPS.cnf /etc/texmf/texmf.d/85Misc.cnf /etc/texmf/ 
texmf.d/95NonPath.cnf /etc/texmf/texmf.d/05TeXMF.cnf
tetex-bin: /etc/texmf/texmf.d/95NonPath.cnf
tetex-bin: /etc/texmf/texmf.d/85Misc.cnf
tetex-bin: /etc/texmf/texmf.d/75DviPS.cnf
tetex-bin: /etc/texmf/texmf.d/65BibTeX.cnf
tetex-bin: /etc/texmf/texmf.d/55Fonts.cnf
tetex-bin: /etc/texmf/texmf.d/15Plain.cnf
tetex-bin: /etc/texmf/texmf.d/05TeXMF.cnf

Now here I find there was no 'tetex-bin' in my cache, (a recent space
saving backup), so here I installed the latest with 'apt-get'.

Try again with the latest 'tetex-bin':

% dpkg -i --force-confmiss 
/var/cache/apt/archives/tetex-bin_2007-14_all.deb ; echo $?
(Reading database ... 234008 files and directories currently installed.)
Preparing to replace tetex-bin 2007-14 (using 
.../tetex-bin_2007-14_all.deb) ...
Unpacking replacement tetex-bin ...
Setting up tetex-bin (2007-14) ...
0

Looks OK, did it work?  No:

% ls -l /etc/texmf/texmf.d/05TeXMF.cnf /etc/texmf/texmf.d/15Plain.cnf 
/etc/texmf/texmf.d/55Fonts.cnf /etc/texmf/texmf.d/65BibTeX.cnf 
/etc/texmf/texmf.d/75DviPS.cnf /etc/texmf/texmf.d/85Misc.cnf 
/etc/texmf/texmf.d/95NonPath.cnf /etc/texmf/texmf.d/05TeXMF.cnf
ls: cannot access /etc/texmf/texmf.d/05TeXMF.cnf: No such file or 
directory
ls: cannot access /etc/texmf/texmf.d/15Plain.cnf: No such file or 
directory
ls: cannot access /etc/texmf/texmf.d/55Fonts.cnf: No such file or 
directory
ls: cannot access /etc/texmf/texmf.d/65BibTeX.cnf: No such file or 
directory
ls: cannot access /etc/texmf/texmf.d/75DviPS.cnf: No such file or 
directory
ls: cannot access /etc/texmf/texmf.d/85Misc.cnf: No such file or 
directory
ls: cannot access /etc/texmf/texmf.d/95NonPath.cnf: No such file or 
directory
ls: cannot access /etc/texmf/texmf.d/05TeXMF.cnf: No such file or 
directory

Maybe the new 'tetex-bin' is faulty...

% dlocate -conf tetex-bin
Package tetex-bin not installed or has no conffiles.

# update the 'dlocate' database, in case something has changed.
% update-dlocatedb 
% dlocate /etc/texmf/texmf.d/05TeXMF.cnf /etc/texmf/texmf.d/15Plain.cnf 
/etc/texmf/texmf.d/55Fonts.cnf /etc/texmf/texmf.d/65BibTeX.cnf 
/etc/texmf/texmf.d/75DviPS.cnf /etc/texmf/texmf.d/85Misc.cnf 
/etc/texmf/texmf.d/95NonPath.cnf /etc/texmf/texmf.d/05TeXMF.cnf ; echo $?
1

It looks like 'tetex-bin' is missing some files, or it used to have them
and they're now in some other package.  What package has those config files?

HTH...


tc.log.gz
Description: Binary data


Bug#478992: update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.

2008-05-01 Thread A. Costa
Package: tex-common
Version: 1.11
Severity: important


During upgrade 'Setup' fails:

% apt-get install --reinstall tex-common ; echo $?
Reading package lists... Done
Building dependency tree   
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 267 not 
upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up tex-common (1.11) ...
Not replacing deleted config file /etc/texmf/texmf.d/05TeXMF.cnf
Not replacing deleted config file /etc/texmf/texmf.d/15Plain.cnf
Not replacing deleted config file /etc/texmf/texmf.d/55Fonts.cnf
Not replacing deleted config file /etc/texmf/texmf.d/65BibTeX.cnf
Not replacing deleted config file /etc/texmf/texmf.d/75DviPS.cnf
Not replacing deleted config file /etc/texmf/texmf.d/85Misc.cnf
Not replacing deleted config file /etc/texmf/texmf.d/95NonPath.cnf
update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf 
missing.
Exiting.
dpkg: error processing tex-common (--configure):
 subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
  tex-common
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  100

Back in 2004 M. Uhlmann had a similar problem:

tetex installation problem: missing /etc/texmf/texmf.d/05TeXMF.cnf
http://lists.debian.org/debian-testing/2004/09/msg00026.html


Hope this helps...


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

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages tex-common depends on:
ii  debconf   1.5.21 Debian configuration management sy
ii  ucf   3.006  Update Configuration File: preserv

tex-common recommends no packages.

Versions of packages tetex-bin depends on:
ii  texlive   2007-13TeX Live: A decent selection of th

Versions of packages texlive-base depends on:
ii  texlive-base-bin   2007.dfsg.1-2 TeX Live: Essential binaries
ii  texlive-common 2007-13   TeX Live: Base component
ii  texlive-doc-base   2007-3TeX Live: Base documentation

-- debconf information:
* tetex-bin/cnf_name:
  tex-common/check_texmf_missing:
  tex-common/singleuser: false
  tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true
* tetex-bin/groupna/groupname: users
  tex-common/check_texmf_wrong:
  tetex-bin/userperm: false
* tetex-bin/hyphen:
* tetex-bin/oldcfg: true
* tetex-bin/use_debconf: true
* tetex-bin/groupname: users



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]