[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#597301: marked as done (apt should not ignore NotAutomatic and ButAutomaticUpgrades if key is missing)



Your message dated Thu, 15 Sep 2011 11:07:07 +0200
with message-id <CAAZ6_fASci19nMemoro5KgAmUWFQFLtc5M3=JS+HM2itxui=cg@mail.gmail.com>
and subject line Close: apt should not ignore NotAutomatic and ButAutomaticUpgrades if key is missing
has caused the Debian Bug report #597301,
regarding apt should not ignore NotAutomatic and ButAutomaticUpgrades if key is missing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
597301: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597301
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt

Hi,

thanks a lot for implementing and ButAutomaticUpgrades!

I just played a bit with Release files to be able to test this feature,
it seems to work :)


There is one somehow related bug, which does not seem to be a problem
for backports.debian.org but a possible one for other repositories that
use a different key: apt ignores NotAutomatic and ButAutomaticUpgrades
from Release files (or rather the whole Release file) if it is signed
but the key is missing.

I'm not sure what the reason to ignore signed Release files with missing
key is, but at least NotAutomatic and ButAutomaticUpgrades from such
repositories should not be ignored.

To reproduce it in a more clean environment I removed all keys in
a fresh sid debootstrap, ran apt-get update and then added experimental
to the sources.list.  After an other apt-get update, apt-cache policy
abook printed the following:

  abook:
    Installed: (none)
    Candidate: 0.6.0~pre2-1
    Version table:
       0.6.0~pre2-1 0
          500 http://ftp.us.debian.org/debian/ experimental/main i386 Packages
       0.5.6-7 0
          500 http://ftp.us.debian.org/debian/ sid/main i386 Packages


I found also an other minor issue, if the Release file in the archive
changes but the Package file does not, it is necessary to remove
/var/cache/apt/*bin to let apt use the new setting.  This does not look
like a bug that is worth the effort to fix it since such situations
normally should not happen.  Though, one way to fix it, would be to stat
the Release files and compare the mtime of these files every time the
cache is used.


* David Kalnischkies [2010-09-14 19:03 +0200]:
> NotAutomatic needs to be present for compatibility anyway so the
> sense is not completely lost and a bit easier to understand then
> NotAutomaticButUpgrades -- but a better name can always be suggest
> (until it is too late of course), maybe someone wants to do at least this…

| NotAutomatic: yes
| ButAutomaticUpgrades: yes

This looks good when both are read together :)

Maybe OnlyAutomaticUpgrades or AutomaticUpgradesOnly would be better
names if it is not read together.  I think "Only" or "But" is important
because normal repositories also do automatic upgrades, so just
"AutomaticUpgrades: yes" would be confusing.

Anyway, the field name of this option does not seem to be that
important, as long as it is not changed after Squeeze has been released.


Regards
Carsten



--- End Message ---
--- Begin Message ---
Version: 0.8.14

  * apt-pkg/acquire-item.cc:
    - Use Release files even if they cannot be verified (LP: #704595)

And a small addition to our testcases later i am reasonable
sure that this bug is fixed now.

I am therefore closing this bug now, but feel free to reopen it
if i misunderstood the bug and/or it is still reproducible.


Thanks for your report & best regards

David Kalnischkies


--- End Message ---

Reply to: