Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apt-mirror]

APT sources mirroring tool

0
votes
0answers
23 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
0answers
11 views

apt-mirror Malformed checksum error

I am trying to mirror Ubuntu xenial repository by apt-mirror, but after running sudo apt-mirror, I get a Malformed checksum error. Any idea how to fix it? Downloading 1565 index files using 20 ...
0
votes
0answers
11 views

How can I maintain my local repository with old kernel

I want to maintain my local repo with old kernel since I have kernel restriction. I know this leave my security vulnerable but its a requirement. Please let me know how can I have my repo setup. ...
0
votes
1answer
140 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
44 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. ...
0
votes
1answer
94 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
0answers
38 views

apt-mirror stuck and does not download packages

I am trying to setup apt-mirror on a computer (Ubuntu 18.04) which is behind proxy. I have configured the proxy with both network manager and in /etc/apt/apt.conf file. But still the download does not ...
0
votes
1answer
57 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
16 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
69 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
871 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
1
vote
0answers
600 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
74 views

APT: Partial Package Mirror

I previously asked a question about installing updates on Ubuntu systems on an isolated IP network. My goal is the same, although I am now using Ubuntu 18.04. After asking that question, I had ...
0
votes
0answers
45 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 ...
0
votes
0answers
206 views

have to fix waiting for headers problem every time I restart

I have problem with sudo apt update and whenever I fix it using "finding the best server" it goes fine. but after each system reset I have to do the same over and over ... and every time it takes ...
2
votes
2answers
78 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 ...
0
votes
0answers
154 views

Error while using apt-mirror

I am trying to create a local repository using apt-mirror for Ubuntu 18.04. During the download using "apt-mirror", I had to stop the download. When I tried to resume the download, I am getting the ...
1
vote
1answer
388 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
314 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 ...
1
vote
0answers
48 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
88 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
67 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 ...
1
vote
0answers
105 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
26 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
251 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
411 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
394 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
16 views

How to build a repository server in ubuntu 16.04 [duplicate]

There is one Internet-enabled server and one Internet-disabled server. I want to download the apt package from an internet enabled server, and want to download an apt package from a server that is not ...
0
votes
0answers
23 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
137 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
186 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
95 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
160 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
107 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
220 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
216 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
18 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
207 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
457 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 ...
2
votes
1answer
2k 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
536 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
2k 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
457 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
224 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
653 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 ...
2
votes
1answer
2k views

Unable to Install package from Ubuntu Xenial local repo

I created a local repo for Xenial using apt-mirror. When I tried sudo apt-get update in another machine (of course, I configured the webserver), I am getting the following errors and I am not able to ...
2
votes
1answer
1k views

How to setup a local mirror that only downlooad package on demand

This is a complex question... For years, I have been looking for a proper solution to this problem: I am working in Africa where internet connections are often slow and limited to a few locations. ...