Bug#377581: tetex-base: Creating of missing formats failed with dpkg --configure started in /usr/bin
Oliver-Mark Cordes <ocordes@astro.uni-bonn.de> wrote:
> On Mon, 10 Jul 2006, Frank Küster wrote:
>
>> [...]
>>
>> Strange that it says "(/usr/bin/amstex", on my system it's "(./amstex".
>> But anyway.
>
> Does tex translate any filename into realnames?
Pardon? What do you mean with this question?
>> Hm, I don't think this makes sense, or is even doable. It's a feature
>> that TeX reads files in the current directory - a feature that can also
>> be used for generating customized formats.
>>
>> On the other hand it (the feature) probably doesn't make any sense in
>> the post-installation script. We could fix this by changing directory
>> to / or /tmp. But we cannot be sure that there isn't a file "amstex" in
>> any of these directories.
>>
>> I think it isn't unreasonable to expect that someone wants to create a
>> file "amstex" in /tmp, for whatever reason. But I can't think of a
>> reason to change directory to /usr/bin. Why did you do it?
>>
>
> I was packaging own debian-Packages (some python modules and own
> programs) and checked the installations scripts. This doesn't belong
> to any normal upgrades ;-)
I still don't see a reason to change the current directory to
/usr/bin/.
> I know about this "feature" and sometimes
> I'm not happy about this, but it is a feature not a bug ;-) But anyway
> to switch to a "neutral" directory would help.
Well, as I said it would cause other breakage (you can't have a file
"amstex" in /tmp/ any more, or wherever).
> PS: I don't send this mail to the BTS because there is no new
> information regarding the BUG I posted.
No new information about your system; but the question is still open
whether we need to change anything or not. Obviously you think that the
bug shouldn't just be closed (which I would personally prefer), so the
discussion what to do instead and why is relevant for that bug, and
should be archived?
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)
Reply to: