Questions tagged «apt»

Advanced Packaging Tool,基于Debian的发行版的软件包管理器。它也是在Ubuntu中安装软件包的最常用工具。有关使用任何apt工具的问题,应使用此标记。



6
错误::您必须在sources.list中放入一些“源” URI
我正在尝试在ubuntu上安装PIL python模块 我首先需要使用以下命令安装名为python-imaging的软件包 sudo apt-get build-dep python-imaging 当我尝试执行此操作时,出现错误 E: You must put some 'source' URIs in your sources.list 我看到了这个问题,虽然显示了如何通过GUI进行修复,但是我正在使用命令行。有谁知道我该如何解决这个错误。 更新:根据以下答案,我已经更新了我的包裹清单,但是现在出现此错误。不知道它是否相关,否则,我将开始一个新问题,因为我无法在任何地方找到对该错误的引用。 E: Build-Depends dependency for python-imaging cannot be satisfied because candidate version of package python-all-dev can't satisfy version requirements
107 apt 

7
谷歌浏览器32位无更多更新
我正在使用32位Google Chrome 48.0。今天,当我启动谷歌浏览器时,收到以下消息: 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 …


10
如何创建本地APT存储库?
我想在我的LAN上建立自己的本地存储库,以便LAN上的计算机可以对其进行更新和升级。我想下载软件包并将其存储在我的本地服务器上,这样我就可以在不使用互联网的情况下从中进行更新,升级,安装等。
103 apt  repository 

3
apt-get安装vs pip安装
对于下载python软件包时必须使用上述命令的情况,我有些困惑。我试图根据这个问题的答案下载名为pyudev的软件包。我执行了以下命令: sudo pip install python-pyudev 但收到以下消息: Downloading/unpacking python-pyudev Could not find any downloads that satisfy the requirement python-pyudev Cleaning up... No distributions at all found for python-pyudev Storing complete log in /home/vineet/.pip/pip.log 但是以下工作正常: sudo apt-get install python-pyudev 什么时候apt-get应该用来安装软件包python-pip?什么时候应该使用?

2
如何使用apt安装最新版本的Git?
我读到有关Git的安全漏洞的信息,该漏洞已在2.2.1版中修复。我的系统上目前有Git 2.1.0(Ubuntu 14.10),并尝试使用apt重新安装它。但是,apt告诉我,我当前拥有最新版本。 Git网站没有针对Linux的预构建版本。他们说您可以使用软件包管理器进行安装。如果不从源代码构建,我将如何安装最新版本的Git?

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

5
安装软件包时“ debconf:DbDriver config”:config.dat被另一个进程锁定:资源暂时不可用”
我正在尝试安装,flashybrid但是当我输入apt-get install flashybrid命令时,出现此错误: root@user-desktop:/home/user# apt-get install flashybrid Reading package lists... Done Building dependency tree Reading state information... Done flashybrid is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space …
93 apt  debconf 


12
apt-get更新无法获取文件,“临时故障正在解决...”错误
Err http://archive.canonical.com natty InRelease Err http://security.ubuntu.com oneiric-security InRelease Err http://extras.ubuntu.com natty InRelease Err http://security.ubuntu.com oneiric-security Release.gpg Temporary failure resolving ‘security.ubuntu.com’ Err http://archive.canonical.com natty Release.gpg Temporary failure resolving ‘archive.canonical.com’ Err http://extras.ubuntu.com natty Release.gpg Temporary failure resolving ‘extras.ubuntu.com’ Err http://gb.archive.ubuntu.com oneiric InRelease Err http://gb.archive.ubuntu.com oneiric-updates InRelease Err http://gb.archive.ubuntu.com natty-backports InRelease Err http://gb.archive.ubuntu.com …
91 apt 

9
以下签名无效:EXPKEYSIG 1397BC53640DB551
这是问题952287:[用户反馈-稳定]由于GPG签名密钥过期,Chrome for Linux的报告无法安装/更新 今天,apt在我所有的计算机上运行都会导致Google PPA出现此错误(用于google-chrome): me@mymachine:~$ sudo apt clean && sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt autoclean -y && sudo snap refresh [sudo] password for me: Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Hit:2 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease Hit:3 http://dl.google.com/linux/chrome/deb stable Release Hit:4 http://archive.ubuntu.com/ubuntu …

1
“ apt-get clean”和“ apt-get clean all”有何区别?
该命令之间的区别是什么(如果有的话): sudo apt-get clean 而这个命令: sudo apt-get clean all 在我的Lubuntu 12.04系统上,模拟这些命令可以发现它们的行为完全相同: ek@Apok:~$ apt-get -s clean NOTE: This is only a simulation! apt-get needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Del /var/cache/apt/archives/* /var/cache/apt/archives/partial/* …
90 command-line  apt 

9
“ GPG错误:发布:以下签名无效:BADSIG”
我在终端中运行了以下命令: sudo apt-get update 更新以以下错误报告结束: W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com> W: GPG error: http://ppa.launchpad.net precise …
88 apt 

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.