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

Bug#297614: marked as done (tetex-base: symlink to directory replaced by directory in package)



Your message dated Wed, 02 Mar 2005 19:26:22 +0100
with message-id <87oee1rjjl.fsf@alhambra.kuesterei.ch>
and subject line Bug#297614: dpkg: dpkg makes conffiles to circular symlinks
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Mar 2005 18:49:05 +0000
>From frank@kuesterei.ch Tue Mar 01 10:49:05 2005
Return-path: <frank@kuesterei.ch>
Received: from idmailgate1.unizh.ch [130.60.68.105] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D6CQa-000518-00; Tue, 01 Mar 2005 10:49:05 -0800
Received: from alhambra.kuesterei.ch ([130.60.169.112])
	by idmailgate1.unizh.ch (8.12.10/8.12.10/Debian-2) with ESMTP id j21In1wV007022
	for <submit@bugs.debian.org>; Tue, 1 Mar 2005 19:49:02 +0100
Received: from frank by alhambra.kuesterei.ch with local (Exim 4.44)
	id 1D6CQX-0005xu-RS
	for submit@bugs.debian.org; Tue, 01 Mar 2005 19:49:01 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg: dpkg makes conffiles to circular symlinks 
X-Debbugs-CC: Frank Küster <frank@debian.org>, Florent Rougon <f.rougon@free.fr>, 173975@bugs.debian.org
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-15
Message-Id: <E1D6CQX-0005xu-RS@alhambra.kuesterei.ch>
From: =?UTF-8?Q?Frank_K=FCster?= <frank@kuesterei.ch>
Date: Tue, 01 Mar 2005 19:49:01 +0100
X-Virus-Scanned: by amavisd-new
Content-Transfer-Encoding: 8bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: dpkg
Version: 1.10.27
Severity: important

When upgrading tetex-base from 2.0.2c-6 to 3.0-0.4 (which is currently
only at 

deb http://people.debian.org/~frank/teTeX-3.0 experimental main
deb-src http://people.debian.org/~frank/teTeX-3.0 experimental main

) dpkg makes circular symlinks out of ordinary conffiles.  These files
are just ordinary files in 2.0.2c-6, and are unchanged at the same
place in 3.0-0.4, as can be seen by un-ar'ing and un-tar'ing the deb.
dpkg itself complains about this - the ls is from the preinst script:

+ ls -l /etc/texmf/platex/
total 16
-rw-r--r--  1 root root 4447 2003-01-30 12:10 hyphen.cfg
-rw-r--r--  1 root root 2113 2005-02-24 17:58 language.dat
-rw-r--r--  1 root root   81 2001-06-05 20:18 platex.ini
Unpacking replacement tetex-base ...
dpkg: warning - unable to delete old file `/var/lib/texmf/dvips': Directory not empty
dpkg: warning - unable to delete old file `/etc/texmf/pdftex': Directory not empty
Setting up tetex-base (3.0-0.4) ...
dpkg: tetex-base: warning - config file `/etc/texmf/platex/language.dat' is a circular link
 (= `/etc/texmf/platex/language.dat')
dpkg: tetex-base: warning - config file `/etc/texmf/platex/hyphen.cfg' is a circular link
 (= `/etc/texmf/platex/hyphen.cfg')
dpkg: tetex-base: warning - config file `/etc/texmf/cyrplain/cyrtex.cfg' is a circular link
 (= `/etc/texmf/cyrplain/cyrtex.cfg')

When I try to debug this with "--debug=22" in apt.conf.d/98debug, I
don't seem to get useful information, but dpkg segfaults (this is
probably the same as #173975).  We can provide a typescript of the
debug run, as well as an 8MByte core.

Regards, Frank



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages dpkg depends on:
ii  dselect                     1.10.27      a user tool to manage Debian packa
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information

---------------------------------------
Received: (at 297614-done) by bugs.debian.org; 2 Mar 2005 18:26:25 +0000
>From frank@kuesterei.ch Wed Mar 02 10:26:25 2005
Return-path: <frank@kuesterei.ch>
Received: from idmailgate1.unizh.ch [130.60.68.105] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D6YYD-0001LP-00; Wed, 02 Mar 2005 10:26:25 -0800
Received: from alhambra.kuesterei.ch ([130.60.169.112])
	by idmailgate1.unizh.ch (8.12.10/8.12.10/Debian-2) with ESMTP id j22IQMwV004712;
	Wed, 2 Mar 2005 19:26:22 +0100
Received: from localhost ([127.0.0.1] helo=alhambra.kuesterei.ch)
	by alhambra.kuesterei.ch with esmtp (Exim 4.44)
	id 1D6YYA-0005L2-LO; Wed, 02 Mar 2005 19:26:22 +0100
To: Scott James Remnant <scott@netsplit.com>
Cc: 297614-done@bugs.debian.org, Florent Rougon <florent.rougon@free.fr>
Subject: Re: Bug#297614: dpkg: dpkg makes conffiles to circular symlinks
X-Attribution: fant
X-Ehrenamt: http://www.langau.de
From: frank@kuesterei.ch (=?iso-8859-1?q?Frank_K=FCster?=)
In-Reply-To: <1109782834.9000.44.camel@descent.netsplit.com> (Scott James
 Remnant's message of "Wed, 02 Mar 2005 17:00:34 +0000")
References: <E1D6CQX-0005xu-RS@alhambra.kuesterei.ch>
	<87acpmcxq0.fsf@alhambra.kuesterei.ch>
	<1109774334.9000.7.camel@descent.netsplit.com>
	<87650a6pfg.fsf@alhambra.kuesterei.ch>
	<1109782834.9000.44.camel@descent.netsplit.com>
Date: Wed, 02 Mar 2005 19:26:22 +0100
Message-ID: <87oee1rjjl.fsf@alhambra.kuesterei.ch>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: by amavisd-new
Delivered-To: 297614-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Scott James Remnant <scott@netsplit.com> wrote:

> You can't replace symlinks to directories with symlinks with dpkg alone
> (to preserve user filesystem/drive arrangement), and this is explicitly
> mentioned in policy.

I knew, and I already do the usual preinst-postinst-postrm stuff stolen
from the X packages for some other directories, but missed it here.=20=20

Sorry for the confusion,=20

Frank


--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer



Reply to: