How to Fix Broken Packages in Ubuntu】的更多相关文章

How to Fix Broken Packages in Ubuntu By Nick Congleton – Posted on Jan 11, 2019 in Linux   Apt, Ubuntu’s package manager, is among the most powerful and intuitive, but that doesn’t mean that things can’t go wrong. Occasionally, a package install goes…
Try Code: sudo apt-get update to update your package list.Then Code: sudo apt-get autoclean to clean up any partial packages.Then Code: sudo apt-get clean to clean up the apt cache. Code: sudo apt-get autoremove will clean up any unneeded dependencie…
参考: Unable to correct problems, you have held broken packages 环境 Ubuntu 14.04, 64bit 问题 在安装gcc-4.9的时候,执行: $ sudo apt-get install gcc-4.9 出现以下错误: E: Unable to correct problems, you have held broken packages. 解决方案 1.我的解决方案是先upgrade后update: $ sudo apt-g…
在用apt 安装软件时,有时会用国内的源以加快下载速度. 但是在使用ubuntu 14.04的过程中,这一过程可能会导致错误“Unable to correct problems, you have held broken packages”. 经测试,网上的apt-get install -f, aptitude等都无效.其实只要将源换成官方的源,然后apt-get update, apt-get upgrade即可解决.…
Fix catalyst driver in Ubuntu 13.04 / 13.10(墙外文章备份) 1. Introduction I found lots of people struggling to get catalyst driver work in Ubuntu 13.04. This issue has been persistent for some laptops, ever since Ubuntu 13.04 came out, specially for Intel,…
在Ubuntu中安装软件的时候经常碰到E: Unable to correct problems, you have held broken packages.的错误,顾名思义是因为某些软件包冲突导致,幸运的话sudo apt-get update && sudo apt-get upgrade 可以解决,但这种情况属于可遇不可求,更多的适合这么做不济于事.这样一来如何彻底解决就成了一个问题,经过多次摸索之后,将可行的解决方法记录如下: 以安装libxml2-dev时错误为例,安装时提示如…
问题: apt install libmysqlclient-dev Reading package lists... DoneBuilding dependency tree       Reading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the…
zengqi@zengqi:~$ sudo apt-get install openssh-server Reading package lists... DoneBuilding dependency tree       Reading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if…
今天安装build-essential时出现了以下问题,这属于包的依赖. 解决方案: 1,sudo apt-get install aptitude:完成aptitude命令安装 2,sudo aptitude install 软件包:自动安装某个软件包 3,出现以下选项 4,完成安装 注:aptitude这个命令可以自动处理安装包之间的依赖关系 参考链接:https://www.shangmayuan.com/a/834381feea79424297f4a5f3.html…
Use aptitude instead of apt-get. It is more intelligent. It not only will handle downgrading conflicting packages for you, but will make a series of recommendations asking you which of many possible suggested working scenarios you would like. sudo ap…
openSSH https://help.ubuntu.com/lts/serverguide/openssh-server.html…
ubuntu下升级R版本   在测试<机器学习 实用案例解析>一书的邮件分类代码时,windows系统下rstudio中无法读取特殊字符,在ubuntu下可以.在ubuntu虚拟机下安装tm包(install.packages("tm"))时,提示R版本过低(需要3.1,但是只有3.0,最新版本是3.2),百度了下,网上的资料说,需要配置下/etc/apt/sources.list文件,即下载列表,包括R官方网站给出的方法也是如此.这些资料和R官网的说明地址如下: http…
解决E: Encountered a section with no Package: header错误 我的ubuntu机器上出现下面这个错误. Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ftp.sjtu.edu.cn_ubuntu_dists_precise-security_rest…
错误命令行 root@ubuntu:/etc/apt# apt install vim Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are usi…
最近在折腾Linux,在校园网下怎么能够很好的获取软件很是让我头疼啊~~~ 总结一下吧!!! 首先是校园网的源地址: 清华大学:https://mirrors.tuna.tsinghua.edu.cn/ 自动选择 https://mirrors6.tuna.tsinghua.edu.cn/ 只解析 IPv6https://mirrors4.tuna.tsinghua.edu.cn/ 只解析 IPv4 进入后选择镜像名称旁边的问号,选择对应版本的源,但是一定记住只有ipv6网络的一定将mirror…
一.安装JDK 1.首先到官网上下载jdk-7u79-linux-x64.tar.gz. 2.将jdk-7u79-linux-x64.tar.gz拷贝到/usr/lib/jdk/目录下面,这里如果没有jdk文件夹,则创建该文件夹,命令: cd /usr/lib sudo mkdir jdk 我的jdk是U盘拷的,先得挂载,然后拷贝: sudo mount /dev/sdc4 /mnt/ //挂载U盘 sudo cp -a /mnt/jdk-7u79-linux-x64.tar.gz /usr/l…
错误如下: tiger@ubuntu:~/Desktop/work$ sudo apt-get install openssh-server [sudo] password for tiger: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you ha…
报错: The following packages have unmet dependencies: nvidia-docker2 : Depends: docker-ce (= 5:18.09.0~3-0~ubuntu-xenial) but 18.06.0~ce~3-0~ubuntu is to be installed or docker-ee (= 5:18.09.0~3-0~ubuntu-xenial) but it is not installable E: Unable to c…
当出现类似这类错误: The following packages have unmet dependencies: python-dev : Depends: python (= 2.7.5-5ubuntu3) but 2.7.12-1~16.04 is to be installed Depends: libpython-dev (= 2.7.5-5ubuntu3) but it is not going to be installed Depends: python2.7-dev (>=…
最近安装了Ubuntu 13.04 64位版,发现有线连接经常会掉线,通常在连接上一段时间(或长或短)就无法上网,ping不通,但是ifconfig显示一切正常,重启NetworkManager也不行,必须拔掉网线重新插上才行,但是过一会依然会掉线.无线连接正常,在12.04/12.10下也没遇到过这个问题,请问该怎么解决呢?   我在launchpad.net上发了提问帖,里面有人建议我提交bug 于是我发了这个:https://bugs.launchpad.net/ubuntu/+sourc…
参考地址:https://linuxconfig.org/how-to-install-wine-on-ubuntu-linux-64bit The following linux command procedure can be used to install Wine the Microsoft Windows Compatibility Layer (Binary Emulator and Library) on Ubuntu Linux amd64. If you are running…
ubuntu 18.04 通过联网方式安装wine 1.如果是64位机器,先开启允许32位架构程序运行 sudo dpkg --add-architecture i386 2.添加元wine源码安装仓库 对于ubuntu18.10 wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard/Release.key sudo apt-key add Release…
在Ubuntu上安装R和Rstudio的时候碰到了一些依赖项不存在的错误 The following packages have unmet dependencies: r-base-core : Depends: libc6 (>= 2.27) but 2.23-0ubuntu10 is to be installed Depends: libcurl4 (>= 7.28.0) but it is not installable Depends: libicu60 (>= 60.1-1…
Ubuntu 12.04LTS下直接安装 libssl-dev 失败 提示错误: $ sudo apt-get install libssl-dev Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossi…
liuyan@ubuntu:/etc/init.d$ sudo apt-get install openssh-server -yReading package lists... DoneBuilding dependency tree Reading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation…
<div id="article_content" class="article_content clearfix"> <link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/ck_htmledit_views-b5506197d8.css"> <div id="…
本文博客链接:http://blog.csdn.net/qq1084283172/article/details/54426189 吐槽:ubuntu系统真是让人又爱又恨,也有可能是VMware Workstation Pro虚拟机的原因:同一个版本的ubuntu系统在Oracle VM VirtualBox上安装很顺利没有多大的问题,但是在VMware Workstation Pro虚拟机上安装,就会出现各种奇葩的问题,为了配置一个自己用的顺手的ubuntu环境真是折腾死人,来来回回不下10次…
一.问题 前言:因为一次美化配置ubuntu导致系统启动黑屏,无法进入系统.之前并没有系统备份,后果严重还好修复了,记录下修复步骤备用.  事件:就是因为修改了 /usr/share/gnome-shell/theme/ubuntu.css文件导致的,如果是其它修改不当导致也可用先还原修改文件补救. 就这模样,第二个黑屏不停循环:    二.Ubuntu Linux Recovery Mode     在安全模式/修复模式有以下的选项︰ TYPE ACTION DESCRIPTIONN resu…
Install Docker on Ubuntu Estimated reading time: 17 minutes Docker is supported on these Ubuntu operating systems: Ubuntu Xenial 16.04 (LTS) Ubuntu Wily 15.10 Ubuntu Trusty 14.04 (LTS) Ubuntu Precise 12.04 (LTS) This page instructs you to install Doc…
如果已经安装,请先卸载sudo apt-get remove nginx最新的稳定版Nginx 1.6.0在ubuntuupdates ppa库中提供,网址http://www.ubuntuupdates.org/ppa/nginx?dist=trusty 安装方法:sudo add-apt-repository ppa:nginx/stable sudo apt-get updatesudo apt-get install nginx 查看nginx 版本 nginx -vnginx vers…