Project

General

Profile

Actions

Bug #7993

closed

Installation with apt package manager on Ubuntu (Focul) fails

Added by Patrick Sharp over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/18/2020
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
Installation
Platform:
Linux
Debug Log:
I read the instructions above:

Description

sudo apt-add-repository ppa:dansmith/chirp-snapshots <<- appears to work
sudo apt-get update << appears to work , has very similar output as the command above
sudo apt-get install chirp-daily << the problem

apt-get install chirp-daily reports E: Unable to locate package chirp-daily

This is a brand new ubuntu install as of today , with no mods at all

Not sure what else you need for information, as it is not program related. Very much installation related


Related issues 1 (0 open1 closed)

Related to Bug #8051: Unable to find Chirp-daily via termiunal or install once downloaded on LinuxMint 20 (Duplicate of 7993)Closed06/29/2020

Actions
Actions #1

Updated by Patrick Sharp over 4 years ago

I can see a spelling difference in the PPA snapshot screen

FOCUL is the name given to the new Ubuntu release
FOCAL is the name used on the page at : https://launchpad.net/~dansmith/+archive/ubuntu/chirp-snapshots

I think I can see the obvious solution to this, but thinking I may try mint first

Actions #2

Updated by Kalle Tuulos over 4 years ago

"Focal" is correctly spelled and it is indeed the name of the Ubuntu 20.04 release.

oh1hqz@oh1hqz:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal

The real problem is, that Ubuntu 20.04 switched to Python3 and some Python2 related packages, like python-serial, are not available on it.

Chirp should be ported to use Python3 natively and all references to Python2 libraries should be removed.

Actions #3

Updated by James LePage over 4 years ago

Does anyone have a workaround for this?
Just got my first HT and was really hoping to get this set up on my PC running Ubuntu 20.04...

Actions #4

Updated by James LePage over 4 years ago

Would installing Python2 and using the method described here to set up switching between Python2 and Python3 work? Or is there a better solution on the horizon? I don’t want to go mucking around with my Python installation if there’s a Py3 version of Chirp right around the corner... thanks in advance!

https://linuxconfig.org/ubuntu-20-04-python-version-switch-manager

Actions #5

Updated by Achim Dreyer over 4 years ago

The current Ubuntu release has no longer the necessary python2 packages in their repository.
You could try to get install the whole python2 library tree.

Alternatives:

  • build a container with an older ubuntu system that has python2 and map the UI and serial port.. (ugly)
  • update CHIRP for Python3 (major undertaking, but I am willing to help)
Actions #6

Updated by Denis Ouellet over 4 years ago

There is plan to update Py3 for FOCAL

Actions #7

Updated by Bernhard Hailer about 4 years ago

  • Status changed from New to Feedback

The flatpack approach described in #7845 might help. Let us know.

Actions #8

Updated by Bernhard Hailer over 3 years ago

  • Status changed from Feedback to Closed
  • Model affected changed from (All models) to Installation

The flatpack approach has been widely acceprted as the solution for this problem.

Actions

Also available in: Atom PDF