4

Where do the updates provided by Ubuntu gets stored on the hard-disk. I see that the updates are downloaded and then installed.

It would of great help if i can get the location of the downloaded updates so that I can save the downloads to a usb or an external hard-drive because in case i need to format my system i don't need to download the updates again.

Jorge Castro
  • 70,934
  • 124
  • 466
  • 653
Ankit
  • 6,659
  • 16
  • 55
  • 78

2 Answers2

4

You will find the individual updates in /var/cache/apt/archives/.

When new packages are published they are added to the pool, they don't replace the older updates, so over time you'll need to prune them, or use a dedicated tool like mentioned here:

Jorge Castro
  • 70,934
  • 124
  • 466
  • 653
0

To save your updates (and all downloaded packages) you can use the aptoncd program.

Eliah Kagan
  • 116,445
  • 54
  • 318
  • 493
Viktor K
  • 1,139
  • 1
  • 10
  • 17