Configuring Apt Sources :debian 官方手册 *****
Debian8 jessie 的官方源(备份)
-----------------------------------------
问题:
debian确实好用,不错。
但是,
1. 每一次更新一个大版本号;旧版本的 apt sources.list 就要人工改变,更麻烦的是 往往改变还不能够成功。真是浪费时间啊!
2. 换成国内源吧?结果:很多软件包没有。只有官方源仓库才有。
常用免费公共DNS服务大全
https://www.coolexe.com/733.html
-------------------------------------
debian:必须有官方源:就版本,是一个问题
【阿里云镜像】切换阿里巴巴开源镜像站镜像——Debian镜像
======================
Configuring Apt Sources :debian 官方手册 *****
评注:
按照官方的例子,还是无效。难道是 DNS 问题 ?
Using Tor with Apt
Apt can retrieve and download updates through Tor. For this to work you need to install the tor and apt-transport-tor packages. You can then use the official onion services provided by Debian.
--------------
Below is an example of a sources.list for Debian 11/Bullseye (oldstable).
deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye maindeb http://deb.debian.org/debian-security/ bullseye-security main
deb-src http://deb.debian.org/debian-security/ bullseye-security maindeb http://deb.debian.org/debian bullseye-updates main
deb-src http://deb.debian.org/debian bullseye-updates main
If you need the contrib and non-free components, add contrib non-free after main. For example, for Debian 11/Bullseye:
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-freedeb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-freedeb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
If you need the Backports, contrib, and non-free components, add bullseye-backports lines. For example, for Debian 11/Bullseye:
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
Questions about the support cycle? Click here
==============
Debian11 更换软件源_debian11换源_~天下亦有不散之筵席~的博客-CSDN博客
Debian Archive
http://ftp.debian.org/debian/dists/
See Debian -- The Universal Operating System for information about Debian GNU/Linux.
Current Releases
Four Debian releases are available on the main site:
Debian 10.13 was released Saturday, 10th September 2022. Installation and upgrading instructions, More information
Debian 11.7 was released Saturday, 29th April 2023. Installation and upgrading instructions, More information
Debian 12.1 was released Saturday, 22nd July 2023. Installation and upgrading instructions, More information
The current tested development snapshot is named trixie.
Packages which have been tested in unstable and passed automated tests propagate to this release.
More informationThe current development snapshot is named sid.
Untested candidate packages for future releases.
More information
Old Releases
Older releases of Debian are at http://archive.debian.org/debian-archive
More information
Could not resolve 'deb.debian.org' while apt update debian 11 bullseye
https://unix.stackexchange.com/questions/680334/could-not-resolve-deb-debian-org-while-apt-update-debian-11-bullseye
Answer
Sorted by:
As root, make a copy of /etc/resolv.conf (CLI cp /etc/resolv.conf /etc/resolv.conf.orig). Then run the following commands.
# printf '%s\n' 'nameserver 1.1.1.1' 'nameserver 1.0.0.1' > /etc/resolv.conf
# ping -c 4 deb.debian.org; printf 'Return code: %s\n' "$?"
If last line is Return code: 0, apt update should work fine.
注:设置 DNS
上面的复杂命令行,相当于修改 /etc/resolv.conf 的 DNS设置,以及测试。
/etc/resolv.conf 的内容,如
nameserver 4.2.2.1
nameserver 4.2.2.2
Debian Stretch apt-get update failure resolving 'ftp.de.debian.org'
https://unix.stackexchange.com/questions/503090/debian-stretch-apt-get-update-failure-resolving-ftp-de-debian-org
Debian8 jessie 的官方源(备份)
在非常旧的笔记本上安装了Debian8,然后为了安装速度,取消了网络镜像源。又因为中文乱码问题,没法更新语言包。
加了阿里云、清华、网易等等的jessie软件源后,都提示有问题,怀疑是不是不支持了?
想着还是回到官方源吧。
deb http://ftp.cn.debian.org/debian jessie main non-free contrib
deb http://ftp.cn.debian.org/debian jessie-proposed-updates main contrib non-free
deb http://ftp.cn.debian.org/debian-security jessie/updates main contrib non-free
deb-src http://ftp.cn.debian.org/debian/ jessie main contrib non-free
原文链接:https://blog.csdn.net/RockyCoder/article/details/123826344