Cannot start snap, stuck after "Watches established"

use the newer pulse, the one in stable is really old and missing interfaces and some patches/fixes …

snap refresh --beta pulseaudio

disconnect the alsa plug of your app (best to remove it completely from snapcraft.yaml) and connect the audio-playback plug to pulseaudio with:

snap connect cluemaster-mediadisplay:audio-playback pulseaudio

now the setup itself should be functional …

on the app side it is important that you ship libpulse0 in stage-packages and that a wrapper script or a snapcraft.yaml environment: entry sets PULSE_SERVER to point to the pulseaudio socket

note that libpulse0 installs the pulse library in a sub directory of the library path, to make it available in your snap you need to make sure this directory is added to LD_LIBRARY_PATH …

thanks I will try it out. As for the auto start issue of the app. The app does auto starts but only when I connect it to it through ssh and not before that. It just stays black, if I don’t ssh into it

hi @ogra, as for adding the PULSE_SERVER to the environment, do I need to add this variable under the environment section?

environment:
      PULSE_SERVER: unix:$XDG_RUNTIME_DIR/../pulse/native

yup, either that or use a wrapper script or even one of the desktop extensions like i do in:

(see the command: there as well … )
this snap runs fine as a kiosk browser with sound when i point it to youtube …

Hi @ogra. I am rebuilding the snap, but I am constantly getting this error, any ideas to how to fix this?

Launching a container.
Waiting for container to be ready
Waiting for network to be ready...
snapd is not logged in, snap install commands will use sudo
gnome-3-38-2004-sdk 0+git.f47467c from Canonical✓ installed
snapd is not logged in, snap install commands will use sudo
snap "core20" has no updates available
snapd is not logged in, snap install commands will use sudo
gnome-3-38-2004 0+git.6ba6040 from Canonical✓ installed
snapd is not logged in, snap install commands will use sudo
gtk-common-themes 0.1-52-gb92ac40 from Canonical✓ installed
Skipping pull copy-source-code (already ran)
Skipping pull desktop-qt5 (already ran)
Skipping pull extra-libraries (already ran)
Updating pull step for extras (source changed)
+ snapcraftctl pull
Pulling gnome-3-38-extension 
+ snapcraftctl pull
Skipping build copy-source-code (already ran)
Skipping build desktop-qt5 (already ran)
Skipping build extra-libraries (already ran)
Updating build step for extras ('pull' step changed)
+ snapcraftctl build
+ cp --archive --link --no-dereference . /root/parts/extras/install
Building gnome-3-38-extension 
+ snapcraftctl build
+ make -j3 WITH_PYTHON=3.8 PLATFORM_PLUG=gnome-3-38-2004
+ make -j3 install WITH_PYTHON=3.8 PLATFORM_PLUG=gnome-3-38-2004 DESTDIR=/root/parts/gnome-3-38-extension/install
install -d /root/parts/gnome-3-38-extension/install/gnome-platform
install -D -m755 hooks-configure-desktop "/root/parts/gnome-3-38-extension/install/snap/command-chain"/hooks-configure-desktop
install -d /root/parts/gnome-3-38-extension/install/data-dir
install -d /root/parts/gnome-3-38-extension/install/data-dir/icons
install -d /root/parts/gnome-3-38-extension/install/data-dir/sounds
install -d /root/parts/gnome-3-38-extension/install/data-dir/themes
install -D -m755 desktop-launch "/root/parts/gnome-3-38-extension/install/snap/command-chain"/desktop-launch
Failed to stage: Parts 'copy-source-code' and 'desktop-qt5' have the following files, but with different contents:
    usr/lib/x86_64-linux-gnu/dri/i915_dri.so
    usr/lib/x86_64-linux-gnu/dri/i965_dri.so
    usr/lib/x86_64-linux-gnu/dri/iris_dri.so
    usr/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so
    usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
    usr/lib/x86_64-linux-gnu/dri/nouveau_vieux_dri.so
    usr/lib/x86_64-linux-gnu/dri/r200_dri.so
    usr/lib/x86_64-linux-gnu/dri/r300_dri.so
    usr/lib/x86_64-linux-gnu/dri/r600_dri.so
    usr/lib/x86_64-linux-gnu/dri/radeon_dri.so
    usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
    usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
    usr/lib/x86_64-linux-gnu/dri/virtio_gpu_dri.so
    usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
    usr/lib/x86_64-linux-gnu/dri/zink_dri.so
    usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0
    usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0
    usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
    usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0
    usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
    usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
    usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
    usr/lib/x86_64-linux-gnu/libgbm.so.1.0.0
    usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
    usr/share/doc/libdrm-common/changelog.Debian.gz
    usr/share/doc/libdrm2/changelog.Debian.gz
    usr/share/doc/libgbm1/changelog.Debian.gz
    usr/share/doc/libglapi-mesa/changelog.Debian.gz
    usr/share/drirc.d/00-mesa-defaults.conf
    usr/share/libdrm/amdgpu.ids

Snapcraft offers some capabilities to solve this by use of the following keywords:
    - `filesets`
    - `stage`
    - `snap`
    - `organize`

To learn more about these part keywords, run `snapcraft help plugins`.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.

snapcraft.yaml

name: cluemaster-mediadisplay 
base: core20 
version: '1.0.9' 
summary: summary
description: description
grade: stable 
confinement: strict

apps:
  cluemaster-mediadisplay:
    daemon: simple
    restart-condition: always
    extensions: [ gnome-3-38 ]
    command-chain:
      - env-setup
    command: usr/local/bin/x11_kiosk_launch $SNAP/bin/desktop-launch $SNAP/bin/prepare-launch $SNAP/cluemaster_display
    plugs:
      - home
      - desktop-legacy
      - desktop
      - wayland
      - x11
      - unity7
      - network
      - opengl
      - gsettings
      - network-bind
      - screen-inhibit-control
      - audio-playback
      - shutdown
      - process-control
      - mount-observe
      - network-control

parts:
  copy-source-code:
    plugin: dump
    source: cluemaster_display/
    stage-packages:
      - ffmpeg
      - locales
      - libmpv1
      - va-driver-all
      - vdpau-driver-all
      - mesa-va-drivers
      - libvdpau-va-gl1
      - libglu1-mesa
      - samba-libs
      - git
      - python3-dbus
      - qtwayland5
      - mesa-utils
    stage-snaps: [mir-kiosk-x11]

  extra-libraries:
    plugin: nil
    stage-packages:
      - libasound2-data
      - libasound2-plugins
      - libpulse0

  extras:
    plugin: dump
    source: static/
    organize: 
      "prepare-launch": "bin/"

  desktop-qt5:
    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
    source-subdir: qt
    plugin: make
    make-parameters: ["FLAVOR=qt5"]
    build-packages:
      - build-essential
      - qtbase5-dev
      - dpkg-dev
    stage-packages:
      - libxkbcommon0
      - ttf-ubuntu-font-family
      - dmz-cursor-theme
      - light-themes
      - adwaita-icon-theme
      - gnome-themes-standard
      - shared-mime-info
      - libqt5gui5
      - libgdk-pixbuf2.0-0
      - libqt5svg5 # for loading icon themes which are svg
      - try: [appmenu-qt5] # not available on core18
      - locales-all
      - xdg-user-dirs
      - fcitx-frontend-qt5


layout:
  /usr/share/X11:
    bind: $SNAP/usr/share/X11
  /usr/bin/xkbcomp:
    symlink: $SNAP/usr/bin/xkbcomp
  /usr/share/icons:
    bind: $SNAP/usr/share/icons
  /usr/local/share/fonts:
    bind: $SNAP/usr/local/share/fonts
  /etc/fonts:
    bind: $SNAP/gnome-platform/etc/fonts

oops, i totally missed that you are already using the desktop-qt5 part, you can indeed not ship both of them and the desktop-launch wrapper of either of them should already set PULSE_SERVER for you if your app uses Qt you should indeed stick with the qt5 launcher else i’d go with the gnome one …

you can check the environment by spawning a shell inside your snap on the device with

sudo snap run --shell cluemaster-mediadisplay

and simply run the env command …

hi @ogra. No i was not using the desktop-qt5 part before and not even the desktop-launch in my app command. After I had a look into your snapcraft.yaml, I thought of adding the desktop-qt5 part and got the parts have the following file with different contents error.

well, you need to make your pick, either use the extension or the desktop-qt5 part, you can not use both …

I think I will use the extension, because it seemed to have fixed my auto start issue.

1 Like

I am still facing the audio issue. I checked the environment variables using

sudo snap run --shell cluemaster-mediadisplay

there was no PULSE_SERVER in it

Here is the current snapcraft.yaml

name: cluemaster-mediadisplay 
base: core20 
version: '1.0.9' 
summary: summary
description: description
grade: stable
confinement: strict

apps:
  cluemaster-mediadisplay:
    daemon: simple
    restart-condition: always
    extensions: [ gnome-3-38 ]
    command-chain:
      - env-setup
    command: usr/local/bin/x11_kiosk_launch $SNAP/bin/prepare-launch $SNAP/cluemaster_display
    plugs:
      - home
      - desktop-legacy
      - desktop
      - wayland
      - x11
      - unity7
      - network
      - opengl
      - gsettings
      - network-bind
      - screen-inhibit-control
      - audio-playback
      - shutdown
      - process-control
      - mount-observe
      - network-control

parts:
  copy-source-code:
    plugin: dump
    source: cluemaster_display/
    stage-packages:
      - ffmpeg
      - locales
      - libmpv1
      - va-driver-all
      - vdpau-driver-all
      - mesa-va-drivers
      - libvdpau-va-gl1
      - libglu1-mesa
      - samba-libs
      - git
      - python3-dbus
      - qtwayland5
      - mesa-utils
    stage-snaps: [mir-kiosk-x11]

  extra-libraries:
    plugin: nil
    stage-packages:
      - libasound2-data
      - libasound2-plugins
      - libpulse0

  extras:
    plugin: dump
    source: static/
    organize: 
      "prepare-launch": "bin/"


layout:
  /usr/share/X11:
    bind: $SNAP/usr/share/X11
  /usr/bin/xkbcomp:
    symlink: $SNAP/usr/bin/xkbcomp
  /usr/share/icons:
    bind: $SNAP/usr/share/icons
  /usr/local/share/fonts:
    bind: $SNAP/usr/local/share/fonts
  /etc/fonts:
    bind: $SNAP/gnome-platform/etc/fonts

try dropping the extra-libraries part, i think all of them are part of the extension anyway … also you are not using the desktop-launch script anymore, check my electron app command:

1 Like

Hi @ogra. I have changed my mind… I have decided that I am going to use desktop-qt5 part. Thank you very much.

1 Like

DO you have any idea on how to fix this issue.

hiran@hiran-VirtualBox:~/mysnaps/kiosk-snap$ snapcraft --use-lxd
The 'snap' directory is meant specifically for snapcraft, but it contains the following non-snapcraft-related paths, which is unsupported and will cause unexpected behavior:
- snapcraft core.yaml

If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft.
Launching a container.
Waiting for container to be ready
Waiting for network to be ready...
The 'snap' directory is meant specifically for snapcraft, but it contains the following non-snapcraft-related paths, which is unsupported and will cause unexpected behavior:
- snapcraft core.yaml

If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft.
snapd is not logged in, snap install commands will use sudo
snap "core20" has no updates available
Hit http://archive.ubuntu.com/ubuntu focal InRelease                           
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]      
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]        
Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1205 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [861 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [258 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [166 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.6 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [406 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [442 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [63.3 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [58.1 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [855 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [638 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [181 kB]
Get:15 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [101 kB]
Fetched 5486 kB in 0s (0 B/s)                                                  
Get:1 libgssapi3-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb [96.1 kB]               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxdmcp6_1.1.3-0ubuntu1_amd64.deb [10.6 kB]                             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libx265-179_3.2.1-1build1_amd64.deb [1060 kB]                            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libmpv1_0.32.0-1ubuntu1_amd64.deb [747 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdc1394-22_2.2.5-2.1_amd64.deb [79.6 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwebp6_0.6.1-2ubuntu0.20.04.1_amd64.deb [185 kB]                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libusb-1.0-0_1.0.23-2build1_amd64.deb [46.5 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libldb2_2.0.10-0ubuntu0.20.04.3_amd64.deb [140 kB]                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libavformat58_4.2.4-1ubuntu0.1_amd64.deb [981 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsnappy1v5_1.1.8-1build1_amd64.deb [16.7 kB]                           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libopenjp2-7_2.3.1-1ubuntu4.20.04.1_amd64.deb [141 kB]                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpangoft2-1.0-0_1.44.7-2ubuntu4_amd64.deb [34.9 kB]                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libavfilter7_4.2.4-1ubuntu0.1_amd64.deb [1084 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libnghttp2-14_1.40.0-1build1_amd64.deb [78.7 kB]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libraw1394-11_2.1.2-1_amd64.deb [30.7 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-icccm4_0.4.1-1.1_amd64.deb [10.8 kB]                              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libcups2_2.3.1-9ubuntu1.1_amd64.deb [233 kB]                             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libvulkan1_1.2.131.2-1_amd64.deb [93.3 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwayland-egl1_1.18.0-1_amd64.deb [5692 B]                              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwind0-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb [48.0 kB]                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libchromaprint1_1.4.3-3build1_amd64.deb [37.6 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdrm-nouveau2_2.4.105-3~20.04.1_amd64.deb [16.4 kB]                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 ffmpeg_4.2.4-1ubuntu0.1_amd64.deb [1453 kB]                              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsasl2-modules-db_2.1.27+dfsg-2_amd64.deb [14.9 kB]                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-xfixes0_1.14-2_amd64.deb [9296 B]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwacom-common_1.3-2ubuntu3_all.deb [45.3 kB]                           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libldap-2.4-2_2.4.49+dfsg-2ubuntu1.8_amd64.deb [155 kB]                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libegl1_1.3.2-1~ubuntu0.20.04.1_amd64.deb [31.9 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgdk-pixbuf2.0-0_2.40.0+dfsg-3ubuntu0.2_amd64.deb [168 kB]             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libssh-4_0.9.3-2ubuntu2.2_amd64.deb [170 kB]                             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libnorm1_1.5.8+dfsg2-2build1_amd64.deb [290 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 liblcms2-2_2.9-4_amd64.deb [140 kB]                                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libegl-mesa0_21.0.3-0ubuntu0.3~20.04.1_amd64.deb [95.9 kB]               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libcairo-gobject2_1.16.0-4ubuntu1_amd64.deb [17.2 kB]                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libopenal1_1.19.1-1_amd64.deb [492 kB]                                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 va-driver-all_2.7.0-2_amd64.deb [4020 B]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libswresample3_4.2.4-1ubuntu0.1_amd64.deb [57.1 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwbclient0_4.11.6+dfsg-0ubuntu1.10_amd64.deb [221 kB]                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 git-man_2.25.1-1ubuntu3.1_all.deb [884 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libbrotli1_1.0.7-6ubuntu0.1_amd64.deb [267 kB]                           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsndio7.0_1.5.0-3_amd64.deb [24.5 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpciaccess0_0.16-0ubuntu1_amd64.deb [17.9 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpgm-5.2-0_5.2.122~dfsg-3ubuntu1_amd64.deb [158 kB]                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-present0_1.14-2_amd64.deb [5560 B]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libheimntlm0-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb [15.1 kB]             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgl1_1.3.2-1~ubuntu0.20.04.1_amd64.deb [86.9 kB]                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libzmq5_4.3.2-2ubuntu1_amd64.deb [242 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsratom-0-0_0.6.4-1_amd64.deb [16.9 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libglapi-mesa_21.0.3-0ubuntu0.3~20.04.1_amd64.deb [27.2 kB]              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpsl5_0.21.0-1ubuntu1_amd64.deb [51.5 kB]                              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpixman-1-0_0.38.4-0ubuntu1_amd64.deb [227 kB]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libasound2-data_1.2.2-2.1ubuntu2.4_all.deb [20.0 kB]                     
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxrender1_0.9.10-1_amd64.deb [18.7 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libcdio18_2.0.0-2_amd64.deb [58.6 kB]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libicu66_66.1-2ubuntu2_amd64.deb [8520 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libogg0_1.3.4-0ubuntu1_amd64.deb [24.0 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libigdgmm11_20.1.1+ds1-1_amd64.deb [111 kB]                              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-render-util0_0.3.9-1build1_amd64.deb [9912 B]                     
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 qtwayland5_5.12.8-0ubuntu1_amd64.deb [166 kB]                            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libopenmpt0_0.4.11-1build1_amd64.deb [599 kB]                            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libarchive13_3.4.0-2ubuntu1_amd64.deb [327 kB]                           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 liblilv-0-0_0.24.6-1ubuntu0.1_amd64.deb [40.6 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdvdread7_6.1.0+really6.0.2-1_amd64.deb [49.9 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libavahi-common-data_0.7-4ubuntu7.1_amd64.deb [21.4 kB]                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 perl-modules-5.30_5.30.0-9ubuntu0.2_all.deb [2738 kB]                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libavahi-common3_0.7-4ubuntu7.1_amd64.deb [21.7 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-util1_0.4.0-0ubuntu3_amd64.deb [11.2 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libqt5dbus5_5.12.8+dfsg-0ubuntu1_amd64.deb [208 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libvdpau1_1.3-1ubuntu2_amd64.deb [25.6 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libcdio-cdda2_10.2+2.0.0-1_amd64.deb [17.6 kB]                           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libmp3lame0_3.100-3_amd64.deb [133 kB]                                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libheimbase1-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb [29.7 kB]             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcursor1_1.2.0-2_amd64.deb [20.1 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libqt5waylandcompositor5_5.12.8-0ubuntu1_amd64.deb [300 kB]              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libnuma1_2.0.12-1_amd64.deb [20.8 kB]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpython3.8_3.8.10-0ubuntu1~20.04_amd64.deb [1625 kB]                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 git_2.25.1-1ubuntu3.1_amd64.deb [4557 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libthai-data_0.1.28-3_all.deb [134 kB]                                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 mesa-utils_8.4.0-1build1_amd64.deb [34.2 kB]                             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libvorbisfile3_1.3.6-2ubuntu1_amd64.deb [16.1 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libmtdev1_1.1.5-1.1_amd64.deb [14.2 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 locales_2.31-0ubuntu9.2_all.deb [3872 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libqt5waylandclient5_5.12.8-0ubuntu1_amd64.deb [270 kB]                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-shm0_1.14-2_amd64.deb [5584 B]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsasl2-2_2.1.27+dfsg-2_amd64.deb [49.3 kB]                             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-randr0_1.14-2_amd64.deb [16.3 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-render0_1.14-2_amd64.deb [14.8 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 xkb-data_2.29-2_all.deb [349 kB]                                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwavpack1_5.2.0-1ubuntu0.1_amd64.deb [77.3 kB]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgudev-1.0-0_233-1_amd64.deb [14.0 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 fontconfig-config_2.13.1-2ubuntu3_all.deb [28.8 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 vdpau-driver-all_1.3-1ubuntu2_amd64.deb [4596 B]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libx11-6_1.6.9-2ubuntu1.2_amd64.deb [575 kB]                             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libopus0_1.3.1-0ubuntu1_amd64.deb [191 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 librubberband2_1.8.2-1build1_amd64.deb [89.4 kB]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libopenal-data_1.19.1-1_all.deb [162 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpostproc55_4.2.4-1ubuntu0.1_amd64.deb [55.3 kB]                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libvpx6_1.8.2-1build1_amd64.deb [820 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdvdnav4_6.0.1-1build1_amd64.deb [39.0 kB]                             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libtalloc2_2.3.0-3ubuntu1_amd64.deb [29.5 kB]                            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgbm1_21.0.3-0ubuntu0.3~20.04.1_amd64.deb [28.8 kB]                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxshmfence1_1.3-1_amd64.deb [5028 B]                                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libaom0_1.0.0.errata1-3build1_amd64.deb [1160 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxkbcommon-x11-0_0.10.0-1_amd64.deb [13.4 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 liblmdb0_0.9.24-1_amd64.deb [44.6 kB]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libqt5qml5_5.12.8-0ubuntu1_amd64.deb [1438 kB]                           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsm6_1.2.3-1_amd64.deb [16.1 kB]                                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwayland-client0_1.18.0-1_amd64.deb [23.9 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libperl5.30_5.30.0-9ubuntu0.2_amd64.deb [3952 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 samba-libs_4.11.6+dfsg-0ubuntu1.10_amd64.deb [5264 kB]                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libcdio-paranoia2_10.2+2.0.0-1_amd64.deb [16.2 kB]                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdrm-amdgpu1_2.4.105-3~20.04.1_amd64.deb [18.3 kB]                     
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libinput-bin_1.15.5-1ubuntu0.2_amd64.deb [19.1 kB]                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libllvm12_12.0.0-3ubuntu1~20.04.3_amd64.deb [18.8 MB]                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 fontconfig_2.13.1-2ubuntu3_amd64.deb [171 kB]                            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libtiff5_4.1.0+git191117-2ubuntu0.20.04.1_amd64.deb [162 kB]             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libqt5gui5_5.12.8+dfsg-0ubuntu1_amd64.deb [2971 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libva2_2.7.0-2_amd64.deb [53.5 kB]                                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxau6_1.0.9-0ubuntu1_amd64.deb [7488 B]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 librtmp1_2.4+20151223.gitfa8646d.1-2build1_amd64.deb [54.9 kB]           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcomposite1_0.4.5-1_amd64.deb [6976 B]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libx264-155_0.155.2917+git0a84d98-2_amd64.deb [521 kB]                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpangocairo-1.0-0_1.44.7-2ubuntu4_amd64.deb [24.8 kB]                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpulse0_13.99.1-1ubuntu3.11_amd64.deb [262 kB]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libass9_0.14.0-2_amd64.deb [88.0 kB]                                     
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libmpg123-0_1.25.13-1_amd64.deb [124 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxvidcore4_1.3.7-1_amd64.deb [201 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libcaca0_0.99.beta19-2.1ubuntu1.20.04.1_amd64.deb [202 kB]               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-image0_0.4.0-1build1_amd64.deb [12.3 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb1_1.14-2_amd64.deb [44.7 kB]                                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 librsvg2-2_2.48.9-1ubuntu0.20.04.1_amd64.deb [2253 kB]                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxi6_1.7.10-0ubuntu1_amd64.deb [29.9 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libiec61883-0_1.2.0-3_amd64.deb [24.3 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libzvbi0_0.2.35-17_amd64.deb [237 kB]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxv1_1.0.11-1_amd64.deb [10.7 kB]                                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libvorbisenc2_1.3.6-2ubuntu1_amd64.deb [70.7 kB]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxinerama1_1.1.4-2_amd64.deb [6904 B]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libspeex1_1.2~rc1.2-1.1ubuntu1_amd64.deb [53.2 kB]                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libldap-common_2.4.49+dfsg-2ubuntu1.8_all.deb [16.6 kB]                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libvdpau-va-gl1_0.4.2-1build2_amd64.deb [69.0 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgdbm6_1.18.1-5_amd64.deb [27.4 kB]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 fonts-dejavu-core_2.37-1_all.deb [1041 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libjack-jackd2-0_1.9.12~dfsg-2ubuntu2_amd64.deb [267 kB]                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libavcodec58_4.2.4-1ubuntu0.1_amd64.deb [4876 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-xinerama0_1.14-2_amd64.deb [5260 B]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libhcrypto4-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb [87.9 kB]              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-keysyms1_0.4.0-1build1_amd64.deb [8452 B]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxrandr2_1.5.2-0ubuntu1_amd64.deb [18.5 kB]                            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libavutil56_4.2.4-1ubuntu0.1_amd64.deb [241 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libtheora0_1.1.1+dfsg.1-15ubuntu2_amd64.deb [162 kB]                     
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsndfile1_1.0.28-7ubuntu0.1_amd64.deb [170 kB]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libjpeg8_8c-2ubuntu8_amd64.deb [2194 B]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdrm2_2.4.105-3~20.04.1_amd64.deb [32.4 kB]                            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-shape0_1.14-2_amd64.deb [5928 B]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 liblua5.2-0_5.2.4-1.1build3_amd64.deb [106 kB]                           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libglx0_1.3.2-1~ubuntu0.20.04.1_amd64.deb [32.6 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 shared-mime-info_1.15-1_amd64.deb [430 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgomp1_10.3.0-1ubuntu1~20.04_amd64.deb [102 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libqt5core5a_5.12.8+dfsg-0ubuntu1_amd64.deb [2005 kB]                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgme0_0.6.2-1build1_amd64.deb [123 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libavdevice58_4.2.4-1ubuntu0.1_amd64.deb [74.3 kB]                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libssh-gcrypt-4_0.9.3-2ubuntu2.2_amd64.deb [202 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libglu1-mesa_9.0.1-1build1_amd64.deb [168 kB]                            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxfixes3_5.0.3-2_amd64.deb [10.9 kB]                                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libthai0_0.1.28-3_amd64.deb [18.1 kB]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsoxr0_0.1.3-2build1_amd64.deb [78.0 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwebpmux3_0.6.1-2ubuntu0.20.04.1_amd64.deb [19.5 kB]                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libfontconfig1_2.13.1-2ubuntu3_amd64.deb [114 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libasyncns0_0.8-6_amd64.deb [12.1 kB]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libx11-data_1.6.9-2ubuntu1.2_all.deb [113 kB]                            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgl1-mesa-dri_21.0.3-0ubuntu0.3~20.04.1_amd64.deb [10.5 MB]            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libswscale5_4.2.4-1ubuntu0.1_amd64.deb [156 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgdk-pixbuf2.0-common_2.40.0+dfsg-3ubuntu0.2_all.deb [4652 B]          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsmbclient_4.11.6+dfsg-0ubuntu1.10_amd64.deb [59.1 kB]                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsdl2-2.0-0_2.0.10+dfsg1-3_amd64.deb [407 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libmysofa1_1.0~dfsg0-1_amd64.deb [39.2 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsodium23_1.0.18-1_amd64.deb [150 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsord-0-0_0.16.4-1_amd64.deb [19.5 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libtdb1_1.4.2-3build1_amd64.deb [44.1 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libvidstab1.1_1.1.0-2_amd64.deb [35.0 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 python3-dbus_1.2.16-1build1_amd64.deb [94.0 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libasound2_1.2.2-2.1ubuntu2.4_amd64.deb [334 kB]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgraphite2-3_1.3.13-11build1_amd64.deb [73.5 kB]                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxxf86vm1_1.1.4-1build1_amd64.deb [10.2 kB]                            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libfftw3-double3_3.3.8-2ubuntu1_amd64.deb [728 kB]                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libjpeg-turbo8_2.0.3-0ubuntu1.20.04.1_amd64.deb [117 kB]                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libuchardet0_0.0.6-3build1_amd64.deb [65.2 kB]                           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 python3-talloc_2.3.0-3ubuntu1_amd64.deb [12.2 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libshine3_3.1.1-2_amd64.deb [23.2 kB]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libjbig0_2.1-3.1build1_amd64.deb [26.7 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 intel-media-va-driver_20.1.1+dfsg1-1_amd64.deb [1764 kB]                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxml2_2.9.10+dfsg-5ubuntu0.20.04.1_amd64.deb [640 kB]                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libflac8_1.3.3-1build1_amd64.deb [103 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdrm-intel1_2.4.105-3~20.04.1_amd64.deb [60.8 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwacom2_1.3-2ubuntu3_amd64.deb [20.0 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libroken18-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb [41.8 kB]               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsensors-config_3.6.0-2ubuntu1_all.deb [6092 B]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libtwolame0_0.4.0-2_amd64.deb [47.6 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libfreetype6_2.10.1-2ubuntu0.1_amd64.deb [341 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgsm1_1.0.18-2_amd64.deb [24.4 kB]                                     
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libva-x11-2_2.7.0-2_amd64.deb [11.9 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libva-wayland2_2.7.0-2_amd64.deb [8924 B]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libcodec2-0.9_0.9.2-2_amd64.deb [7886 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 perl_5.30.0-9ubuntu0.2_amd64.deb [224 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libasn1-8-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb [181 kB]                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libbs2b0_3.1.0+dfsg-2.2build1_amd64.deb [10.2 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libkrb5-26-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb [208 kB]                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 x11-common_7.7+19ubuntu14_all.deb [22.3 kB]                              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdrm-radeon1_2.4.105-3~20.04.1_amd64.deb [19.7 kB]                     
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libva-drm2_2.7.0-2_amd64.deb [7044 B]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 mesa-vdpau-drivers_21.0.3-0ubuntu0.3~20.04.1_amd64.deb [2945 kB]         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 ocl-icd-libopencl1_2.2.11-1ubuntu1_amd64.deb [30.3 kB]                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libvorbis0a_1.3.6-2ubuntu1_amd64.deb [87.0 kB]                           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libharfbuzz0b_2.6.4-1ubuntu4_amd64.deb [391 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libqt5network5_5.12.8+dfsg-0ubuntu1_amd64.deb [674 kB]                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libjansson4_2.12-1build1_amd64.deb [28.9 kB]                             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libgdbm-compat4_1.18.1-5_amd64.deb [6244 B]                              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libice6_1.0.10-0ubuntu1_amd64.deb [41.0 kB]                              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 i965-va-driver_2.4.0-0ubuntu1_amd64.deb [924 kB]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libcairo2_1.16.0-4ubuntu1_amd64.deb [583 kB]                             
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libavc1394-0_0.5.4-5_amd64.deb [16.2 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libavahi-client3_0.7-4ubuntu7.1_amd64.deb [25.5 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-glx0_1.14-2_amd64.deb [22.1 kB]                                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libzvbi-common_0.2.35-17_all.deb [32.5 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpango-1.0-0_1.44.7-2ubuntu4_amd64.deb [162 kB]                        
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libserd-0-0_0.30.2-1_amd64.deb [46.6 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libhx509-5-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb [107 kB]                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxss1_1.2.3-1_amd64.deb [8140 B]                                       
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-xinput0_1.14-2_amd64.deb [29.3 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libtevent0_0.10.1-4_amd64.deb [35.5 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-dri2-0_1.14-2_amd64.deb [6920 B]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxkbcommon0_0.10.0-1_amd64.deb [98.4 kB]                               
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpcre2-16-0_10.34-7_amd64.deb [181 kB]                                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsensors5_3.6.0-2ubuntu1_amd64.deb [27.4 kB]                           
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libqt5quick5_5.12.8-0ubuntu1_amd64.deb [1335 kB]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libsamplerate0_0.1.9-2_amd64.deb [939 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-dri3-0_1.14-2_amd64.deb [6552 B]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libbluray2_1.2.0-1_amd64.deb [138 kB]                                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libavresample4_4.2.4-1ubuntu0.1_amd64.deb [54.2 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libcurl3-gnutls_7.68.0-1ubuntu2.6_amd64.deb [231 kB]                     
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwayland-server0_1.18.0-1_amd64.deb [31.6 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-xkb1_1.14-2_amd64.deb [29.6 kB]                                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libflite1_2.1-release-3_amd64.deb [12.8 MB]                              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libx11-xcb1_1.6.9-2ubuntu1.2_amd64.deb [9372 B]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libfribidi0_1.0.8-2_amd64.deb [23.8 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxcb-sync1_1.14-2_amd64.deb [8884 B]                                   
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libinput10_1.15.5-1ubuntu0.2_amd64.deb [112 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 mesa-va-drivers_21.0.3-0ubuntu0.3~20.04.1_amd64.deb [2825 kB]            
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libxext6_1.3.4-0ubuntu1_amd64.deb [29.1 kB]                              
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdouble-conversion3_3.1.5-4ubuntu1_amd64.deb [37.9 kB]                 
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdatrie1_0.2.12-3_amd64.deb [18.7 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libglx-mesa0_21.0.3-0ubuntu0.3~20.04.1_amd64.deb [138 kB]                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libglvnd0_1.3.2-1~ubuntu0.20.04.1_amd64.deb [51.4 kB]                    
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libdrm-common_2.4.105-3~20.04.1_all.deb [5640 B]                         
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libwayland-cursor0_1.18.0-1_amd64.deb [10.3 kB]                          
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libslang2_2.3.2-4_amd64.deb [429 kB]                                     
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 liberror-perl_0.17029-1_all.deb [26.5 kB]                                
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libpng16-16_1.6.37-2_amd64.deb [179 kB]                                  
Fetched 0 B in 0s (0 B/s)                                                      
Get:1 libevdev2_1.9.0+dfsg-1ubuntu0.1_amd64.deb [31.6 kB]                      
Fetched 0 B in 0s (0 B/s)                                                      
Downloading snap 'mir-kiosk-x11'
Cleaning later steps and re-pulling copy-source-code ('stage-packages' property changed)
+ snapcraftctl pull
Skipping pull desktop-qt5 (already ran)
Skipping pull extra-libraries (already ran)
Skipping pull extras (already ran)
Building copy-source-code 
+ snapcraftctl build
+ cp --archive --link --no-dereference . /root/parts/copy-source-code/install
Skipping build desktop-qt5 (already ran)
Skipping build extra-libraries (already ran)
Skipping build extras (already ran)
Failed to stage: Parts 'copy-source-code' and 'desktop-qt5' have the following files, but with different contents:
    usr/lib/x86_64-linux-gnu/dri/i915_dri.so
    usr/lib/x86_64-linux-gnu/dri/i965_dri.so
    usr/lib/x86_64-linux-gnu/dri/iris_dri.so
    usr/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so
    usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
    usr/lib/x86_64-linux-gnu/dri/nouveau_vieux_dri.so
    usr/lib/x86_64-linux-gnu/dri/r200_dri.so
    usr/lib/x86_64-linux-gnu/dri/r300_dri.so
    usr/lib/x86_64-linux-gnu/dri/r600_dri.so
    usr/lib/x86_64-linux-gnu/dri/radeon_dri.so
    usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
    usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
    usr/lib/x86_64-linux-gnu/dri/virtio_gpu_dri.so
    usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
    usr/lib/x86_64-linux-gnu/dri/zink_dri.so
    usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0
    usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0
    usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
    usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0
    usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
    usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
    usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
    usr/lib/x86_64-linux-gnu/libgbm.so.1.0.0
    usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
    usr/share/doc/libdrm-common/changelog.Debian.gz
    usr/share/doc/libdrm2/changelog.Debian.gz
    usr/share/doc/libgbm1/changelog.Debian.gz
    usr/share/doc/libglapi-mesa/changelog.Debian.gz
    usr/share/drirc.d/00-mesa-defaults.conf
    usr/share/libdrm/amdgpu.ids

Snapcraft offers some capabilities to solve this by use of the following keywords:
    - `filesets`
    - `stage`
    - `snap`
    - `organize`

To learn more about these part keywords, run `snapcraft help plugins`.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.

Snapcraft.yaml

name: cluemaster-mediadisplay 
base: core20 
version: '1.0.9' 
summary: summary
description: description
grade: stable 
confinement: strict 

apps:
  cluemaster-mediadisplay:
    daemon: simple
    restart-condition: always
    command-chain:
      - env-setup
    command: usr/local/bin/x11_kiosk_launch $SNAP/snap/command-chain/desktop-launch $SNAP/bin/prepare-launch $SNAP/cluemaster_display
    plugs:
      - home
      - desktop-legacy
      - desktop
      - wayland
      - x11
      - unity7
      - network
      - opengl
      - gsettings
      - network-bind
      - screen-inhibit-control
      - audio-playback
      - shutdown
      - process-control
      - mount-observe
      - network-control

parts:
  copy-source-code:
    plugin: dump
    source: cluemaster_display/
    stage-packages:
      - ffmpeg
      - locales
      - libvdpau1
      - i965-va-driver
      - libmpv1
      - va-driver-all
      - vdpau-driver-all
      - mesa-va-drivers
      - libvdpau-va-gl1
      - libglu1-mesa
      - samba-libs
      - git
      - python3-dbus
      - qtwayland5
      - mesa-utils
    stage-snaps: [mir-kiosk-x11]

  extra-libraries:
    plugin: nil
    stage-packages:
      - libasound2-data
      - libasound2-plugins
      - libpulse0

  extras:
    plugin: dump
    source: static/
    organize: 
      "prepare-launch": "bin/"

  desktop-qt5:
    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
    source-subdir: qt
    plugin: make
    make-parameters: ["FLAVOR=qt5"]
    build-packages:
      - build-essential
      - qtbase5-dev
      - dpkg-dev
    stage-packages:
      - libxkbcommon0
      - ttf-ubuntu-font-family
      - dmz-cursor-theme
      - light-themes
      - adwaita-icon-theme
      - gnome-themes-standard
      - shared-mime-info
      - libqt5gui5
      - libgdk-pixbuf2.0-0
      - libqt5svg5 # for loading icon themes which are svg
      - try: [appmenu-qt5] # not available on core18
      - locales-all
      - xdg-user-dirs
      - fcitx-frontend-qt5


layout:
  /usr/share/X11:
    bind: $SNAP/usr/share/X11
  /usr/bin/xkbcomp:
    symlink: $SNAP/usr/bin/xkbcomp
  /usr/share/icons:
    bind: $SNAP/usr/share/icons
  /usr/local/share/fonts:
    bind: $SNAP/usr/local/share/fonts
  /etc/fonts:
    bind: $SNAP/gnome-platform/etc/fonts

I always get this error, whenever I add the desktop-qt5 part

use apt-file search ... for the .so files to find their package names and remove the packages you find from either of the parts stage-packages entry (make a pick) to avoid the duplication …

do I need to add custom code or something else? Sorry, I am really new to the snapping things. I was able to write the snapcraft.yaml by reading different articles and trial and error

no, you need to remove the packages you detect via apt-file from stage-packages of one of the parts

hi @ogra. I fixed the issue, by using the stage keyword.
But now, when I run my app, I get this error

hiransarkar@ubuntu:~$ snap logs cluemaster-mediadisplay-core
2021-09-10T02:48:45Z cluemaster-mediadisplay-core.cluemaster-mediadisplay-core[4735]: /tmp/tmp.MgsRHOoayF CLOSE_WRITE,CLOSE
2021-09-10T02:48:47Z cluemaster-mediadisplay-core.cluemaster-mediadisplay-core[4755]: Prepairing launch ...
2021-09-10T02:48:47Z cluemaster-mediadisplay-core.cluemaster-mediadisplay-core[4755]: Environment variables setup complete ...
2021-09-10T02:48:48Z cluemaster-mediadisplay-core.cluemaster-mediadisplay-core[4838]: Using Wayland-EGL
2021-09-10T02:48:49Z cluemaster-mediadisplay-core.cluemaster-mediadisplay-core[4838]: qt.qpa.wayland: No shell integration named "xdg-shell" found
2021-09-10T02:48:49Z cluemaster-mediadisplay-core.cluemaster-mediadisplay-core[4838]: qt.qpa.wayland: No shell integration named "xdg-shell-v6" found
2021-09-10T02:48:49Z cluemaster-mediadisplay-core.cluemaster-mediadisplay-core[4838]: qt.qpa.wayland: No shell integration named "wl-shell" found
2021-09-10T02:48:49Z cluemaster-mediadisplay-core.cluemaster-mediadisplay-core[4838]: qt.qpa.wayland: No shell integration named "ivi-shell" found
2021-09-10T02:48:49Z cluemaster-mediadisplay-core.cluemaster-mediadisplay-core[4838]: qt.qpa.wayland: Loading shell integration failed.
2021-09-10T02:48:49Z cluemaster-mediadisplay-core.cluemaster-mediadisplay-core[4838]: qt.qpa.wayland: Attempted to load the following shells ("xdg-shell", "xdg-shell-v6", "wl-shell", "ivi-shell")

Here is the latest snapcraft.yaml

name: cluemaster-mediadisplay-core
base: core20
version: '1.0.9'
summary: 
description: description
grade: stable
confinement: strict

apps:
  cluemaster-mediadisplay-core:
    daemon: simple
    restart-condition: always
    command-chain:
      - env-setup
    command: usr/local/bin/x11_kiosk_launch $SNAP/bin/desktop-launch $SNAP/bin/prepare-launch $SNAP/cluemaster_display
    plugs:
      - home
      - desktop-legacy
      - desktop
      - wayland
      - x11
      - unity7
      - network
      - opengl
      - gsettings
      - network-bind
      - screen-inhibit-control
      - audio-playback
      - shutdown
      - process-control
      - mount-observe
      - network-control

parts:
  copy-source-code:
    after: [desktop-qt5]
    plugin: dump
    source: cluemaster_display/
    stage-packages:
      - ffmpeg
      - locales
      - libvdpau1
      - i965-va-driver
      - libmpv1
      - va-driver-all
      - vdpau-driver-all
      - mesa-va-drivers
      - libvdpau-va-gl1
      - libglu1-mesa
      - samba-libs
      - git
      - python3-dbus
      - qtwayland5
      - mesa-utils
      - libgl1-mesa-dri
      - libdrm2
      - libgbm1
      - python3-pyqt5.qtmultimedia
    stage-snaps: [mir-kiosk-x11]

  cluemaster-mediadisplay:
    after: [copy-source-code]
    plugin: python
    python-packages:
      - PyQt5==5.14.1
      - requests==2.22.0
      - git+https://github.com/hiransarkar21/python-mpv
      - simplejson==3.16.0
    stage-packages:
      - python3-pyqt5
      - python3-pyqt5.qtsvg
      - python3-pyqt5.qtmultimedia
      - python3-requests
      - python3-simplejson
      - python3
      
    stage:
      - -usr/lib/x86_64-linux-gnu/dri/*
      - -usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0
      - -usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
      - -usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
      - -usr/lib/x86_64-linux-gnu/libgbm.so.1.0.0
      - -usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
      - -usr/share/doc/libdrm-common/changelog.Debian.gz
      - -usr/share/doc/libdrm2/changelog.Debian.gz
      - -usr/share/doc/libgbm1/changelog.Debian.gz
      - -usr/share/doc/libglapi-mesa/changelog.Debian.gz
      - -usr/share/drirc.d/00-mesa-defaults.conf
      - -usr/share/libdrm/amdgpu.ids

  extra-libraries:
    plugin: nil
    stage-packages:
      - libasound2-data
      - libasound2-plugins
      - libpulse0
      - libpulse-mainloop-glib0

  extras:
    plugin: dump
    source: static/
    organize: 
      "prepare-launch": "bin/"

  desktop-qt5:
    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
    source-subdir: qt
    plugin: make
    make-parameters: ["FLAVOR=qt5"]
    build-packages:
      - build-essential
      - qtbase5-dev
      - dpkg-dev
    stage-packages:
      - libxkbcommon0
      - ttf-ubuntu-font-family
      - dmz-cursor-theme
      - light-themes
      - adwaita-icon-theme
      - gnome-themes-standard
      - shared-mime-info
      - libqt5gui5
      - libgdk-pixbuf2.0-0
      - libqt5svg5 # for loading icon themes which are svg
      - try: [appmenu-qt5] # not available on core18
      - locales-all
      - xdg-user-dirs
      - fcitx-frontend-qt5
    stage:
      - -usr/lib/x86_64-linux-gnu/dri/*
      - -usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0
      - -usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
      - -usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
      - -usr/lib/x86_64-linux-gnu/libgbm.so.1.0.0
      - -usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
      - -usr/share/doc/libdrm-common/changelog.Debian.gz
      - -usr/share/doc/libdrm2/changelog.Debian.gz
      - -usr/share/doc/libgbm1/changelog.Debian.gz
      - -usr/share/doc/libglapi-mesa/changelog.Debian.gz
      - -usr/share/drirc.d/00-mesa-defaults.conf
      - -usr/share/libdrm/amdgpu.ids


layout:
  /usr/share/X11:
    bind: $SNAP/usr/share/X11
  /usr/bin/xkbcomp:
    symlink: $SNAP/usr/bin/xkbcomp
  /usr/share/icons:
    bind: $SNAP/usr/share/icons
  /usr/local/share/fonts:
    bind: $SNAP/usr/local/share/fonts
  /etc/fonts:
    bind: $SNAP/gnome-platform/etc/fonts

you dropped it from both parts, so now you are missing libraries, you only want to drop it via the stage argument from one of the parts, not both …

Hi @ogra. I thought the same, and removed the copy-source-code part (it was optional, it wasn’t contributing anything) still I am getting those errors.

Latest snapcraft.yaml

name: cluemaster-mediadisplay-core
base: core20
version: '1.0.9'
summary: 
description: description
grade: stable
confinement: strict

apps:
  cluemaster-mediadisplay-core:
    daemon: simple
    restart-condition: always
    command-chain:
      - env-setup
    command: usr/local/bin/x11_kiosk_launch $SNAP/bin/desktop-launch $SNAP/bin/prepare-launch $SNAP/cluemaster_display
    plugs:
      - home
      - desktop-legacy
      - desktop
      - wayland
      - x11
      - unity7
      - network
      - opengl
      - gsettings
      - network-bind
      - screen-inhibit-control
      - audio-playback
      - shutdown
      - process-control
      - mount-observe
      - network-control

parts:
  copy-source-code:
    after: [desktop-qt5]
    plugin: dump
    source: cluemaster_display/
    stage-packages:
      - ffmpeg
      - locales
      - libvdpau1
      - i965-va-driver
      - libmpv1
      - va-driver-all
      - vdpau-driver-all
      - mesa-va-drivers
      - libvdpau-va-gl1
      - libglu1-mesa
      - samba-libs
      - git
      - python3-dbus
      - qtwayland5
      - mesa-utils
      - libgl1-mesa-dri
      - libdrm2
      - libgbm1
      - python3-pyqt5.qtmultimedia
    stage-snaps: [mir-kiosk-x11]

  extra-libraries:
    plugin: nil
    stage-packages:
      - libasound2-data
      - libasound2-plugins
      - libpulse0
      - libpulse-mainloop-glib0

  extras:
    plugin: dump
    source: static/
    organize: 
      "prepare-launch": "bin/"

  desktop-qt5:
    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
    source-subdir: qt
    plugin: make
    make-parameters: ["FLAVOR=qt5"]
    build-packages:
      - build-essential
      - qtbase5-dev
      - dpkg-dev
    stage-packages:
      - libxkbcommon0
      - ttf-ubuntu-font-family
      - dmz-cursor-theme
      - light-themes
      - adwaita-icon-theme
      - gnome-themes-standard
      - shared-mime-info
      - libqt5gui5
      - libgdk-pixbuf2.0-0
      - libqt5svg5 # for loading icon themes which are svg
      - try: [appmenu-qt5] # not available on core18
      - locales-all
      - xdg-user-dirs
      - fcitx-frontend-qt5
    stage:
      - -usr/lib/x86_64-linux-gnu/dri/*
      - -usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0
      - -usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
      - -usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
      - -usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
      - -usr/lib/x86_64-linux-gnu/libgbm.so.1.0.0
      - -usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
      - -usr/share/doc/libdrm-common/changelog.Debian.gz
      - -usr/share/doc/libdrm2/changelog.Debian.gz
      - -usr/share/doc/libgbm1/changelog.Debian.gz
      - -usr/share/doc/libglapi-mesa/changelog.Debian.gz
      - -usr/share/drirc.d/00-mesa-defaults.conf
      - -usr/share/libdrm/amdgpu.ids


layout:
  /usr/share/X11:
    bind: $SNAP/usr/share/X11
  /usr/bin/xkbcomp:
    symlink: $SNAP/usr/bin/xkbcomp
  /usr/share/icons:
    bind: $SNAP/usr/share/icons
  /usr/local/share/fonts:
    bind: $SNAP/usr/local/share/fonts
  /etc/fonts:
    bind: $SNAP/gnome-platform/etc/fonts

I am really very sorry for the confusion. Thanks

so try moving the stage block to the other part …