JPICentral
Posts: 33
Joined: Wed Jul 18, 2018 3:22 am
Location: Almost in the Mojave Desert

Meaning of "InRelease"

Thu Aug 16, 2018 4:37 am

[email protected]:~ $ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Reading package lists... Done
[email protected]:~ $
What does
InRelease
comment at the end of the line and the Hit at the beginning tell me, a beginner, when I do an update?

User avatar
rpdom
Posts: 12877
Joined: Sun May 06, 2012 5:17 am
Location: Ankh-Morpork

Re: Meaning of "InRelease"

Thu Aug 16, 2018 5:18 am

Hit means that the version of the file on the server matches the one already on the system, so there is no need to download it again.

InRelease is the name of the file to be downloaded.

The InRelease file contains details about the repository and a list of checksums for the index files in it. If InRelease had changed, apt would then have used the checksums to decided which index files to download.

JPICentral
Posts: 33
Joined: Wed Jul 18, 2018 3:22 am
Location: Almost in the Mojave Desert

Re: Meaning of "InRelease"

Sat Aug 18, 2018 12:18 am

Thank you for the input!

Return to “Beginners”