Aaron Maxwell wrote:
> Yep.
>
> apt-get -dy install FOO && aptitude install FOO
>
> where FOO is one or more package names, or 'upgrade' or 'dist-upgrade'
>
> If you don't speak shell, the '&&' operator means 'execute the command
> on my right if and only if the command on my left has a return status
> of true'.
>
> You need to use apt-get as the first command.  This is because apt-get
> returns false if the download fails, while aptitude returns true on
> success or failure.  Once apt-get downloads the packages, aptitude
> finds them locally, and installs using the normal aptitude features.
>
> Best,
> Aaron Maxwell - http://redsymbol.com

Thanks, i will try that next time.

Benedict


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to