<div dir="ltr"><div>"apt-get update" didn't update /var/lib/apt/lists/*_Packages file. <b><br></b></div><div><b>It's very unclear when these files get updated.</b></div><div><br></div><div>I modified one of the package version in /var/lib/apt/lists/*_Packages file. Then I ran apt-get, but the my change is not reverted in /var/lib/apt/lists/*_Packages.</div><div>I did notice that the /var/cache/apt/pkgcache.bin (and srcpkgcache.bin) are updated everytime I run "apt-get update". <br></div><div><br></div><div>But the cache files are created based on /var/lib/apt/lists/*_Package files so it make sense to download and update these file when we run "apt-get update".</div><div>But it's not the existing behavior.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 25, 2019 at 5:40 PM Dan Kegel <<a href="mailto:dank@kegel.com">dank@kegel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Sep 25, 2019 at 6:19 AM kavitha R <<a href="mailto:kavitha.r0573@gmail.com" target="_blank">kavitha.r0573@gmail.com</a>> wrote:<br>
> When we run "apt-get update", does it download all the packages information that will be stored in /var/lib/apt/lists/* _Packages file?<br>
<br>
I think so.  You could use tcpdump or wireshark to confirm.<br>
<br>
> Why do we store the package full description in a different file?<br>
<br>
Possibly because apt was written in 1998 and it seemed like a good<br>
idea at the time?<br>
</blockquote></div>