LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 774|回复: 5

zz[Debian sid FAQ]

[复制链接]
发表于 2007-1-14 16:45:53 | 显示全部楼层 |阅读模式
http://wooledge.org/~greg/sidfaq.html

感觉非常应该发到wiki.debian.org的

[PHP]
Debian sid FAQ

A lot of people get frustrated because they perceive the Debian stable release to be "too old", sometimes because they bought some crazy new hardware gadget which needs a very recent kernel to support, and sometimes just because they've been brainwashed to think that if they aren't running the "newest version" of package foo, then they're somehow inadequate. So they start running unstable (sid).

And then they come into #debian when it breaks.

And then they don't understand why we're so mean to them.

The purpose of this document is to describe what you did wrong, or why you were flamed; and what you should have done differently.

This FAQ is most especially aimed at Slashdot readers. If you aren't sure whether this includes you... it includes you.

Sid users who want to know whether there are any traps awaiting them if they upgrade are advised to check the /topic of the #debian channel, and the Status of Unstable page.

Finally, please note that this document is not intended to be a general Debian FAQ, nor even a #debian channel FAQ. For definitive documentation about Debian, see debian.org. For the #debian channel FAQ (which includes lots of one-liners for common "how do I..." questions), check tarzeau's #debian FAQ.
1. What is sid?
2. What is unstable?
3. How do I install sid?
4. Does sid have package foo?
5. Is package foo broken?
6. How do I know what version of package foo I'm using?
7. When will package foo version bar be in sid?
8. But I need package foo version bar right now!
9. Can I use sid packages on stable?
10. Can I use sid packages on testing?
11. How do I backport a sid package to testing or stable?
12. Aren't there already backports...?
13. Should I use sid on my server?
14. Should I use sid on my desktop?
15. Does sid have security updates?
16. When is sid going to be released?
What is sid?

Sid is the unstable branch of Debian. All of Debian's branches and releases have "code names" which are from the movie Toy Story. For example, Debian 3.0 is code-named "woody". Sid was the kid who broke all the toys. Some people think sid is an acronym for "Still In Development". This is cute, but inaccurate.
What is unstable?

Unstable is where packages go after they've been uploaded by the maintainer, and cleared for release by the FTP master. If you use an unstable package, the only thing you can say with any certainty is that it compiled on the developer's system. It may contain horrible bugs.

When packages have met certain criteria, they are automatically moved from unstable to the current "testing" branch. For more information about testing, see the testing announcement.

For more information, see the Debian Releases page.
How do I install sid?

The canonical answer is: You don't. You can only upgrade to it from stable or testing. You do that by editing /etc/apt/sources.list and changing your sources from stable to unstable.

There are some unofficial "sid ISO images" out there. They are dangerous, unofficial and obsolete (by definition!). Stay away from them.

It may also be possible to install sid packages instead of testing packages if you're using a net install from the testing branch. This is not supported, but if you want to try it, you're free to do so. It's your machine, after all. Just don't cry if it breaks.
Does sid have package foo?

Don't ask us -- you have the same resources available to you that we have! Here are some of them:

    * The #debian-kde channel is the place to check for KDE.
    * packages.debian.org has the version numbers of all the packages in all the branches.
    * On your local Debian system, apt-cache search and apt-cache show will tell you what packages are available from your sources.
    * In the #debian channel, the bots (apt or dpkg, whoever's present) can be asked to search for package information. Type /msg apt info libc6 sid to see the version information for the libc6 package in sid, for example.

If you ask the #debian channel whether sid has something (KDE version 3.2b or GNOME 2.5 or frobbitz version 42), we won't know! We would have to check for you, and then tell you. This is a sign of laziness on your part. You should check for yourself.
Is package foo broken?

Once again, how would you expect us to know? If it doesn't work for you, then there's a good chance it's broken -- but your problem may be common among users of package foo, or it may be unique to your system. That's why Debian has a Bug Tracking System. (You'll also see this called the BTS.) Check there before you ask for help with a package in sid. If you don't see your bug there, but you think it's a real problem in the package, then file a bug report yourself. (You can do this with the reportbug package.)

If you don't see your problem listed in the BTS, but you aren't sure whether it's a real bug or just something you did wrong, then by all means ask for help. Be specific when you ask for help -- say what version of Debian you're using, what version of package foo, what you're doing (or trying to do), and what the error message says.

The Status of Unstable page may also contain information relevant to your situation. You should definitely check there before reporting problems.

Failure to do your homework before asking for help with a package in sid demonstrates your laziness. We won't take you seriously until you've shown that you're taking Debian seriously.
How do I know what version of package foo I'm using?

If you don't know how to use the Debian package management tools, you should not be using sid! Really. That's probably part of the reason we flamed you.

sgeigerbot has a package management guide that may be helpful for those of you who were smart enough not to use sid yet. For more information, see the man pages (man dpkg, man apt-get, man apt-cache, etc.)
When will package foo version bar be in sid?

When it's ready.
But I need package foo version bar right now!

Then go ahead and package it yourself. See the information in the Developers' Corner for details.
Can I use sid packages on stable?

No. Don't even bother trying. If you do it anyway, you get to keep all the pieces, and we get to laugh at you.
Can I use sid packages on testing?

Only if the dependencies are satisfied. In general, sid and testing are usually close to each other, except for when RC (release critical) bugs in some major package like libc or perl cause a slew of things to be held up. So your odds of getting the binary package to work in testing are pretty good... but you still need to check it out yourself.

If the library dependencies aren't satisfied, then you'll need to backport it.
How do I backport a sid package to testing or stable?

Install the Debian source (and the development tools, especially debhelper), and then build the package. Step by step:

   1. add a deb-src line for sid to your sources.list
   2. apt-get update
   3. apt-get build-dep packagename
   4. apt-get -b source packagename
   5. the resulting debs should be in the current directory

If that doesn't work, you're on your own.
Aren't there already backports...?

Possibly. Check backports.org and apt-get.org first to see if someone has already done it.
Should I use sid on my server?

Are you insane? No!
Should I use sid on my desktop?

If you think you can handle a broken Debian system, sure. Do you know what to do if libpam0g breaks, preventing all logins? Do you know what to do if grep breaks, causing the boot process to hang forever? These things have happened. They will happen again.

If you'd like to avoid the brown-paper-bag bugs like these, then use testing instead.
Does sid have security updates?

Not in the same sense that stable does. If the maintainer of a package fixes a security bug and uploads the package, it'll go into sid by the normal means. If the maintainer doesn't do that, then it won't. The security team only covers stable (and possibly testing... there's a pending issue for that case).

Sid users (hell, all Debian users!) are strongly urged to subscribe to the Debian security announce mailing list. And while you're at it, you should also be on the Debian devel announce list.
When is sid going to be released?

Never. Sid will always be the unstable branch. When testing is released, then a new testing will be created (with a new codename), and packages will continue to trickle down from sid into testing just like they do now.
[/PHP]
发表于 2007-1-14 22:34:06 | 显示全部楼层
好文章啊!LZ正在用unstable?看了这文章还用不用啊?

我一直在用stable,刚刚才开始用etch
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-14 23:53:57 | 显示全部楼层
呵呵,一直用的都是unstable,不过这是作桌面而言
作服务器,还是stable或testing,否则就是和自己的休息时间做对了

sid使用时了解下,常见的如何解决升级过程中经常会遇到的依赖问题就行了
多使用apt-get upgrade 少用apt-get dist-upgrade
偶尔的使用下dpkg -i --force-all /var/cache/apt/archives/???.deb
非常顽固的处于僵死状态的,删不了又装不上的
rm -rf /var/lib/dpkg/info/name-of-dead-one.*
dpkg -P name-of-dead-one 尔后再重装该软件啥的
回复 支持 反对

使用道具 举报

发表于 2007-1-16 21:28:20 | 显示全部楼层
谢谢指教。

还从你的签名里看到一个以前没见过的软件screen,不会用,研究中
回复 支持 反对

使用道具 举报

发表于 2007-1-16 23:36:55 | 显示全部楼层
此文尖酸刻薄,可发一笑。
回复 支持 反对

使用道具 举报

发表于 2007-1-17 00:12:18 | 显示全部楼层
完全不懂,有中文版的没?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表