Created a local deb repository. On the machine where it is installed, everything works, the packages are installed from it.

What needs to be done to make it visible on other machines on the network?

    1 answer 1

    install any http or ftp server , as a docroot, set up the directory containing the repository in it (this directory should contain the dists ).

    on computers that need access to this repository, add the same lines to /etc/apt/sources.list as you added on the machine where it is located, just put the corresponding url .

    i.e., instead of:

     deb file:/ΠΏΡƒΡ‚ΡŒ/ΠΊ/Ρ€Π΅ΠΏΠΎΠ·ΠΈΡ‚ΠΎΡ€ΠΈΡŽ ... 

    specify (for http-server ):

     deb http://адрСс.ΠΈΠ»ΠΈ.имя.ΠΌΠ°ΡˆΠΈΠ½Ρ‹.с.Ρ€Π΅ΠΏΠΎΠ·ΠΈΡ‚ΠΎΡ€ΠΈΠ΅ΠΌ/ ... 

    or (for ftp server ):

     deb ftp://адрСс.ΠΈΠ»ΠΈ.имя.ΠΌΠ°ΡˆΠΈΠ½Ρ‹.с.Ρ€Π΅ΠΏΠΎΠ·ΠΈΡ‚ΠΎΡ€ΠΈΠ΅ΠΌ/ ... 
    • I deployed the ftp server vsftpd, specified the folder with the dists directory as the home directory. In the config indicated anonymous_enable = YES. I also registered the source list. Through the console I connect to the ftp server successfully. But when I do sudo apt-get upate, the process hangs on getting headers. What might this have to do with incorrect server settings or network settings? - Anton