← Back to team overview

touch-packages team mailing list archive

[Bug 1369259] Re: /var/lib/apt/extended_states registers packages with the architecture all as the system architecture

 

Not a bug. Being architecture all or architecture any is a property of
the version as a package can change from any to all (and back) between
versions. The stanzas in the extended file refer to all versions
instead, which means that arch:all is the same as arch:native, so this
is correct.

Also, where is the bug? The extended file is an internal state file, so
as long as we parse it correctly, everything is fine. If you need the
info included in that file, ask e.g. "apt-mark" for it. Nobody knows if
the next version of apt would be renaming the file, be binary or use a
mysql database to store that info instead (okay, the later is unlikely…
as in: Over my dead body!)

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

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

Title:
  /var/lib/apt/extended_states registers packages with the architecture
  all as the system architecture

Status in “apt” package in Ubuntu:
  Invalid

Bug description:
  I'm using Ubuntu 14.10 dev with apt 1.0.8ubuntu1 and I have noticed
  that all packages that have the architecture all will be registered
  with the system architecture in /var/lib/apt/extended_states. Here is
  an example of this file:

  Package: java-common
  Architecture: amd64
  Auto-Installed: 1

  
  "apt-cache show java-common" shows:

  Package: java-common
  Priority: optional
  Section: misc
  Installed-Size: 292
  Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
  Original-Maintainer: Debian Java Mailing List <debian-java@xxxxxxxxxxxxxxxx>
  Architecture: all
  Version: 0.52
  Suggests: default-jre, equivs
  Filename: pool/main/j/java-common/java-common_0.52_all.deb
  Size: 130676
  MD5sum: 71ed19353475adb7350966a535a78dd7
  SHA1: b8f21a8e9e00c52f1a4b414a411074e8afbd583d
  SHA256: 2aed458d49667e63a8ef20dd840ba294771cb3393ccee8a05a1eeae393d2f0ae
  Description-de: Grundlage aller Java-Pakete
   Wenn eine Java-Umgebung gewünscht wird, muss dieses Paket auf dem Rechner installiert werden. Es umfasst nützliche Informationen für Java-Anwender unter Debian GNU/Linux, inklusive:
    * Das Java-Richtlinien-Dokument (Policy), das beschreibt, wie die
      Java-Unterstützung in Debian aufgebaut ist wie sich Java-Pakete verhalten
      sollten.
    * Das Dokument mit den häufigsten Fragen und Antworten (Debian Java-FAQ),
      das Informationen zum Entwicklungsstand der Java-Unterstützung in Debian,
      zu verfügbaren Compilern, virtuellen Maschinen, Java-Anwendungen und
      -Bibliotheken sowie zu rechtlichen Fragen liefert.
    * Informationen darüber, wie man Meta-Pakete erstellt, um die Anforderungen
      von »java2« zu erfüllen.
  Description-md5: 96d3cc2a3d292493a37a344e5f38de0a
  Multi-Arch: foreign
  Homepage: https://wiki.debian.org/Java/
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  Origin: Ubuntu
  Supported: 9m
  Task: ubuntu-usb, tomcat-server, kubuntu-desktop, kubuntu-full, kubuntu-active-desktop, kubuntu-active-full, edubuntu-usb

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1369259/+subscriptions


References