Removing the old package and installing the new one worked, but there should be a more "efficient" method...

This worked:
jon@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@jon-notebook:~/Downloads$ pipx uninstall-all
uninstalled chirp! ✨ 🌟 ✨
jon@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@sailbeausoleil.com>
To: chirp_users@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

_______________________________________________
chirp_users mailing list
chirp_users@intrepid.danplanet.com
http://intrepid.danplanet.com/mailman/listinfo/chirp_users
To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
To report this email as off-topic, please email chirp_users-owner@intrepid.danplanet.com
Searchable archive: https://www.mail-archive.com/chirp_users@intrepid.danplanet.com