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

Re: Problem mit Packages (Depends)



Hi,

Oliver Neumann [New Identity AG] wrote:
> Das Problem ist ja eher sowas :
> 
> dpkg --compare-versions 1.3.28-woody gt 1.3.28 && echo "jo"
> jo
> 
> bzw.
> 
> dpkg --compare-versions 1.3.26-woody eq 1.3.26 && echo "jo"
> 
> Beides ist ja wohl mal nicht korrekt, oder?

Doch.

Das erste:

1.3.28foobar ist größer als 1.3.28. basta.

dpkg (apt) parsen die Versionummer nach und nach. Und 1=1, 3=3, 28=28,
aber woody > nichts.

Das macht auch Sinn, da z.B. das Security-Update 1.3.28woody1 ja eine
höhere Versionsnummer als 1.3.28 bekommen sollte...

Das zweite:

Klar, Die versionen sind nicht identisch...

Grüße/Regards,

René
-- 
 .''`.  René 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: pgpbo6LlD1jSa.pgp
Description: PGP signature


Reply to: