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

Re: How to ensure packages generated from -source are installable?

El lun, 03-01-2005 a las 11:33 +0100, Thomas Hood escribió:
> > What ends up happening now is the package ends up installing broken.
> I am not sure what you mean by this.  Here is what happens when I install
> an alsa-modules package in the absence of alsa-base:
> jdthood@thanatos:/usr/src$ sudo dpkg -i alsa-modules-2.4.27-1-686_1.0.7-3~unreleased1+10.00.Custom_i386.deb
> Selecting previously deselected package alsa-modules-2.4.27-1-686.
> (Reading database ... 192428 files and directories currently installed.)
> Unpacking alsa-modules-2.4.27-1-686 (from alsa-modules-2.4.27-1-686_1.0.7-3~unreleased1+10.00.Custom_i386.deb) ...
> dpkg: dependency problems prevent configuration of alsa-modules-2.4.27-1-686:
>  alsa-modules-2.4.27-1-686 depends on alsa-base (>= 1.0.1-1); however:
>   Package alsa-base is not installed.
> dpkg: error processing alsa-modules-2.4.27-1-686 (--install):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  alsa-modules-2.4.27-1-686
> If you are complaining about the fact that dpkg leaves behind unpacked
> files when it aborts then I suggest you file a bug report against dpkg. 
> This can then be merged with #15162 and the twelve reports already merged
> with it which complain about dpkg leaving behind unpacked files in various
> other circumstances.
> > The generalized form of this question is how does one deal with 
> > missing dependencies when using dpkg and not apt.
> One downloads the missing packages and dpkg --install's them.

 There is an easier way. Once you install that package by hand, execute
'apt-get install -f'

 This will usually fix these situations by downloading the needed
packages and installing them. Of course, you have to check that apt is
not trying other approaches to solve the problem, as removing every
related package.

> BTW have you tried module-assistant?

 I also recommend this. It was a great discovery. But I think that this
tool is not very known yet. Perhaps you (as alsa maintainer) could add a
note to README.Debian in modules-source, explaining how to compile them
using module-assistant. (I don't know if it is already there, I'm
writing this offline and I don't have the package at hand right now)

> -- 
> Thomas Hood
Jose Carlos Garcia Sogo

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente

Reply to: