zoukankan      html  css  js  c++  java
  • Ubuntu 13.10 软件更新源列表

    最近在Ubuntu安装SSH服务,运行sudo apt-get install openssh-server时报错提示源列表中无对应的包。经过在网上搜索,需要更新源列表。

    1. 备份Ubuntu 13.10源列表

    sudo cp /etc/apt/sources.list /etc/apt/sources.list.old

    1. 将以下内容添加到sources.list中

    #网易的源(163源,无论是不是教育网,速度都很快)

    deb http://mirrors.163.com/ubuntu/ raring main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ raring-security main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ raring-updates main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ raring-proposed main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ raring-backports main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ raring main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ raring-security main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ raring-updates main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ raring-proposed main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ raring-backports main restricted universe multiverse

     

    deb http://mirrors.163.com/ubuntu/ quantal main universe restricted multiverse

    deb-src http://mirrors.163.com/ubuntu/ quantal main universe restricted multiverse

    deb http://mirrors.163.com/ubuntu/ quantal-security universe main multiverse restricted

    deb-src http://mirrors.163.com/ubuntu/ quantal-security universe main multiverse restricted

    deb http://mirrors.163.com/ubuntu/ quantal-updates universe main multiverse restricted

    deb http://mirrors.163.com/ubuntu/ quantal-proposed universe main multiverse restricted

    deb-src http://mirrors.163.com/ubuntu/ quantal-proposed universe main multiverse restricted

    deb http://mirrors.163.com/ubuntu/ quantal-backports universe main multiverse restricted

    deb-src http://mirrors.163.com/ubuntu/ quantal-backports universe main multiverse restricted

    deb-src http://mirrors.163.com/ubuntu/ quantal-updates universe main multiverse restricted

     

    1. sudo apt-getupdate

        

  • 相关阅读:
    配置Kickstart无人值守安装centos5.9 天高地厚
    数据库是什么,它是做什么用的? 天高地厚
    Mysql主从复制 天高地厚
    android开发中eclipse里xml的自动提示
    "error: device not found" and "error:device offline"
    gentoo中emerge失效:File "/usr/bin/emerge", line 43
    android:修改preference中view属性
    gerrit上利用sshkeygen公钥
    git 基本命令介绍
    prebuilt/linuxx86/toolchain/armeabi4.4.3/bin/armeabigcc: /lib/libc.so.6: version `GLIBC_2.11' not found:解决办法
  • 原文地址:https://www.cnblogs.com/guangwei/p/3624414.html
Copyright © 2011-2022 走看看