PackageManagementRoadmap

Differences between revisions 15 and 16
Revision 15 as of 2005-04-28 02:42:16
Size: 1141
Editor: intern146
Comment: this bit moved to FindingPackages
Revision 16 as of 2005-04-28 05:44:33
Size: 3673
Editor: intern146
Comment: updated after the first discussion
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
The package managment tools needs to be updated to work with the new requirements that the distro imposes on them.
Line 22: Line 24:

Both apt, aptitude, dpkg and synaptic needs updates in various areas.
Line 25: Line 29:
1. dpkg does not depend on dselect anymore

1. "network source in sources.list" and behave sanely

1. support logging:
  * dpkg-1.13 support logging for states now (needs to log
    answers for conf file questions
  * log the output of dpkg in synaptic (because we don't get
    debconf questions there)

1. "automated package suggestions":
  * mime-type of packages should be used: find a application
    to work with that mime type and install it
    Use-case:
     1. download a file with unknown mime-type and firefox
        tells us that it does not support it
     1. have a non-supported file openend with nautilus and
        it should ask for software to be installed

1. FeatureDependencies: http://www.dpkg.org/FeatureDependencies

1. Future source package format: http://www.dpkg.org/NewSourceFormat
   * support for bz2 sources files will go in for breezy

1. network sources stuff:
  * synaptic: ask network manager if we are online or not
  * apt,aptitude should test for network by forking a application
    that speaks dbus and tries to talk to network-manager

1. libapt should support apt-get update in a single library call

1. aptitdue dist-upgrade <-> apt-get dist-upgrade why they are
  different and if we can merge that changes

1. probably move libapt-pkg and libapt-inst into one library

1. Deb should be extended to support:
 * bwlimit (debian #146877, a prototype patch is in BTS)
 * Package Index Diff support (debian #128818, prototype patch in BTS)
 * i18n for Package Descriptions (debian #265009, prototype patch in BTS)
 * python-apt debcache/commit/update/progress (part of that exist in michael.vogt@ubuntu.com--2005/python-apt--mvo--0) interface
 * ClickInstall (FindingPackages)
 * Aptitude like AutoTracking for dependencies (PackageDependencyManagment)
 * evalute smart
 * #225947: apt-utils: please support architecture-specific extra overrides

1. plan: make apt-woa (working-overloaded-apt)

Line 26: Line 79:

The packages tools must work as before, for the automatic handling of dependencies a script should be provided that converts the markings into the new format.
Line 29: Line 84:
Apt, aptitude, dpkg and synaptic.
Line 31: Line 88:
The automatic dependency feature needs updates to the apt and synaptic GUI.
Line 32: Line 91:

Most of the work is not done yet, some prototype patches exists.

Status

Introduction

Define what road we want to take for our package managment tools.

Rationale

The package managment tools needs to be updated to work with the new requirements that the distro imposes on them.

Scope and Use Cases

Both apt, aptitude, dpkg and synaptic needs updates in various areas.

Implementation Plan

1. dpkg does not depend on dselect anymore

1. "network source in sources.list" and behave sanely

1. support logging:

  • dpkg-1.13 support logging for states now (needs to log
    • answers for conf file questions
  • log the output of dpkg in synaptic (because we don't get
    • debconf questions there)

1. "automated package suggestions":

  • mime-type of packages should be used: find a application
    • to work with that mime type and install it Use-case:
      1. download a file with unknown mime-type and firefox
        • tells us that it does not support it
      2. have a non-supported file openend with nautilus and
        • it should ask for software to be installed

1. FeatureDependencies: http://www.dpkg.org/FeatureDependencies

1. Future source package format: http://www.dpkg.org/NewSourceFormat

  • support for bz2 sources files will go in for breezy

1. network sources stuff:

  • synaptic: ask network manager if we are online or not
  • apt,aptitude should test for network by forking a application
    • that speaks dbus and tries to talk to network-manager

1. libapt should support apt-get update in a single library call

1. aptitdue dist-upgrade <-> apt-get dist-upgrade why they are

  • different and if we can merge that changes

1. probably move libapt-pkg and libapt-inst into one library

1. Deb should be extended to support:

  • bwlimit (debian #146877, a prototype patch is in BTS)
  • Package Index Diff support (debian #128818, prototype patch in BTS)
  • i18n for Package Descriptions (debian #265009, prototype patch in BTS)
  • python-apt debcache/commit/update/progress (part of that exist in michael.vogt@ubuntu.com--2005/python-apt--mvo--0) interface

  • ClickInstall (FindingPackages)

  • Aptitude like AutoTracking for dependencies (PackageDependencyManagment)

  • evalute smart
  • #225947: apt-utils: please support architecture-specific extra overrides

1. plan: make apt-woa (working-overloaded-apt)

Data Preservation and Migration

The packages tools must work as before, for the automatic handling of dependencies a script should be provided that converts the markings into the new format.

Packages Affected

Apt, aptitude, dpkg and synaptic.

User Interface Requirements

The automatic dependency feature needs updates to the apt and synaptic GUI.

Outstanding Issues

Most of the work is not done yet, some prototype patches exists.

UDU BOF Agenda

  • Logging of package management activity
  • Automated package suggestions
    • Support packages for hardware devices
    • Applications necessary to open file formats
  • Supporting changes to enable network sources by default during installation ([https://bugzilla.ubuntu.com/show_bug.cgi?id=6390 Bug#6390])

UbuntuDownUnder/BOFs/PackageManagementRoadmap (last edited 2008-08-06 16:36:00 by localhost)