Re: cannot install libsnmp-dev in stretch, wondering about reasonable next steps
On Thu, Oct 12, 2017 at 09:19:49PM -0700, Dan Hitt wrote:
> Awesome, thanks Roberto.
>
Please don't top post. It is considered impolite here and on many other
mailing lists.
> The output of apt-cache policy libsnmp-dev systemd is:
>
> libsnmp-dev:
> Installed: (none)
> Candidate: 5.7.3+dfsg-1.7
> Version table:
> 5.7.3+dfsg-1.7 500
> 500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
> 500 http://ftp.de.debian.org/debian stretch/main amd64 Packages
> systemd:
> Installed: 232-14
> Candidate: 232-25+deb9u1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Version table:
> 232-25+deb9u1 500
> 500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
> 500 http://ftp.de.debian.org/debian stretch/main amd64 Packages
> *** 232-14 100
> 100 /var/lib/dpkg/status
>
> Note that i did not upgrade from a prior version of debian, but rather
> installed it on a fresh, empty partition.
>
That may be, but you likely installed from old media (e.g., pre-release,
beta, RC, etc.) and have not actually upgraded your system in some time.
The 'apt-cache policy' output is saying that you have systemd currently
installed at version 232-14, but that based on your sources you can go
up to version 232-25+deb9u1.
I recommend that you run 'apt-get update' then 'apt-get dist-upgrade' to
bring your system up to date. After that you should have no trouble
installing libsnmp-dev.
Regards,
-Roberto
--
Roberto C. Sánchez
Reply to: