"apt-get update" didn't update /var/lib/apt/lists/*_Packages file.
*It's very unclear when these files get updated.*

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.
I did notice that the /var/cache/apt/pkgcache.bin (and srcpkgcache.bin) are
updated everytime I run "apt-get update".

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".
But it's not the existing behavior.

On Wed, Sep 25, 2019 at 5:40 PM Dan Kegel <[email protected]> wrote:

> On Wed, Sep 25, 2019 at 6:19 AM kavitha R <[email protected]> wrote:
> > When we run "apt-get update", does it download all the packages
> information that will be stored in /var/lib/apt/lists/* _Packages file?
>
> I think so.  You could use tcpdump or wireshark to confirm.
>
> > Why do we store the package full description in a different file?
>
> Possibly because apt was written in 1998 and it seemed like a good
> idea at the time?
>
-- 
Ubuntu-devel-discuss mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to