canonical / ubuntu-maintainers-handbook

Ubuntu Maintainer's Handbook
56 stars 39 forks source link

Install Software command is broken #118

Closed raviksharma closed 11 months ago

raviksharma commented 11 months ago

https://github.com/canonical/ubuntu-maintainers-handbook/blob/main/Setup.md#install-software

The following NEW packages will be installed:
  snapcraft
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,356 B of archives.
After this operation, 55.3 kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 237368 files and directories currently installed.)
Preparing to unpack .../snapcraft_3.0ubuntu2_all.deb ...
=> Installing the Snapcraft snap
==> Checking connectivity with the snap store
==> Installing the Snapcraft snap for ubuntu-23.10
error: requested a non-existing branch on latest/stable for snap "snapcraft": ubuntu-23.10
dpkg: error processing archive /var/cache/apt/archives/snapcraft_3.0ubuntu2_all.deb (--unpack):
 new snapcraft package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/snapcraft_3.0ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is becasue snapcraft is not supported as a deb anymore.

raviksharma commented 11 months ago

https://github.com/canonical/ubuntu-maintainers-handbook/pull/117 fixes this