Apt/addrepo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
that's it. it's that simple. | that's it. it's that simple. | ||
as long as it can reach it with http.get() (or "wget") it will work. |
Latest revision as of 02:06, 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.
as long as it can reach it with http.get() (or "wget") it will work.