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

Re: Eigene Pakete werden überschrieben?



Hi Martin,

Martin Schmitz wrote:
> Nun bekomme  ich aber langsam  Probleme mit der  Paketverwaltung, sprich
> mit dselect und apt. Dabei treten drei verschiedene Phänomene auf, wobei
> ich nicht sagen  kann, wodurch das Verhalten jeweils  gesteuert wird, an
> der Versionierung sollte es nicht liegen:

[...]

> | 
> | b) dpkg will mein cdrdao-1.1.7 unbedingt wieder mit seinem 1.1.5
> |    "updaten",

Das ist ein Feature.

rene@stan:~$ ssh ftp-master.debian.org madison cdrdao
    cdrdao |  1:1.1.3-3 |     oldstable | source, alpha, arm, i386, m68k, powerpc
    cdrdao | 1:1.1.3-3.0.1 |     oldstable | sparc
    cdrdao | 1:1.1.5-3.1 |        stable | source, alpha, arm, i386, m68k, mips, mipsel, powerpc, s390, sparc
    cdrdao | 1:1.1.7-0.1 |       testing | source, alpha, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc
    cdrdao | 1:1.1.7-0.1 |      unstable | source, alpha, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc

Das Paket, was Du mit checkinstall installiert trägt wahrscheinlich
nur 1.1.7-1. Das offizielle Paket aber 1:1.1.5-3.1. EIne Epcohe (das
ist das 1: vor der eigentlichen Version) ist immer größer als die
niedrigere Epoche (und das ist in dem Fall 0: da nichts davor steht)

> Wie bastelt  man auf  die schnelle ein  "Dummy-Paket" als  Quickhack für
> dpkg, dselect, apt?

equivs

apt-cache show equivs:

[...]
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.

Grüße

Rene
-- 
 .''`.  Rene Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73

Attachment: pgpHCQrrqXWlS.pgp
Description: PGP signature


Reply to: