Prompts on do-release-upgrade

Robert Heller heller at deepsoft.com
Fri Feb 16 14:24:27 UTC 2024


At Fri, 16 Feb 2024 09:13:58 -0500 "Ubuntu user technical support,? not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> I run this on do-release-upgrade from 20.04 to 22.04 (apt update first)
> 
> export DEBIAN_FRONTEND=noninteractive
> export DEBIAN_PRIORITY=critical
> sudo do-release-upgrade
> 
> This removed a few prompts... But I still have a couple. Like:
> 
> What do you want to do about modified configuration file 20auto-upgrades?
> I want to accept the Default (automatically)
> 
> and
> 
> Restart services during package upgrades without asking?
> I want to accept YES (automatically and not be prompted) - not the default
> 
> 
> How do I do that?

These prompts are embeded in the pre/post install scripts in the .deb files.  
This is a *feature* of the Debian packaging system.  I don't think there is 
anything you can do about them, short of hacking the .deb files directly (eg 
repackaging the packages).

> 
> jerry
> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                                           



More information about the ubuntu-users mailing list