0

I have created a local Ubuntu repository which only mirroring main packages from Ubuntu archives. However, now I am trying to add couple of packages which I have downloaded manually to this repo that they can be available to download but this doesnt seem to work.

Is there anything I am missing?

Packages copied under main in mirror server:

root@ubuntu-mirror:/var/www/html/ubuntu/pool/main/m# ls -l mypkgs/
total 88
-rw-r--r-- 1 root root 14492 Jan  5 11:04 apt-rdepends_1.3.0-9_all.deb
-rw-r--r-- 1 root root 72536 Jan  5 11:04 libapt-pkg-perl_0.1.40build2_amd64.deb
root@ubuntu-mirror:/var/www/html/ubuntu/pool/main/m#

Client:

root@ubuntu-client:/etc/apt# egrep -v "^#|^$" sources.list
deb http://192.168.122.114/ubuntu jammy main
root@ubuntu-client:/etc/apt#

root@ubuntu-client:/etc/apt# apt list apt-rdepends Listing... Done root@ubuntu-client:/etc/apt# apt install apt-rdepends Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package apt-rdepends root@ubuntu-client:/etc/apt#

stumblebee
  • 4,379

0 Answers0