Re: [Debian]: Paketleichen finden
On Tue, Jan 05, 1999 at 10:08:36AM +0100, Torsten Werner wrote:
> Mittlerweile befinden sich auf meinen Debian-Rechnern eine Menge
> "Paketleichen", welche mal zum Erfuellen irgendwelcher Abhaengigkeiten
> installiert wurden und mittlerweile aufgrund von
> Updates/Deinstallationen nicht mehr benoetigt werden.
>
> Gibt es ein Tool, das solche Pakete findet? Es wuerde mir reichen, wenn
> dieses Tool mir alle die installierten Pakete anzeigt, die nicht von
> anderen Paketen benoetigt werden und ich manuell entscheiden kann,
> welche Pakete Anwendungsprogramme und welche "Leichen" sind, die
> geloescht werden koennen.
Wenn ich mich richtig erinnere, sind in dem Paket ein paar Skripte, die die
Abhängigkeiten zwischen allen Paketen auflisten können. Sonst frag mal Manoj
direkt.
Marcus
Package: pkg-order
Priority: optional
Section: misc
Installed-Size: 193
Maintainer: Manoj Srivastava <srivasta@debian.org>
Architecture: all
Version: 1.02
Depends: perl (>= 5.001), bsdmainutils
Filename: dists/unstable/main/binary-i386/misc/pkg-order_1.02.deb
Size: 69760
MD5sum: 7632ed20d0842fbe40ebb33d1d86aa8e
Description: A Package dependency checker and install ordering tool
It does dependency checks, if you wish. It knows the difference
between installed, new (and available) packages, and the relationship
fields (pre-depends, depends, recommends, and suggests). (For
example, the current packages list need not be read in unless you
want dependency checks; you may already have done that and now merely
wish an ordering). It comes with a Test::Harness test suite, to
protect the world against my typos. Oh, it knows about epochs as well
if your dpkg does. This could be the basis of mass compiling the
packages on a new architecture, or to build a release from scratch.
.
It creates associative arrays of currently installed packages
(/var/lib/dpkg/status), and new packages (given a packages file at
the command line). Then, in the checking dependency phase, for each
package in the new packages list, it looks at the dependencies, and
ensure that each dependency is satisfied in either the new list or
the installed list. If the directive is satisfied from the list of
new packages, that package is added to the list of packages to be
topographically sorted. It understands Pre-Depends and will insert
breaks into the sorted list to separate the installation process into
separate runs as required to satisfy Pre-Dependencies.
.
All this is a set of perl5 libraries, so people may use the API in
their own scripts.
--
"Rhubarb is no Egyptian god." Debian GNU/Linux finger brinkmd@
Marcus Brinkmann http://www.debian.org master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de for public PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder: 666
Reply to: