snapd | snap tools enable systems to work with .snap files
kandi X-RAY | snapd Summary
kandi X-RAY | snapd Summary
This is the code repository for snapd, the background service that manages and maintains installed snaps. Snaps are app packages for desktop, cloud and IoT that update automatically, are easy to install, secure, cross-platform and dependency-free. They're being used on millions of Linux systems every day.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of snapd
snapd Key Features
snapd Examples and Code Snippets
Community Discussions
Trending Discussions on snapd
QUESTION
I'm trying to reproduce results of an older research paper and need tp run a singularity container with nvidia CUDA 9.0 and torch 1.2.0.
Locally I have Ubuntu 20.04 as VM where I run singularity build
. I follow the guide to installing older CUDA versions.
This is the recipe file
ANSWER
Answered 2022-Apr-14 at 10:20As described in overview section of singularity build
documentation
build can produce containers in two different formats that can be specified as follows.
- compressed read-only Singularity Image File (SIF) format suitable for production (default)
- writable (ch)root directory called a sandbox for interactive development (
--sandbox
option)
Adding --sandbox
should make the system files writable which should resolve your issue.
Ideally, I'd suggest adding any apt-get install
commands to the %post
section in your recipe file.
QUESTION
Im trying to build my android app on buildozer but i get this error. I think buildozer can't download or can't find the threading module I researched about the error but couldn't find the solution. Can anyone help me please?
I started the building with "buildozer android debug deploy run" code. I have done this before but it was more simple program.
Edit: I also got same error with "time" module.
...ANSWER
Answered 2022-Mar-24 at 18:30It is because threading is python's standart library. I just deleted threding from buildozer.spec "requirements" section and problem is solved.
QUESTION
So I was messing around with different versions of python to the extent that now I cannot even do a dnf reinstall python
, as suggested here, and python does not work.
The error which appears on any command really is: bash: /usr/bin/dnf: /usr/bin/python3: bad interpreter: Permission denied
I do have python3.7, python3.9, and python3.10 folders in /usr/lib which as far as I know are in somewhat good condition.
What can I do?
EDIT: my current /usr/bin/python3 points to a directory instead of an executable... could this be the problem?
which python3
returns the following:
ANSWER
Answered 2022-Mar-18 at 04:53As suggested in the comments, it is important to download the exact rpm package that dnf is configured to use. This can be found by rpm -qa python3
.
After finding and downloading this package, install it using the rpm -i command. A successful installation will create the /usr/bin/python_version folder. For me, it was python3.10, so /usr/bin/python3.10.
When this is done, remove the existing symlink at /usr/bin/python3, and instead link to the newly created python version.
QUESTION
how I can fix it? I've tried to create "soft link" like sudo ln /snap /var/lib/snapd/snap
and also sudo ln /var/lib/snapd/snap /snap
--> but it doesn't work. I just want to install VSCode in Manjaro
ANSWER
Answered 2021-Jul-29 at 13:43I use Manjaro too and have the same problem today, it happens after update some pkgs. And snapd can't install vscode for now.
And if you have the same problem as my, you should uninstall the vscode first and delete the .desktop file located on /home/your_username/.local/share/applications
To install I downloaded the .deb version on Visual Studio Code website, and converted it to something pacman could install.
Now a little tutorial on how to do that
How to install .deb on manjaro (arch linux)The package that convert .deb is debtap, but it is only available on AUR. So first u'll need to install pacaur
QUESTION
I just upgrade my ubuntu distribution from 20.10 to 21.04. On this process, my local postgres server were upgraded, from 12.x to 13.4
My local app is still working, but PGAdmin won't start anymore. Here's the log:
...ANSWER
Answered 2021-Aug-31 at 14:51The first thing you usually try in such a case is uninstall and reinstall the software...
QUESTION
I try to use library cv2 for changing picture. In mode debug I found out that problem in function cv2.namedWindow:
...ANSWER
Answered 2021-Nov-07 at 00:17I reverted back to Xorg from wayland and its working, no more warnings
Here are the steps:
- Disbled Wayland by uncommenting
WaylandEnable=false
in the/etc/gdm3/custom.conf
- Add
QT_QPA_PLATFORM=xcb
in/etc/environment
- Check whether you are on Wayland or Xorg using:
QUESTION
I installed IntelliJ and WebStorm on my Linux Mint distro. The problem I have is that I cannot use the integrated terminal on both of the software. In both of them there is a problem with my bash binary location. I researched and saw that the software manager in Linux Mint installs flatpak software by default, and that it works as a sort of a container. I tried to change the location of my bash binary to var/run/host..
but it didn't seem to work.
I read that people solve this by installing the tar version of the software or using snapd. Since snapd is not supported by Linux Mint, what are my alternatives? Can I somehow give access to my software to use my bash, npm, etc... and if not, why is it that flatpak makes these things so difficult?..
...ANSWER
Answered 2022-Feb-28 at 11:47Flatpak works as a sandbox environment - each pack has its own runtime environment and because of security reasons, flatpak apps do not have direct access to host files. There could be a lot of problems due to this.
Please try reinstalling the IDE using one of the officially recommended options (https://www.jetbrains.com/help/webstorm/installation-guide.html) - download the tar.gz
from https://www.jetbrains.com/webstorm/download/#section=linux, or use the toolbox app to manage installations
QUESTION
I am using Azure Blob to store my state. I follow these [steps] (https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/remote-backend.md#migrating-local-state-storage-to-remote) the only difference is that I am using the AzurermBackend. The problem is when I do terraform init
it does not migrate the existing state to the blob, it just create a new one in which there is no resources, so when i execute cdktf diff
terraform says that it needs to create each resource that was already created in the local state. I checked the file the file is empty. I also tried with thr stack.addOveride
that don't works too. Next thing I did is I execute the TF_LOG=DEBUG terraform init
and got the following logs:
ANSWER
Answered 2022-Feb-27 at 12:57You also need to specify a backend provider under main terraform config. If you don't specify it it will assume local so no migration. Something like this
QUESTION
Yesterday, after Ubuntu (or maybe Dell) installed some updates and I restarted, my snap applications were not showing on my sidebar, nor are they present in "show applications" or a normal search.
They are still installed and snap list
still shows them, and they will still run via snap run
.
I've tried uninstalling them all (although I did not use --purge
when I ran snap remove
), followed by uninstalling snap itself, then re-installing everything. They are still present but not showing up.
More searching has brought me to sites referencing the XDG_DATA_DIRS
environment variable (explained HERE). If I understand correctly this should link all the folders where applications are stored, and the paths within should be separated by colons, not spaces. Thus I ran echo $XDG_DATA_DIRS
and was rewarded with:
/usr/local/share/:/usr/share/:/var/lib/snapd/desktop /var/lib/snapd/desktop /var/lib/snapd/desktop
So I suspect my issue is the facts that the snapd directory is listed three times, and it is separated by spaces.
Does anyone have any ideas how I could fix this? I suspect, but am not certain that this is the issue.
I'm on Ubuntu 20.04, using fish shell.
I've found THIS post showing a possible solution, and upon running sudo ag "XDG_DATA_DIRS=" / 2>/dev/null | grep -v snap
(and waiting a while) I got the following output (minus a few auth.log references which I've removed) Apologies for the big, possibly irreverent, "data dump"
ANSWER
Answered 2022-Feb-11 at 23:19I am also having the same problem (suddenly Firefox disappeared in Gnome Shell) and I'm using Ubuntu 21.10 with fish shell. And just like you I could not figure out what caused this XDG_DATA_DIRS modification with the separation by spaces. Because you apparently also use fish I tried switching back to bash as login shell (chsh -s /bin/bash
), rebooted and voila, the desktop files are loaded again. After that I set fish as the command to start with in gnome-terminal.
TLDR: My quickfix/workaround was chsh -s /bin/bash
to switch to bash as login shell (instead of fish) and reboot.
QUESTION
I am attempting to update my git repo by doing "git add ." within Visual Studio Code on my MAC. I have done this many times without issues but this time it is giving me this error "error: file write error: No space left on device" and "error: unable to create temporary file: No space left on device." Also when trying to clone another repo onto my device from github it says "fatal: could not create work tree dir 'cs1550-project1-domm2': No space left on device" I have 12.96gb left of 256gb. I do not know how I am out of space or how to free it. I just need to update my github repo for class.
This is running df -h within the VS terminal:
...ANSWER
Answered 2022-Feb-15 at 08:35It depends on where you are trying to do the git add .
As mentioned here:
The /snap mounts come from using software packages installed with Snap.
These utilize loop devices and are usually not writable.
You will get some sort of "No space on device" error when trying to write to any of these locations and that is represented in
df -h
as showing those mounts as 100% in use.
But in your case, assuming the repository is in /dev/...
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install snapd
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page