如何在不使用 Synaptic 或 Keryx 的情况下离线更新 Ubuntu?

twi*_*oid 12 software-center updates package-management

我在家里使用 Ubuntu 12.04,互联网连接良好,我的系统运行良好。

我的一位朋友的办公室很小,他正在考虑从 Windows 切换到 Ubuntu 11.10 或更高版本。问题是他没有互联网连接。

他问我是否有可能在没有 Internet 的情况下安装所有更新。我做了很多搜索,我发现这个问题说使用KeryxSynaptic Manager可以做到这一点。

但是我使用的是 11.04 并且没有 Synaptic 管理器,因此我生成和下载脚本。以其他方式当我尝试安装 keryx(在我必须获取更新的任何全新安装系统或具有 Internet 连接的系统上在此处输入图片说明

它显示我没有python的错误。但我有

在此处输入图片说明

安装这些应用程序不符合依赖项。这里的关键是

  • 我如何在没有互联网的情况下在全新安装的 Ubuntu 上安装更新
  • 我如何安装 ubuntu-restricted-extras

Sep*_*ero 0

您只需将apt-offline或安装apt-offline-gui到没有互联网的机器上即可。

Description-en: offline apt package manager
 apt-offline is an Offline APT Package Manager
 .
 apt-offline can fully update and upgrade an APT based distribution without
 connecting to the network, all of it transparent to apt
 .
 apt-offline can be used to generate a signature on a machine (with no network).
 This signature contains all download information required for the apt database
 system. This signature file can be used on another machine connected to the
 internet (which need not be a Debian box and can even be running windows) to
 download the updates.
 The downloaded data will contain all updates in a format understood by apt and
 this data can be used by apt-offline to update the non-networked machine.
 .
 apt-offline can also fetch bug reports and make them available offline
Run Code Online (Sandbox Code Playgroud)


Ash*_*shu -2

在终端中安装 ubuntu-restricted-extras 类型
sudo apt-get install ubuntu-restricted-extras

要在终端中安装 Python 类型,
sudo apt-get install python
这应该可以解决安装 keryx 时的问题

在这里您可以找到keryx 教程,它以简单的步骤说明了如何完成这项工作。