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