Bug#221213: partconf: Uninstallable due to broken depends
Sebastian Ley <sebastian.ley@mmweg.rwth-aachen.de> writes:
> Am Mo, den 17.11.2003 schrieb Goswin Brederlow um 10:45:
>
> > Partconf Build-Depends on "libparted1.6-dev | libparted-dev" and its
> > binary packages "Depends: ${shlibs:Depends}". That results in
> > "Depends: libc6 (>= 2.3.2.ds1-4), libdebconfclient0,
> > libdebian-installer4 (>= 0.16), libparted1.6-0 (>= 1.6.0)". That makes
> > them uninstallable.
> >
> > The binary packages should depend on the respective udebs:
> >
> > Package: libc-udeb
> > Provides: glibc-2.3.2.ds1-10
> >
> > Package: libparted1.6-udeb
> > Provides: libparted
>
> I once proposed that all library udebs should Provide the name of the
> "original" library. Then we will be able to use shlibs to resolve
> dependencies also for udebs.
Having libparted1.6-dev installed gives libparted1.6-0 (>= 1.6.0)
What happens if libparted-dev is installed?
Is the versioned depends needed? Provide doesn't work with versioned
depends. Providing the original library name wouldn't help. Maybe
shlibs-udeb could be written to add a "-udeb" to the library name and
all lib udebs could be made to follow the name-udeb.
MfG
Goswin
Reply to: