Tag: apt

dpkg:错误:无法扫描更新目录`/ var / lib / dpkg / updates /’

我想在ubuntu中安装一个软件包但每次运行./configure命令时都会给我这个错误: E: Cannot get debconf version. Is debconf installed? debconf: apt-extracttemplates failed: No such file or directory Extracting templates from packages: 35%E: Cannot get debconf version. Is debconf installed? debconf: apt-extracttemplates failed: No such file or directory Extracting templates from packages: 70%E: Cannot get debconf version. Is debconf installed? debconf: apt-extracttemplates failed: No such file […]

我该如何降级谷歌浏览器?

据推测,更新后,谷歌浏览器在页面渲染方面存在非常严重的问题。 我想降级它。 (切换到vmlinuz.old和initrd.img.old没有帮助)。 $ apt-cache policy google-chrome-stable google-chrome-stable: Installed: 35.0.1916.153-1 Candidate: 35.0.1916.153-1 Version table: *** 35.0.1916.153-1 0 500 http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages 100 /var/lib/dpkg/status 在谷歌浏览器工作正常的计算机上: $ apt-cache policy google-chrome-stable google-chrome-stable: Installed: 34.0.1847.132-1 Candidate: 35.0.1916.153-1 Version table: 35.0.1916.153-1 0 500 http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages *** 34.0.1847.132-1 0 100 /var/lib/dpkg/status (如果我在第二台计算机上安装了.deb,一切都会变得更容易。但是没有.deb。谷歌网站上没有旧的.deb。) 所以我尝试: $ sudo aptitude install google-chrome-stable=34.0.1847.132-1 […]

处理Linux内核包时遇到错误

Ubuntu服务器14.04。 apt-get upgrade和apt-get autoremove以及其他以错误结束: Errors were encountered while processing: linux-image-extra-3.13.0-96-generic linux-image-extra-3.19.0-64-generic linux-image-extra-3.19.0-65-generic linux-image-extra-3.19.0-66-generic linux-image-extra-3.19.0-68-generic 它阻止我升级到16.04我已经尝试了许多建议,但没有任何帮助 有谁有想法吗? 这是完整的输出: $ sudo apt-get autoremove [sudo] password for drousar: Reading package lists… Done Building dependency tree Reading state information… Done The following packages will be REMOVED: linux-image-extra-3.13.0-96-generic linux-image-extra-3.19.0-64-generic linux-image-extra-3.19.0-65-generic linux-image-extra-3.19.0-66-generic linux-image-extra-3.19.0-68-generic 0 upgraded, 0 newly installed, 5 to remove […]

为什么我的apt-get更新如此大?

可能重复: apt-get更新列表的大小太大了 在干净安装12.04(Release Candidate)并接受所有更新和升级到今天之后,我发现sudo apt-get update总是获取MB范围内的信息,大约12 MB,而sudo apt-get upgrade主要没有任何东西可以下载。 我看到的三个最大的东西是: http://archive.ubuntu.com precise/universe Sources [5,019 kB] http://archive.ubuntu.com precise/main i386 Packages [1,274 KB] http://archive.ubuntu.com precise/universe i386 Packages [4,796 KB] 我很确定sudo apt-get update提取不是11.10那么大,甚至很少超过1 MB。 我的问题是:这些大型提取仅仅因为12.04是最近的还是这些大型更新是常态? 编辑:为了回应迈克的回答,我发布了几个屏幕截图: 第二次编辑:我包括我现在的/etc/apt/sources.list 。 这是在我取消之前在“其他软件”图像中勾选的“源代码”条目之后。 # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ – Beta i386 (20120421)]/ precise main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how […]

更新时“无法获取”

我最近试图从ubuntu 12.10更新,但我不断收到“无法获取”错误。 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/Release Unable to find expected entry ‘independent/binary-amd64/Packages’ in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/Release Unable to find expected entry ‘independent/source/Sources’ in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/Release Unable to find expected entry ‘independent/binary-amd64/Packages’ in Release […]

从14.04升级Ubuntu 16.04.1,不显示桌面

我刚刚将我们的机器从Ubuntu 14.04升级到Ubuntu 16.04.1。 升级后,桌面将不再打开。 我刚到黑屏。 此外,当我尝试运行sudo apt后跟任何东西时,我收到以下错误: apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0: symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference 任何帮助都非常感谢。 谢谢。

强制删除不需要的linux-image-extra *包

总而言之,我遇到了一些我想要摆脱的不需要的,半配置的图像包: $ dpkg -l |grep linux-im iF linux-image-3.13.0-100-generic 3.13.0-100.147 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP iF linux-image-3.13.0-101-generic 3.13.0-101.148 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP iF linux-image-3.13.0-92-generic 3.13.0-92.139 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP iF linux-image-3.13.0-93-generic 3.13.0-93.140 i386 […]

Wine 1.7不能安装在Xubuntu 15.10上

因此,在昨天安装Xubuntu之后,我尝试使用ppa:ubuntu-wine / ppa安装Wine 1.7。 但是,在做了sudo apt-get install wine1.7 ,它一直给我这个错误: 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 using the unstable distribution that some required packages have not yet been created or been […]

E:需要重新安装软件包,但我找不到它的存档

我尝试使用更新管理器时不断收到此错误消息: E: The package thunderbird needs to be reinstalled, but I can’t find an archive for it. 此错误减慢了我的计算机速度,并且不允许我使用Ubuntu软件中心。

如何在Ubuntu 16.04 LTS中安装Deepin桌面环境?

我想在我的Ubuntu Xenial上安装Deepin桌面环境。 任何人都可以逐步介绍要添加的存储库以及如何安装吗? 我找不到有关如何在Xenial上执行此操作的任何综合教程。 提前致谢!