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

Bug#39989: apt: apt clobbers locally-compiled packages?



Package: apt
Version: 0.3.7
Severity: normal

  I discovered today that apt is automatically downloading and installing a
package which already exist in their latest form on the system.  I suspect
that this is related to the fact that I have locally patched and compiled the
package (to add Kerberos support, and fix the broken way that it's handled by
default :-) ) but didn't change the version number.

  Here's what I get on apt-get -u upgrade:

bluegreen:~> sudo apt-get -u upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
  mysql-client
 The following packages will be upgraded
  fetchmail
1 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 packages not fully installed or removed.
Need to get 0B/278kB of archives. After unpacking 4096B will be freed.
Do you want to continue? [Y/n] n
Abort.
    
  dpkg --status fetchmail shows:  (note that this is my version, as I've
reinstalled it to undo apt's misbehavior)

Package: fetchmail
Status: install ok installed
Priority: optional
Section: mail
Installed-Size: 549
Maintainer: Paul Haggart <phaggart@debian.org>
Version: 5.0.4-1
Replaces: popclient
Provides: popclient
Depends: kerberos4kth, libc6 (>= 2.1)
Suggests: python-tk
Conflicts: popclient
Description: POP2/3, APOP, IMAP mail gatherer/forwarder
 fetchmail is a free, full-featured, robust, and well-documented remote mail
 retrieval and forwarding utility intended to be used over on-demand TCP/IP
 links (such as SLIP or PPP connections).  It retrieves mail from remote mail
 servers and forwards it to your local (client) machine's delivery system, so
 it can then be be read by normal mail user agents such as mutt, elm, pine,
 (x)emacs/gnus, or mailx.  Comes with an interactive GUI configurator suitable
 for end-users.
 .
 Fetchmail recommends installing python-tk because fetchmailconf requires it.
 Fetchmail itself doesn't depend on it, so that's why its recommended and not
 dependent.

  I suspect that modifying the version number to, eg, 5.0.4-1-dnb062099 will
fix this but this seems like an unnecessary kludge just to build a local
flavor of a package.

  Daniel

-- System Information
Debian Release: potato
Kernel Version: Linux bluegreen 2.2.10 #2 Mon Jun 14 10:03:47 EDT 1999 i586 unknown

Versions of the packages apt depends on:
ii  libc6           2.1.1-12       GNU C Library: Shared libraries and timezone
ii  libstdc++2.9-gl 2.91.66-2      The GNU stdc++ library (EGCS version)


Reply to: