Milliways
Posts: 456
Joined: Fri Apr 25, 2014 12:18 am
Location: Sydney, Australia

What do Hit Get and Ign in apt actually mean?

Mon Jul 01, 2019 2:14 am

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                                                                            

User avatar
bensimmo
Posts: 4175
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

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

Mon Jul 01, 2019 6:32 am

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.

User avatar
rpdom
Posts: 15214
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

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

Mon Jul 01, 2019 6:43 am

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"

Return to “Raspbian”