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

Bug#186026: marked as done (dpkg: functionality of localepurge integrated with dpkg + enhanced)



Your message dated Sat, 5 Apr 2003 16:07:28 +0200
with message-id <20030405140728.GI4411@wiggy.net>
and subject line Bug#186026: dpkg: functionality of localepurge integrated with dpkg + enhanced
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; 23 Mar 2003 23:23:25 +0000
>From faraway@crackerjack.yi.org Sun Mar 23 17:23:25 2003
Return-path: <faraway@crackerjack.yi.org>
Received: from (crackerjack.yi.org) [64.251.78.165] (qmailr)
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 18xEoF-0001ID-00; Sun, 23 Mar 2003 17:23:24 -0600
Received: (qmail 14162 invoked by uid 1000); 23 Mar 2003 23:22:45 -0000
Message-ID: <20030323232245.14161.qmail@crackerjack.yi.org>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Tyler 'Crackerjack' MacDonald <tyler@yi.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg: functionality of localepurge integrated with dpkg + enhanced
X-Mailer: reportbug 2.10.1
Date: Sun, 23 Mar 2003 15:22:45 -0800
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-1.0 required=4.0
	tests=HAS_PACKAGE,QUOTED_EMAIL_TEXT,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

Package: dpkg
Version: 1.10.9
Severity: wishlist


 There's a problem with debsums and other programs unneccessarily exiting
with a failure exit code on debian systems where localepurge is used.

 The reason for this problem is that while localepurge deletes superfluous
files in debian distributions on a case-by-case basis in what I think is a
very elegant, but incomplete fashion; the files are moved, but the entries
in dpkg's /var/lib/dpkg/ -.list and -.md5sums files remain. So next time a
package's integrity is checked (by debsums, dpkg, or whatever), it thinks
that the package is corrupt.

 I was talking with localepurge's author, Paul Seelig <pseelig@debian.org>,
and he told me that localepurge as it stands now can't do anything about
that:

<me>
> >  I think this problem could be transformed from a major one into a minor
> > one by localepurge cleaning up after itself after cleaning up after the
> > extra locales - by removing entires from the appropriate .list and
> > .md5sums files in /var/lib/dpkg as (or after) locale files are purged.

<pseelig@debian.org>
> Nope, i definitely won't mess around with other packages files because  in
> the case of everything under /var/lib/dpkg this would mean touching on
> dpkg's domain. This would securely create unmanagable side effects and my
> immediate expulsion from the Debian project. ;-)

 Makes sense to me. So is the best solution, then, to move localepurge into
the dpkg distribution so that it's maintained by the same people who
maintain the /var/lib/dpkg/ files? Or is there some other, better way? Maybe
a command-line utility in the dpkg distribution that localepurge could call
to "safely" remove these entries from .list and .md5sums?

 This is obviously a far less important problem than many of the hundreds of
entries on dpkg's outstanding bug list, so I don't expect any of you to have
the time to deal with it soon... but it would be nice to see all of debian's
package management utilities live harmoniously one day. :-)

 Thanks!!!!

  - Tyler

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux crackerjack 2.4.19-crackerjack #1 SMP Mon Jan 6 18:29:45 PST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages dpkg depends on:
ii  dselect                       1.10.9     a user tool to manage Debian packa
ii  libc6                         2.3.1-15   GNU C Library: Shared libraries an

-- no debconf information


---------------------------------------
Received: (at 186026-done) by bugs.debian.org; 5 Apr 2003 14:07:34 +0000
>From wichert@wiggy.net Sat Apr 05 08:07:32 2003
Return-path: <wichert@wiggy.net>
Received: from home.wiggy.net (mx1.wiggy.net) [213.84.101.140] ([pKfGKWFlKNX6WWZCQAwi7aaSJtef78I4])
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 191oKS-0002fW-00; Sat, 05 Apr 2003 08:07:32 -0600
Received: from wichert by mx1.wiggy.net with local (Exim 3.35 #1 (Debian))
	id 191oKO-00076h-00; Sat, 05 Apr 2003 16:07:28 +0200
Date: Sat, 5 Apr 2003 16:07:28 +0200
From: Wichert Akkerman <wichert@wiggy.net>
To: Tyler 'Crackerjack' MacDonald <tyler@yi.org>,
	186026-done@bugs.debian.org
Subject: Re: Bug#186026: dpkg: functionality of localepurge integrated with dpkg + enhanced
Message-ID: <20030405140728.GI4411@wiggy.net>
References: <20030323232245.14161.qmail@crackerjack.yi.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030323232245.14161.qmail@crackerjack.yi.org>
User-Agent: Mutt/1.3.28i
Delivered-To: 186026-done@bugs.debian.org
X-Spam-Status: No, hits=-3.3 required=4.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,
	      SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT,
	      USER_AGENT_MUTT
	version=2.44
X-Spam-Level: 

Previously Tyler 'Crackerjack' MacDonald wrote:
>  The reason for this problem is that while localepurge deletes superfluous
> files in debian distributions on a case-by-case basis in what I think is a
> very elegant, but incomplete fashion; the files are moved, but the entries
> in dpkg's /var/lib/dpkg/ -.list and -.md5sums files remain. So next time a
> package's integrity is checked (by debsums, dpkg, or whatever), it thinks
> that the package is corrupt.

Right, localpurge corrupts a package according to dpkg.

>  Makes sense to me. So is the best solution, then, to move localepurge into
> the dpkg distribution so that it's maintained by the same people who
> maintain the /var/lib/dpkg/ files? Or is there some other, better way? Maybe
> a command-line utility in the dpkg distribution that localepurge could call
> to "safely" remove these entries from .list and .md5sums?

A better way is to add support for optional parts of a package so dpkg
can decide if it is safe to remove or not install something. I'll put
that on the enhancement proposal list.

Wichert.

-- 
Wichert Akkerman <wichert@wiggy.net>           http://www.wiggy.net/
A random hacker



Reply to: