AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[apt-mirror](ubuntu)

Martin Hope
Peter Nunn
Asked: 2021-08-16 22:57:11 +0800 CST

来自 au.archive.ubuntu.com 的 403

  • 1

有谁知道为什么 au.archive 被破坏了?

我在尝试更新它们的多个系统上得到以下信息,这已经持续了几个小时。我也尝试过 apt clean ,但没有任何乐趣。

  Err:11 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-extra-5.4.0-81-generic amd64 5.4.0-81.91
  403  Forbidden [IP: 202.158.214.106 80]
Get:12 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-generic amd64 5.4.0.81.85 [1,900 B]
Get:13 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-generic amd64 5.4.0.81.85 [2,572 B]
Err:14 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-81 all 5.4.0-81.91
  403  Forbidden [IP: 202.158.214.106 80]
Get:15 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-81-generic amd64 5.4.0-81.91 [1,410 kB]
Get:16 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-generic amd64 5.4.0.81.85 [2,440 B]
Fetched 28.4 MB in 48s (591 kB/s)
E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-modules-extra-5.4.0-81-generic_5.4.0-81.91_amd64.deb  403  Forbidden [IP: 202.158.214.106 80]
E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-5.4.0-81_5.4.0-81.91_all.deb  403  Forbidden [IP: 202.158.214.106 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
apt-mirror
  • 1 个回答
  • 125 Views
Martin Hope
Obs3ssive
Asked: 2020-01-16 00:25:35 +0800 CST

来自现有本地镜像的 Apt-Mirror

  • 2

我正在考虑通过我们的各个安全区域创建一个本地 Apt 镜像链,我想知道这在技术上是否可行,如果可行,可能会出现什么坑?

像这样的东西:

区域 1 -> 公共镜像 - 每日同步 区域 2 -> 区域 1 的镜像 - 每日同步 区域 3 -> 区域 2 的镜像 - 每周同步 客户端接收来自区域 3 的更新

我打算排除所有源和反向端口,并为每个镜像分配 300gb。最初,这仅适用于 18.04 LTS,但可能需要额外的旧版本。

非常感谢任何信息。

干杯,

updates apt apt-mirror
  • 1 个回答
  • 277 Views
Martin Hope
Radcriminal
Asked: 2019-09-15 22:20:39 +0800 CST

apt-mirror 本地网络存储库

  • 0

我有一段网络,无法访问互联网。但是它充满了 Ubuntu 16.04 的 mashines,我必须从这个网络段下载一些标准包,但我不能,因为我没有机会在这个区域上网。所以我使用了 apt-mirror,下载了整个 repos,这在任何 ubuntu 16.04的初始source.list文件中都有说明。它大约500GB。但是,当我尝试安装比“mc”或一些通用软件包更多的东西时,我陷入了依赖地狱。例如,尝试安装“sssd”我收到:

root@ubuntu:~# apt-get install sssd
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 been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
 sssd : Depends: python-sss (= 1.13.4-1ubuntu1.15) but it is not going to be installed
        Depends: sssd-ad (= 1.13.4-1ubuntu1.15) but it is not going to be installed
        Depends: sssd-common (= 1.13.4-1ubuntu1.15) but it is not going to be installed
        Depends: sssd-ipa (= 1.13.4-1ubuntu1.15) but it is not going to be installed
        Depends: sssd-krb5 (= 1.13.4-1ubuntu1.15) but it is not going to be installed
        Depends: sssd-ldap (= 1.13.4-1ubuntu1.15) but it is not going to be installed
        Depends: sssd-proxy (= 1.13.4-1ubuntu1.15) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

但是它是如何工作的,当我从同一个 repo 安装包时,但不是从我的本地电脑上下载,而是从互联网上下载的。这意味着,apt-mirror 不会下载整个 repo 并且遗漏了一些东西。所以,我有两个问题:

  1. 我如何下载整个 repo,它将模拟 repo 在互联网上的工作?
  2. 如果我不能,我如何将包添加到我自己的本地仓库并在某些时候修复依赖关系?

谢谢!

package-management repository localrepository apt-mirror
  • 1 个回答
  • 558 Views
Martin Hope
dcofer
Asked: 2018-11-09 11:46:59 +0800 CST

本地 apt-mirror 找不到包

  • 0

我正在尝试在本地服务器上设置 Ubuntu 软件包的镜像,以便在长时间不连接到 Internet 的本地网络上使用。我遵循了一些站点的说明,主要是这个站点,它显示了如何使用 apt-mirror 来执行此操作。我相信我的服务器设置正确。它下载了 Gb 的数据并表示成功。然后我设置了一个 nginx 服务器,我可以使用我的 ip 地址访问该站点并查看文件夹以及 dists 和 pool 文件夹。dists 包含其中的仿生文件夹。然后,我修改了客户端计算机上的 /etc/apt/sources.list 文件,并将其更改为指向我的服务器的 IP 地址,而不是 ubuntu 存档站点。这是它现在的样子:

# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://192.168.10.118/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://192.168.10.118/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://192.168.10.118/ubuntu/ bionic universe
deb http://192.168.10.118/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://192.168.10.118/ubuntu/ bionic multiverse
deb http://192.168.10.118/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://192.168.10.118/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://192.168.10.118/ubuntu bionic-security main restricted
deb http://192.168.10.118/ubuntu bionic-security universe
deb http://192.168.10.118/ubuntu bionic-security multiverse

我还在下载之前修改了 mirror.list 文件以拉取仿生,并且在我的 dists 文件夹中仿生在那里并且充满了包。然后我运行 sudo apt-get update 并得到以下输出:

sudo apt-get update
Get:1 http://192.168.10.118/ubuntu bionic InRelease [242 kB]                   
Get:2 http://192.168.10.118/ubuntu bionic-updates InRelease [88.7 kB]          
Get:3 http://192.168.10.118/ubuntu bionic-backports InRelease [74.6 kB]        
Get:4 http://192.168.10.118/ubuntu bionic-security InRelease [83.2 kB]         
Ign:5 http://192.168.10.118/ubuntu bionic/main i386 Packages                   
Get:6 http://192.168.10.118/ubuntu bionic/main amd64 Packages [1,019 kB]       
Get:7 http://192.168.10.118/ubuntu bionic/main Translation-en [516 kB]         
Get:8 http://192.168.10.118/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]  
Get:9 http://192.168.10.118/ubuntu bionic/main DEP-11 48x48 Icons [118 kB]     
Get:10 http://192.168.10.118/ubuntu bionic/main DEP-11 64x64 Icons [245 kB]    
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Hit:14 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease         
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Ign:33 http://dl.google.com/linux/chrome/deb stable InRelease                  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Get:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages [9,156 B]  
Ign:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages            
Ign:43 http://192.168.10.118/ubuntu bionic/universe i386 Packages              
Ign:44 http://192.168.10.118/ubuntu bionic/multiverse i386 Packages            
Ign:5 http://192.168.10.118/ubuntu bionic/main i386 Packages                   
Ign:45 http://192.168.10.118/ubuntu bionic-updates/main i386 Packages          
Ign:46 http://192.168.10.118/ubuntu bionic-updates/restricted i386 Packages    
Ign:47 http://192.168.10.118/ubuntu bionic-updates/universe i386 Packages      
Ign:48 http://192.168.10.118/ubuntu bionic-updates/multiverse i386 Packages    
Get:49 http://dl.google.com/linux/chrome/deb stable Release [943 B]            
Get:50 http://192.168.10.118/ubuntu bionic-backports/universe amd64 Packages [2,852 B]
Get:50 http://192.168.10.118/ubuntu bionic-backports/universe amd64 Packages [2,852 B]
Get:50 http://192.168.10.118/ubuntu bionic-backports/universe amd64 Packages [2,852 B]
Get:50 http://192.168.10.118/ubuntu bionic-backports/universe amd64 Packages [2,852 B]
Get:50 http://192.168.10.118/ubuntu bionic-backports/universe amd64 Packages [2,852 B]
Ign:50 http://192.168.10.118/ubuntu bionic-backports/universe amd64 Packages   
Ign:56 http://192.168.10.118/ubuntu bionic-backports/universe i386 Packages    
Ign:57 http://192.168.10.118/ubuntu bionic-backports/universe Translation-en   
Get:58 http://192.168.10.118/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,104 B]
Get:58 http://192.168.10.118/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,104 B]
Get:58 http://192.168.10.118/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,104 B]
Get:58 http://192.168.10.118/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,104 B]
Get:58 http://192.168.10.118/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,104 B]
Get:58 http://192.168.10.118/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,104 B]
Get:58 http://192.168.10.118/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,104 B]
Ign:58 http://192.168.10.118/ubuntu bionic-backports/universe amd64 DEP-11 Metadata
Ign:66 http://192.168.10.118/ubuntu bionic-backports/universe DEP-11 48x48 Icons
Ign:67 http://192.168.10.118/ubuntu bionic-backports/universe DEP-11 64x64 Icons
Ign:68 http://192.168.10.118/ubuntu bionic-security/main i386 Packages       
Ign:69 http://192.168.10.118/ubuntu bionic-security/universe i386 Packages   
Ign:70 http://192.168.10.118/ubuntu bionic-security/multiverse i386 Packages
Ign:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages      
Ign:43 http://192.168.10.118/ubuntu bionic/universe i386 Packages        
Ign:44 http://192.168.10.118/ubuntu bionic/multiverse i386 Packages      
Ign:5 http://192.168.10.118/ubuntu bionic/main i386 Packages             
Ign:45 http://192.168.10.118/ubuntu bionic-updates/main i386 Packages    
Ign:46 http://192.168.10.118/ubuntu bionic-updates/restricted i386 Packages
Ign:47 http://192.168.10.118/ubuntu bionic-updates/universe i386 Packages
Ign:48 http://192.168.10.118/ubuntu bionic-updates/multiverse i386 Packages
Get:71 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]  
Ign:50 http://192.168.10.118/ubuntu bionic-backports/universe amd64 Packages   
Ign:56 http://192.168.10.118/ubuntu bionic-backports/universe i386 Packages    
Ign:57 http://192.168.10.118/ubuntu bionic-backports/universe Translation-en
Ign:58 http://192.168.10.118/ubuntu bionic-backports/universe amd64 DEP-11 Metadata
Ign:66 http://192.168.10.118/ubuntu bionic-backports/universe DEP-11 48x48 Icons
Ign:67 http://192.168.10.118/ubuntu bionic-backports/universe DEP-11 64x64 Icons
Ign:68 http://192.168.10.118/ubuntu bionic-security/main i386 Packages         
Ign:69 http://192.168.10.118/ubuntu bionic-security/universe i386 Packages     
Ign:70 http://192.168.10.118/ubuntu bionic-security/multiverse i386 Packages   
Ign:11 http://192.168.10.118/ubuntu bionic/restricted i386 Packages            
Ign:43 http://192.168.10.118/ubuntu bionic/universe i386 Packages              
Ign:44 http://192.168.10.118/ubuntu bionic/multiverse i386 Packages         
Err:5 http://192.168.10.118/ubuntu bionic/main i386 Packages                
404  Not Found [IP: 192.168.10.118 80]
Ign:45 http://192.168.10.118/ubuntu bionic-updates/main i386 Packages       
Ign:46 http://192.168.10.118/ubuntu bionic-updates/restricted i386 Packages
Ign:47 http://192.168.10.118/ubuntu bionic-updates/universe i386 Packages
Ign:48 http://192.168.10.118/ubuntu bionic-updates/multiverse i386 Packages
Ign:50 http://192.168.10.118/ubuntu bionic-backports/universe amd64 Packages
Ign:56 http://192.168.10.118/ubuntu bionic-backports/universe i386 Packages
Ign:57 http://192.168.10.118/ubuntu bionic-backports/universe Translation-en
Ign:58 http://192.168.10.118/ubuntu bionic-backports/universe amd64 DEP-11 Metadata
Err:66 http://192.168.10.118/ubuntu bionic-backports/universe DEP-11 48x48 Icons
404  Not Found [IP: 192.168.10.118 80]
Ign:67 http://192.168.10.118/ubuntu bionic-backports/universe DEP-11 64x64 Icons
Ign:68 http://192.168.10.118/ubuntu bionic-security/main i386 Packages      
Ign:69 http://192.168.10.118/ubuntu bionic-security/universe i386 Packages  
Ign:70 http://192.168.10.118/ubuntu bionic-security/multiverse i386 Packages
Err:45 http://192.168.10.118/ubuntu bionic-updates/main i386 Packages       
404  Not Found [IP: 192.168.10.118 80]
Ign:46 http://192.168.10.118/ubuntu bionic-updates/restricted i386 Packages 
Ign:47 http://192.168.10.118/ubuntu bionic-updates/universe i386 Packages   
Ign:48 http://192.168.10.118/ubuntu bionic-updates/multiverse i386 Packages 
Ign:50 http://192.168.10.118/ubuntu bionic-backports/universe amd64 Packages
Ign:56 http://192.168.10.118/ubuntu bionic-backports/universe i386 Packages 
Err:68 http://192.168.10.118/ubuntu bionic-security/main i386 Packages      
404  Not Found [IP: 192.168.10.118 80]
Ign:69 http://192.168.10.118/ubuntu bionic-security/universe i386 Packages  
Ign:70 http://192.168.10.118/ubuntu bionic-security/multiverse i386 Packages
Reading package lists... Done                                                  
E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

所以它在镜子里寻找包裹。我有点担心 Ign:XX。我不确定这是否意味着它忽略了它?当我去实际尝试安装一些基本的东西时,比如 git 它失败了。

sudo apt-get install git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package git is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'git' has no installation candidate


sudo apt-get install git-gui
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package git-gui

我已经尝试安装一些基本软件包,但到目前为止,我总是收到相同的消息,说找不到它。有没有人对这里可能出现的问题有任何想法,或者我可以尝试找出如何解决这个问题?

apt apt-mirror
  • 1 个回答
  • 4311 Views
Martin Hope
EnterUserNameHere
Asked: 2018-09-07 03:35:40 +0800 CST

将 PPA 添加到本地存储库

  • 0

我正在使用 apt-mirror 来维护一个本地存储库,我的 Ubuntu 服务器可以从中更新。我需要将 2 个 PPA 添加到我的本地存储库中。通常在 /etc/apt/mirror.list 我会使用这个语法:

deb-amd64 http://us.archive.ubuntu.com/ubuntu xenial main restricted universe multiverse

我正在寻找将 PPA 添加到我的 mirror.list 文件的正确语法。特别是我正在添加 Landscape 18.03 和 SecurityOnion PPA。

ppa landscape apt-mirror
  • 1 个回答
  • 437 Views
Martin Hope
Soo
Asked: 2018-05-23 01:26:55 +0800 CST

使用 apt-mirror 创建本地仓库时出错

  • 2

我想为 Ubuntu 18.04 和 16.04 创建一个本地存储库。我只对下载 64 位软件包感兴趣。我正在使用“apt-mirror”将软件包下载到硬盘上。

我在“mirror.lst”中使用以下内容

deb [arch=amd64] http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb [arch=amd64] http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu bionic-proposed main restricted universe multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse

使用“sudo apt-mirror”时出现以下错误

Downloading 380 index files using 40 threads...
Begin time: Tue May 22 12:09:11 2018
[40]... [39]... [38]... [37]... [36]... [35]... [34]... [33]... [32]... [31]... [30]... [29]... [28]... [27]... [26]... [25]... [24]... [23]... [22]... [21]... [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Tue May 22 12:09:26 2018

Processing translation indexes: [TTTTTTTTTT]

Downloading 453 translation files using 40 threads...
Begin time: Tue May 22 12:09:26 2018
[40]... [39]... [38]... [37]... [36]... [35]... [34]... [33]... [32]... [31]... [30]... [29]... [28]... [27]... [26]... [25]... [24]... [23]... [22]... [21]... [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Tue May 22 12:10:03 2018

Processing DEP-11 indexes: [DDDDDDDDDD]

Downloading 144 dep11 files using 40 threads...
Begin time: Tue May 22 12:10:03 2018
[40]... [39]... [38]... [37]... [36]... [35]... [34]... [33]... [32]... [31]... [30]... [29]... [28]... [27]... [26]... [25]... [24]... [23]... [22]... [21]... [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Tue May 22 12:13:42 2018

Processing indexes: [P
gzip: stdin: not in gzip format

gzip: stdin: not in gzip format

gzip: stdin: not in gzip format

gzip: stdin: not in gzip format
PPPPP
gzip: stdin: not in gzip format

gzip: stdin: not in gzip format

gzip: stdin: not in gzip format

gzip: stdin: not in gzip format
PPPP
gzip: stdin: not in gzip format

gzip: stdin: not in gzip format

gzip: stdin: not in gzip format

gzip: stdin: not in gzip format
]

26.9 GiB will be downloaded into archive.
Downloading 5640 archive files using 40 threads...
Begin time: Tue May 22 12:13:43 2018
[40]... [39]... [38]... [37]... [36]... [35]... [34]... [33]... [32]... [31]... [30]... [29]... [28]... [27]... [26]... [25]... [24]... [23]... [22]... [21]... [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... 


[0]... 
End time: Tue May 22 12:58:01 2018

我反复尝试了很多次,每次都得到同样的错误。

下载也很慢(尽管我的互联网连接很快)。是否有任何选项可以从多个镜像同时下载软件包?也请让我知道克服错误的任何解决方案!

apt localrepository apt-mirror
  • 3 个回答
  • 599 Views
Martin Hope
Jacob Evans
Asked: 2018-05-09 08:51:08 +0800 CST

如何防止 apt-mirror 下载所有软件包

  • 2

我正在尝试配置 apt-mirror,它适用于 ubuntu 上游,但是当我将它用于 GitLab 之类的东西时,它会下载所有软件包版本。

比如 gitlab-ce 是 72GB,每个版本都在 300MB 以下。我怎样才能只保留最新的甚至最后的 1 或 2 个包,而不是 459?

package-management mirrors apt-mirror
  • 1 个回答
  • 3280 Views
Martin Hope
CatMan
Asked: 2018-05-05 06:37:28 +0800 CST

apt-mirror关键问题

  • 2

在使用 apt-mirror 下载 PPA 之前,我需要在我的密钥环中安装 PPA GPG 密钥,例如使用命令

 add-apt-repository ppa:something/ppa

在此之后(并编辑 mirror.list)apt-mirror 将 PPA 文件下载到本地存储库。Apt-mirror 似乎没有将密钥包含在本地存档中。

直接从 lokal(镜像)存储库安装时是否还需要 PPA 密钥?

software-installation apt-mirror offline pgp
  • 1 个回答
  • 1096 Views
Martin Hope
CatMan
Asked: 2017-02-15 17:40:43 +0800 CST

查找 apt-mirror 的版本 [重复]

  • 0
这个问题在这里已经有了答案:
如何从命令行获取应用程序的版本? (4 个回答)
5年前关闭。

在几篇文章中,我读到了有关 apt-mirror 特定版本的问题。

我如何找到版本?我在手册页中没有看到任何内容,它没有命令行选项,也没有 --help。

apt-mirror
  • 1 个回答
  • 948 Views
Martin Hope
Johan Karlsson
Asked: 2014-09-05 23:50:57 +0800 CST

由于索引文件损坏,恢复 apt-mirror 失败

  • 2

突然终止后我apt-mirror无法恢复(我的 VPN 连接已终止)。

我收到一条错误消息,指出某些apt-mirror文件已损坏。也许是索引文件?我试图删除所有下载的文件,但这不起作用。

错误输出如下所示:

$ sudo apt-mirror
Downloading 24 index files using 5 threads...
Begin time: Fri Sep  5 09:36:09 2014
[5]... [4]... [3]... [2]... [1]... [0]... 
End time: Fri Sep  5 09:36:09 2014

Proceed indexes: [P
gzip: stdin: not in gzip format
P
gzip: stdin: not in gzip format
P
gzip: stdin: not in gzip format
P
gzip: stdin: not in gzip format
]

0.0 bytes will be downloaded into archive.
Downloading 0 archive files using 0 threads...

我在网上找到了一些答案,但没有一个有帮助。我想知道这些 gzip 文件存储在哪里。然后应该可以删除它们并重新启动 apt-mirror 东西。

apt-mirror
  • 3 个回答
  • 2518 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

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

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve