Questions tagged [localrepository]

The tag has no usage guidance.

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

how to create a local repo in ubuntu with specific packages that will serve update and installation request from client machines of all the distros

I can only create a local repo by downloading the whole mirror repository. i want to make the repo only for specific packages not all the packages. i would also want this centos machine to have repo ...
Nahid Fuad's user avatar
0 votes
0 answers
164 views

How to use cubic custom-made iso files as Ubuntu local repository?

I tried creating a custom iso image of Ubuntu 22.04.2 using cubic software (https://github.com/PJ-Singh-001/Cubic) by adding a few more packages (eg: vlc, gcc, and git) so that I can install all the ...
Soo's user avatar
  • 294
0 votes
0 answers
143 views

Apt Downloading Files With Encoded Characters

I maintain a few Ubuntu servers that do not have access to the internet, and therefore cannot connect to any public repositories. To keep our instances updated, I run a script that basically only ...
dcdb's user avatar
  • 21
0 votes
0 answers
246 views

Rsyncmirror failed to connect to archive.ubuntu.com Connection timed out

Noob to Ubuntu-22.04.2 I am trying to setup a local repository by downlaoading the jammy packages from the archive.ubuntu.com by using the Rsyncmirror. this is the issue am running into. link to setup ...
ChuckieCF's user avatar
1 vote
1 answer
1k views

Getting Ign with local repository Ubuntu 22.04

I've made local repo with apt-mirror (this one https://github.com/Stifler6996/apt-mirror). So, I've loaded both amd64 and i386 and my mirror.list looks like deb-amd64 http://archive.ubuntu.com/ubuntu ...
ComradDart's user avatar
0 votes
2 answers
719 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
1 answer
637 views

Build a local multi-version ubuntu apt repository

Recently,I want to build a ubuntu apt repository in company internal. At first, I tried to use apt-mirror to build a local repository (in 20.04.4 LTS). After solving some bugs of apt-mirror, I ...
virgil710's user avatar
0 votes
1 answer
461 views

Create an ISO File Repository or Mirror Repository on Native Windows

I have a ubuntu system with a base install where I want to update the OS with the latest package versions, although this system does not have access to the Internet. I could use some direction on two ...
Jeffrey's user avatar
2 votes
1 answer
1k views

Ubuntu 20.04 Wont Connect to my Local REPO

Iv setup a local REPO where I have downloaded all the packages from Ubuntu. root@vm-repo-server:~# ifconfig | grep inet inet 10.0.0.4 netmask 255.255.255.0 broadcast 10.0.0.255 root@vm-repo-...
LinuxRsa's user avatar
0 votes
2 answers
234 views

Install .deb package from shared folder on other PC with Windows

I have PC with Ubuntu 20.04 LTS and other PC with windows 10. I download repository with "ubuntu-repository.exe". On Windows I have directories with ubuntu repos. This directory: . └── ...
s1nner's user avatar
  • 1
3 votes
1 answer
903 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
3 votes
0 answers
303 views

Clean local repository mirror

Good morning, I have a local mirror for 14.04, 16.04, 18.04 and 20.04 Ubuntu distributions. Is there a way to remove from local mirror packages for 14.04 and 16.04? Best regards
thenoodle81's user avatar
3 votes
0 answers
101 views

Multiple Repos for Linux laptops

I'm working on a project to better manage updates on our Linux (Ubuntu) laptops. Currently we already have a working solution for desktops. For our desktops, they're configured to point to a local ...
James's user avatar
  • 81
-1 votes
1 answer
569 views

Why does ~/.local/share contain so many kinds of data? [closed]

~/.local/share seems to be a collection of essential data, configuration data, log files, accumulated junk, and who knows what else. Given that ~/.local is already divided into bin and lib, why was a ...
Ray Butterworth's user avatar
22 votes
1 answer
23k views

How to have both arch=amd64 and trusted=yes in sources.list of apt package manager?

What do I want to do? You can have deb [trusted=yes] http://pathtoserver/ubuntu bionic main deb [arch=amd64] http://pathtoserver/ubuntu bionic main in sources.list separately. Is there a way I ...
Tarun Maganti'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
0 votes
1 answer
655 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
0 votes
1 answer
2k views

Unable to download packages from local cosmic repository

Tried making a local copy of the cosmic repo, but every time I try installing a package I'm getting Package has no installation candiate. I followed the steps here to create the local repo. This is ...
gr0k's user avatar
  • 136
1 vote
0 answers
75 views

Conf file for apt-sortpkgs utility

Where can I find sample configuration file for apt-sortpkgs utility so that it will arrange debtags in a user defined order?
harshit's user avatar
  • 169
2 votes
1 answer
274 views

Merging Repositories

So that I can supply our offline servers (Ubuntu 16-18) with software, I run a virtual machine which mirrored http://archive.ubuntu.com/ubuntu/ . With the available packages I can always manage. Now ...
Phil795's user avatar
  • 73
2 votes
1 answer
50 views

Paranoid control over packages

I am new in Ubuntu (come from Slackware). I would like to install and maintain my system in such a way that I always have available archive of installed packages in the form of deb files, starting ...
Piotr Górkiewicz's user avatar
0 votes
0 answers
1k views

sudo apt-get update fails. Could not resolve ‘archiveubuntu.digital.local’

I have problem with doing sudo apt-get update. I got the following message: Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:2 http://package.perforce.com/apt/ubuntu trusty ...
kmichael08's user avatar
2 votes
3 answers
754 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
0 votes
0 answers
44 views

Creating a repo server with older Ubuntu release

I have an installer service that uses the Ubuntu mirror to install a cluster of servers that use Ubuntu as the OS. The packages that were bundled with the application/installer are not compatible now ...
dglad's user avatar
  • 1
1 vote
1 answer
567 views

How to keep downlaoded package files? [duplicate]

I used to copy deb packages from /var/cahe/apt/archives to make my own local repository. Now I realized that apt cleans up /var/cahe/apt/archives after each package installation. How can I force apt ...
sorush-r's user avatar
  • 1,012
2 votes
1 answer
2k views

Rename Custom deb package

How can I rename a .deb package that can be uploaded to reprepro? For example, I have a deb package example-latest.deb which is the latest version, I have created a custom repository so users can ...
user3311890's user avatar
0 votes
1 answer
105 views

Software installation on Ubuntu

How can I know what packages(i.e. *.deb) are needed to install a software (in terminal). Suppose that I want to install VLC fully via terminal. If I run the following code then it will install the ...
philoopher97's user avatar
0 votes
1 answer
94 views

File Not Found with a local repository

I have a repository on my hard disk with the following sources.list configuration: deb "file:///media/miguel/My Passport/xenial-repo" xenial main restricted universe multiverse deb "file:///media/...
Miguel Antonio's user avatar
1 vote
1 answer
810 views

How are repository details specified in apt?

I ran apt list --installed command and got this output: xterm/xenial,now 322-1ubuntu1 amd64 [installed] xul-ext-ubufox/xenial,now 3.2-0ubuntu1 all [installed] xz-utils/xenial,now 5.1.1alpha+20120614-...
Arun's user avatar
  • 1,977
0 votes
1 answer
2k views

What could cause a "hash sum mismatch" error when doing an apt-get update serverside?

I have several apt repositories for different versions of Ubuntu, they are all pretty similar except for the one I just made for xenial servers. When a xenial server does an apt-get update and talks ...
LINUX G33NYUS's user avatar
2 votes
0 answers
37 views

Which is the best way to do a phased release package updates?

I work on a company with multiple environments: dev, test, prod. We currently have a way to test the updates posted on the Ubuntu Repositories but is really complex and doesn't work properly. So we ...
cdgg_cali's user avatar
1 vote
0 answers
331 views

Local Xenial Repo (debmirror) doesn't allow apt-get update Ign

{{NOTE: I have tried every solution in this forum. I've searched. I know some will say this is a duplicate, which it is, but I couldn't add to the other post}} I have a local repo of Xenial (32 and ...
Tony's user avatar
  • 21
1 vote
0 answers
63 views

How to make ubuntu local repo contain Server-Edition packages only (non-gui)

Ubuntu repo is huge. I'm using Ubuntu Server Edition. How to create local repo which contain only packages intended for Server Edition? I don't need something like audio/video player/editor, image ...
kholis's user avatar
  • 723
5 votes
1 answer
7k views

Ubuntu 16.04 apt-get update fails with local repository

On my Ubuntu server 16.04 I have following entries in /etc/apt/sources.list deb [arch=amd64 trusted=yes] file:/home/discoprodigy /debbin main For good measure, I have also tried restricted, ...
G.Flemming's user avatar
3 votes
0 answers
615 views

How can I create a Ubuntu deb repository without gpg sign?

I have a few Ubuntu .deb packages, and I want to install them on some PCs in my local network. I don't want to do gpg sign, just same as RedHat createrepo. I have run dpkg-scanpackages . /dev/null | ...
Serg Vikulin's user avatar
0 votes
1 answer
845 views

Unable to install the selected kernel Ubuntu 14.04 from local mirror

We have setup ubuntu local mirror in our environment to do the ubuntu unattended installation, We have setup the local mirror from: http://archive.ubuntu.com/ubuntu/ Now we are facing the error: ...
Ranjithkumar T's user avatar
1 vote
1 answer
500 views

Can't find Apt-Cacher NG cache files after performing Ubuntu preseed installation using cacher as proxy

I've setup Apt-Cacher NG in an Ubuntu host. I'm using this to cache another Ubuntu installation and setup a repo for further installations. I've tried installing Ubuntu through preseed file bellow, ...
Thiago Rider Augusto's user avatar
1 vote
0 answers
576 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 ...
Thiago Rider Augusto's user avatar
5 votes
2 answers
9k views

apt-get update command not working from xenial local mirror [duplicate]

Using apt-mirror, I downloaded the xenial packages to my machine (ip address: 172.16.3.37). The content of my "mirror.list" for apt-mirror is the following. ############# config ################## #...
user4661268's user avatar
11 votes
1 answer
303 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. ...
Arronical's user avatar
  • 19.8k
2 votes
1 answer
2k views

Unable to Install package from Ubuntu Xenial local repo [duplicate]

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 ...
user4661268's user avatar
1 vote
0 answers
264 views

Local apt repository skipping packages

I've created an apt repository for a few local files, generally obscure drivers or locally-created files for my own use. The repository is limited to my own internal network, so it can have non-free ...
ArmanX's user avatar
  • 231
0 votes
2 answers
6k views

Downloading packages from Ubuntu local package mirror during Ubuntu 14.04LTS server installation

During Ubuntu 14.04LTS server installation using MAAS, some packages are downloaded from Ubuntu mirrors. Is there a way of installing Ubuntu using MAAS in an environment without internet connection i....
saisrinivas's user avatar
4 votes
2 answers
6k views

How to add my own .deb file to my local mirror to use with apt?

I've created a full local mirror of the 14.04 repositories using apt-mirror and connect to it over LAN using apache. I have adapted my sources.list file on the machine that I wish to update from the ...
Arronical's user avatar
  • 19.8k
1 vote
1 answer
5k views

apt-get install from local repository

I have two Ubuntu 14.04 servers. Server 2 is a repository server and server 1 does not have internet access. Repository server Configuration: nginx with root directory: /var/www/packages All ...
Akis's user avatar
  • 21
0 votes
1 answer
396 views

Remote package installation over LAN

I am trying to work on a project where i am supposed to install softwares and packages on one system and it should replicate on other systems connected on LAN. How can i proceed with this? I was ...
theoneabhinav's user avatar
0 votes
1 answer
56 views

Set a local repo in order apt-get to handle .deb dependecies

I am trying to do something, which I have already done on .rpm distributions, on Fedora more exactly. Basically I want to create a local repository, which I can put a .deb file in, so that apt-get can ...
0x450's user avatar
  • 598
1 vote
1 answer
284 views

How to copy a Ubuntu repository on a hard disk?

I am a social worker living deep in rural Liberia/West Africa since 2012. My friends and neighbours - eager to "get busy on computers" - love Ubuntu because of its safety features and easy use. ...
Sebastian's user avatar
1 vote
0 answers
116 views

apt-get should not download packages that are locally available

I am trying to install some packages. I have already downloaded the .debs to my local repo and apt is aware of it since apt-cache policy shows the package, but when trying to install the package, it ...
jamadagni's user avatar
  • 211
2 votes
1 answer
192 views

Is it compulsory to add "Cleaning section" while bulding local ubuntu respository

I am using Ubuntu 12.10 (Quantal) version and it is at EOL. The repositories for older releases that are not supported get moved to an archive server. These repositories are available at http://old-...
user2622247's user avatar