4、更改source.list # vi /etc/apt/source.list --------snip---------- # deb http://debian.cn99.com/debian sarge main contrib non-free deb http://debian.cn99.com/debian etch main contrib non-free # deb-src http://debian.cn99.com/debian sarge main contrib non-free deb-src http://debian.cn99.com/debian etch main contrib non-free --------snip----------
# aptitude -y -s -f --with-recommends dist-upgrade [ ... ] XXX upgraded, XXX newly installed, XXX to remove and XXX not upgraded. Need to get xx.xMB/yyyMB of archives. After unpacking AAAMB will be used. Would download/install/remove packages.