touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #22016
[Bug 924283] Re: Package lists are fully readed if there are no changes
> And update explicitly rebuilds the cache.
It would be really nice if we could get back the old behavior here - the
cache gets only rebuilded if there are only real changes. But I have
found an easier testcase to reproduce this issue:
root@ubuntu:~# time apt-get clean
real 0m0.025s
user 0m0.004s
sys 0m0.021s
root@ubuntu:~# time apt-get check firefox
Reading package lists... Done
Building dependency tree
Reading state information... Done
real 0m6.724s
user 0m3.423s
sys 0m0.148s
root@ubuntu:~# time apt-get check firefox
Reading package lists... Done
Building dependency tree
Reading state information... Done
real 0m0.447s
user 0m0.430s
sys 0m0.017s
root@ubuntu:~# time apt-get clean
real 0m0.018s
user 0m0.004s
sys 0m0.013s
root@ubuntu:~# time apt-get check firefox
Reading package lists... Done
Building dependency tree
Reading state information... Done
real 0m6.516s
user 0m3.371s
sys 0m0.161s
As this example shows "apt-get clean" causes the next command that reads from the package cache to rebuld it while there are even no explicit changes.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/924283
Title:
Package lists are fully readed if there are no changes
Status in “apt” package in Ubuntu:
Confirmed
Bug description:
I'm using Ubuntu 12.04 dev with apt 0.8.16~exp12ubuntu3. Since apt was
updated from 0.8.16~exp5 to 0.8.16~exp12 the package lists are fully
readed ("Reading package lists... Done") on every "apt-get update".
This is no problem if there are new package lists available. But apt
is doing now such a full reading even if the lists have not changed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/924283/+subscriptions