Re: Setting up an auto system update
  By: Vincent Coen to Charles Blackburn on Wed Oct 05 2022 22:04:13
it won't work ... all you gott a do..... *drum roll*
apt upgrade -y
Thanks that works, now why could I not see that param - may be not in the man apt nor in info apt displays :)
it's buried in different man pages for sure, but is (i thought) common knowledge :D
-y, --yes, --assume-yes
           Automatic yes to prompts; assume "yes" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held package, trying to install an unauthenticated
           package or removing an essential package occurs then apt-get will abort. Configuration Item: APT::Get::Assume-Yes.
you can also do 
       --assume-no
           Automatic "no" to all prompts. Configuration Item: APT::Get::Assume-No.
and this will do everything OTHER than the actual install/update
 -s, --simulate, --just-print, --dry-run, --recon, --no-act
           No action; perform a simulation of events that would occur based on the current system state but do not actually change the system. Locking will be disabled (Debug::NoLocking) so the system
           state could change while apt-get is running. Simulations can also be executed by non-root users which might not have read access to all apt configuration distorting the simulation. A notice
           expressing this warning is also shown by default for non-root users (APT::Get::Show-User-Simulation-Note). Configuration Item: APT::Get::Simulate.
           Simulated runs print out a series of lines, each representing a dpkg operation: configure (Conf), remove (Remv) or unpack (Inst). Square brackets indicate broken packages, and empty square
           brackets indicate breaks that are of no consequence (rare).
regards
===
Charles Blackburn
The F.B.O BBS   21:1/221 618:250/36
bbs.thefbo.us IPV4/V6
DOVE-Net FSX-Net MicroNET USENET
--- SBBSecho 3.15-Linux
 * Origin: The FBO BBS - bbs.thefbo.us (1:135/395)