Questions tagged [apt-mirror]
APT sources mirroring tool
104
questions
0
votes
0
answers
39
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 ...
0
votes
0
answers
37
views
apt install with Ubuntu local mirror - Numerous apache 206 error codes and installation fails
I've configured a ubuntu mirror server using apt-mirror/apache2 on Ubuntu 20.04.
I'm auto installing some machines to deploy a minimal set of the OS, then rely on Ansible to deploy some specific ...
0
votes
0
answers
73
views
creating an offline mirror from download.docker.com
I have created an offline apt repo with the following command
debmirror -p -v --method https --passive -d focal,focal-security,focal-updates,focal-backports -a i386,amd64 --ignore-release-gpg .
I ...
-3
votes
1
answer
58
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 ...
4
votes
2
answers
167
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 ...
3
votes
1
answer
292
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 ...
0
votes
0
answers
46
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,...
0
votes
0
answers
107
views
Hash Mismatch Error apt-mirror
Recently I used apt-mirror to download Ubuntu 20.04 repository to use it on a local network. When I try to upgrade the packages using the repository I downloaded, I am getting the following error (...
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 ...
1
vote
1
answer
75
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 ...
0
votes
0
answers
211
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....
0
votes
0
answers
127
views
Changing mirror during Ubuntu Desktop installation
How do I change my mirror while installing Ubuntu Desktop. During installation, Ubuntu downloads some programs and my internet isn't that fast downloading from main server.
0
votes
1
answer
169
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 ...
0
votes
2
answers
29
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 ...
1
vote
1
answer
2k
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 ...
0
votes
0
answers
86
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.
0
votes
1
answer
990
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
...
2
votes
1
answer
231
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 ...
0
votes
1
answer
530
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 ...
1
vote
0
answers
840
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
...
1
vote
0
answers
226
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 '...
1
vote
1
answer
3k
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 ...
0
votes
1
answer
4k
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 ...
0
votes
1
answer
77
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. ...
1
vote
1
answer
616
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 (...
0
votes
1
answer
418
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-...
0
votes
0
answers
95
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 ...
1
vote
0
answers
290
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 ...
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
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/...
2
votes
3
answers
569
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 ...
5
votes
1
answer
3k
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/...
2
votes
1
answer
3k
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 ...
2
votes
1
answer
933
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) ...
2
votes
2
answers
388
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 ...
1
vote
0
answers
240
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 ...
2
votes
0
answers
272
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 ...
0
votes
0
answers
63
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 ...
0
votes
1
answer
952
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 ...
19
votes
2
answers
3k
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 ...
3
votes
1
answer
3k
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 ...
0
votes
1
answer
851
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 ...
1
vote
2
answers
413
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 ...
1
vote
0
answers
420
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 ...
0
votes
1
answer
164
views
Clients Not Working With Offline Ubuntu 16.04 Repository [duplicate]
I have followed the instructions to install a local repository for a segregated network. I apt-mirror to a local drive, rsynce to and external, then 'sneakernet' to the segregated networ. I can see ...
1
vote
0
answers
221
views
What are the best practices to secure a local Ubuntu mirror and prevent it from syncing malicious packages?
Background-
We inherited 2 local servers at our firm which mirror the official Canonical Ubuntu repositories for select distro versions using apt-mirror. The servers are supposed to sync nightly, ...
0
votes
1
answer
208
views
Getting Ubuntu Package Fresh Install List
I go to Cyber Security competitions, in which I am given an image that is tampered with, making it insecure. One of the steps of securing the image is to get rid of "bad" or "unofficial" packages.
...
0
votes
1
answer
889
views
Find version of apt-mirror [duplicate]
In several posts I read about issues of specific versions of apt-mirror.
How do I find out the version? I did not see anything in the man page and it has not command line options, also no --help.
1
vote
1
answer
576
views
Created apt-mirror but cannot browse to it from localhost/ubuntu
I created an apt-mirror on Ubuntu Server 16.04 for the purpose of running an offline apt server for local ubuntu clients in the office. I pulled down the latest xenial debs from the main archive, ...
1
vote
0
answers
23
views
Ubuntu Server 16.04 Offline update [duplicate]
How to update/upgrade Ubuntu Server 16.04 offline ?.
I have created a local mirror (150GB) using apt-mirror. How to configure offline server/system to update the system.
Thanks in advance