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

Re: Injecten eines Paketes.



Am Thursday, den 28. October 2004 15:52:54 schrieb Martin Schmitz:
> Timo Eckert wrote:
> > ist es unter Debian mit apt möglich ein Paket zu Injecten?
> > Für die, die Gentoo nicht kennen, damit meine ich, dass die Paketverwaltung
> > ein Paket als installiert deklariert, obwohl dies nicht der Fall ist.
> 
> Du kannst einfach einen Eintrag in /var/lib/dpkg/status machen.

Das ist aber ein ziemlicher Hack. Es gibt 'equivs', damit kann man ein
dummy Paket bauen.

    Description: Circumventing Debian package dependencies
     This is a dummy package which can be used to create Debian
     packages, which only contain dependency information.
     .
     This way, you can make the Debian package management
     system believe that equivalents to packages on which other
     packages do depend on are actually installed.
     .
     Another possibility is creation of a meta package. When this
     package contains a dependency as "Depends: a, b, c", then
     installing this package will also select packages a, b and c.
     Instead of "Depends", you can also use "Recommends:" or
     "Suggests:" for less demanding dependency.
     .
     Please note that this is a crude hack and if thoughtlessly used
     might possibly do damage to your packaging system. And please
     note as well that using it is not the recommended way of dealing
     with broken dependencies. Better file a bug report instead.

	MfG
	bmg

-- 
"Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!"          | berberic@fmi.uni-passau.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | www.fmi.uni-passau.de/~berberic



Reply to: