Bug #7837
closedNo way to install CHIRP on Ubuntu 20.04
Added by Marco Rabatelli over 4 years ago. Updated about 4 years ago.
0%
Description
After upgrading to new Ubuntu 20.04 and added the chirp repository, there is no way to install the package due to unsolved dependencies. I have attached the terminal session with error messages. Please help me to solve this matter. Thanks and rgds, Marco
Files
Istantanea_2020-04-29_10-54-31.jpg (62 KB) Istantanea_2020-04-29_10-54-31.jpg | Marco Rabatelli, 04/29/2020 02:01 AM |
Updated by Chris Kopack over 4 years ago
Marco Rabatelli wrote:
After upgrading to new Ubuntu 20.04 and added the chirp repository, there is no way to install the package due to unsolved dependencies. I have attached the terminal session with error messages. Please help me to solve this matter. Thanks and rgds, Marco
I also have updated my main system to Ubuntu 20.04 (doh!) and Chirp has disappeared and I cannot reinstall. So far 20.04 has not been such a seamless "upgrade". Any help getting Chirp back up and running is greatly appreciated.
Updated by Dan Lott over 4 years ago
I've had an issue installing chirp-daily myself after a clean install of kubuntu 20.04 LTS (Focal Fosa)
sudo apt-add-repository ppa:dansmith/chirp-snapshots
More info: https://launchpad.net/~dansmith/+archive/ubuntu/chirp-snapshots
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Ign:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 http://repo.steampowered.com/steam precise InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Hit:5 http://dl.google.com/linux/earth/deb stable Release
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB]
Get:7 https://brave-browser-apt-release.s3.brave.com stable InRelease [3,180 B]
Get:8 http://ppa.launchpad.net/dansmith/chirp-snapshots/ubuntu focal InRelease [17.5 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Hit:10 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease
Get:12 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages [4,599 B]
Get:13 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [16.6 kB]
Get:14 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [208 B]
Get:15 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [84.3 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [42.5 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [27.4 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [20.0 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [27.2 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [4,656 B]
Get:21 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [532 B]
Fetched 561 kB in 1s (408 kB/s)
Reading package lists... Done
$ sudo apt update && sudo apt install chirp-daily
Hit:1 http://repo.steampowered.com/steam precise InRelease
Ign:2 http://dl.google.com/linux/earth/deb stable InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:4 http://dl.google.com/linux/earth/deb stable Release
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:9 http://ppa.launchpad.net/dansmith/chirp-snapshots/ubuntu focal InRelease
Hit:11 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package chirp-daily
Updated by Dan Lott over 4 years ago
I also tried manually adding the deb & deb-source lines to /etc/apt/sources.list
This only in resulted in additional warnings about the ppa:danplanet/chirp-snapshots being listed multiple times.
Updated by Tony Fuller over 4 years ago
CHIRP depends on python2 and several other python2 related packages. These have been removed from Ubuntu 20.04
As CHIRP is migrated to python3, you can try a flatpak that is in early development in the meantime.
From https://www.flatpak.org/setup/Ubuntu/
sudo apt install flatpak
If that doesnt work then try:
sudo add-apt-repository ppa:alexlarsson/flatpak sudo apt update sudo apt install flatpak
Now that flatpak is installed, you'll need to set up the gnome plugin and the default repository
sudo apt install gnome-software-plugin-flatpak flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Now that flatpak is all set up try out this flatpak by Richard Shaw
curl -LO https://hobbes1069.fedorapeople.org/chirp-20200430.flatpak flatpak uninstall chirp flatpak install chirp-20200430.flatpak
If you already had flatpak installed, you'll immediately notice a CHIRP icon in your programs list.
If you just installed flatpak, log out and log back in to see the new CHIRP icon in your programs list.
Updated by Marco Rabatelli over 4 years ago
Many thanks Tony. I've followed your suggestions and everything works now. Thank you so much ;-)
Updated by Tony Fuller over 4 years ago
Hi Marco,
Would you be able to let us know which radio(s) you successfully used the flatpak with?
Thanks
Updated by Si Smith over 4 years ago
Tony Fuller wrote:
Hi Marco,
Would you be able to let us know which radio(s) you successfully used the flatpak with?
Thanks
Works with QYT KT8900D ( flatpak on Ubuntu 20.04 )
Will test other radios when I connect them.
Si
Updated by Marco Rabatelli over 4 years ago
Yeah, for sure. I've successfully programmed the following radio (after the update to Ubuntu 20.04 of course):
Baofeng UV-3R +
Baofeng UV-5R
Baofeng UV-5R TP (equivalent to BF-F8HP)
Baofeng GT-3TP
Baofeng UV-9R PLUS
Baofeng BF-888s
For any other question feel free to ask me, I'll be very pleased to answer you.
Thank you so much for the help given. My best wishes for you and family, Marco.
Updated by Alex Page over 4 years ago
If you clone the source code (http://d-rats.com/hg/chirp.hg) and switch to the py3 branch, you should soon™ be able to run chirpw in Ubuntu 20.04 with Python 3 only. I just submitted a series of patches that should take care of most of the errors. Assuming the patches get accepted, let me know if it's working for you.
Updated by Marco Rabatelli over 4 years ago
Hi Alex, sorry but I do not understand what to do. Please can you specify more "plain" for a "dummy" user?
Thanks and regards, Marco
Updated by Alex Page over 4 years ago
Hi Marco,
My patches haven't made it into CHIRP anyway. So what you could do is clone from my git repo: https://github.com/atpage/chirp. The commands to download and run it would be:
sudo apt install python3-serial git clone https://github.com/atpage/chirp.git cd chirp ./chirpw
Note that this is based on the CHIRP code from February 2020, so some newer updates will be missing. Let me know how it goes.
Updated by Bernhard Hailer about 4 years ago
- Status changed from New to Closed
- Assignee deleted (
Dan Smith) - Priority changed from Urgent to High
#7845 has a solution (which also has been posted here).