Can python-debian install a .deb package?

Sergei Poselenov sposelenov at emcraft.com
Wed Sep 15 09:08:19 UTC 2010


Hi Enrico,


On Wed, 15 Sep 2010 10:44:09 +0200
Enrico Zini <enrico at enricozini.org> wrote:

> On Wed, Sep 15, 2010 at 12:15:34PM +0400, Sergei Poselenov wrote:
> 
> > It definitely can, however, python-apt depends on the libapt
> > libraries
> > - the solution will not be portable.
> 
> It will be portable on all debian systems, which is generally where
> people want to install Debian packages.
> 
> What exactly are you trying to do?
> 

We are developing a SDK for embedded systems. The SDK consists of a set
of target packages (Debian packages), a toolchain (cross-gcc,
binutils, gdb,...), and installer.

We want the SDK installer be able to work (i.e. install the set of .deb
packages) on as many Unix systems as possible (x86 Fedora, Debian,
Gentoo, FreeBSD,...).

We are looking for several designs for installer, one of which is to use
Python script along with the "python-debian" binding to parse and
install .deb to the host system.

Obviously, the solution based on python-apt would only work on a
Debian-based system only.

Regards,
Sergei

> 
> Ciao,
> 
> Enrico
> 




More information about the pkg-python-debian-discuss mailing list