On Saturday, January 26, 2019 at 5:50:58 PM UTC-8, Larry DeBlaay wrote: > > The following packages have unmet dependencies: > weewx : Depends: python-configobj (>= 4.5) but it is not installable > Depends: python-cheetah (>= 2.0) but it is not installable > Depends: python-imaging (>= 1.1.6) but it is not installable or > python-pil (>= 5.1.0) but 4.0.0-4 is to be installed or > python-pillow (>= 5.1.0) > Depends: python-usb (>= 0.4) but it is not installable > E: Unable to correct problems, you have held broken packages. > > > Ouch - I hear debian(ish) distro people gloat all the time about 'rpm hell' on RedHat-based systems, but to me this one is the worst. Really painful to deal with.
I've always thought that the problem is exactly what it says it is in the message you quoted. The os has broken (partially installed) packages that need either fixing or removing. Both can get a little scary depending on which packages, but these should be safe to take a bigger hammer to. https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages might be of help, but I'd suggest you try to figure out which packages are being considered as 'held' before trying to fix each one-by-one. Maybe you get lucky and there are just one or two to clean up. I've had to do this a couple times and had some success. https://askubuntu.com/questions/164587/how-can-you-unhold-remove-a-hold-on-a-package has some more detail but assumes perhaps a little too much expertise under the hood of apt, but it does show how to list your installed packages and look for which ones are 'held' that you will need to deal with. FWIW, I checked a couple of my raspi and find no packages 'held' on a couple variants of raspbian. Try "dpkg -l | grep ^h" and see which packages are messed up, as your first step... -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
