Braiam wrote:
> In "4.4.3. Make sure you have sufficient space for the upgrade" the first
> code bloc shows using apt with Trivial-Only option to show how much space
> is needed for the operation; but buster apt command does not show this string.
That is, the code-block has
# apt -o APT::Get::Trivial-Only=true full-upgrade
[ ... ]
XXX upgraded, XXX newly installed, XXX to remove and XXX not upgraded.
Need to get xx.xMB of archives.
After this operation, AAAMB of additional disk space will be used.
I checked this on my desktop, and indeed it didn't say anything about
additional space being used; but in this particular case everything
had already been updated anyway. When I booted up a spare buster test
machine that *did* have a minor update due it said:
$ sudo apt -o APT::Get::Trivial-Only=true full-upgrade
[sudo] password for jbr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libjson-c3
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/27.3 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
E: Trivial Only specified but this is not a trivial operation.
So: are you sure? Maybe when you say buster you really mean stretch,
which is the release we need to test these instructions on (but I no
longer have a stretch test machine handy).
> Using apt-get here would be correct.
Where *both* work we're trying to stick to apt.
--
JBR with qualifications in linguistics, experience as a Debian
sysadmin, and probably no clue about this particular package