什么是apt文件更新?

用户名

我遵循了这些说明,并且已经apt-file使用以下软件安装了其他软件包:

sudo apt-get install gnupg pbuilder ubuntu-dev-tools bzr-builddeb apt-file

现在,每次我启动计算机时,都会收到以下通知:

apt-file更新需要通知

所以我终于进入终端并输入命令:

apt-file update

我得到了以下输出:

apt-file is now using the user's cache directory.
If you want to switch back to the system-wide cache directory,
 run 'apt-file purge'
Downloading complete file http://gb.archive.ubuntu.com/ubuntu/dists/utopic/Contents-amd64.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 94 29.6M   94 27.8M    0     0   667k      0  0:00:45  0:00:42  0:00:03 97 29.6M   97 28.8M    0     0   677k      0  0:00:44  0:00:43  0:00:01 99 29.6M   99 29.5M    0     0   678k      0  0:00:44  0:00:44 --:--:--100 29.6M  100 29.6M    0     0   678k      0  0:00:44  0:00:44 --:--:--  738k
Downloading complete file http://gb.archive.ubuntu.com/ubuntu/dists/utopic-updates/Contents-amd64.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-- 11 3134k   11  367k    0     0   480k      0  0:00:06 --:--:--  0:00:06 35 3134k   35 1101k    0     0   623k      0  0:00:05  0:00:01  0:00:04 53 3134k   53 1685k    0     0   609k      0  0:00:05  0:00:02  0:00:03 75 3134k   75 2373k    0     0   630k      0  0:00:04  0:00:03  0:00:01 99 3134k   99 3105k    0     0   651k      0  0:00:04  0:00:04 --:--:--100 3134k  100 3134k    0     0   652k      0  0:00:04  0:00:04 --:--:--  684k
Downloading Index http://gb.archive.ubuntu.com/ubuntu/dists/utopic/Contents-amd64.diff/Index:
No Index available.
Downloading complete file http://gb.archive.ubuntu.com/ubuntu/dists/utopic/Contents-amd64.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
File is up-to-date.
Downloading Index http://gb.archive.ubuntu.com/ubuntu/dists/utopic-updates/Contents-amd64.diff/Index:
No Index available.
Downloading complete file http://gb.archive.ubuntu.com/ubuntu/dists/utopic-updates/Contents-amd64.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
File is up-to-date.
Downloading complete file http://gb.archive.ubuntu.com/ubuntu/dists/utopic-backports/Contents-amd64.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--100  121k  100  121k    0     0   189k      0 --:--:-- --:--:-- --:--:--  189k
Downloading complete file http://security.ubuntu.com/ubuntu/dists/utopic-security/Contents-amd64.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-- 17 2546k   17  452k    0     0   454k      0  0:00:05 --:--:--  0:00:05 46 2546k   46 1185k    0     0   593k      0  0:00:04  0:00:01  0:00:03 75 2546k   75 1918k    0     0   640k      0  0:00:03  0:00:02  0:00:01100 2546k  100 2546k    0     0   660k      0  0:00:03  0:00:03 --:--:--  660k
Downloading Index http://security.ubuntu.com/ubuntu/dists/utopic-security/Contents-amd64.diff/Index:
No Index available.
Downloading complete file http://security.ubuntu.com/ubuntu/dists/utopic-security/Contents-amd64.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
File is up-to-date.
Ignoring source without Contents File:
  http://extras.ubuntu.com/ubuntu/dists/utopic/Contents-amd64.gz
Ignoring source without Contents File:
  http://dl.google.com/linux/chrome/deb/dists/stable/Contents-amd64.gz

所以我看到它说:

apt-file is now using the user's cache directory.
If you want to switch back to the system-wide cache directory,
 run 'apt-file purge'

那到底是apt-file什么呢?现在它正在使用用户的缓存目录,这意味着什么?这是一件好事吗?用户的缓存目录和系统范围的缓存目录之间有什么区别,我应该使用哪一个?这对我的apt-get消息来源有什么影响吗?


操作系统信息:

Description:    Ubuntu 14.10
Release:    14.10

包装信息:

apt-file:
  Installed: 2.5.2.3ubuntu1
  Candidate: 2.5.2.3ubuntu1
  Version table:
 *** 2.5.2.3ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
        100 /var/lib/dpkg/status
muru
  • apt-file用于搜索哪​​个包提供文件。可以将其视为http://packages.ubuntu.com的离线版本和受限制的版本
  • 既然你用apt-file update不用sudo,也不能使用全系统目录(通常/var/cache/apt/apt-file),而是使用一个目录在你的家(~/.cache/apt-file)。
  • 其他用户的搜索无法使用您用户的缓存。
  • 如果您是唯一的用户,那么apt-file只要您对使用sudo(或不使用)保持一致,使用哪个缓存就没有关系
  • apt-getapt-file共享资源,但互不影响。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Android:什么是.APT文件

备份apt更新下载的文件

apt获取更新缺少的发行文件

软件更新程序-什么是“文件”?

为什么要让此输出进行apt更新?

为什么sudo apt-get更新不是自动的?

为什么APT想要升级已经更新的软件包?

为什么我无法进行“ sudo apt-get更新”?

apt-get更新和升级有什么区别?

哪个文件或目录对“ apt-get更新”有影响

更新 apt 时,存储库确实已发布文件错误

apt-get更新失败(找不到文件)

延伸apt更新失败,镜像上缺少InRelease文件

apt更新始终会覆盖旧的配置文件

apt更新实际在哪个文件上工作?

apt更新有两个失败的索引文件,我在网上找不到有关该做什么的信息

apt文件与apt缓存

使用户使用“ apt更新”然后“ apt Upgrade”的好处是什么?

.sh文件以进行apt-get更新/ apt-get升级

为什么 /var/cache/apt/archives/ 中有 deb 文件?

为什么/ var / cache / apt / archives不断删除文件?

为什么目录权限阻止使用文件的“ sudo apt安装”?

apt-get upgrade阻止内核更新。在Debian 9上应用更新的官方说明是什么?

为什么Software Updater说没有可用的更新,但apt-get upgrade显示可用的更新?

为什么不更新文件?

是什么阻止我的XML文件更新?

为什么在更新特定文件时webpack --watch无法更新

sudo apt-get更新错误:E:分割文件/var/lib/apt/lists/si.archive.ubuntu.com

删除原始文件后,为什么不apt-get安装回原始文件?