Ubuntu Server 24.04.1 LTS fresh install errors in apt install and upgrade
Ian Bruntlett
ian.bruntlett at gmail.com
Tue Feb 4 15:35:29 UTC 2025
Hi Liam,
On Tue, 4 Feb 2025 at 15:20, Liam Proven <lproven at gmail.com> wrote:
> On 29/01/2025 18:15, Ian Bruntlett wrote:
> > $ sudo apt upgrade
> > $ sudo apt install some-package-name
> >
> > It might be a habit worth getting into.
>
> Why not `apt full-upgrade` ?
>
According to the apt man page:
*full-upgrade (apt-get(8))*
full-upgrade performs the function of upgrade but will remove
currently installed packages if this is needed to upgrade the system as a
whole.
When a package is supplied as an argument, the package will be
installed prior to the upgrade action.
As you've recommended that, I presume that is what you do (including the
initial "sudo apt update" that I hopefully provided). So it should be safe
:)
So, would the better approach be:
$ sudo apt update
$ sudo apt full-upgrade
My only update disaster occurred on upgrading a system from Ubuntu 22.04.x
to Ubuntu 24.04.1 when I chose to let the system ("Software Updater" aka
update-manager) uninstall obsolete packages. Not sure what, if anything,
went wrong. I took the opportunity to move that system to Xubuntu because
it only has 4GiB RAM.
HTH,
Ian
--
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/
-- Free Software page -
https://github.com/ian-bruntlett/TECH-Manuals/blob/main/tm-free-software.md
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20250204/5e5580a6/attachment.html>
More information about the ubuntu-users
mailing list