--- Begin Message ---
Package: apt
Version: 0.7.25
Severity: normal
as you will see, in preferebces i pinned navit and related packages to a
certain version.
due to some additional configure optiosn i built the packages locally
again and installed them. the version remained the same.
but now, everytime i run an upgrade, apt tries to install the original
packages, despite packages with exactly the same version being
installed already. below the output from dpkg -s for the modified
package and the output of apt-cache, i don't see any difference
justifying apt's attempts to instalöl the repository's version.
$ dpkg -s navit-graphics-gtk-drawing-area
Package: navit-graphics-gtk-drawing-area
Status: install ok installed
Priority: extra
Section: misc
Installed-Size: 72
Maintainer: Gilles Filippini <pini@debian.org>
Architecture: armel
Source: navit
Version: 0.2.0~svn2865+dfsg.1-1
Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.10), libcairo2 (>=
1.8.0-2), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.11),
libglib2.0-0 (>= 2.22.0), libgtk2.0-0 (>= 2.18.0), libpango1.0-0 (>=
1.25.5)
Recommends: navit (= 0.2.0~svn2865+dfsg.1-1)
Description: Car navigation system with routing engine - GTK+ graphic
plugin
Navit is a car navigation system with routing engine.
.
Its modular design is capable of using vector maps of various formats
for
routing and rendering of the displayed map. It's even possible to use
multiple
maps at a time.
.
The GTK+ or SDL user interfaces are designed to work well with touch
screen
displays. Points of Interest of various formats are displayed on the
map.
.
The current vehicle position is either read from gpsd or directly from
NMEA
GPS sensors.
.
The routing engine not only calculates an optimal route to your
destination,
but also generates directions and even speaks to you using
speech-dispatcher.
.
This package contains the graphic gtk-drawing-area plugin to use with
GTK+
aware GUIs plugins.
Homepage: http://navit.sourceforge.net/
is the version i recreated with dpkg-buildpackage
$ apt-cache show navit-graphics-gtk-drawing-area
Package: navit-graphics-gtk-drawing-area
Priority: extra
Section: misc
Installed-Size: 76
Maintainer: Gilles Filippini <pini@debian.org>
Architecture: armel
Source: navit
Version: 0.2.0~svn2865+dfsg.1-1
Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.4), libcairo2 (>= 1.2.4),
libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.2.1), libglib2.0-0 (>=
2.16.0), libgtk2.0-0 (>= 2.8.0), libimlib2, libpango1.0-0 (>= 1.14.0)
Recommends: navit (= 0.2.0~svn2865+dfsg.1-1)
Filename:
pool/main/n/navit/navit-graphics-gtk-drawing-area_0.2.0~svn2865+dfsg.1-1_armel.deb
Size: 20032
MD5sum: af651d7300c4272a53c0b910f8fbed6e
SHA1: eb938b99f1f8c28689a9ce8ec5f5f7e016f31596
SHA256: 6148028c0badde1e1c39be9d0e65a9937aa7a9d0b83d5ad5b476814c7ec11ec0
Description: Car navigation system with routing engine - GTK+ graphic
plugin
Navit is a car navigation system with routing engine.
.
Its modular design is capable of using vector maps of various formats
for
routing and rendering of the displayed map. It's even possible to use
multiple
maps at a time.
.
The GTK+ or SDL user interfaces are designed to work well with touch
screen
displays. Points of Interest of various formats are displayed on the
map.
.
The current vehicle position is either read from gpsd or directly from
NMEA
GPS sensors.
.
The routing engine not only calculates an optimal route to your
destination,
but also generates directions and even speaks to you using
speech-dispatcher.
.
This package contains the graphic gtk-drawing-area plugin to use with
GTK+
aware GUIs plugins.
Homepage: http://navit.sourceforge.net/
Tag: role::plugin, role::shared-lib, uitoolkit::gtk
Package: navit-graphics-gtk-drawing-area
Status: install ok installed
Priority: extra
Section: misc
Installed-Size: 72
Maintainer: Gilles Filippini <pini@debian.org>
Architecture: armel
Source: navit
Version: 0.2.0~svn2865+dfsg.1-1
Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.10), libcairo2 (>=
1.8.0-2), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.11),
libglib2.0-0 (>= 2.22.0), libgtk2.0-0 (>= 2.18.0), libpango1.0-0 (>=
1.25.5)
Recommends: navit (= 0.2.0~svn2865+dfsg.1-1)
Description: Car navigation system with routing engine - GTK+ graphic
plugin
Navit is a car navigation system with routing engine.
.
Its modular design is capable of using vector maps of various formats
for
routing and rendering of the displayed map. It's even possible to use
multiple
maps at a time.
.
The GTK+ or SDL user interfaces are designed to work well with touch
screen
displays. Points of Interest of various formats are displayed on the
map.
.
The current vehicle position is either read from gpsd or directly from
NMEA
GPS sensors.
.
The routing engine not only calculates an optimal route to your
destination,
but also generates directions and even speaks to you using
speech-dispatcher.
.
This package contains the graphic gtk-drawing-area plugin to use with
GTK+
aware GUIs plugins.
Homepage: http://navit.sourceforge.net/
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "armel";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::Clean-Installed "true";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
Acquire "";
Acquire::PDiffs "false";
-- /etc/apt/preferences --
Package: navit
Pin: version 0.2.0~svn2865+dfsg.1-1
Pin-Priority: 1002
Package: navit-data
Pin: version 0.2.0~svn2865+dfsg.1-1
Pin-Priority: 1002
Package: navit-graphics-gtk-drawing-area
Pin: version 0.2.0~svn2865+dfsg.1-1
Pin-Priority: 1002
Package: navit-gui-internal
Pin: version 0.2.0~svn2865+dfsg.1-1
Pin-Priority: 1002
Package: navit-gui-gtk
Pin: version 0.2.0~svn2865+dfsg.1-1
Pin-Priority: 1002
Package: dbus
Pin: version 1.2.16-2
Pin-Priority: 1002
Package: dbus-x11
Pin: version 1.2.16-2
Pin-Priority: 1002
Package: libdbus-1-3
Pin: version 1.2.16-2
Pin-Priority: 1002
-- /etc/apt/sources.list --
deb http://ftp.de.debian.org/debian unstable main non-free
deb http://ftp.de.debian.org/debian experimental main non-free
deb http://pkg-fso.alioth.debian.org/debian unstable main
deb-src http://pkg-fso.alioth.debian.org/debian unstable main
# more recent fso
deb http://debian.sntech.de/debian/ sid main contrib
#deb-src http://debian.sntech.de/debian/ sid main contrib
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armel (armv4tl)
Kernel: Linux 2.6.29-20090702.gitd1c828aa (PREEMPT)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian a
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgcc1 1:4.4.2-6 GCC support library
ii libstdc++6 4.4.2-6 The GNU Standard C++ Library v3
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
pn aptitude | synaptic | wajig <none> (no description available)
ii bzip2 1.0.5-3 high-quality block-sorting file co
pn dpkg-dev <none> (no description available)
ii lzma 4.43-14 Compression method of 7z format in
pn python-apt <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi Arne Anka,
First of all: Thanks for your report!
What you describe here is in my eyes a feature of apt and i therefore
close the bugreport, but please feel to reopen it if you disagree!
2009/12/30 arne anka <debian@ginguppin.de>:
> but now, everytime i run an upgrade, apt tries to install the original
> packages, despite packages with exactly the same version being
> installed already. below the output from dpkg -s for the modified
> package and the output of apt-cache, i don't see any difference
> justifying apt's attempts to instalöl the repository's version.
The difference is the differing md5/sha1/sha256 sum of the packages.
Many unofficial archives (e.g. mentors.debian.org) include packages
which change their content but not their version number as the target
for these packages is the official archive and raising the version would
only pollute the namespace. APT therefore separates versions also by
their checksums (which you can observe with an "apt-cache policy" on
the "offending" package) and gives preference for versions which are
actually downloadable, so users of these unofficial archives get the new
version (or the new build of the same version).
You have quite a few options to override this behavior:
a) set the package in question on hold
b) create your "own" version, e.g. "4.2+nmu0.1" instead of "4.2"
c) upload the package to your own repository
(see e.g. apt-ftparchive or reprepro)
-> the installed version is downloadable. And you can also origin-pin.
d) pin the currently installed version with: release a=now
e) a combination of b) and c)
Each option has a valid usecase, but note that all these options
have different limitations and (side)effects, so use them with care.
Merry post-Christmas and a happy New Year!
David Kalnischkies
--- End Message ---