Page 1 of 1

What do Hit Get and Ign in apt actually mean?

Posted: Mon Jul 01, 2019 2:14 am
by Milliways
What do Hit Get and Ign in apt actually mean?

The documentation does not actually explain, and I seem to have multiple (different) Get

Code: Select all

Get:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Ign:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages                                                                           
Get:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [18.3 MB]                                                                  
Ign:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages                                                                            
Get:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [69.0 MB]                                                                  
Err:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages                                                                            

Re: What do Hit Get and Ign in apt actually mean?

Posted: Mon Jul 01, 2019 6:32 am
by bensimmo
Best I could find is
https://www.quora.com/What-do-GET-HIT-a ... -on-Ubuntu



Or more
(Another page but I closed it before I grabbed the ref link)
Hit means apt checked the package list the timestamps match and there are no changes.

Ign means there are no changes in the pdiff index file so don't bother downloading it.

Re: What do Hit Get and Ign in apt actually mean?

Posted: Mon Jul 01, 2019 6:43 am
by rpdom
It's all to do with updating the package indexes.

Get is fairly obvious. "I need to download this file. It is different to the one I have stored, or I don't already have one stored".

Hit means "I looked at the details (time, date, size) of this file on the server and it is the same as the one I already have, so I don't need to download it"

Ign means "I know this file hasn't changed because the checksum in the Release file matches the one I already have, so don't even need to ask the server about it"

Err means "I failed to download this file for some reason. Grrr Arghhh"