Hi Tom,
The apt install -f doesn't mean force it means fix broken....if possible.
Doesn't always work, but worth a try.
*-f*, *--fix-broken*
Fix; attempt to correct a system with broken dependencies in place.
This option, when
used with install/remove, can omit any packages to permit APT to
deduce a likely
solution. If packages are specified, these have to completely
correct the problem. The
option is sometimes necessary when running APT for the first time;
APT itself does not
allow broken package dependencies to exist on a system. It is
possible that a system's
dependency structure can be so corrupt as to require manual
intervention (which
usually means using *dpkg* *--remove* to eliminate some of the
offending packages). Use of
this option together with *-m* may produce an error in some
situations. Configuration
Item: APT::Get::Fix-Broken.
On Monday, 11 May 2020 04:47:36 UTC+10, vince wrote:
>
> On Sunday, May 10, 2020 at 11:15:24 AM UTC-7, Kenneth Sherwood wrote:
>>
>> Still having trouble. Somehow I think Cheetah is installed but not being
>> recognized:
>>
>> sherwood@sherwood-IdeaCentre-A730:~$ python3 -m pip install cheetah3
>> Collecting cheetah3
>> Downloading
>> https://files.pythonhosted.org/packages/dc/48/e81a2cfd8ee730ae37b2e2a2ef9bfd1f20d2b5c617567e36e72c8d583c09/Cheetah3-3.2.4-cp36-cp36m-manylinux1_x86_64.whl
>>
>> (671kB)
>> 100% |████████████████████████████████| 675kB 1.8MB/s
>> Installing collected packages: cheetah3
>> Successfully installed cheetah3-3.2.4
>>
>
>
> Good - cheetah 'is' installed via pip3
>
>
>
>> sherwood@sherwood-IdeaCentre-A730:~$ sudo apt-get install weewx
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> The following packages have unmet dependencies:
>> weewx : Depends: python3-cheetah but it is not installable
>> E: Unable to correct problems, you have held broken packages.
>>
>>
>
> Again, if you google the 'E' (error) line above you'll see what happened.
> Apt can lose its mind. Very frustrating.
>
> https://unix.stackexchange.com/questions/389156/how-to-fix-held-broken-packages
>
> first answer has some options.
>
> I think if you do the "apt-get install weewx -f" (ie, force it) that
> somebody else suggested, it might work and run ok. Might be worth a try.
>
> Now regarding the debian package for weewx v4, I don't know if it's
> looking for a "package" containing cheetah, or just the existence of
> cheetah even if it was installed via pip. If it's the former and your
> distro doesn't "have" a package, then you're always going to need to force
> the package to install. Building packages to cover every os when every os
> is different is hard.
>
>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/d610c35f-0503-4df6-ac22-eb383189188b%40googlegroups.com.