The following packages have been kept back [Solved]

1、问题描述

OS: kali

自上一次执行

sudo apt-get upgrade

之后,系统任务栏中一直有待升级提醒,而再执行

sudo apt-get upgrade

却是如下提示

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  mitmproxy python-netlib python-openssl
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

任务栏右上角图示:

2、解决方法

$ sudo apt-get -u dist-upgrade

3、析

有部份packages的安装版比release版新而出现”The following packages have been kept back”这个问题,使用2中的解决方法 统一更新到发布的版本。

这条命令会强制更新软件包到最新版本,并自动解决缺少的依赖包。

时间: 2024-12-17 18:25:56

The following packages have been kept back [Solved]的相关文章

rpm卸载包遭遇 specifies multiple packages 错误

使用 rpm删除软件时报错如下: [[email protected]]# rpm -qa |grep -i mysqlmysql-devel-5.0.95-5.el5_9mysql-devel-5.0.95-5.el5_9MySQL-shared-5.5.34-1.rhel5mysql-5.0.95-5.el5_9mysql-server-5.0.95-5.el5_9MySQL-shared-compat-5.5.34-1.rhel5perl-DBD-MySQL-3.0007-2.el5mys

yum error: cannot open Packages database in /var/lib/rpm

1.前提条件:安装软件包的时候,被我手动终止了[[email protected] yum.repos.d]# yum clean allrpmdb: Thread/process 4541/140619363587840 failed: Thread died in Berkeley DB libraryerror: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

ubuntu下以Debian Packages方式安装mysql

在linux环境下安装mysql的方法很多,由于我使用ubuntu作为开发环境,所以希望以Debian Packages的方式安装mysql.查阅官方文档(http://dev.mysql.com/doc/refman/5.7/en/linux-installation-debian.html)觉得这种方式是最好的一种安装方式.以下我在ubuntu16.04的安装步骤 : 1.下载安装包 # wget -c http://dev.mysql.com/get/Downloads/MySQL-5.7

http://mirror.centos.org/centos/7.2.1511/os/x86_64/Packages/, 开源软件清单list

http://mirror.centos.org/centos/7.2.1511/os/x86_64/Packages/ http://vault.centos.org/7.2.1511/os/Source/SPackages/ Name Last modified Size Description Parent Directory   -   389-ds-base-1.3.4.0-19.el7.x86_64.rpm 2015-11-25 14:10 1.7M   389-ds-base-de

sublime text install packages报错

汉化版的sublime text安装软件包的时候报错如下: There are no packages available for install 打开控制台,ctrl+~,然后看到如下错误: Package Control: Channel http://www.anchen8.net/channel.php does not appear to be a valid channel file because the "schema_version" is not a valid n

error: cannot open Packages database in /var/lib/rpm

故障描述:今天下午测试OpenStack,在使用yum安装一个包的时候,手欠了下,结果被我终止了,如是有了下面的记录 先清空下缓存,发现rpmdb open failed [[email protected] glance]# yum clean all error: rpmdb: BDB0113 Thread/process 21357/140557926295360 failed: BDB1507 Thread died in Berkeley DB library error: db5 e

解决sublimeText3无法安装插件有关问题 - There are no packages available for installation

解决sublimeText3无法安装插件问题 -- There are no packages available for installation There are no packages available for installation错误 今天在安装sublimeText3插件时遇到错误,弹出一个对话框说没有可供安装的包,内容为There are no packages available for installation,对话框如下图: 其实我用的是win7系统,我遇到错误时没有截

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时错误为例,安装时提示如

ubuntu 安装maven提示出错 The program 'mvn' can be found in the following packages

问题: I am trying to install apache maven 3 in Ubuntu 12.04 lts. What I did was open the terminal then I typed the following commands export M2_HOME=/usr/local/apache-maven/apache-maven-3.0.5 [Then pressed Enter] export M2=$M2_HOME/bin [Then pressed En