Aptdaemon

Category: Ubuntu

I am glad to announce aptdaemon: It is a DBus controlled and PolicyKit using package management daemon build on python-apt.

If the above description reminds you of PackageKit you won't be completely wrong. Aptdaemon reuses some design concepts and code from PackageKit. As the author of the PackageKit apt backend I run into some policy problems: PackageKit only allows non-interactive actions. So there is no support for debconf, CDROMs and configuration conflict handling. Nevertheless thanks to Richard Hughes for his efforts on making package management less of a pain.

Aptdaemon already provides the following features:

* DBus interface with DBus activation and idle time out

* PolicyKit authorization allowing e.g. desktop user to update the cache
  (check for updates) passwordlessly

* Transaction based: Atom actions, e.g. installing packages, are queued
  for processing.

* Controlling terminal to apt and dpkg calls. Furthermore a
  non-interactive fallback mode

* Install packages from repositories or local file system, remove
  packages, update the cache and (safe) upgrade your system

* Canceling of downloads and not yet processed transactions

* Localisation

* Python client library and GTK widgets

* An example GTK (aptd-gtk-demo) and command line application (aptdcon)

Here you can find a screencast showing most of the above issues:

launchpad.net/aptdaemon/trunk/0.10/+download/announcement.ogg

The project is hosted at Launchpad: launchpad.net/aptdaemon

To get the latest code type:

bzr branch lp:aptdaemon

Ubuntu Jaunty packages can be found in the PPA:

launchpad.net/~aptdaemon-developers/+archive/ppa

A package for Debian can be found here, but you need python-apt from experimental:

launchpad.net/aptdaemon/trunk/0.10/+download/aptdaemon_0.10_all.deb

There are still a lot of things to do and work on. Especially integrating a not yet written DBus empowered debconf frontend.

Feel free to submit comments, bugs and code!

 
  1. Fred Morgan

    Friday, 06-02-09 15:42

    Are you going to port Synaptic to aptdeamon?
  2. Sebastian Heinlein

    Tuesday, 03-02-09 00:36

    Because the apt clients (update-manager and gnome-app-install) provide a very good user interface and are way ahead of the PackageKit tools. So there is no gain.
  3. Mr. Anonym

    Monday, 02-02-09 21:33

    Why isn't aptdeamon implementing the packagekit dbus interface directly + his own extensions?
  4. Vadim Peretokin

    Monday, 02-02-09 01:07

    @foo: You forgot the "Will you upload to Debian?" msg you usually spam with.
  5. Mikkel Kamstrup Erlandsen

    Sunday, 01-02-09 20:29

    That fact that Debian/Ubuntu think that it is über cool to block a 1-hour upgrade process after 10 minutes asking me some silly question is so annoying I can not begin to describe it.

    Ofcourse it seems less of a task to implement this "bug" in PK than the monumental task of changing the Debian packaging policies. It is a pragmatic choice that I could almost live with if only the current Debian policy wasn't so annoying.

    Anyway, I can appreciate the pickle both camps are in. Here's to the future :-)
1 2 3 Next
 

CAPTCHA image for SPAM prevention