Questions tagged [apt-mirror]

APT sources mirroring tool

Filter by
Sorted by
Tagged with
0 votes
1 answer
140 views

apt mirror:// ubuntu-ports

I am trying to configure my sources.list using the mirror:// method on ubuntu arm64: mirror://mirrors.ubuntu.com/mirrors.txt only works for amd64 but not arm. Any equivalent of this for arm64?
sudoer's user avatar
  • 82
0 votes
0 answers
109 views

Issues with apt-mirror server and dependencies during apt installs

I have setup an offline apt-mirror of ubuntu 18.04 (this will eventually be upgraded to 20.04 or 22.04 but I still have need of 18.04 for a while). On some ubuntu boxes on the network I get dependency ...
user2076574's user avatar
0 votes
1 answer
1k views

Apt-Mirror Error

Trying to create a local copy of the repository for Ubuntu 22.10. Here is the file mirror.list: set base_path /mnt/ExternalSSD/apt-mirror # set mirror_path $base_path/mirror set skel_path $...
Qmails's user avatar
  • 43
0 votes
0 answers
61 views

Download from multiple backup apt repository in ubuntu

I have AWS auto scaling group which scales out in peak hours. I'm facing unhealthy instances due to do AWS's apt servers being unresponsive sometimes. Err:68 http://ap-northeast-1.ec2.archive.ubuntu....
prashant kandel's user avatar
0 votes
2 answers
278 views

Hash Sum Mismatch Local Mirror

I'm currently running Ubuntu 20.04 and a local mirror server after following this process. Also, this machine is a VM running on a 2012R2 Hyper-V cluster. I'm finding that a server trying to do an ...
Chris Hawes's user avatar
0 votes
0 answers
176 views

Offline Repo issue in Ubuntu 20.04

I'm trying to configure Local repository for a closed environment. (LAN network without internet access). I followed this tutorial in order to configure: https://www.linuxtechi.com/setup-local-apt-...
Nahum's user avatar
  • 1
0 votes
0 answers
54 views

How to work with package repository mirrors frozen at a certain date?

I set up a mirror for the usual Ubuntu repositories. This mirror only synchronizes when triggered manually for stability reasons. The problem I have now is that I want to create a docker environment (...
Mehdi's user avatar
  • 396
1 vote
1 answer
123 views

Getting 404 on local apt mirror, but can download the files using wget

I have a local 22.04 mirror used by a number of servers who does not have access to the internet. The jammy mirrors are working perfectly, but yesterday I was tasked with adding the Ondrej PHP PPA to ...
Silas's user avatar
  • 13
0 votes
0 answers
577 views

Unable to connect to azure.archive.ubuntu.com:http

I am getting intermittent download failures during a Packer VM creation on Azure. This build last long...and because of the download failures the whole build fails that is very painful! ==> azure-...
Alex's user avatar
  • 151
0 votes
1 answer
121 views

IPv6 DNS Problem with archive.ubuntu.com

Since a couple of weeks my mirror sync doesn't work as expected. I think that I identified the problem now. On my server the address archive.ubuntu.com resolves to a couple of IPv6 addresses and at ...
ProfNox's user avatar
0 votes
0 answers
69 views

"apt-get" breaks when changing mirrors for Focal on the NanoPi R4S

I am using a version of Focal made for the NanoPi R4S with appropriate drivers, which comes with mirrors linking to China. Not only are these slow because I am in the US, I also do not trust software ...
macmaster28's user avatar
-3 votes
1 answer
151 views

Puppet6 getting error: "does not have a Release file." [duplicate]

I am getting the famous error message when fetching puppet6 repo from an internal webserver hosting our ubuntu repositories. E: The repository 'http://ubunturepo.office.tho.com/apt.puppetlabs.com ...
Omar Abdelrazik's user avatar
4 votes
2 answers
761 views

Repository Server - apt-mirror - How to report the list of downloaded packages on every run?

apt-mirror outputs the size of downloaded packages... 167.3 MiB will be downloaded into archive. But how to report the list of downloaded packages on every run? Example: Following packages were ...
ihtus's user avatar
  • 139
3 votes
1 answer
677 views

Can a local Ubuntu mirror host different Ubuntu releases on a single server

I am interested to know if I have a Ubuntu 20.04.3 LTS server, can use it as a local mirror to host 20.04.3 LTS and 18.04.6 LTS repositories, such that my 18.04 servers can pull from it as well as my ...
adamtjgogo's user avatar
0 votes
0 answers
129 views

Set up apt-mirror with a specific kernel`s version

I create a local mirror from ubuntu focal with apt-mirror, what would be used to update between LTS mini-versions (20.04.2 -> 20.04.3) in office. I need a kernel specific versions (5.4.0-81 generic,...
Bruyi's user avatar
  • 9
0 votes
0 answers
43 views

Error 404 Not found when upgrade Ubuntu 16.04.x to 18.04.x on a my local repo using apt-mirror [duplicate]

I have issue when upgrading using the step do-release-upgrade, some links result in "404 Not found". This issue is shown in this screenshot: How can I resolve it, as I am concerned that ...
K.J's user avatar
  • 1
1 vote
1 answer
214 views

403 from au.archive.ubuntu.com

does anyone know why the au.archive is broken? I'm getting the below on multiple systems trying to update them and this has been the case for a couple of hours now. I've tried apt clean as well with ...
Peter Nunn's user avatar
1 vote
1 answer
746 views

How can I add 'main/dist-upgrader-all' to '/etc/apt/mirror.list' so that my apt-mirror downloads the files for a release upgrade?

I maintain an apt mirror by using apt-mirror. It works fine for the packages of bionic and focal. Now, I want to add the files, that are needed to be able to perform release upgrades using this mirror....
stackprotector's user avatar
0 votes
1 answer
522 views

apt-mirror says it will download ~4GB but doesn't Download additional

I have ubuntu 20.04 running as a virtual machine on proxmox. I setup apt-mirror to help with our bandwidth issues at work (we have slow internet) to help update all the debian-based servers we have ...
rvcabc's user avatar
  • 91
0 votes
2 answers
58 views

Package mirroring: Are there similar packages to ttf-mscorefonts-installer in the archives?

Scenario: You set up a local mirror for an environment where clients/servers should only use this internal mirror server and then all of sudden packages like ttf-mscorefonts-installer(1, 2) want to ...
LiveWireBT's user avatar
  • 28.4k
1 vote
1 answer
4k views

How do I force apt to use HTTPS only?

How do I force apt to use HTTPS only? This question aims to provide a comprehensive actionable answer to questions 1, 2, and 3, but is worded in a manner that better fits with the guidelines and ...
notte's user avatar
  • 101
0 votes
0 answers
106 views

apt-mirror server error in client desktop while updating "sudo apt-get update"

Unable to fetch file, server said '/ubuntu-mirror/ubuntu/dists/bionic-updates/restricted/source/Sources: No such file or directory Any solution for this.
Amarnath Jena's user avatar
0 votes
1 answer
1k views

Offline Mirroring of 18.04 repository fails after download

I downloaded the ubuntu repository using apt-mirror in a system, which I copied to another system to create a repository. Reference 1 - Download a mirror | Reference 2 - Use the repository offline ...
Tarun Maganti's user avatar
2 votes
1 answer
394 views

Apt-Mirror from existing local mirror

I am looking at creating a chain of local Apt mirrors through our various security zones and am wondering if it is technically feasible and if so what may some of the pit falls be? Something like ...
Obs3ssive's user avatar
0 votes
1 answer
618 views

apt-mirror local network repository

I have a segment of a network, that doenst have access to the internet. But it's full with mashines which are Ubuntu 16.04 Time to time, from this segment of network i have to download some standart ...
Radcriminal's user avatar
1 vote
0 answers
1k views

apt is (unsuccessfully) looking for Components-amd64.yml on arm64 repo set up with apt-mirror

Repro: Install CentOS 7 server, then deploy Ubuntu 18.04 environment via debootstrap: yum install epel-release yum install debootsrap mkdir /opt/ubuntu-18.04 ln -s /opt/ubuntu-18.04 /opt/ubuntu ...
bviktor's user avatar
  • 245
1 vote
0 answers
244 views

Can't update on 18.04 - Custom Repository Change

I have Custom Repository for my personal packages. Today, after running sudo apt update and sudo apt full-upgrade, I saw: Get:1 http://XXX/ubuntu-custom bionic/ InRelease [2,061 B] E: Repository '...
Alexander Varejão's user avatar
1 vote
1 answer
4k views

18.04 local mirror missing some Translations-en

built a local mirror for 18.04 with apt-mirror 0.5.4-1. the mirror is on a usb drive, so sources.list uses file:. apt-get update on a new install of 18.04.1 results in eight missing Translation-en ...
gobo's user avatar
  • 11
0 votes
1 answer
5k views

local apt-mirror not finding packages

I am attempting to setup a mirror of the Ubuntu packages on a local server for use on a local network that will not be connected to the internet for extended periods. I have followed the instructions ...
dcofer's user avatar
  • 103
0 votes
1 answer
80 views

Configuring Local Apt Repo 16.04 [duplicate]

I am new to Ubuntu but have been working with RHEL for a few years now. I am trying to set up a local repo for 16.04 and am getting "404 Not Found" errors when I run apt update from a local machine. ...
sanewt's user avatar
  • 1
1 vote
1 answer
687 views

Mirror subset of repository for amd64 Xenial 16.04 only *without* Ubuntu host

I am trying to keep an offline machine (16.04 amd64 laptop) up to date by mirroring the Ubuntu software repositories. Unfortunately, I have a number of constraints beyond my control: Host machine (...
Nicklas's user avatar
  • 11
0 votes
1 answer
499 views

Add PPA to local repository

I am using apt-mirror to maintain a local repository from which my Ubuntu servers update. I need to add 2 PPA’s to my local repository. Normally in /etc/apt/mirror.list I would use this syntax: deb-...
EnterUserNameHere's user avatar
0 votes
0 answers
96 views

Apt gives warning when accessing local mirror on same box but not on remote boxes [duplicate]

All systems involved in this question are Ubuntu 18.04.1 or flavors. I've successfully set up a local mirror on my home server. All the other systems on our LAN are able to connect to the mirror and ...
Organic Marble's user avatar
1 vote
0 answers
358 views

How to make a common mirror for Ubuntu and Mint Linux?

The mirror for Ubuntu repositories is created using this link: https://blog.programster.org/set-up-a-local-ubuntu-mirror-with-apt-mirror and the mirror for Mint repositories is created using this ...
Indian's user avatar
  • 1,550
1 vote
1 answer
2k views

Build local repo for ubuntu 16.04 and above [duplicate]

I want to build a local repo for Ubuntu 16.04 with apt-mirror tool. Can I configure it on Ubuntu 18 or do I need the same version of Ubuntu? Thanks
Shahar Y's user avatar
5 votes
0 answers
1k views

Error in local repository with Hashes of expected file

I have a local repository with ubuntu 16.04 and 18.04, however 18.04 is not working fine, we are using this source.list: deb [ arch=amd64 trusted=yes ] http://das-repo.cimex.com.cu/Repositorios/...
Miguel Conde's user avatar
2 votes
3 answers
663 views

Error while using apt-mirror for creating local repo

I would like to create a local repo for Ubuntu 18.04 and 16.04. I am interested in downloading only 64-bit packages. I am using "apt-mirror" to download the packages to the hard disk. I use the ...
Soo's user avatar
  • 294
5 votes
1 answer
4k views

How to get apt-mirror to mirror the full repository

I noted that apt-mirror does not copy the full repository. I would like to make it copy all of it. Any I idea how that can be done? This is what is on the server for Xenial/Main [DIR] binary-amd64/...
CatMan's user avatar
  • 1,323
2 votes
1 answer
4k views

How can I prevent apt-mirror from downloading ALL packages

I'm trying to configure apt-mirror, it's working fine for ubuntu upstreams but when I use it for something like GitLab, it downloads all package versions. For example, gitlab-ce is 72GB, each version ...
Jacob Evans's user avatar
2 votes
1 answer
2k views

Apt-mirror key question

Before downloading PPAs with apt-mirror I need to have the PPA GPG key installed in my key ring, e.g. by using the command add-apt-repository ppa:something/ppa After this (and editing mirror.list) ...
CatMan's user avatar
  • 1,323
2 votes
2 answers
493 views

apt-mirror: can't create /media/usb/apt-mirror/mirror directory at /usr/bin/apt-mirror line 342 - onto USB drive

This question is related to this: apt-mirror: can't create /dir:/mirror directory at /usr/bin/apt-mirror line 342 But the answer there did not help, because the setup is a bit different. I need ...
CatMan's user avatar
  • 1,323
1 vote
0 answers
266 views

Issue with local Ubuntu mirror

I have a local Ubuntu mirror set up but I seem to be missing the "installer-amd64" directory and all its files. I need to be able to mirror the netboot installer files to my local mirror. Here is a ...
Throw_a_leg's user avatar
2 votes
0 answers
354 views

local apt mirror and point in time release

I am searching for a way to provide a point in time release of a local Ubuntu mirror and came across aptly and repo-snapshots. Both look promising, where aptly seems to win in regards to features and ...
Thomas's user avatar
  • 6,093
0 votes
0 answers
65 views

Downloading third party softwares in local repository using apt-mirror [duplicate]

Currently I have setup a local repository using apt-mirror to establish a offline local repository for Ubuntu 16.04. However, only the official packages are downloaded. I would like to make the third ...
Soo's user avatar
  • 294
0 votes
1 answer
1k views

avrdude apt package on WSL

i tried to install avrdude on WSL ,but i get so many errors, missing files.This is the error i got namz@Namila-Lap:/mnt/d/$ sudo apt-get install avrdude -f --fix-missing ...
namila007's user avatar
  • 211
19 votes
2 answers
4k views

How do I get `apt-get update` to work on a machine with no internet access and manually assigned IP address?

I have set up apt-mirror and downloaded the latest ubuntu packages successfully in a machine that can access the internet. The goal is to use this machine as the repository when doing apt-get update ...
Kristada673's user avatar
4 votes
2 answers
5k views

Ubuntu software installation in air-gapped environments

Is there a recommended process for being able to install Ubuntu packages along their transitive dependencies, in an air-gapped IT environment having no direct Internet connectivity? I can think of ...
matanster's user avatar
  • 2,284
0 votes
1 answer
895 views

Apt-mirror created offline HDD repo which errors on apt-get update

So, I am working in an environment where my target system isn't connected to the internet and I don't have admin on my Ubuntu box that is connected to the internet. I'm trying to create an offline ...
dingo_kinznerhook's user avatar
1 vote
2 answers
505 views

Is it good practice to re-sign all packages from a mirror for extra security?

If I were to mirror ubuntu zesty repo, should I re-sign all deb packages with my server's gpg signing key (that the users on my website would be able to download)? Or should I jsut leave the packages ...
Jeremy Dicaire's user avatar
1 vote
0 answers
466 views

How can I create a mirror and add packages?

So I would like to create a Debian and Ubuntu mirror and add some packages that I cannot find or that are very outdated to it so when I install Linux I can just add this repo and install everything we ...
Jeremy Dicaire's user avatar