I work for a company that manage their own debian mirror. Today I was looking to update one of our packages on staging server i.e vnstat.
The currently installed version is 1.18-2
and latest version 2.6-1
(atleast that is latest on my local machine) or 2.9.1
if we go by this standard.
So clearly we had a old version of vnstat running but when I try to update it the package manager refuse to update it with following msg vnstat is already the newest version (1.18-2)
sudo apt-get upgrade vnstat
Reading package lists... Done
Building dependency tree
Reading state information... Done
vnstat is already the newest version (1.18-2).
But when I observe my organisation official mirror I see the deb package with version 2.6-3.deb and 2.9-1.deb inside the pool directory.
So I want to understand how the package update are handle internally. In order to understand why the update is not get performed.
We rely on package manager for any update on our production so manual upgrade is not an options.
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
The only thing I can speculate is that 2.6-1 requires a libc6 (>= 2.29)
// ran on my local machine.
apt-cache show vnstat
Package: vnstat
Architecture: amd64
Version: 2.6-1
...
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: libc6 (>= 2.29), libsqlite3-0 (>= 3.7.6.1), adduser, lsb-base
while we are running on 2.28-10
ldd --version ldd
ldd (Debian GLIBC 2.28-10+deb10u1) 2.28