It helps to keep your cache from growing too large. The apt-get autoclean option, like apt-get clean, clears the local repository of retrieved package files, but it only removes files that can no longer be downloaded and are virtually useless. The apt-get clean command is generally used to clear disk space as needed, generally as part of regularly scheduled maintenance. When apt-get update command is executed, the command retrieves and scans the packages files, so that information about new and updated packages is available. apt upgrade can then act on this information and upgrade all installed packages to their latest versions. This is how your system knows which packages are available for upgrade, and where to retrieve that software. the sources configured inside /etc/apt/sources.list ). It perform package upgrades or search in and display details about all packages available for installation. apt update downloads package information from all configured sources (i.e. You should only have these afterwards: $ sudo ls -lR /var/cache/apt/archivesÄrwx- 2 _apt root 4096 Nov 12 07:24 partial apt-get update is used to download package information from all configured sources. var/cache/apt/archives/postfix_3.4.5-1ubuntu1_b You might have a number of files in the directory prior to running the clean operation: /var/cache/apt/archives/db5.3-util_5.3.28+dfsg1-0.6ubuntu1_b
0 Comments
Leave a Reply. |