I think this ties in to similar issue with the boot size we have in Debian; maybe we should have
Extra-Size as a field in the snap2deb. But certainly we don't want to query snapd from inside APT; snapd would need to query the store and at this point of the process users expect an immediate response. So the deb when building should figure out the snap size, add 10% to it for safety and store it in a field. Note that APT measures the space of /usr when it checks if enough space is available, and not /, but snaps install to /snap. We don't have a general purpose way to specify per location space requirements, only a single Installed-Size field currently. ** Changed in: apt (Ubuntu) Status: Invalid => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1958811 Title: If apt installs snap package, then show size of it Status in apt package in Ubuntu: Triaged Status in snapd package in Ubuntu: Confirmed Bug description: If apt installs snap package, then show size of it ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: chromium-browser 1:85.0.4183.83-0ubuntu2 ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12 Uname: Linux 5.15.0-17-generic x86_64 ApportVersion: 2.20.11-0ubuntu75 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: KDE DRM.card0-Virtual-1: enabled: enabled dpms: On status: connected edid-base64: modes: 1024x768 1920x1080 1600x1200 1680x1050 1680x1050 1400x1050 1400x1050 1600x900 1280x1024 1440x900 1440x900 1280x960 1366x768 1366x768 1360x768 1280x800 1280x800 1280x768 1280x768 1280x720 800x600 800x600 848x480 640x480 Date: Mon Jan 24 03:36:26 2022 DiskUsage: Filesystem Type Size Used Avail Use% Mounted on /dev/xvda3 ext4 11G 8,3G 1,5G 86% / tmpfs tmpfs 1,9G 6,6M 1,9G 1% /dev/shm /dev/xvda3 ext4 11G 8,3G 1,5G 86% / InstallationDate: Installed on 2022-01-21 (2 days ago) InstallationMedia: Kubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220121) Lsusb: Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Lsusb-t: /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M MachineType: Xen HVM domU ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-17-generic root=UUID=d8fb805e-11ec-4105-9320-3618a2dfa835 ro quiet splash vt.handoff=7 Snap.Changes: ID Status Spawn Ready Summary 4 Done 2022-01-24T03:33:37+02:00 2022-01-24T03:34:29+02:00 Install "chromium" snap Snap.ChromeDriverVersion: ChromeDriver 97.0.4692.99 (d740da257583289dbebd2eb37e8668928fac5ead-refs/branch-heads/4692@{#1461}) Snap.ChromiumVersion: Chromium 97.0.4692.99 snap SourcePackage: chromium-browser UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 01/08/2022 dmi.bios.release: 4.14 dmi.bios.vendor: Xen dmi.bios.version: 4.14.3 dmi.chassis.type: 1 dmi.chassis.vendor: Xen dmi.modalias: dmi:bvnXen:bvr4.14.3:bd01/08/2022:br4.14:svnXen:pnHVMdomU:pvr4.14.3:cvnXen:ct1:cvr:sku: dmi.product.name: HVM domU dmi.product.version: 4.14.3 dmi.sys.vendor: Xen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1958811/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp