AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 663994
Accepted
Wyvern666
Wyvern666
Asked: 2015-02-01 11:13:16 +0800 CST2015-02-01 11:13:16 +0800 CST 2015-02-01 11:13:16 +0800 CST

更新 Debian 6 的问题

  • 772

我正在尝试更新 Debian 6 服务器,但在以下输出后出现一些错误sudo aptitude update:

Ign http://archive.debian.org oldstable Release.gpg
Ign http://archive.debian.org/debian/ oldstable/contrib Translation-en
Ign http://archive.debian.org/debian/ oldstable/main Translation-en
Ign http://archive.debian.org/debian/ oldstable/non-free Translation-en
Ign http://archive.debian.org oldstable Release
Hit http://ftp.debian.org squeeze-updates Release.gpg
Ign http://ftp.debian.org/debian/ squeeze-updates/contrib Translation-en
Ign http://ftp.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.debian.org/debian/ squeeze-updates/non-free Translation-en
Ign http://archive.debian.org oldstable/main amd64 Packages
Hit http://ftp.debian.org squeeze-updates Release
Ign http://archive.debian.org oldstable/contrib amd64 Packages
Ign http://archive.debian.org oldstable/non-free amd64 Packages
Ign http://archive.debian.org oldstable/main amd64 Packages
Ign http://archive.debian.org oldstable/contrib amd64 Packages
Hit http://ftp.debian.org squeeze-updates/main amd64 Packages/DiffIndex
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://archive.debian.org oldstable/non-free amd64 Packages
Hit http://ftp.debian.org squeeze-updates/contrib amd64 Packages
Hit http://ftp.debian.org squeeze-updates/non-free amd64 Packages
Err http://archive.debian.org oldstable/main amd64 Packages
  404  Not Found [IP: 206.12.19.126 80]
Err http://archive.debian.org oldstable/contrib amd64 Packages
  404  Not Found [IP: 206.12.19.126 80]
Err http://archive.debian.org oldstable/non-free amd64 Packages
  404  Not Found [IP: 206.12.19.126 80]
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Hit http://security.debian.org squeeze/updates/contrib amd64 Packages
Hit http://security.debian.org squeeze/updates/non-free amd64 Packages

这是我的sources.list:

deb http://archive.debian.org/debian oldstable main contrib non-free

deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free

这个来源是从http://debgen.simplylinux.ch/生成的

怎么了?

debian-squeeze
  • 1 1 个回答
  • 1670 Views

1 个回答

  • Voted
  1. Best Answer
    Daniel
    2015-02-01T11:16:38+08:002015-02-01T11:16:38+08:00

    您需要更改oldstable为lenny.

    如果您查看 http-repository,则没有文件夹oldstable。因此是 404。

    http://archive.debian.org/debian/dists/oldstable (404)
    http://archive.debian.org/debian/dists/lenny (200)

    如果您不知道为什么您的源列表(存档/oldstable)中有某些内容,我建议使用此列表:

    deb http://ftp.debian.org/debian/ squeeze main
    #deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free
    
    # Security Updates
    deb http://security.debian.org/ squeeze/updates main contrib non-free
    #deb-src http://security.debian.org/ squeeze/updates main contrib non-free
    
    # squeeze-updates, previously known as 'volatile'
    deb http://ftp.debian.org/debian/ squeeze-updates main
    #deb-src http://ftp.debian.org/debian/ squeeze-updates main
    
    # testing or sid
    #deb http://ftp.debian.org/debian/ testing main
    #deb http://ftp.debian.org/debian/ unstable main
    
    # Dotdeb Archive
    #deb http://packages.dotdeb.org squeeze all
    #deb-src http://packages.dotdeb.org squeeze all
    
    • 1

相关问题

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve