当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 怎么样才能变成稳定版呢
帖子发表于 : 2016-01-30 15:33 

注册: 2015-01-02 15:32
帖子: 241
系统: Debian
送出感谢: 25
接收感谢: 5
> lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux stable-updates (sid)
Release: stable-updates
Codename: sid


过于在sources.list中一直设定为stretch版本,现在换成stable,这样算是变成稳定版了吗?请各位高手指教如何变成稳定版。

https://www.debian.org/doc/manuals/debian-faq/ch-choosing.en.html提到:
代码:
3.1.4 If I were to decide to change to another distribution, Can I do that?

Yes, but it is a one way process. You can go from stable --> testing --> unstable. But the reverse direction is not "possible". So better be sure if you are planning to install/upgrade to unstable.

Actually, if you are an expert and if you are willing to spend some time and if you are real careful and if you know what you are doing, then it might be possible to go from unstable to testing and then to stable. The installer scripts are not designed to do that. So in the process, your configuration files might be lost and....


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 怎么样才能变成稳定版呢
帖子发表于 : 2016-01-30 16:38 
头像

注册: 2011-03-20 13:12
帖子: 4521
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
理论上只要将 stable 的优先级设为
代码:
Pin-Priority: 1001

降级是可以进行的。但实际多半会出问题

尤其是从 Jessie 冻结(2014-11-05) 到现在时间过去一年多,变化太大。中间又经历了如 GCC5 (libstdc++6) 升级等大事件

若因在 sid 上遇到问题而想回到 stable,不妨贴出来看看

参考
https://lists.debian.org/debian-testing/2003/07/msg00039.html
https://ispire.me/downgrade-from-debian-sid-to-stable-from-jessie-to-wheezy/


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 怎么样才能变成稳定版呢
帖子发表于 : 2016-02-05 14:44 
头像

注册: 2011-03-20 13:12
帖子: 4521
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
意外尝試了一下
下載並燒錄了 wheezy 系統,沒想到 sources.list 中竟指向 stable,导致新裝的一堆包都是 jessie 的
應用此法,編輯 /etc/apt/preferences
代码:
Package: *
Pin: release a=wheezy
Pin-Priority: 1001

然后 apt-get update && apt-get upgrade && apt-get dist-upgrade
無效!...? 不清楚問題出在哪里
=========================
原来要用 Pin: release a=oldstable


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 怎么样才能变成稳定版呢
帖子发表于 : 2016-02-06 8:08 

注册: 2015-01-02 15:32
帖子: 241
系统: Debian
送出感谢: 25
接收感谢: 5
vickycq的问题我肯定回答不了,不过期望通过讨论向大家学习。先积累下帖子,今天晚些时候细看看。

初步理解是可能和具体包有关系。首先要确认这些jessie的包在wheezy当中确实也是有的。建议vickycq将sources.list和那些包列出来。

参考:
https://wiki.debian.org/AptPreferences
http://jaqque.sbih.org/kplug/apt-pinning.html
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_tweaking_candidate_version


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 怎么样才能变成稳定版呢
帖子发表于 : 2016-02-06 9:22 
头像

注册: 2011-03-20 13:12
帖子: 4521
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
后来发现,原来要把 /etc/apt/preferences 设置为
引用:
Package: *
Pin: release a=oldstable
Pin-Priority: 1001

才能降级。但在降级 glibc 时出现依赖错误。
降级的包不多,绝大多数是 apt-get build-dep vlc 升上去的。
看来行不通。


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 怎么样才能变成稳定版呢
帖子发表于 : 2016-02-06 15:07 

注册: 2015-01-02 15:32
帖子: 241
系统: Debian
送出感谢: 25
接收感谢: 5
代码:
降级的包不多,绝大多数是 apt-get build-dep vlc 升上去的。


看来使用preferences来使用混源,会带来很多问题。这是我们菜鸟还不宜触碰的区域。 :em01


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 6 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译