package snapcraft (not installed) failed to install/upgrade: new snapcraft package pre-installation script subprocess returned error exit status 1

Bug #1994964 reported by Simon
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapcraft (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

it's on the cleanly upgraded 22.04 --> 22.10 system

sudo apt install snapcraft
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed
  snapcraft
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
63 not fully installed or removed.
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 ... 281232 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-22.10
error: requested a non-existing branch on latest/stable for snap "snapcraft":
       ubuntu-22.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 st
atus 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)

ProblemType: Package
DistroRelease: Ubuntu 22.10
Package: snapcraft (not installed)
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
Uname: Linux 5.19.0-23-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Oct 27 11:46:33 2022
ErrorMessage: new snapcraft package pre-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-10-27 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Python3Details: /usr/bin/python3.10, Python 3.10.7, python3-minimal, 3.10.6-1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.9ubuntu1
 apt 2.5.3
SourcePackage: snapcraft
Title: package snapcraft (not installed) failed to install/upgrade: new snapcraft package pre-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to kinetic on 2022-10-27 (0 days ago)

Revision history for this message
Simon (sg-83) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapcraft (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.