Tag: apt

“sudo apt-get update”有什么作用?

我想知道什么是sudo apt-get update吗? 什么更新?

如何恢复配置文件?

我想将LightDM恢复到默认状态,因为出于某种原因 /etc/lightdm/unity-greeter.conf现在是一个空文件。 删除/etc/lightdm/unity-greeter.conf然后运行sudo apt-get install –reinstall unity-greeter不会像您期望的那样创建新的配置文件。 如何恢复丢失的配置文件?

E:在apt-get update期间执行脚本APT Update :: Post-Invoke-Success错误时出现问题

我无法安装任何包。 似乎必须运行命令apt-get update但它会抛出一些错误: $ sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Hit:2 http://ve.archive.ubuntu.com/ubuntu xenial InRelease Hit:3 http://ve.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:4 http://ve.archive.ubuntu.com/ubuntu xenial-backports InRelease Fetched 102 kB in 23s (4337 B/s) *** Error in `appstreamcli’: double free or corruption (fasttop): 0x000000000210f4b0 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fac8d8317e5] […] Aborted (core dumped) Reading package lists… Done […]

没有更多Google Chrome 32位更新

我使用的是谷歌Chrome 48.0 32位。 今天,当我推出Google Chrome时,我收到了以下消息: This computer will soon stop receiving Google Chrome updates because this Linux system will no longer be supported 我认为Ubuntu 14.04已经支持了五年,这到底发生了什么? 在64位Ubuntu上,我从Update Manager和apt-get update收到错误: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry ‘main/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file) Some index files failed to download. They have […]

无法锁定管理目录(/ var / lib / dpkg /)是另一个使用它的进程吗?

尝试使用apt-get时出现此错误: E: Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? 我怎样才能解决这个问题?

“以下方案已被保留:”为什么以及如何解决?

我刚刚为GIMP的开发版本添加了一个PPA存储库,但是我收到了这个错误: $ apt-get update && apt-get upgrade … The following packages have been kept back: gimp gimp-data libgegl-0.0-0 libgimp2.0 为什么以及如何解决它以便我可以使用最新版本而不是现在的版本?

PPA如何被删除?

我使用add-apt-repository命令添加了许多PPA。 有没有一种简单的方法来删除这些PPA? 我已经在/etc/apt/sources.list检查了相应的deb行,但它们不存在。 这是在服务器系统上,所以命令行解决方案会很棒!

Apt / Synaptic需要重新安装软件包,但无法找到它的存档

运行Synaptic我收到以下错误消息: E: The package hl1440lpr needs to be reinstalled, but I can’t find an archive for it. E: Internal error opening cache (1). Please report. 收到消息后,Synaptic退出。

如何修复“W:Duplicate sources.list entry”?

每当我尝试运行sudo apt-get update时,我都会收到此警告。 W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages) W: You may want to run apt-get update to correct these problems 以下是/etc/apt/sources.list文件的输出: deb http://archive.ubuntu.com/ubuntu precise main restricted deb-src http://archive.ubuntu.com/ubuntu precise main restricted deb http://archive.ubuntu.com/ubuntu precise-updates main restricted deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted deb http://archive.ubuntu.com/ubuntu precise universe deb-src http://archive.ubuntu.com/ubuntu precise universe deb http://archive.ubuntu.com/ubuntu […]

dpkg错误:“试图覆盖文件,这也是……”

例如: $ sudo apt-get install curl Reading package lists… Done Building dependency tree Reading state information… Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: bsh : Depends: libjline-java but it is not going to be installed groovy : Depends: libjline-java but it is not going […]