LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2016, 11:44 AM   #1
fetal
Member
 
Registered: Nov 2011
Distribution: Ubuntu 16.04
Posts: 34

Rep: Reputation: Disabled
Question Ubuntu kickstart/preseed issue


I've been using a Ubuntu kickstart and preseed scripts in order to build new machines, however within the last week or so they've been hanging do to issues with the /etc/sudoers file needed to be updated.

Here's where it hangs in from the logs.

Setting up sudo (1.8.9p5-1ubuntu1.3)

Configuration file '/etc/sudeors'
==> Modified by you or by a script) since installation.
==> Package distibution has shipped an updated version.
What would you like to do about it?

And of course since it's a kickstart/preseed it hangs. I've tried modifying the preseed file and changed d-i pkgsel/upgrade select full-upgrade to d-i pkgsel/upgrade select none but with no luck. Any suggestions would be most helpful! TIA!

Last edited by fetal; 11-01-2016 at 04:12 PM. Reason: Solved.
 
Old 11-01-2016, 04:12 PM   #2
fetal
Member
 
Registered: Nov 2011
Distribution: Ubuntu 16.04
Posts: 34

Original Poster
Rep: Reputation: Disabled
Fixed it with the following:

DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -q -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade
 
  


Reply

Tags
kickstart, ubuntu


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
preseed/late_command issue horizn Debian 1 05-14-2015 12:39 PM
Kernel preseed argument vs preseed.cfg doesn't work summersab Debian 1 02-24-2015 05:07 PM
Ubuntu 12.04 Preseed File dferris Ubuntu 0 10-01-2013 08:45 PM
Ubuntu autoinstall via Cobbler Preseed. gdizzle Ubuntu 0 07-02-2013 02:44 AM
Ubuntu Preseed not found Curtor Ubuntu 1 09-12-2008 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:38 PM.

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