Apt/addrepo: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "this document explains how apt knows a url is a repository server to be added soon")
 
No edit summary
Line 1: Line 1:
this document explains how [[apt]] knows a url is a repository server
this document explains how [[apt]] knows a url is a repository server


'''user input: -''' what the user does to trigger apt to test a serverwhen the user gives the "[[Binaries/apt|apt -s]]" command, they can provide a URL to go along with it.


to be added soon
eg: "apt -s https://goldcube/vtchost/com/stable/" , this url we will call %URL% from now on.
 
'''apt's actions:''' - what apt actually does in response
 
apt will search for the file "%URL%/manifest/APT.db", if found it will open it and if the first line states "AIF" it will add %URL% to it's source list.
 
that's it. it's that simple.

Revision as of 01:53, 25 September 2024

this document explains how apt knows a url is a repository server

user input: - what the user does to trigger apt to test a serverwhen the user gives the "apt -s" command, they can provide a URL to go along with it.

eg: "apt -s https://goldcube/vtchost/com/stable/" , this url we will call %URL% from now on.

apt's actions: - what apt actually does in response

apt will search for the file "%URL%/manifest/APT.db", if found it will open it and if the first line states "AIF" it will add %URL% to it's source list.

that's it. it's that simple.