I updated my review of bug #968257, this time trying an upgrade from a fresh minimal install of Debian 9 'stretch' to Debian 10 'buster'.
With the current Debian stretch (9.13 circa 2021-Q2), I found `apt' and `apt-get' produced equivalent space usage estimates, and this bug report is incorrect or no longer applicable. Recommend to close #968257. regards, donfede ##### # console review of a Debian 9 to Debian 10 upgrade, with valid apt space estimates root@saltdev09:~# apt -o APT::Get::Trivial-Only=true full-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: liblvm2app2.2 liblvm2cmd2.02 tcpd Use 'apt autoremove' to remove them. The following NEW packages will be installed: apparmor bzip2 ca-certificates dirmngr e2fsprogs-l10n exim4-base ... wamerican wget whiptail xauth xkb-data xxd zlib1g 217 upgraded, 90 newly installed, 0 to remove and 0 not upgraded. Need to get 155 MB of archives. After this operation, 441 MB of additional disk space will be used. E: Trivial Only specified but this is not a trivial operation. root@saltdev09:~# root@saltdev09:~# root@saltdev09:~# apt-get -o APT::Get::Trivial-Only=true full-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: liblvm2app2.2 liblvm2cmd2.02 tcpd Use 'apt autoremove' to remove them. The following NEW packages will be installed: apparmor bzip2 ca-certificates dirmngr e2fsprogs-l10n exim4-base ... wamerican wget whiptail xauth xkb-data xxd zlib1g 217 upgraded, 90 newly installed, 0 to remove and 0 not upgraded. Need to get 155 MB of archives. After this operation, 441 MB of additional disk space will be used. E: Trivial Only specified but this is not a trivial operation. root@saltdev09:~# root@saltdev09:~# root@saltdev09:~# cat /etc/debian_version 9.13 root@saltdev09:~# hostnamectl Static hostname: saltdev09 Icon name: computer-vm Chassis: vm Machine ID: 8048838ca13549cf93e5bff5567fcba2 Boot ID: a757f492a78840a4928d20b48b8d870d Virtualization: qemu Operating System: Debian GNU/Linux 9 (stretch) Kernel: Linux 4.9.0-15-amd64 Architecture: x86-64 root@saltdev09:~# which apt /usr/bin/apt root@saltdev09:~# which apt-get /usr/bin/apt-get root@saltdev09:~# dpkg -S /usr/bin/apt apt: /usr/bin/apt root@saltdev09:~# dpkg -S /usr/bin/apt-get apt: /usr/bin/apt-get root@saltdev09:~# dpkg -l apt Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii apt 1.4.11 amd64 commandline package manager root@saltdev09:~#
signature.asc
Description: PGP signature