[Touch-packages] [Bug 924283] Re: Package lists are fully readed if there are no changes

2014-09-29 Thread Sworddragon
> 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

real0m0.025s
user0m0.004s
sys 0m0.021s
root@ubuntu:~# time apt-get check firefox
Reading package lists... Done
Building dependency tree   
Reading state information... Done

real0m6.724s
user0m3.423s
sys 0m0.148s
root@ubuntu:~# time apt-get check firefox
Reading package lists... Done
Building dependency tree   
Reading state information... Done

real0m0.447s
user0m0.430s
sys 0m0.017s
root@ubuntu:~# time apt-get clean

real0m0.018s
user0m0.004s
sys 0m0.013s
root@ubuntu:~# time apt-get check firefox
Reading package lists... Done
Building dependency tree   
Reading state information... Done

real0m6.516s
user0m3.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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 924283] Re: Package lists are fully readed if there are no changes

2014-09-29 Thread Julian Andres Klode
Yes that's true IIRC. And update explicitly rebuilds the cache. That's
not a huge issue, unless you are sitting around running apt-get update
in loops.

It is not possible to rebuild only changed parts, except for
/var/lib/dpkg/status changes. For making that work, a second cache is
generated; we cannot do the same for every source list.

-- 
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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 924283] Re: Package lists are fully readed if there are no changes

2014-09-29 Thread William Lee
It still does that in 14.04 LTS. I updated my package lists then did
that again, but it still reads the package lists for 5-10 seconds

** Changed in: apt (Ubuntu)
   Status: New => Confirmed

-- 
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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp