Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

build debs for ubuntu 20.04 #7293

Closed
richvdh opened this issue Apr 16, 2020 · 8 comments
Closed

build debs for ubuntu 20.04 #7293

richvdh opened this issue Apr 16, 2020 · 8 comments
Assignees
Labels
A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers

Comments

@richvdh
Copy link
Member

richvdh commented Apr 16, 2020

focal fossa is being released on 2020-04-23 and is in RC currently; we should add it to the list of things we build debs for

@richvdh richvdh added the A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers label Apr 29, 2020
@stingray-11
Copy link

stingray-11 commented Apr 30, 2020

Possibly helpful tip - the existing eoan package can be forcibly installed on focal with only one issue. Namely, python3-distutils has to be heldback at 3.7.5 rather than 3.8.2. Focal uses Python 3.8 while Eoan apparently uses 3.7. Canonical has an issue in that python3-distutils probably should be separated into separate packages for 3.7/3.8 like python itself is. But, it's not, so upgrading to focal and then installing the eoan matrix package results in matrix not being able to start because it can't find distutils in the python 3.7 space, even though Ubuntu knows to keep python 3.7 itself installed.

Long way of saying the focal package just needs to be updated to use python 3.8. Anyone who upgrades to focal with the eoan package installed will need to downgrade python3-distutils.

@sj64
Copy link

sj64 commented May 3, 2020

Why has this been closed?
There is still no focal deb in dists

install fails:
admint@vultr:~# apt install matrix-synapse-py3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
matrix-synapse-py3 : Depends: python3.6 but it is not installable
Recommends: libpq5 (>= 10~~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

@babolivier
Copy link
Contributor

Hi @sj64, this issue hasn't been closed yet.

@sj64
Copy link

sj64 commented May 4, 2020

OK - apologies. My mistake, thought the red Closed flag above was for this thread! Good to hear.

@anchelnl
Copy link

anchelnl commented May 11, 2020

Here also a fool who did do do-release-upgrade to ubuntu 20.04 lts ,before checking package.

Got first :
May 11 13:12:39 dell matrix-synapse[1048]: from distutils.util import strtobool
May 11 13:12:39 dell matrix-synapse[1048]: ModulqeNotFoundError: No module named 'distutils.util'

and after remove matrix-synapse-py3 and reinstall :
matrix-synapse-py3 : Depends: python3.7 but it is not installable

So waiting for focal in the package.

@stingray-11
Copy link

That can be fixed with the workaround I mentioned, just find the eoan package for python3-distutils and downgrade it.

@richvdh richvdh self-assigned this May 18, 2020
@richvdh
Copy link
Member Author

richvdh commented May 18, 2020

well this turns out to be more of a PITA than expected: dh-virtualenv (which we use to build the debs) seems to be basically unmaintained, and has dependencies which don't exist on focal :-S

@clokep
Copy link
Member

clokep commented May 19, 2020

I believe this is fixed by #7526 -- v1.13.0 should have debs for 20.04.

@clokep clokep closed this as completed May 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers
Projects
None yet
Development

No branches or pull requests

6 participants