daniel@beepboop /etc/apt $ sudo apt-get build-dep python-svn
Reading package lists... Done
Picking 'pysvn' as source package instead of 'python-svn'
E: Unable to find a source package for python-svn
我的猜测是这与我的sources.list有关。有什么建议吗?
一些编辑以回应评论:
尝试安装python:
daniel@beepboop ~ $ sudo apt-get install python-svn
[sudo] password for daniel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-svn is already the newest version (1.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 78 not upgraded.
我的来源列表:
daniel@beepboop /etc/apt $ more sources.list
deb cdrom:[Linux Mint 18.1 _Serena_ - Release amd64 20161213]/ xenial contrib ma
in non-freedeb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted u
niverse multiverse
这是我进行一些编辑后发现的。我已将其恢复为原始的sources.list:
daniel@beepboop /etc/apt/sources.list.d $ more sources.list
deb cdrom:[Linux Mint 18.1 _Serena_ - Release amd64 20161213]/ xenial contrib ma
in non-free
来源.list.d:
daniel@beepboop /etc/apt/sources.list.d $ more *
::::::::::::::
google-chrome.list
::::::::::::::
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
::::::::::::::
notepadqq-team-notepadqq-xenial.list
::::::::::::::
deb http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu xenial main
deb-src http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu xenial main
::::::::::::::
official-package-repositories.list
::::::::::::::
# Do not edit this file manually, use Software Sources instead.
deb http://packages.linuxmint.com serena main upstream import backport #id:linux
mint_main
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe mul
tiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe m
ultiverse
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe
multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner