Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-20-2008, 05:28 AM   #1
LQ Newbie
Registered: Oct 2006
Posts: 24

Rep: Reputation: 15
APT-GET without human intervention - howto?

I need to be able to install packages without using the command line, so I need apt to answer all needed questions.

I tried using:

apt-get install --assume-yes --force-yes -y -qq {$package}

but some packages require further answer to questions and i want apt to answer the default option. is that possible? When those windows appear, asking yes or no to use one option, I need it to answer automatically.

I hope I made myself clear.

Thanks in advance for any help.
Old 07-20-2008, 06:57 AM   #2
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
The 'yes/no' applies to 'apt' asking you questions, not the ncurses menus which may pop up via the preinstall and postinstall scripts. Unfortunately the install script questions aren't only yes/no types - sometimes it is a string and sometimes a selection.

What is preventing you from using the command line?
Old 07-20-2008, 03:36 PM   #3
LQ Newbie
Registered: Oct 2006
Posts: 24

Original Poster
Rep: Reputation: 15
I was talking about the ncurses menus. but i have found a solution. I need to export an option with value = noninteractive. apt will process the installation of the packages selecting the default answer in the ncurses menus. problem solved. thanks anyway.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webalizer - howto convert the trafic into human readable? sys7em Linux - Server 3 09-25-2006 04:48 AM
Autologin or boot without human intervention DavidHB Slackware 4 03-03-2006 01:19 PM
HOWTO: Apt For RPM hausmasta Linux - Software 2 04-11-2005 08:50 AM
Questions pertaining to APT HOWTO michapma Debian 6 10-02-2004 08:26 AM
apt-get repositories, howto feetyouwell Linux - Software 2 05-26-2004 08:47 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration