You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cannot query current apparmor profile: Invalid argument
and
git clone https://github.com/ubports/ubports-pdk
cd ubports-pdk
./ubuntu-touch-pdk setup
results in
#####################################
Ubuntu Touch Platform Development Kit
#####################################
Executing tasks:
Setup? yes
Clear cache? no
List? no
Pull image? no
Run an image? no
which: no mtools in (/usr/local/bin:/usr/bin:/bin:/snap/bin)
WARNING: You haven't set up your environment yet. Continuing with setup...
Installing prerequisites
[sudo] password for root:
error: cannot perform the following tasks:
- Run configure hook of "qemu-ut-pdk" snap if present (run hook "configure": cannot query current apparmor profile: Invalid argument)
Question:
Is there any option for a more verbose output or the source of the qemu-ut-pdk snap?
The text was updated successfully, but these errors were encountered:
It's possible you need to upgrade your kernel to something newer, since this is a mismatch between snapd's AppArmor profile and the AppArmor support in the kernel.
For some reason I thought it was a PDK specific problem. Updating the kernel helped, but I still couldn't get the PDK to run on OpenSUSE, so I switched to Ubuntu. Perhaps the errors that have occurred are a topic for new issues, but this one can be considered closed, or renamed to something like "launching PDK on OpenSUSE"
sudo snap install --beta ubports-pdk sudo snap connect ubports-pdk:kvm sudo snap connect ubports-pdk:network-control sudo usermod -aG kvm $USER ubports-pdk.pdk setup
results in
and
git clone https://github.com/ubports/ubports-pdk cd ubports-pdk ./ubuntu-touch-pdk setup
results in
Question:
Is there any option for a more verbose output or the source of the
qemu-ut-pdk
snap?The text was updated successfully, but these errors were encountered: