Frans Pop <[EMAIL PROTECTED]> writes: > On Sunday 02 March 2008, Colin Watson wrote: >> ... but of course apt-install will be queueing at that point so such >> errors will be undetectable. Hmm. Perhaps it would be nice to be able to >> register some kind of callback system so that apt-install can notify the >> requesting udeb that the package it wanted wasn't available, and let it >> decide what to do. >> >> This does feel susceptible to overengineering, though! > > I have been thinking that maybe be should split the queue for "required" > and "optional" packages by passing an option in the apt-install call. > > apt-install could then return an error for any required package that really > failed to install (either when processing the queue or when installing > immediately). > > This should be relatively simple to implement.
Yes, I think this solve the problem in a simpler way then a callback system ;-) -- O T A V I O S A L V A D O R --------------------------------------------- E-mail: [EMAIL PROTECTED] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]