Я пытаюсь перенести SVN в Git на Ubuntu 18.04.1 LTS. Я установил Git с:
sudo apt-get install git-core
Который, кажется, не содержит git-svn. Я попробовал:
sudo apt-get update
Тогда:
sudo apt-get install git-svn
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package git-svn is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'git-svn' has no installation candidate
Я также пытался из git-svn, а не команда git? :
sudo add-apt-repository ppa:git-core/ppa
...
sudo apt-get update
...
sudo apt-get install git-svn
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:
git-svn : Depends: git (> 1:2.19.0) but 1:2.17.1-1ubuntu0.1 is to be installed
Depends: libsvn-perl but it is not installable
Depends: libterm-readkey-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
Кажется, https://askubuntu.com/questions/1002376/cant-install-package-with-apt?rq=1 имеет похожие проблемы.
Помощь будет высоко ценится.