E: Unable to locate package
来源:互联网 发布:淘宝类目大全2017 编辑:程序博客网 时间:2024/05/16 02:18
之前阿里云upload_max_filesize上传默认2M,修改php.ini 后,重启apache也不生效,只能重新更换阿里云系统盘重新配置系统,可是apt-get 缺发生了 E: Unable to locate package *** 什么命令都不生效,才发现sources.list 数据源出问题了、
这时候需要更新源列表,需要先备份/etc/apt/spurce.list(丢失的话,重新创建该文件),然后添加新的源。 我用的阿里的,最后执行apt-get update 就可以了
源文件内容:
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiversedeb http://mirrors.aliyuncs.com/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.aliyuncs.com/ubuntu/ trusty-security main restricted universe multiversedeb http://mirrors.aliyuncs.com/ubuntu/ trusty-updates main restricted universe multiversedeb http://mirrors.aliyuncs.com/ubuntu/ trusty-proposed main restricted universe multiversedeb http://mirrors.aliyuncs.com/ubuntu/ trusty-backports main restricted universe multiversedeb-src http://mirrors.aliyuncs.com/ubuntu/ trusty main restricted universe multiversedeb-src http://mirrors.aliyuncs.com/ubuntu/ trusty-security main restricted universe multiversedeb-src http://mirrors.aliyuncs.com/ubuntu/ trusty-updates main restricted universe multiversedeb-src http://mirrors.aliyuncs.com/ubuntu/ trusty-proposed main restricted universe multiversedeb-src http://mirrors.aliyuncs.com/ubuntu/ trusty-backports main restricted universe multiverse
0 0
- E: Unable to locate package...
- E: Unable to locate package
- Ubuntu 解决 E:Unable to locate package
- E: Unable to locate package unbuntu vmtools
- Linux : E: Unable to locate package XXX
- E: Unable to locate package libpcl-all
- Unable to locate package
- unable to locate package
- Unable to locate package
- unable to locate package
- Unable to locate package
- Ubuntu11.10 E: Unable to locate package ubuntu-restricted-extras
- E: Unable to locate package oracle-java7-installer [Ubuntu 13]
- Ubuntu "E: Unable to locate package"错误解决办法
- unable to locate package update?
- unable to locate xxxx package
- Unable to locate package解决方法
- Unable to locate package解决办法
- 剖析Disruptor:为什么会这么快?(二)神奇的缓存行填充
- git操作github代码
- SQL SERVER 2005 DBCC IND命令说明
- 微信连WIFI认证、微信支付、支付宝支付需配置的白名单
- Java NIO Channel to Channel Transfers
- E: Unable to locate package
- 编程中如何避免if(object!=null)判空语句
- cron任务详解--持续更新
- python学习之(一)python crontab的使用
- microsoft project professional 2010密钥
- RelativeLayout相对布局和LinearLayout线性布局属性
- Android Studio NDK正确配置
- MapKit之地理编码和反向地理编码(CLGeocoder、CLPlacemark)
- JAVA之旅【第一天】 计算机概率 常用的DOS命令 下载安装JDK 环境配置