Re: cannot install libsnmp-dev in stretch, wondering about reasonable next steps
Awesome, thanks Roberto.
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.
Thanks for your help!
dan
On Thu, Oct 12, 2017 at 8:29 PM, Roberto C. Sánchez <roberto@debian.org> wrote:
> On Thu, Oct 12, 2017 at 08:15:21PM -0700, Dan Hitt wrote:
>> I'm trying to install libsnmp-dev in stretch (debian 9) using the command
>> sudo apt-get install libsnmp-dev
>>
>> This results in an error:
>> ----------
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies:
>> udev : Breaks: systemd (< 232-20) but 232-14 is to be installed
>> E: Error, pkgProblemResolver::Resolve generated breaks, this may be
>> caused by held packages.
>> ----------
>>
>> First, i'm not even sure of the interpretation of the error. Does it
>> mean my systemd version is too large? Does it mean my systemd version
>> is too small? Note that 'systemd --version' returns 232 on my system,
>> without any extra info that i can see, so it's hard for me to even do
>> some sanity checking.
>>
> You can find the Debian version of installed and candidate package with
> 'apt-cache policy <pkgname>'. The version of systemd in stretch is
> 232-25+deb9u1. If your attempt to install libsnmp-dev resulted in that
> error message, then it is likely that you have not upgraded your
> packages since prior to the stretch release.
>
>> So i would like to understand what the error means, and then, what
>> would be a reasonable course of action to take. (E.g., updating
>> systemd? Compiling libsnmp-dev by hand and installing in /usr/local?
>> Filing a bug report somewhere?)
>>
>
> Please supply the output of 'apt-cache policy libsnmp-dev systemd' and
> the contents of your sources.list.
>
> Regards,
>
> -Roberto
>
> --
> Roberto C. Sánchez
>
Reply to: