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

Re: about apt-get assume yes



On Thu, Mar 28, 2002 at 09:47:15AM +0800, irene7 wrote:
>   Dear all:
> 
>   i want to use apt-get to install software in a non-interactive way .
>  
>   so i am using  "apt-get -y -f install XXXX" ,
>   but it seems useless when it process to the postinst shell script
>   (like Config configure file ...)
>   it still prompts ,and ask me if i want to configure now .
> 
>   and i trid use this way :
>   " apt-get install xxx < file"
>   inside the file , i pressed a log of ENTER. 
>   Cause, i hope when it ask me answer, i just need to press enter to use the default answer.
> 
>   but it comes an error like this : "dpkg: error processing xxx ......"

DEBIAN_FRONTEND=noninteractive apt-get -y -f install XXX


That will atleast get you through the debconf questions.

-- 
 .------==-=======--------=====------------=-=-----.
/       Ben Collins    --    Debian GNU/Linux       \
`               bcollins@debian.org                 '
 `---=========---====----------==-===-------=--=---'


-- 
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: