teh*_*ros 0 ubuntu vps apt ubuntu-12.04
今天,我从http://www.frontrangehosting.com购买了一个 Ubuntu 12.04 VPS ,但是当我通过 SSH 访问它时,我无法使用 apt-get。
[root@vps /]# apt-get install python-software-properties
-bash: apt-get: command not found
Run Code Online (Sandbox Code Playgroud)
编辑:由于某种原因,它找不到 lsb-release
[root@vps /]# cat /etc/lsb-release
cat: /etc/lsb-release: No such file or directory
Run Code Online (Sandbox Code Playgroud)
从您的 shell 提示中,您似乎拥有 CentOS 或其他一些 Red Hat 派生的发行版,而不是您期望的 Ubuntu。
您可以通过运行来确认这一点:
cat /etc/*-release
Run Code Online (Sandbox Code Playgroud)
并检查输出。
| 归档时间: |
|
| 查看次数: |
1764 次 |
| 最近记录: |