Repository 1: For PPA:ondrej/apache2 packages.

ARTIFACTORY: How to configure ondrej Debian remote repository

AuthorFullName__c
Roja R M
articleNumber
000006022
ft:sourceType
Salesforce
FirstPublishedDate
2024-02-04T09:08:20Z
lastModifiedDate
2024-02-04
VersionNumber
3
1. Created a Debian remote repository pointing to http://ppa.launchpad.net/ondrej/apache2/ubuntu/ with all default settings. Perform test button verification, and save the repository settings.


2.  Add the GPG keys for the remote repository as mentioned in this link.

3. Added the below configuration to the /etc/apt/sources.list file from Set Me Up.

deb http://admin:<apikey>@localhost:8081/artifactory/debian-debian focal main


4. Performed ‘apt-get update’

5. Then try installing the packages as below and see if it got cached in Artifactory

$ apt-get install libapr1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libapr1
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 104 kB of archives.
After this operation, 297 kB of additional disk space will be used.
Get:1 http://localhost:8081/artifactory/debian-debian focal/main amd64 libapr1 amd64 1.7.2-2+ubuntu20.04.1+deb.sury.org+1 [104 kB]
Fetched 104 kB in 1s (89.6 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libapr1:amd64.
(Reading database ... 12487 files and directories currently installed.)
Preparing to unpack .../libapr1_1.7.2-2+ubuntu20.04.1+deb.sury.org+1_amd64.deb ...
Unpacking libapr1:amd64 (1.7.2-2+ubuntu20.04.1+deb.sury.org+1) ...
Setting up libapr1:amd64 (1.7.2-2+ubuntu20.04.1+deb.sury.org+1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) …