Ubuntu 16.04 apt-get update fails with local repository

Solution 1:

  • As I remember, when I have setup my trivial local repository. I used this form

    ##LOCAL
    deb file:///path-to-parent-of-packages-folder packages-folder/
    
    ##LAN using HTTP server
    deb http://ip-address packages-folder/
    
    ##LAN using HTTP server & mDNS (Avahi)
    deb http://machine-name.local packages-folder/
    
  • Hence your setup should be with this line:

    deb [arch=amd64 trusted=yes] file:///home/discoprodigy debbin/
    

    or

    deb [arch=amd64 trusted=yes] file:///home/discoprodigy/debbin ./
    

Reference: Debian Wiki: How to setup a trivial archive