Questions tagged «apt»

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

3
如何安装svn?
我正在尝试安装svn并遇到问题。我正在运行的命令是sudo apt-get install svn。运行此命令时,出现错误“无法找到软件包svn”。为什么是这样?我如何解决它?

4
如何解决:按密钥签名使用弱摘要算法(SHA1)?
我开始通过添加存储库进行设置,然后sudo apt-get update在开始安装其他软件之前又再次运行,并且得到了签名密钥行,并且它停止了。因此,它基本上不允许我现在更新任何软件包。 d@EliteBook:~/Downloads$ sudo apt-get update Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Hit:2 http://dl.google.com/linux/chrome/deb stable Release Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease Get:5 http://ca.archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Hit:6 http://ca.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:7 http://ca.archive.ubuntu.com/ubuntu xenial-backports InRelease Fetched 247 kB in 0s (256 kB/s) Reading package lists... Done W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 …
129 apt 

6
解决apt-get BADSIG GPG错误的最简单方法是什么?
我经常遇到这个问题,并且总是必须通过Google寻求答案。有人可以永久修复BADSIG错误apt-get吗? W:GPG错误:http : //download.virtualbox.org lucid版本:以下签名无效:BADSIG 54422A4B98AB5139 Oracle Corporation(VirtualBox存档签名密钥)
129 apt  gnupg 

4
如何减少apt-get安装的噪音?
如果使用apt-get install -qq mono-devel,根据帮助,我希望它会保持安静,除了错误: -qq No output except for errors 相反,我得到: Extracting templates from packages: 100% Selecting previously unselected package binfmt-support. (Reading database ... 84711 files and directories currently installed.) Unpacking binfmt-support (from .../binfmt-support_2.0.8_i386.deb) ... Selecting previously unselected package cli-common. Unpacking cli-common (from .../cli-common_0.8.2_all.deb) ... Selecting previously unselected package libgdiplus. …
128 apt 

5
如何修复“ W:目标软件包……配置了多次”的错误?
我刚刚安装了Ubuntu Gnome 16.04。我告诉它保存我的文档-可行。必须重新安装某些软件。现在,当我运行时,sudo apt-get update我会看到: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87 W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87 W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in …
126 apt 

4
为什么Ubuntu转向Snappy软件包?
为什么Ubuntu会转储.deb软件包并转移到.snappy软件包?(至少目前,他们保留.deb软件包以进行正态分布)。.deb已经是那里最受欢迎的打包文件。 这样就可以了解Snappy软件包的格式。但是现有的deb软件包会发生什么?迁移到Snappy有明显的优势吗?值得付出痛苦吗?


7
如何使用apt-get安装其他Python版本?
如何使用apt-get安装其他版本的Python? 显然,我意识到我可以使用源代码tar球进行安装,但是我宁愿不要从源代码安装,而要使用软件包管理器,因为这就是它的用途。我可以参考的地方肯定可以为最新的Python版本构建.deb文件(为什么python.org不在我的范围之外)。 我需要做些什么来引用它们,以及在升级到下一版本时可能会产生什么问题? 如果除了从源代码构建以外别无选择,是否可以安装一个(伪)软件包,该软件包将提供所需的所有依赖关系,而不必单独查找和安装每个依赖关系?这样我就不会得到: The necessary bits to build these optional modules were not found: _bz2 _curses _curses_panel _dbm _gdbm _lzma _sqlite3 _ssl _tkinter readline zlib

3
如何获取有关未安装的软件包的详细信息?
如何在不安装软件包的情况下获取有关软件包的某些详细信息(例如,描述和版本号),例如Synaptic或Aptitude。命令 dpkg -s PACKAGE 不起作用,出现此错误。它适用于已安装的软件包 dpkg-query: package 'PACKAGE' is not installed and no information is available
124 apt  dpkg  package-info 

6
跳过获取配置文件“ main / binary-i386 / Packages”作为存储库“ xxx”不支持架构“ i386”
发出以下错误消息: sudo apt-get update Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [95.8 kB] Ign:2 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 InRelease Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease Hit:4 http://ppa.launchpad.net/canonical-x/vulkan/ubuntu xenial InRelease Hit:5 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 Release Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease Ign:7 http://dl.google.com/linux/talkplugin/deb stable InRelease Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease Ign:9 http://linux.dropbox.com/ubuntu wily InRelease Hit:10 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease Get:12 http://dl.google.com/linux/chrome/deb stable Release …


4
E:无法纠正问题,您拿着破损的包裹
我正在使用几天前安装的Ubuntu 13.04。我正在尝试安装nodejs和npm。我尝试先从命令行安装,然后将其卸载。然后出事了。 sudo apt-get install -f nodejs npm 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 …


6
永久删除apache2
看来一个简单的方法apt-get remove apache2并没有完全消除,apache2因为我仍然可以在运行时在其中一个进程中看到它top。如何完全删除apache2其ubuntu服务器上的? 确实没有删除它: ~# which apache2 /usr/sbin/apache2 ~# whereis apache2 apache2: /usr/sbin/apache2 /etc/apache2 /usr/lib/apache2 /usr/share/apache2 /usr/share/man/man8/apache2.8.gz 但是当我再做apt-get remove apache2一次时: # apt-get remove apache2 Reading package lists... Done Building dependency tree Reading state information... Done Package apache2 is not installed, so not removed 0 upgraded, 0 newly installed, 0 to …
109 apt  apache2 

9
如何修复“ E:找不到方法驱动程序/ usr / lib / apt / methods / http。”错误?
我尝试从终端更新软件包,这是我得到的: $ sudo apt-get update E: The method driver /usr/lib/apt/methods/http could not be found. E: The method driver /usr/lib/apt/methods/http could not be found. E: The method driver /usr/lib/apt/methods/http could not be found. E: The method driver /usr/lib/apt/methods/http could not be found. E: The method driver /usr/lib/apt/methods/http could not be found. …
108 apt  updates  sudo 

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.