运行debian稳定,我知道我可以使用无人值守升级来自动下载和安装升级。
但是,运行debian unstable,由于分发的性质不稳定,我会非常不愿意自动安装升级。 不过,为了方便,我没有看到预先下载升级的任何错误。 有没有什么办法可以下载我想要安装的所有升级程序,这样当我升级的时候,我不必坐下来等待所有下载?
您可以假定每月的磁盘空间和带宽不是问题。 (其实我已经考虑过简单地运行一个完整的镜像,并在我的sources.list中使用我的本地镜像,但是我觉得这可能会有点过分。)
从apt-get手册页:
-d, --download-only Download only; package files are only retrieved, not unpacked or installed. Configuration Item: APT::Get::Download-Only.
你可以有一个运行apt-get update; apt-get -d dist-upgrade的cron作业apt-get update; apt-get -d dist-upgrade apt-get update; apt-get -d dist-upgrade代替无人值守升级。