I had a chance to run through the upgrade process from Debian 10 'buster' to
Debian 11/testing 'bullseye' on a test VM this weekend.  My findings were
different, and `apt' produced equivalent space usage estimates to `apt-get'.  

Could the bug submitter provide more details per this issue, possibly with a
script log or console excerpt with the 5x sample commands.  
Alternately, I recommend this bug be closed as not applicable to current
Debian.

# suggested 5x console commands from bug submitter
a) apt -o APT::Get::Trivial-Only=true full-upgrade
b) apt-get -o APT::Get::Trivial-Only=true full-upgrade
c) cat /etc/debian_version 
d) hostnamectl 
e) dpkg -l apt

regards,
donfede



#####
# console review of a Debian 10 to Debian 11 upgrade, with valid apt space 
estimates

root@saltdev12:~# 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:
  ant-contrib bsdmainutils cpp-8 dns-root-data dnsmasq-base enchant
...
The following packages will be upgraded:
...
  xterm xxd xz-utils zenity zenity-common zip zlib1g
1211 upgraded, 174 newly installed, 17 to remove and 0 not upgraded.
Need to get 1,026 MB of archives.
After this operation, 1,168 MB of additional disk space will be used.
E: Trivial Only specified but this is not a trivial operation.
root@saltdev12:~# 
root@saltdev12:~# 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:
  ant-contrib bsdmainutils cpp-8 dns-root-data dnsmasq-base enchant
...
  xterm xxd xz-utils zenity zenity-common zip zlib1g
1211 upgraded, 174 newly installed, 17 to remove and 0 not upgraded.
Need to get 1,026 MB of archives.
After this operation, 1,168 MB of additional disk space will be used.
E: Trivial Only specified but this is not a trivial operation.
root@saltdev12:~# 
root@saltdev12:~# cat /etc/debian_version 
10.9
root@saltdev12:~# hostnamectl 
   Static hostname: saltdev12
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 7dbeb15ee7f3422880510406f4f3e69f
           Boot ID: 200e18ca7f004054827ced4cc0902a1b
    Virtualization: kvm
  Operating System: Debian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.0-16-amd64
      Architecture: x86-64
root@saltdev12:~# 
root@saltdev12:~# which apt
/usr/bin/apt
root@saltdev12:~# which apt-get
/usr/bin/apt-get
root@saltdev12:~# dpkg -S /usr/bin/apt
apt: /usr/bin/apt
root@saltdev12:~# dpkg -S /usr/bin/apt-get
apt: /usr/bin/apt-get
root@saltdev12:~# 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.8.2.2      amd64        commandline package manager
root@saltdev12:~# 


Attachment: signature.asc
Description: PGP signature

Reply via email to