source.list

一些VPS主机只提供精简版OS,这样子在apt-get一些程序时候会提示找不到等等错误
最好的解决办法就是更改/etc/apt下面的source.list文件
今天一台debian8 64bit mini版本的主机安装mariaDB时候折腾半天,总是提示“无法找到版本”

按照mariaDB官网的指导
apt-get install software-properties-common
这个第一步都提示Unable to locate package software-properties-common
最后解决办法 就是把这个在线生成list文件网站上选项尽可能多选
再运行
apt-get update && apt-get upgrade
以后就可以顺利安装了!
贴上本人的source.list 需要的直接拿去用吧!
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#

deb http://ftp.us.debian.org/debian/ jessie main contrib
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

###### Debian Update Repos
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
deb-src http://ftp.us.debian.org/debian/ jessie-proposed-updates main contrib
#——————————————————————————#
# UNOFFICIAL REPOS #
#——————————————————————————#

###### 3rd Party Binary Repos

#### MariaDB 10.0 – https://mariadb.org
## Run this command: apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
deb [arch=i386,amd64] http://mirrors.tuna.tsinghua.edu.cn/mariadb/repo/10.1/debian jessie main

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据