[chirp_users] Upgrading CHIRP on Ubuntu 23.04?
Jon Gauthier
Fri Jun 2 08:05:51 PDT 2023
Thanks for the response, David.
But the instructions as written, do not work for Ubuntu 23.04 (Lunar Lobster).
Now, I do realize that 23.04 is not an LTS (long-term-support) version of
Ubuntu, so it may have its quirks.
But the upgrade instructions, as written, do not work:
"Once chirp is properly installed, upgrades to newer versions are done with two
simple steps:
1. Download the newer .tar.gz file.
2. Run pip install --upgrade ./chirp-<version>.whl (use pipx if you used it
above)
First of all, they tell you to download the .tar.gz file instead of the
preferred .whl file.
Secondly, pipx does not have a --upgrade option to the "install" verb. Instead,
it uses the verb "upgrade". But as I noted in my initial post, when I tried:
"pipx upgrade ./chirp-20230601-py3-none-any.whl"
it responded:
"'chirp' already seems to be installed. Not modifying existing
installation in '/home/jon/.local/pipx/venvs/chirp'. Pass '--force'
to force installation."
I tried the --force option which "seemed" to install chirp successfully, but
chirp would not load. The only thing that worked was to explicitly uninstall as
I noted in the thread using pipx, then did a fresh install with pipx of the new
version.
It may work fine on an LTS version like Ubuntu 22.04 using pip, but with 23.04
using pipx, I had to uninstall the old version first.
73
Jon KB1HTW
>Jon,
>
>From: Download - CHIRP (danplanet.com)
><https://chirp.danplanet.com/projects/chirp/wiki/Download>
>https://chirp.danplanet.com/projects/chirp/wiki/Download
>
>*Upgrading*: You do *NOT *need to uninstall an existing version of CHIRP
>before installing a newer one. Just install the new one and it will replace
>the existing copy! However, *be sure to quit CHIRP before installing the
>new version!*
>
>*The CHIRP team recommends CHIRP-next unless you experience problems with
>your radio*. If you do, please see How_To_Report_Issues
><https://chirp.danplanet.com/projects/chirp/wiki/How_To_Report_Issues>.
>73
>David N1EA
>
>On Thu, 2023-06-01 at 15:52 -0400, Jon Gauthier wrote:
> >Removing the old package and installing the new one worked, but there should
> >be a more "efficient" method...
> >
> >This worked:
> >jon at jon-notebook:~/Downloads$ pipx list
> >venvs are in /home/jon/.local/pipx/venvs
> >apps are exposed on your $PATH at /home/jon/.local/bin
> > package chirp 20230531, installed using Python 3.11.2
> > - chirp
> > - chirpc
> >jon at jon-notebook:~/Downloads$ pipx uninstall-all
> >uninstalled chirp! ✨ 🌟 ✨
> >jon at jon-notebook:~/Downloads$ pipx install --system-site-packages >./chirp-
> 20230601-py3-none-any.whl
> > installed package chirp 20230601, installed using Python 3.11.2
> > These apps are now globally available
> > - chirp
> > - chirpc
> >done! ✨ 🌟 ✨
> >
> >Any way to upgrade on a flagged system like Ubuntu 23.04 in the future
> >without removing the old one first?
> >
> >Jon Gauthier - KB1HTW
> >
> >
> >
> >
> > >---------- Forwarded message ----------
> > >From: Jon Gauthier <jon at sailbeausoleil.com>
> > >To: chirp_users at intrepid.danplanet.com
> > >Cc:
> > >Bcc:
> > >Date: Thu, 01 Jun 2023 14:48:07 -0400
> > >Subject: [chirp_users] Upgrading CHIRP on Ubuntu 23.04?
> > >When trying to follow the upgrade instructions on the ChirpOnLinux
> > >page, there seems to be an error or some information missing.
> > >
> > >"Once chirp is properly installed, upgrades to newer versions are done
> > >with two simple steps:
> > > 1. Download the newer .tar.gz file.
> > > 2. Run pip install --upgrade ./chirp-<version>.whl (use pipx if you
> > >used it above)"
> > >
> > >Since I'm running Ubuntu 23.04, I used "pipx" to install the latest
> > >CHIRP. Today, a new version came out so I downloaded the latest .whl
> > >version and ran
> > >
> > >"pipx install --upgrade ./chirp-20230601-py3-none-any.whl"
> > >
> > >But pipx doesn't have a "--upgrade" option to the install verb. If I
> > >try pipx without the "--upgrade" option, it tells me:
> > >
> > >'chirp' already seems to be installed. Not modifying existing
> > >installation in '/home/jon/.local/pipx/venvs/chirp'. Pass '--force'
> > >to force installation.
> > >
> > >Should I "install --force" it? "pipx reinstall" doesn't work, since
> > >the new version isn't installed yet. Should I remove the old package
> > >"chirp 20230531" first then install the new one using:
> > >
> > >"pipx install --system-site-packages ./chirp-20230601-py3-none-
> > >any.whl"?
> > >
> > >Jon Gauthier - KB1HTW
> >
More information about the chirp_users
mailing list