Questions tagged [apt-mirror]

APT sources mirroring tool

Filter by
Sorted by
Tagged with
0
votes
1answer
35 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
0answers
19 views

Setting up key for apt-mirror

I've followed several different online instructions for setting up an ubuntu apt mirror. I can update just fine, but I have to use [trusted=yes] in my sources.list file on my client. How do I generate ...
0
votes
0answers
44 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
1answer
126 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 ...
0
votes
1answer
56 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
1answer
211 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 ...
0
votes
0answers
123 views

Ubuntu Client don't update at local repository server

I'm trying to update my stations using a local repository. I had installed a ubuntu server 16 and my stations are ubuntu 18.10. I execute with no problems the apt-mirror on server, downloaded all ...
1
vote
0answers
309 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
0answers
140 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
1answer
977 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
1answer
2k 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
1answer
66 views

Configuring Local Apt Repo 16.04

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
1answer
425 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
1answer
248 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
0answers
93 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
0answers
171 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
1answer
1k 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
0answers
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/...
0
votes
0answers
57 views

apt-mirror error

I try to create a local apt source (IP: 10.21.42.160) using the following steps: apt-get install apt-mirror using the default mirror.list. after # apt-mirror (in 10.21.42.160, it can access the ...
2
votes
3answers
233 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 ...
2
votes
1answer
1k 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/...
1
vote
1answer
1k 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
1answer
274 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
2answers
243 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
0answers
163 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
0answers
192 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
0answers
60 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
1answer
606 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
2answers
2k 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 ...
1
vote
1answer
1k 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
1answer
700 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 ...
0
votes
0answers
29 views

Before kernel update apt installation was fast, now it's become very slow

Before an update to the kernel on Ubuntu 16.04, mirror server was fast approximately speed was 2mbps+ but now it's decreased to 300kbps, sometimes less. Is there any problem with the server for ...
1
vote
2answers
264 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
0answers
337 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
1answer
131 views

Clients Not Working With Offline Ubuntu 16.04 Repository

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
0answers
180 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
1answer
124 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
1answer
406 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
1answer
362 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, ...
0
votes
0answers
17 views

Providing specific packages from local repository to network clients [duplicate]

I've created a local, mirrored repository for Ubuntu 14.04 and 16.04, for an internal server network, using apt-mirror. I would like to make it so that the repo only provides a specific version of ...
1
vote
0answers
22 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
0
votes
0answers
317 views

Offline Ubuntu Repository for Multiple distributions

I have read the various posts on creating an offline repository and am able to create one just fine for xenial. In our lab we still run Ubuntu 14.04 on numerous boxes. Is there a way to create a ...
3
votes
3answers
877 views

I have an incomplete repository, how can I complete it

Here is the problem: I have copied a repository from a friend but, the repository was not complete. Also is out of date. So, How can I update this repo? How can I download just the packages that ...
3
votes
1answer
4k views

apt-mirror not cleaning after completion and how do I update existing local repo

I'm not new to linux, but I am to setting up a local repo. After doing some research on how to download and setup a local ubuntu repo, I decided to use apt-mirror to accomplish my mission. However, ...
1
vote
0answers
688 views

Problems setting up local apt-mirror for 16.04

I have an local apt-mirror server for a while that contains 12.04 and 14.04. this server itself runs 12.04. I tried to add 16.04 repo and I'm facing issues with it: First of all, when I try sudo ...
5
votes
1answer
3k views

Apt-get update trouble upon missing/broken files

I'm preping a humanitarian mission in Africa where we'll leave behind two laptops in a place with low/costly connectivity to internet. I'd rather have then running Ubuntu than, say, 'another more ...
6
votes
1answer
3k views

Problems w/ local repository in 16.04 with apt-mirror. How to update from client?

Trying to setup a local repository for 16.04 using apt-mirror (both host and client are 16.04 LTS), but experiencing problems, amongst others, with authentication due a missing release file when ...
1
vote
0answers
523 views

How to set up a local Ubuntu Xenial repository using apt-cacher-ng for later network installation?

I would like to know how to setup apt-cacher-ng for .deb caching during a system installation of Ubuntu server 64bits dvd. I want to install other machines after repository setup via preseed. I've ...
11
votes
1answer
245 views

Do the Ubuntu repositories just keep growing?

I have a full mirror of the Trusty repositories, made with apt-mirror. I keep a backup on another disk by using an rsync command. Whenever I do the backup, I notice that no files are ever deleted. ...
1
vote
1answer
912 views

apt-mirror testing

I want to configure a local apt-mirror on my 16.04 Ubuntu server. In my mirror.list, I downloaded only main and restricted packages, since I don't have enough space for all of it. After downloading ...