Raspberry pi aptsources.distro.NoDistroTemplateException:错误:找不到Raspbian/buster的分发模板

Raspberry pi aptsources.distro.NoDistroTemplateException:错误:找不到Raspbian/buster的分发模板,raspberry-pi,sublimetext,raspbian-buster,Raspberry Pi,Sublimetext,Raspbian Buster,我正在尝试在我的raspberry Pi runningRaspbian Buster上安装升华文本。因此,我运行了这个sudo添加apt存储库“ppa:webup8team/sublime-text-3forsublime-text 2”,并得到以下结果: File "/usr/bin/add-apt-repository", line 95, in <module> sp = SoftwareProperties(options=options) File "/u

我正在尝试在我的raspberry Pi runningRaspbian Buster上安装升华文本。因此,我运行了这个
sudo添加apt存储库“ppa:webup8team/sublime-text-3forsublime-text 2”
,并得到以下结果:

  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster

出现错误是因为您添加的存储库不知道哪些文件在Rasbian/buster中的位置。然而,如果您访问,您将发现指向最新稳定版本ST3的32位和64位tarball的链接,这也可能是ST3的最终版本,因为开发工作现在集中在下一个版本上

您可以从命令行(
tar jxvf filename.tar.bz2
)展开归档文件,并将文件移动到您希望的任何位置-标准位置是
/opt/sublime-text-3

您可能无法在Raspberry Pi上运行这些文件,因为处理器可能与Intel处理器不兼容。Sublime文本在ARM或其他处理器体系结构版本中不可用,仅在Intel中可用


我强烈建议不要安装ST2,因为它已经过时了。

你说得对,我安装了sublime text 3,正如你所说,但它拒绝发布,这将指引方向
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text-installer