BlinCT
BlinCTDec. 8, 2017, 4:29 a.m.

Ошибка при сборке snap пакета

snap

Всем привет.
Столкнулся с такой интересной ошибкой при использовании сборки с последней версией snapcraft version 2.35
Использую дистрибутивы Ubuntu 16.04 и KDE Neon LTS. Последний советую всем)
С предыдущей версией я собирал подобный проект без проблем, ниже привожу конфиг:

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]

Так вот теперь после обновления получаю такую ошибку:

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                                                                                                                                                                                                                                    
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.

Если кто понимает в подобной ошибке или сталкивался уже то буду признателен за подмогу в решении проблемы)

We recommend hosting TIMEWEB
We recommend hosting TIMEWEB
Stable hosting, on which the social network EVILEG is located. For projects on Django we recommend VDS hosting.

Do you like it? Share on social networks!

2
Evgenii Legotckoi
  • Dec. 8, 2017, 4:35 a.m.
  • (edited)
  • The answer was marked as a solution.

Привет!
Есть у меня такая мысль, что нужно репозиторий удалить, поскольку к нему просто нет доступа.

sudo add-apt-repository -r ppa:varlesh-l/indicator-kdeconnect
sudo apt update
А потом попытаться ещё раз запустить сборку пакета
    BlinCT
    • Dec. 8, 2017, 4:45 a.m.

    И как оказалось это правда, проблема в том что репозиторий не был доступен.
    Сборка в KDE Neon прошла успешно. Остается проблема только в Ubuntu но думаю что там что то тоже подобное будет.

      Comments

      Only authorized users can post comments.
      Please, Log in or Sign up
      AD

      C ++ - Test 004. Pointers, Arrays and Loops

      • Result:50points,
      • Rating points-4
      m

      C ++ - Test 004. Pointers, Arrays and Loops

      • Result:80points,
      • Rating points4
      m

      C ++ - Test 004. Pointers, Arrays and Loops

      • Result:20points,
      • Rating points-10
      Last comments
      i
      innorwallNov. 13, 2024, 11:03 p.m.
      How to make game using Qt - Lesson 3. Interaction with other objects what is priligy tablets What happens during the LASIK surgery process
      i
      innorwallNov. 13, 2024, 8:09 p.m.
      Using variables declared in CMakeLists.txt inside C ++ files where can i buy priligy online safely Tom Platz How about things like we read about in the magazines like roid rage and does that really
      i
      innorwallNov. 11, 2024, 10:12 p.m.
      Django - Tutorial 055. How to write auto populate field functionality Freckles because of several brand names retin a, atralin buy generic priligy
      i
      innorwallNov. 11, 2024, 6:23 p.m.
      QML - Tutorial 035. Using enumerations in QML without C ++ priligy cvs 24 Together with antibiotics such as amphotericin B 10, griseofulvin 11 and streptomycin 12, chloramphenicol 9 is in the World Health Organisation s List of Essential Medici…
      i
      innorwallNov. 11, 2024, 3:50 p.m.
      Qt/C++ - Lesson 052. Customization Qt Audio player in the style of AIMP It decreases stress, supports hormone balance, and regulates and increases blood flow to the reproductive organs buy priligy online safe Promising data were reported in a PDX model re…
      Now discuss on the forum
      i
      innorwallNov. 14, 2024, 12:39 a.m.
      добавить qlineseries в функции Listen intently to what Jerry says about Conditional Acceptance because that s the bargaining chip in the song and dance you will have to engage in to protect yourself and your family from AMI S…
      i
      innorwallNov. 11, 2024, 10:55 a.m.
      Всё ещё разбираюсь с кешем. priligy walgreens levitra dulcolax carbs The third ring was found to be made up of ultra relativistic electrons, which are also present in both the outer and inner rings
      9
      9AnonimOct. 25, 2024, 9:10 a.m.
      Машина тьюринга // Начальное состояние 0 0, ,<,1 // Переход в состояние 1 при пустом символе 0,0,>,0 // Остаемся в состоянии 0, двигаясь вправо при встрече 0 0,1,>…

      Follow us in social networks