Hi all.
Yesterday, I updated the system (Ubuntu 16.04 and KDE Neon LTS) to the latest version.
snapcraft --version
snapcraft, version 2.35
snap --version
snap 2.29.3
snapd 2.29.3
series 16
neon 16.04
kernel 4.4.0-92-generic
Previously, created package was not problem, now with this problem . Tell me please what this relates to and what’s the problem?
Project Configuration
name: bsp095project
version: "1.0"
summary: timer
description: |
Application for medical testing
confinement: strict
architectures: [amd64]
apps:
timerproject:
command: bin/run.sh $SNAP/usr/bin/ProjectTimer
plugs: [home, unity7, x11, opengl]
parts:
files:
plugin: dump
source: scripts
after: [integration]
integration:
plugin: nil
stage-packages:
- libc-bin
- libclutter-1.0-0
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- libglib2.0-0
- light-themes
- shared-mime-info
- libqt5gui5
- libgdk-pixbuf2.0-0
- libqt5svg5
- libqt5quick5
- libsqlite0
- libqt5sql5
- libqt5sql5-sqlite
- libsqlite3-0
- appmenu-qt5
- libqt5qml5
- libqt5quickwidgets5
- libgl1-mesa-dev
- qml-module-qtquick-controls
- qml-module-qtqml-models2
- qmlscene
- qml-module-qt-labs-folderlistmodel
- qml-module-qtquick-xmllistmodel
after: [desktop-qt5]
Errors from KDE Neon
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main amd64 DEP-11 Metadata
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main DEP-11 64x64 Icons
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main DEP-11 64x64@2 Icons
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main DEP-11 128x128 Icons
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main amd64 Packages
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main i386 Packages
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main all Packages
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main amd64 DEP-11 Metadata
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main DEP-11 64x64 Icons
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main DEP-11 64x64@2 Icons
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main DEP-11 128x128 Icons
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main amd64 Packages
403 Forbidden
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main i386 Packages
403 Forbidden
Ign http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main all Packages
Ign http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main amd64 DEP-11 Metadata
Ign http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main DEP-11 64x64 Icons
Ign http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main DEP-11 64x64@2 Icons
Ign http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main DEP-11 128x128 Icons
Err http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main amd64 Packages
403 Forbidden
Ign http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial/main i386 Packages
Fetched 11.0 kB in 0s (0 B/s)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apt/cache.py", line 452, in update
pulse_interval)
SystemError: W:The repository 'http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://archive.neon.kde.org/user/lts xenial InRelease' doesn't support architecture 'i386', E:Failed to fetch http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu/dists/xenial/main/binary-amd64/Packages 403 Forbidden, E:Some index files failed to download. They have been ignored, or old ones used instead.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/snapcraft", line 9, in <module>
load_entry_point('snapcraft==2.35', 'console_scripts', 'snapcraft')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/snapcraft/cli/__main__.py", line 19, in <module>
run(prog_name='snapcraft')
File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1037, in invoke
return Command.invoke(self, ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/lib/python3/dist-packages/snapcraft/cli/__init__.py", line 124, in run
ctx.forward(lifecyclecli.commands['snap'])
File "/usr/lib/python3/dist-packages/click/core.py", line 552, in forward
return self.invoke(cmd, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py", line 140, in snap
project_options, directory=directory, output=output)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_packer.py", line 45, in snap
execute('prime', project_options)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_runner.py", line 80, in execute
_Executor(config, project_options).run(step, part_names)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_runner.py", line 175, in run
self._run_step(step, part, part_names)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_runner.py", line 205, in _run_step
getattr(part, 'prepare_{}'.format(step))()
File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/__init__.py", line 244, in prepare_pull
self._fetch_stage_packages()
File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/__init__.py", line 230, in _fetch_stage_packages
stage_packages)
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 293, in get
with self._apt.archive(self._cache.base_dir) as apt_cache:
File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
return next(self.gen)
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 141, in archive
raise e
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 132, in archive
apt_cache = self._setup_apt(cache_dir)
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 125, in _setup_apt
sources_list=sources_list_file)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 454, in update
raise FetchFailedException(e)
apt.cache.FetchFailedException: W:The repository 'http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://archive.neon.kde.org/user/lts xenial InRelease' doesn't support architecture 'i386', E:Failed to fetch http://ppa.launchpad.net/varlesh-l/indicator-kdeconnect/ubuntu/dists/xenial/main/binary-amd64/Packages 403 Forbidden, E:Some index files failed to download. They have been ignored, or old ones used instead.
Errors from Ubuntu 16.04
Get:43 http://cz.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [8072 B]
Get:44 http://cz.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [8100 B]
Get:45 http://cz.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2672 B]
Get:46 http://cz.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]
Get:47 http://cz.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [561 kB]
Err http://cz.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
lzma_read: Read error (10)
Get:48 http://cz.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [529 kB]
Get:49 http://cz.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [227 kB]
Get:50 http://cz.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [185 kB]
Get:51 http://cz.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [255 kB]
Get:52 http://cz.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]
Get:53 http://cz.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [15.3 kB]
Get:54 http://cz.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8052 B]
Get:55 http://cz.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5892 B]
Get:56 http://cz.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
Get:57 http://cz.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4860 B]
Get:58 http://cz.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [4856 B]
Get:59 http://cz.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3220 B]
Get:60 http://cz.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3328 B]
Get:61 http://cz.archive.ubuntu.com/ubuntu xenial-backports/main DEP-11 64x64 Icons [29 B]
Get:62 http://cz.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata [194 B]
Get:63 http://cz.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6616 B]
Get:64 http://cz.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [6604 B]
Get:65 http://cz.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3768 B]
Get:66 http://cz.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4672 B]
Err http://cz.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
Hash Sum mismatch
Get:67 http://cz.archive.ubuntu.com/ubuntu xenial-backports/universe DEP-11 64x64 Icons [2716 B]
Get:68 http://cz.archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata [216 B]
Get:69 http://cz.archive.ubuntu.com/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons [29 B]
Get:70 http://cz.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]
Err http://cz.archive.ubuntu.com/ubuntu xenial/universe Translation-en
Err http://cz.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
Hash Sum mismatch
Err http://cz.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
Fetched 17.3 MB in 0s (0 B/s)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apt/cache.py", line 452, in update
pulse_interval)
SystemError: E:Failed to fetch store:/home/blinct/.cache/snapcraft/stage-packages/apt/812c58ef45ccb9801f2cdba984fb691ca23ead22504e5a3547cf8a1035b056f8c4544607cd67939566152b655d95dd8f/var/lib/apt/lists/partial/cz.archive.ubuntu.com_ubuntu_dists_xenial_universe_binary-i386_Packages.xz Hash Sum mismatch, E:Failed to fetch store:/home/blinct/.cache/snapcraft/stage-packages/apt/812c58ef45ccb9801f2cdba984fb691ca23ead22504e5a3547cf8a1035b056f8c4544607cd67939566152b655d95dd8f/var/lib/apt/lists/partial/cz.archive.ubuntu.com_ubuntu_dists_xenial_universe_i18n_Translation-en.xz , E:Failed to fetch store:/home/blinct/.cache/snapcraft/stage-packages/apt/812c58ef45ccb9801f2cdba984fb691ca23ead22504e5a3547cf8a1035b056f8c4544607cd67939566152b655d95dd8f/var/lib/apt/lists/partial/cz.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages.xz Hash Sum mismatch, E:Failed to fetch store:/home/blinct/.cache/snapcraft/stage-packages/apt/812c58ef45ccb9801f2cdba984fb691ca23ead22504e5a3547cf8a1035b056f8c4544607cd67939566152b655d95dd8f/var/lib/apt/lists/partial/cz.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-i386_Packages.xz , E:Some index files failed to download. They have been ignored, or old ones used instead.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/snapcraft", line 9, in <module>
load_entry_point('snapcraft==2.34', 'console_scripts', 'snapcraft')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/snapcraft/cli/__main__.py", line 19, in <module>
run(prog_name='snapcraft')
File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1037, in invoke
return Command.invoke(self, ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/lib/python3/dist-packages/snapcraft/cli/__init__.py", line 110, in run
ctx.forward(lifecyclecli.commands['snap'])
File "/usr/lib/python3/dist-packages/click/core.py", line 552, in forward
return self.invoke(cmd, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py", line 132, in snap
project_options, directory=directory, output=output)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 349, in snap
execute('prime', project_options)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 130, in execute
_Executor(config, project_options).run(step, part_names)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 225, in run
self._run_step(step, part, part_names)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 255, in _run_step
getattr(part, 'prepare_{}'.format(step))()
File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/__init__.py", line 244, in prepare_pull
self._fetch_stage_packages()
File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/__init__.py", line 230, in _fetch_stage_packages
stage_packages)
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 282, in get
with self._apt.archive(self._cache.base_dir) as apt_cache:
File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
return next(self.gen)
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 141, in archive
raise e
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 132, in archive
apt_cache = self._setup_apt(cache_dir)
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 125, in _setup_apt
sources_list=sources_list_file)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 454, in update
raise FetchFailedException(e)
apt.cache.FetchFailedException: E:Failed to fetch store:/home/blinct/.cache/snapcraft/stage-packages/apt/812c58ef45ccb9801f2cdba984fb691ca23ead22504e5a3547cf8a1035b056f8c4544607cd67939566152b655d95dd8f/var/lib/apt/lists/partial/cz.archive.ubuntu.com_ubuntu_dists_xenial_universe_binary-i386_Packages.xz Hash Sum mismatch, E:Failed to fetch store:/home/blinct/.cache/snapcraft/stage-packages/apt/812c58ef45ccb9801f2cdba984fb691ca23ead22504e5a3547cf8a1035b056f8c4544607cd67939566152b655d95dd8f/var/lib/apt/lists/partial/cz.archive.ubuntu.com_ubuntu_dists_xenial_universe_i18n_Translation-en.xz , E:Failed to fetch store:/home/blinct/.cache/snapcraft/stage-packages/apt/812c58ef45ccb9801f2cdba984fb691ca23ead22504e5a3547cf8a1035b056f8c4544607cd67939566152b655d95dd8f/var/lib/apt/lists/partial/cz.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages.xz Hash Sum mismatch, E:Failed to fetch store:/home/blinct/.cache/snapcraft/stage-packages/apt/812c58ef45ccb9801f2cdba984fb691ca23ead22504e5a3547cf8a1035b056f8c4544607cd67939566152b655d95dd8f/var/lib/apt/lists/partial/cz.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-i386_Packages.xz , E:Some index files failed to download. They have been ignored, or old ones used instead.
Until then, I used a snapcraft slightly older version.
Thx for answer.