Your message dated Sat, 6 May 2017 20:54:40 +0900
with message-id <[email protected]>
and subject line Re: Bug#861774: getmail4: version problems with installed 
getmail4
has caused the Debian Bug report #861774,
regarding getmail4: version problems with installed getmail4
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
861774: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861774
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: getmail4
Version: 4.53.0-1
Severity: normal

Dear Maintainer,

An existing problem with getmail prompted me to see which version I had
installed with Testing.
I ran commands:  apt search getmail4, /usr/bin/getmail --dump, and
/usr/bin/getmail --version
I got the following responses:

apt search getmail4
Sorting... Done
Full Text Search... Done
getmail4/testing,now 4.53.0-1 all [installed]
  mail retriever with support for POP3, IMAP4 and SDPS

   getmail --dump
getmail version 4.43.0
Copyright (C) 1998-2012 Charles Cazabon.  Licensed under the GNU GPL
version 2.
getmail configuration:
  getmail version 4.43.0
  Python version 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118]

   getmail --version
getmail 4.43.0


I expected the installed version and the configured version to be the
same as it is on my other systems that I have getmail installed on.
Perhaps just a typo in the configuration file?


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64
 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages getmail4 depends on:
pn  python:any  <none>

getmail4 recommends no packages.

getmail4 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,

As explained in my private mail to you, this is caused by user installed
getmail module in /usr/local which override Debian installed module in
/usr.


Debian always respects user ... so files installed in /usr/local has
precedence over package manager installed ones in plain /usr.

This is true for libraries and python modules.  Since /usr/bin/getmail
is a mere module loader, it loads your leftover old module in /usr/local

Also package manager does not overwrite nor remove your files in man
directory, too.  This is also respecting user.

After removing Debian package, you need to run:

 # rm -f /usr/local/lib/python2.7/dist-packages/getmail-4.43.0.egg-info
 # rm -rf /usr/local/lib/python2.7/dist-packages/getmailcore
 # rm -f /usr/share/man/man1/getmail*

This is to remove all your local files causing trouble ;-)

Then install the Debian getmail4 package.  Then you are in good shape.

Regards,

Osamu

--- End Message ---

Reply via email to