Questions tagged [localrepository]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
74 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
42 views

Errors while trying to create a signed local repository in Ubuntu

I am trying to create local signed repo for debian packages on one of our build systems. The intent is that after creating this signed repo, we will ship it as part of our installer along with the ...
0
votes
0answers
128 views

The local Contents-amd64.gz (downloaded using apt-mirror), does not match with the Contents-amd64.gz on in.archive.ubuntu.com. Why?

I have been trying to set up a local repository for Ubuntu 18.04, using apache2 and apt-mirror. I noted that the size of /ubuntu/dists/bionic*/Contents-amd64.gz does not match with the corresponding ...
0
votes
1answer
366 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
59 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
70 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
44 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
650 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
152 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
37 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
78 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 ...
1
vote
0answers
149 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
84 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
78 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
120 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
22 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
274 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
51 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
3k 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
419 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
629 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
312 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
505 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
226 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
109 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
4k 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
2k 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
268 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
53 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
78 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
86 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
127 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
128 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
2k 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-...
0
votes
1answer
94 views

Delete all i386 packages from my local repository?

I just copied a repository of the previous Ubuntu version (13, saucy). It contains both i386 and amd64 versions of the packages. I want to use this repository on a 64 bit PC. Is there a terminal ...
0
votes
1answer
642 views

Partial (specific releases) mirror of Ubuntu Archive via rsync only

I'm looking to build a Ubuntu repository archive for both i386/x64 architectures on 12.04 (precise). This is to bring in to a facility where I am working with no Internet connection. Circumstances ...
0
votes
1answer
2k views

Preseed proxy setting for local repository

I'm trying to set up a preseed configuration for Ubuntu 14.04 network installation from the example on the official documentation. I am affected by the proxy bug on choose-mirror. I'm using an apt-...
3
votes
1answer
807 views

Pinning package using own repository and apt-get

I created my own repository so I can provide a newer version of a package than the one the Ubuntu repository currently holds. Everything works fine, with the exception that I have to specify the ...
2
votes
1answer
5k views

Create local copy of Ubuntu remote repository

Good day. I'm trying to create local copy of official Ubuntu repository(12.10 or 13.10 does not matter). As far as i know i could recursively download all packages from the mirror (http://mirror....
8
votes
2answers
579 views

Unofficial/Local repositories and how do they differ from PPAs in Launchpad

I normally tend to use the PPAs (Personal Package Archives) found in launchpad.net, but I have noticed more and more that some repositories are being created in other places or a website that manages ...
0
votes
1answer
5k views

E: Encountered a section with no Package: header

After making index for my local repository, I get this error while updating. E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/...
4
votes
1answer
660 views

apt-move says the packages are moved but they are gone

I'm trying to setup a Ubuntu mirror with selected packages from different repositories, by using apt-move, which I've been using on Ubuntu 10.04 without (too much) problems. I've installed apt-move ...
4
votes
5answers
4k views

How to delete old versions of same packages from a Local Repository?

In my local repository see below, I have many versions of same packages downloaded and stored in deb package directory. As Ubuntu always prefer to use the highest version, I don't need the earlier ...
3
votes
0answers
202 views

How can I update my custom repository?

I created a local repository and I used it in my ubuntu clients. This repository contains only some packages. Now I would upgrade these packages. How can I do it, as there are many packages and ...
5
votes
1answer
1k views

Upgrading Ubuntu from local mirror

I need to upgrade from Ubuntu Server 10.04 LTS to 12.04 LTS using local repository (approx); Internet access is granted by a Web Proxy. The problem is: if I don't set proxy (so server can't reach ...
2
votes
1answer
462 views

Howto automatically remove older package versions from a custom repository? [duplicate]

Possible Duplicate: Delete old packages from local repository I want to create a private repository for Ubuntu. I executed the command dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz and ...