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

Bug#58439: marked as done (apt: apt-get reinstalls installed compiled package)



Your message dated Fri, 18 Feb 2000 22:36:45 -0700 (MST)
with message-id <Pine.LNX.3.96.1000218223533.15253D-100000@wakko.deltatee.com>
and subject line Bug#58439: apt: apt-get reinstalls installed compiled package
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Feb 2000 20:43:46 +0000
Received: (qmail 17854 invoked from network); 18 Feb 2000 20:43:46 -0000
Received: from strider.ucdavis.edu (HELO strider) (mail@169.237.39.94)
  by master.debian.org with SMTP; 18 Feb 2000 20:43:46 -0000
Received: from drew by strider with local (Exim 3.12 #1 (Debian))
	id 12LuFV-0000N9-00; Fri, 18 Feb 2000 12:43:37 -0800
From: Drew Parsons <dfparsons@ucdavis.edu>
Subject: apt: apt-get reinstalls installed compiled package
To: submit@bugs.debian.org
X-Mailer: bug 3.2.7
Message-Id: <E12LuFV-0000N9-00@strider>
Date: Fri, 18 Feb 2000 12:43:37 -0800

Package: apt
Version: 0.3.18
Severity: normal

I'm not sure if this is a bug as such, or a Debian policy that seems to me
wrong.

I can download the debian source and compile a package for myself using
'./debian/rules binary', and then install the resulting .deb using dpkg.
(I might want to do this, for instance, in order to compile with Pentium
optimisation).

But after this, I find that if I perform "apt-get upgrade", that package
gets reinstalled with the very same version downloaded afresh from the ftp
repository, so I lose my optimised compilation.  This happens even though
the version number is exactly the same, and even though my compilation is in
fact more recent by compilation date.  This seems highly inappropriate
behaviour.

There is a workaround, by "holding" that package after I install my own
compilation, or by adding a custom entry to .debian/changelog, but neither
of these seem terribly satisfactory.  I haven't changed the package, I've
merely recompiled it, so why should it have to be registered as a "custom
version"?  Once I've installed a package of a given version number, it
shouldn't have to be reinstalled again by the same version.

I thought I'd bring up the "problem" to see what you think.

Drew Parsons


-- System Information
Debian Release: 2.2
Kernel Version: Linux strider 2.2.14 #1 Tue Jan 18 14:37:24 PST 2000 i686 unknown

Versions of the packages apt depends on:
ii  libc6          2.1.3-2        GNU C Library: Shared libraries and Timezone
ii  libstdc++2.10  2.95.2-5       The GNU stdc++ library
---------------------------------------
Received: (at 58439-done) by bugs.debian.org; 19 Feb 2000 05:35:57 +0000
Received: (qmail 14982 invoked from network); 19 Feb 2000 05:35:57 -0000
Received: from wakko.powersurfr.com (HELO wakko.deltatee.com) (mail@24.108.53.97)
  by master.debian.org with SMTP; 19 Feb 2000 05:35:57 -0000
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
	by wakko.deltatee.com with smtp (Exim 2.11 #1)
	id 12M2ZR-0004G9-00 (Debian); Fri, 18 Feb 2000 22:36:45 -0700
Date: Fri, 18 Feb 2000 22:36:45 -0700 (MST)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@wakko.deltatee.com
To: Drew Parsons <dfparsons@ucdavis.edu>, 58439-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#58439: apt: apt-get reinstalls installed compiled package
In-Reply-To: <E12LuFV-0000N9-00@strider>
Message-ID: <Pine.LNX.3.96.1000218223533.15253D-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Fri, 18 Feb 2000, Drew Parsons wrote:

> I can download the debian source and compile a package for myself using
> './debian/rules binary', and then install the resulting .deb using dpkg.
> (I might want to do this, for instance, in order to compile with Pentium
> optimisation).

You must edit the version number on the produced binaries to be different. 
This is more or less debian policy, you cannot create two versions of the
same package that are not the same. APT always assumes local files with
the same version are older than ftp site files. 

Jason


Reply to: