我在用森普萊斯 Linux在 Windows 7 上的 VMware 中。
Semplice Linux 是基於 Debian Sid(不穩定分支)和 Openbox 桌面。
這就是我得到的
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
You are about to add the following PPA to your system:
daily (or even multiple builds per day) for various mozilla projects and branches.
For questions and bugs with software in this archive, please contact <email address hidden> or visit #ubuntu-mozillateam on freenode.
More info: https://launchpad.net/~ubuntu-mozilla-daily/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 167, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 105, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 595, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Semplice/heaven
編輯:
在添加答案中所示的來源後,我得到:
W: Failed to fetch http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu/dists/unstable/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu/dists/unstable/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
c@c-semplice:~$ sudo apt-get install firefox
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package firefox 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 'firefox' has no installation candidate
答案1
PPA 並不「了解」Semplice。如果它與 Debian sid 足夠相似,請嘗試在以下位置手動添加 ppa /etc/apt/sources.list
:
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu unstable main
deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu unstable main