Tag: upgrade

W:GPG错误和警告:以下软件包无法通过身份validation!

我得到以下输出sudo apt-get update和sudo apt-get upgrade命令。 user@user-VPCCB45FN:~$ sudo apt-get update …… …… Ign http://in.archive.ubuntu.com trusty-backports/main Translation-en_US Ign http://in.archive.ubuntu.com trusty-backports/multiverse Translation-en_US Ign http://in.archive.ubuntu.com trusty-backports/restricted Translation-en_US Ign http://in.archive.ubuntu.com trusty-backports/universe Translation-en_US Fetched 3,581 kB in 59s (59.9 kB/s) Reading package lists… Done W: GPG error: http://download.virtualbox.org trusty InRelease: The following signatures couldn’t be verified because the public key is […]

当尝试从13.10升级到14.04时,升级停止在“aborting samba-libs preinst”

在升级过程中,升级过程暂停,我无法重新启动更新程序。 它似乎与桑巴有关。 我运行了sudo apt-get install -f并获得了以下结果: Reading package lists… Done Building dependency tree Reading state information… Done Correcting dependencies… Done The following packages were automatically installed and are no longer required: attr bind9 bind9utils blt consolekit dvgrab icoutils kate-data katepart kde-l10n-engb kde-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins kdenlive-data kdoctools ldb-tools libamd2.2.0 libattica0.4 libbaloocore4 libbaloofiles4 libbalooxapian4 libboost-filesystem1.53.0 libboost-locale1.53.0 […]

系统一直要求cryptswap密码

我有一个全新安装的Kubuntu 16.04.1(内核4.13.0-32-generic)。 主文件夹已加密(安装选项)。 在两种情况下,操作系统一直要求加密的交换分区密码: 在启动时,在登录屏幕之前,它总是要求输入cryptswap的密码。 关于sudo apt-get upgrade请参阅图片: 这会导致两个主要的可用性问题: 一个我已经在这里问过了 。 仍然没有答案。 另一个是GUI软件中心不会自动检测更新,只有在我做了sudo apt-get update之后才会这样做。 此外,它从GUI更新时“挂起”(我怀疑它正在等待来自终端我可以写但不在GUI中的cryptswap密码)。

使用dpkg安装升级和dist-upgrade软件包

所以我正在使用12.04服务器上的离线包安装,通过使用以下说明检索和搜索其URI来下载包: http : //www.webupd8.org/2009/11/get-list-of-packages-和dependencies.html 我用apt-get upgrade和apt-get dist-upgrade做了这个,然后用dpkg -i安装下载的软件包。 所以过程看起来像这样: 获取URI 将软件包打包到文件夹( upgrade软件包upgrade到/ upgrade并将软件包dist-upgrade到/ dist-upgrade) 运行dpkg -i /upgrade/*.deb然后运行dpkg -i /dist-upgrade/*.deb 我的问题是:这种手动安装更新软件包的方法是否会更新所有内容,给出相同的结果,就好像我只是正常运行apt-get upgrade和apt-get dist-upgrade ? 或者是否存在普通的apt-get命令无法通过这种方式完成的事情?

升级到Ubuntu 17.04后,程序包系统已损坏

将我的Ubuntu升级到17.04后,包系统崩溃了。 当我执行以下任何命令时,我遇到了一些错误。 sudo apt-get –fix-broken install $ sudo apt-get –fix-broken install … … ubuntuone-credentials-common unity-plugin-scopes unity-scope- mediascanner2 unity-webapps-qml url-dispatcher usermetricsservice vbetool vlc-nox Use ‘sudo apt autoremove’ to remove them. The following additional packages will be installed: click-apparmor The following packages will be upgraded: click-apparmor 1 upgraded, 0 newly installed, 0 to remove and 3 not […]

使用未知选项删除损坏的PPA包

我犯了从[PPA] { https://launchpad.net/~jonathonf/+archive/ubuntu/texlive-2016 }安装texlive-2016的错误。 我安装了14.04的默认texlive安装,并尝试在其位置安装texlive 2016。 安装失败,此时我疯狂地尝试删除texlive-2016。 我无法从较新的发行版中删除context 。 dmortens@syllable:~$ sudo dpkg -P context (Reading database … 648524 files and directories currently installed.) Removing context (2016.05.17.20160523-1~ubuntu14.04.1york0) … unknown option: format dpkg: error processing package context (–purge): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: context 我也尝试了sudo apt-get remove context […]

如何扭转’-proposed’渠道包升级?

我有一个带有GNOME 3.18 64位虚拟机的Ubuntu GNOME 16.04,在那个虚拟机中我需要在xenial-proposed频道中进行测试,所以我在software-properties-gtk xenial-proposed激活它,运行sudo apt-get update && sudo apt-get dist-upgrade并安装了xenial-proposed频道的所有升级,因为我找不到方法只是为了升级我需要的软件包。 现在我希望将所有打包升级到他们的xenial-proposed版本降级到他们在稳定/正常渠道中的版本,但是如何实现呢? 我可以使用ppa-purge来做到这一点吗? 如果是这样,怎么样? 如果我只是通过我启用的相同方式禁用xenial-proposed通道,那么一旦版本号高于安装版本,安装和升级到其xenial-proposed版本的打包将开始从稳定/正常通道再次接收更新或者在我再次启用xenial-proposed频道之前,我是否会收到任何更新?

在后台自动更新完成之前阻止Ubuntu关闭

所以有一种情况我在朋友的PC上安装了(x)Ubuntu 14.04。 自动更新设置为“下载和自动安装更新”。 问题是经过几个月的使用后,它会在软件包升级完成之前关闭他的电脑。 这导致破坏的依赖/包(不记得确切的消息),这导致不再内核,应用程序和浏览器更新。 要解决此问题,您需要运行终端命令sudo dpkg –configure -a 多数民众赞成对我而言,但他的情况是爱因斯坦的相对论 是否有可能让Ubuntu等待更新完成PC关机或重启之前像Windows一样确保永远不会有破坏的软件包,同时他的电脑会自动更新?

依赖性错误阻止所有APT命令运行,“程序包libappstream-glib8:amd64尚未配置”

我正在使用Ubuntu 16.04并且在尝试安装新应用程序或更新系统时,我一直收到Sub-process /usr/bin/dpkg returned an error code 。 这似乎正在发生,因为我在更新时意外关闭了计算机。 我是Ubuntu的新手并且一直试图自己解决这个问题,但似乎在我的技术知识之外如何基于阅读类似的错误并且我害怕做更多的伤害。 它似乎与出现的错误有关。 Package libappstream-glib8:amd64 is not configured yet. 阻止其他进程工作。 我认为这可能是一个损坏的软件? 以下是中断更新的日志以及重启笔记本电脑后的更新 Start-Date: 2016-11-30 12:21:58 Commandline: aptdaemon role=’role-commit-packages’ sender=’:1.138′ Install: libhybris:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), linux-headers-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic), libhybris-common1:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), libmedia1:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), snap-confine:amd64 (1.0.43-0ubuntu1~16.04.1, automatic), libhardware2:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), linux-headers-4.4.0-51:amd64 (4.4.0-51.72, automatic), linux-signed-image-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic), linux-image-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic), […]

Update-manager不显示所有更新

自从我升级到13.10后,软件更新程序没有显示所有可用的更新。 有些会出现并且可以安装得很好,但是一旦声称所有软件都是最新的,使用sudo apt-get upgrade表明还有更多的包等待更新。 我可以通过命令行更新它们,但这只能暂时解决问题。 我不确定为什么有些人出现而有些人却没有。 如何使Update Manager更新所有包? Update-manager显示了这个: 但apt-get显示了这一点: 谢谢!