debian apt源
debian吧
全部回复
仅看楼主
level 9
601262446 楼主
debian 源能调整优先级吗
2016年11月09日 01点11分 1
level 11
借问一下,什么叫源优先级?[乖]
-----------------------------------------------------
--来自骗经验的XX贴吧客户端(^_^)
2016年11月09日 01点11分 2
就是添加好几个源 里面有好几个包在不同的源里有不同版本号 为了稳定 优先选择而使用某个源 酱紫的
2016年11月09日 01点11分
同一系统版本,不同源 软件包都是一样的,比如所有的debian8的源里的软件包都是一样的
2016年11月09日 05点11分
@真仙降世17 😂我就是在引用其他系统版本的源
2016年11月09日 05点11分
@真仙降世17 比如sid
2016年11月09日 05点11分
level 9
/etc/apt/sources.list
###
# testing #
########
deb http://ftp.us.debian.org/debiantesting main contrib non-free
###
# unstable #
########
deb http://ftp.us.debian.org/debian unstable main contrib non-free
In this example, we're pulling from testing and unstable. You could, of course, modify this to pull from stable as well.
/etc/apt/preferences
The 'preferences' file is where the actual pinning takes place. Here's an example:
Package: *Pin:
release a=testing
Pin-Priority: 900
Package: *Pin:
release a=unstable
Pin-Priority: 800
--------------------------
https://wiki.debian.org/AptPreferences
很多时候百度不行谷歌试试
2016年11月10日 04点11分 3
level 14
aptpreferences[滑稽]
2016年11月20日 00点11分 6
1