os:linux:apt
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
os:linux:apt [2024-06-04 17:08] – created Manuel Frei | os:linux:apt [2024-07-15 17:36] (current) – download only Manuel Frei | ||
---|---|---|---|
Line 18: | Line 18: | ||
</ | </ | ||
- | Recommended | + | Recommended replacement: |
< | < | ||
wget -qO- https:// | wget -qO- https:// | ||
Line 24: | Line 24: | ||
</ | </ | ||
+ | Example with raspberrypi.org repositories: | ||
+ | < | ||
+ | root@raspi1: | ||
+ | Hit:1 http:// | ||
+ | Hit:2 http:// | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree... Done | ||
+ | Reading state information... Done | ||
+ | All packages are up to date. | ||
+ | W: http:// | ||
+ | W: http:// | ||
+ | root@raspi1: | ||
+ | root@raspi1: | ||
+ | root@raspi1: | ||
+ | Hit:1 http:// | ||
+ | Hit:2 http:// | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree... Done | ||
+ | Reading state information... Done | ||
+ | All packages are up to date. | ||
+ | root@raspi1: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Download all Upgrade Packages ==== | ||
+ | |||
+ | To download all deb packages, perform an '' | ||
+ | |||
+ | <code bash> | ||
+ | apt-get full-upgrade --download-only | ||
+ | </ | ||
+ | |||
+ | <code - Example> | ||
+ | root@server: | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree... Done | ||
+ | Reading state information... Done | ||
+ | Calculating upgrade... Done | ||
+ | The following packages will be upgraded: | ||
+ | openssh-server | ||
+ | 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 456 kB/456 kB of archives. | ||
+ | After this operation, 512 kB of additional disk space will be used. | ||
+ | Do you want to continue? [Y/n] y | ||
+ | Get:7 http:// | ||
+ | Fetched 456 kB in 1s (456 kB/s) | ||
+ | Download complete and in download only mode | ||
+ | root@server: | ||
+ | </ | ||
os/linux/apt.1717513739.txt.gz · Last modified: 2024-06-04 17:08 by Manuel Frei