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

Bug#468960: network-console type images assume sshd will be installed



On Sunday 02 March 2008, Colin Watson wrote:
> Robert's problem could have been a transient failure installing
> openssh-server,

That's just speculation without a log of the installation.

> which should have been detected rather than ignored.

Agreed. That is a weakness in the current apt-setup.

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.



Reply to: