meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:general:apt [2015/06/25 10:49] – niziak | linux:general:apt [2026/02/06 08:17] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Install specified version | + | ====== APT ====== |
| - | < | + | |
| - | apt-get install backupninja=0.9.8.1-1 | + | |
| - | apt-mark hold backupninja | + | |
| - | </ | + | |
| - | Error: | + | ===== Configuration ===== |
| - | < | + | |
| - | http:// | + | ==== Force IPv4 ==== |
| - | </ | + | |
| <code bash> | <code bash> | ||
| - | cd /var/lib/apt | + | echo ' |
| - | sudo mv lists lists.old | + | |
| - | sudo mkdir -p lists/partial | + | |
| - | sudo apt-get update | + | |
| </ | </ | ||
| - | This will rebuild the cache. | + | ==== Limit download speed === |
| + | To limit download speed to 250kBytes/ | ||
| - | Error: | + | <file python |
| - | <code> | + | Acquire |
| - | W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn' | + | { |
| - | </code> | + | |
| + | | ||
| + | { | ||
| + | Dl-Limit " | ||
| + | }; | ||
| + | }; | ||
| + | </file> | ||
| - | <code bash> | + | ==== Use apt-cacher ==== |
| + | <file | / | ||
| + | Acquire:: | ||
| + | Acquire:: | ||
| + | </ | ||
| + | or | ||
| + | Replace all mirror hostnames with cachinghost/ | ||
| + | < | ||
| + | should now become: | ||
| + | < | ||