ubuntu 'Unable to correct problems, you have held broken packages' 错误

在用apt 安装软件时,有时会用国内的源以加快下载速度。

但是在使用ubuntu 14.04的过程中,这一过程可能会导致错误“Unable to correct problems, you have held broken packages”。 经测试,网上的apt-get install -f, aptitude等都无效。其实只要将源换成官方的源,然后apt-get update, apt-get upgrade即可解决。

ubuntu 'Unable to correct problems, you have held broken packages' 错误

时间: 2025-01-10 06:54:51

ubuntu 'Unable to correct problems, you have held broken packages' 错误的相关文章

E: Unable to correct problems, you have held broken packages 解决方法

在Ubuntu中安装软件的时候经常碰到E: Unable to correct problems, you have held broken packages.的错误,顾名思义是因为某些软件包冲突导致,幸运的话sudo apt-get update && sudo apt-get upgrade 可以解决,但这种情况属于可遇不可求,更多的适合这么做不济于事.这样一来如何彻底解决就成了一个问题,经过多次摸索之后,将可行的解决方法记录如下: 以安装libxml2-dev时错误为例,安装时提示如

Unable to correct problems, you have held broken package

其实这篇接着上文(一),主要是解决samba安装的问题,中间又是一路曲折.不过这个问题也算是比较典型,有必要记录一下. #apt-get install smb* 安装失败.其实顺利的话,直接一条这样的命令就过了,上次就是直接过的,不知道这次怎么蹦出来的. Error:  Unable to correct problems, you have held broken package 这个在使用Ubuntu系统的时候多多少少都碰到过,尤其是用旧版本的系统. 这个记得之前在BlackTrack里面

Django Ubuntu:Database returned an invalid value in QuerySet.dates(). 错误的解决方法

运行Windows下创建的Django项目时,发生此错误! Database returned an invalid value in QuerySet.dates(). Are time zone definitions and pytz installed? 按提示先安装pytz 1.先安装easy_install: sudo apt-get install python-setuptools 2.进入官网,获取下载地址,使用wget命令下载: wget https://pypi.pytho

Ubuntu启动、停止、重启MySQL,查看MySQL错误日志、中文编码错误

1)启动: sudo /etc/init.d/mysql start 2)停止: sudo /etc/init.d/mysql stop 3)重启: sudo /etc/init.d/mysql restart 4)查看日志: cat /var/log/mysql.err cat /var/log/mysql/error.log 5)不支持中文 修改 /etc/mysql/my.cnf 在 [client] 下面增加: default-character-set=utf8 或 character

Ubuntu 12.04.1 OK335xS busybox-1.24.1 文件系统编译错误及解决方案

Ubuntu 12.04.1 OK335xS busybox-1.24.1 文件系统编译错误及解决方案 一.参考文档: 编译busybox的一些错误: http://blog.csdn.net/hshl1214/article/details/8668042 二.busybox 编译提示: ...... applets/usage_pod.c: In function ‘main’: applets/usage_pod.c:74:3: warning: format not a string l

Android开发中java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx}: java.lang.NullPointerException 错误的集中原因及解决办法

上面那个问题刚解决,就又来一个问题~~~~ 错误信息字符串:java.lang.RuntimeException: Unable to start activity ComponentInfo{...}: java.lang.NullPointerException 网上有不少解决办法 一般都会在Activity  onCreate()方法里的setContentView(XXX)发生此错误,网上查阅了很多原因,大概有四种重要可能的原因: 原因一:xxx的错误,若为R.layout.main 

加载ubuntu的时候卡在‘SMBus Host Controller not enabled'错误

实验系统:ubuntu-16.04.6-server-amd64 我在VMware安装完这个系统后进入发现卡在了’SMBus Host Controller not enabled‘里,后来查过网络发现,需要禁止i2c_piix4驱动的加载,禁止需要编辑blacklist.conf: 方法如下: 1.在ubuntu开机时进入grub启动选项 2.选择Advanced options for Ubuntu 3.进入Ubuntu的恢复模式(recovery mode) 4.在Recovery Men

ubuntu unable to connect to rdp server

今天早上开机,远程连接win,提示unable to connect to rdp server,昨天还好好的,怎么今天突然不行了,telnet win 的3389端口,是通的,用remina remote desktop client 连接其它的win 也正常 用其它的连接在ubuntu下不能连接的win,也正常,看来是ubuntu配置问题,google下,终于找到解决方法 vim ~/.freerdp/known_hosts 删除不能连接的win的信息,重新连接即可

windows 部署 git 服务器报 Please make sure you have the correct access rights and the repository exists.错误

这两天在阿里云上弄windows 服务器,顺便部署了一个git服务.根据网上教程一步步操作下来,最后在 remote远程仓库的时候提示 fatal: 'yourpath/test.git' does not appear to be a git repositoryfatal: Could not read from remote repository. Please make sure you have the correct access rightsand the repository e