The python-subversion package is gone

Asked by John Elliot V

Hi there. I'm upgrading from 20.04 to 22.04 but a package I was relying on is gone: python-subversion. I'm running ViewVC 1.2.1 which uses it. Is there some way for me to install it? Also, my /usr/bin/python program has disappeared. I have created a symlink to replace it, which points to /usr/bin/python2.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu subversion Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

Python2 is dead, see e.g. https://www.python.org/doc/sunset-python-2/

Ubuntu 22.04 provides python3 and the related subversion package is python3-subversion.

There is a package viewvc in the Ubuntu repositories for older Ubuntu releases, but due to dependencies on python2, they are not available for Ubuntu 22.04

It seems that the newest version of ViewVC from github is working with Python3, https://github.com/viewvc/viewvc/blob/master/INSTALL#required-packages
Now it will be required that Debian create a new package with that version and its updated dependencies.
see also https://tracker.debian.org/pkg/viewvc

Revision history for this message
John Elliot V (jj5) said :
#2

I upgraded ViewVC to v1.3 and that fixed my problem. Thanks!

Revision history for this message
John Elliot V (jj5) said :
#3

Thanks Manfred Hampl, that solved my question.