User Tools

Site Tools


os:linux:apt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
os:linux:apt [2024-06-05 13:07] – add clean raspi example Manuel Freios:linux:apt [2024-07-15 17:36] (current) – download only Manuel Frei
Line 45: Line 45:
 All packages are up to date. All packages are up to date.
 root@raspi1:~#  root@raspi1:~# 
 +</code>
 +
 +
 +==== Download all Upgrade Packages ====
 +
 +To download all deb packages, perform an ''upgrade'', ''dist-upgrade'' or ''full-upgrade'' with the ''--download-only'' parameter.
 +
 +<code bash>
 +apt-get full-upgrade --download-only
 +</code>
 +
 +<code - Example>
 +root@server:~# apt-get full-upgrade --download-only
 +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:~#
 </code> </code>
  
os/linux/apt.1717585678.txt.gz · Last modified: 2024-06-05 13:07 by Manuel Frei