I just installed apt cacher ng for catching my apt upgrade packages and saw a huge time improvement even though I have a good internet connection. It act as a proxy and caches the response packages.

Do you run something similar? Or maybe even run a local repo mirror? Warning, they are really big so I don’t think it is recommended unless you really need almost everything.

  • TCB13@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Do you know you can use the ISO files as repositories? Easier in some situations.

    1. Create the folders (mountpoint) to mount the ISO files
    sudo mkdir -p /media/repo_1
    sudo mkdir -p /media/repo_2
    sudo mkdir -p /media/repo_3
    
    1. Mount the ISO files
    	sudo mount -o loop ~/Downloads/debian-8.0.0-amd64-DVD-1.iso /media/repo_1/
    	sudo mount -o loop ~/Downloads/debian-8.0.0-amd64-DVD-2.iso /media/repo_2/
    	sudo mount -o loop ~/Downloads/debian-8.0.0-amd64-DVD-3.iso /media/repo_3/
    
    1. Edit the /etc/apt/sources.list file to add the repository
    vim /etc/apt/sources.list
    
    	deb file:///media/repo_1/  jessie main contrib
    	deb file:///media/repo_2/  jessie main contrib
    	deb file:///media/repo_3/  jessie main contrib
    
    1. Run sudo apt-get update