os:linux:apt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
os:linux:apt [2024-06-05 13:02] – Manuel Frei | os:linux:apt [2024-07-15 17:36] (current) – download only Manuel Frei | ||
---|---|---|---|
Line 24: | Line 24: | ||
</ | </ | ||
- | + | Example with raspberrypi.org repositories: | |
- | FIXME | + | |
- | + | ||
< | < | ||
- | |||
root@raspi1: | root@raspi1: | ||
Hit:1 http:// | Hit:1 http:// | ||
Hit:2 http:// | Hit:2 http:// | ||
- | Hit:3 https:// | ||
- | Hit:4 https:// | ||
Reading package lists... Done | Reading package lists... Done | ||
Building dependency tree... Done | Building dependency tree... Done | ||
Line 41: | Line 35: | ||
W: http:// | W: http:// | ||
W: http:// | W: http:// | ||
- | N: Skipping acquire of configured file ' | + | root@raspi1:~# wget -qO- http://raspbian.raspberrypi.org/raspbian.public.key | sudo tee /etc/ |
- | + | root@raspi1: | |
- | + | ||
- | + | ||
- | wget -qO- http://raspbian.raspberrypi.org/ | + | |
- | + | ||
- | + | ||
- | + | ||
root@raspi1: | root@raspi1: | ||
Hit:1 http:// | Hit:1 http:// | ||
Hit:2 http:// | Hit:2 http:// | ||
- | Hit:3 https:// | ||
- | Hit:4 https:// | ||
Reading package lists... Done | Reading package lists... Done | ||
Building dependency tree... Done | Building dependency tree... Done | ||
Reading state information... Done | Reading state information... Done | ||
All packages are up to date. | All packages are up to date. | ||
- | W: http:// | + | root@raspi1:~# |
- | N: Skipping acquire of configured file ' | + | </code> |
+ | ==== Download all Upgrade Packages ==== | ||
+ | To download all deb packages, perform an '' | ||
- | W: http:// | + | <code bash> |
+ | apt-get full-upgrade --download-only | ||
+ | </code> | ||
- | + | <code - Example> | |
- | wget -qO- http:// | + | 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://security.debian.org bookworm-security/main amd64 openssh-server amd64 1:9.2p1-2+deb12u3 [456 kB] | ||
+ | Fetched 456 kB in 1s (456 kB/s) | ||
+ | Download complete and in download only mode | ||
+ | root@server: | ||
</ | </ | ||
os/linux/apt.1717585338.txt.gz · Last modified: 2024-06-05 13:02 by Manuel Frei