Questions tagged [localrepository]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
136 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
0answers
20 views

apt-get error in local repository

We have created an offline Ubuntu 20.04 repository using apt-mirror as per the directions given in https://www.linuxtechi.com/setup-local-apt-repository-server-ubuntu/ In a few local machines we were ...
0
votes
0answers
30 views

Local Repository - "Failed to fetch" despite apt update being successful - Ubuntu 20.04.3 LTS

I've seen quite a few postings regarding this question, but they either do not provide a solution to my problem or they are referring to much older versions of Ubuntu. I'm running Ubuntu 20.04.3 LTS - ...
0
votes
0answers
41 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
0answers
101 views

Failed to fetch archive.ubuntu.com/ubuntu/pool/universe

I am running Ubuntu version 20.04.2, when I try to run any sudo apt-get install [] it gives me the same 3 errors. 1.Err:1 Temporary failure resolving 'ro.archive.ubuntu.com' 2.E: Failed to fetch http:/...
1
vote
0answers
30 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
0
votes
0answers
60 views

Error Occurred while configuring apt-mirror repository in ubuntu 20.04

root@:~# apt-get update Ign:1 http://10.7.77.213/ubuntu trusty InRelease Err:2 http://10.7.77.213/ubuntu trusty Release 404 Not Found [IP: 10.7.77.213 80] Reading package lists... Done E: The ...
3
votes
0answers
71 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 ...
0
votes
0answers
54 views

How to fix Conflicting distribution: for my local apt repo?

I was trying to make an apt repo. I have this deb which is not architecture dependant and this is the structure of my repo: . ├── dists │ └── testing │ ├── InRelease │ ├── main │ │ ...
0
votes
0answers
27 views

Distribution removed from apt/sources.list.d/ entry on some machines but not others

I manage a student lab with 20+ machines running Ubuntu 18.04. They all have essentially the same hardware and software configuration, and we use Chef to keep the software configuration consistent on ...
0
votes
0answers
15 views

Installing TeXLive 202 from a synced folder on local hard drive

I have a synced repository folder for TeXLive 2020 on local hard drive and want to install it in Ubuntu. In other word I don't want to use internet to install it. Is there a way for doing this?
-1
votes
1answer
244 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 ...
7
votes
1answer
5k 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 ...
0
votes
1answer
842 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
501 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
1answer
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 ...
1
vote
0answers
68 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?
2
votes
1answer
162 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 ...
2
votes
1answer
46 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 ...
0
votes
0answers
984 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 ...
2
votes
3answers
528 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
38 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 ...
1
vote
1answer
134 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 ...
2
votes
1answer
342 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 ...
0
votes
1answer
98 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 ...
0
votes
1answer
84 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/...
1
vote
1answer
279 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-...
0
votes
1answer
1k 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 ...
2
votes
0answers
28 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 ...
1
vote
0answers
311 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 ...
1
vote
0answers
55 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 ...
5
votes
1answer
5k 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, ...
3
votes
0answers
493 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 | ...
0
votes
1answer
800 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: ...
1
vote
1answer
407 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, ...
1
vote
0answers
549 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 ...
5
votes
2answers
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 ################## #...
11
votes
1answer
263 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. ...
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 ...
1
vote
0answers
176 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 ...
0
votes
2answers
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....
4
votes
2answers
5k 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 ...
1
vote
1answer
4k 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 ...
0
votes
1answer
378 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 ...
0
votes
1answer
54 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 ...
1
vote
1answer
111 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. ...
1
vote
0answers
92 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 ...
2
votes
1answer
154 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-...
0
votes
1answer
144 views

create local ubuntu package repository

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-...
2
votes
3answers
3k views

Maximum space required for ubuntu repository

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-...