On 2/15/19 10:39 PM, Stumpy wrote:
On 1/9/19 8:02 PM, Stumpy wrote:
On 1/9/19 7:54 PM, Stumpy wrote:
On 1/9/19 7:32 PM, Marek Marczykowski-Górecki wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Wed, Jan 09, 2019 at 07:11:50PM -0500, Chris Laprise wrote:
On 01/09/2019 06:41 PM, Stumpy wrote:
On 1/8/19 7:59 PM, 'awokd' via qubes-users wrote:
Stumpy wrote on 1/9/19 12:07 AM:
On 1/8/19 7:04 PM, Stumpy wrote:
I thought I had snap installed but the app i installed via
snap now does not seem to be working? I installed snapd in
dom0 then tried installing a snap package in one of appvms
but I am getting errors. If i try to run a snap from dom0:
qvm-run gfx /snap/bin/xnview
I get:
Running '/snap/bin/xnview/ on gfx
gfx: command failed with code: 1
when i try to run it within the appvm i get:
user@gfx:~$ xnview
Can not open
/var/lib/snapd/seccomp/profiles//snap.xnview.xnview (No such
file or directory)
aborting: No such file or directory
thoughts? please?
oh, and if i try to reinstall the app I get:
user@gfx:~$ sudo snap install xnview
snap "xnview" is already installed
Nothing should be installed to dom0. You'd have to install snapd in
a template, and possibly the snap package. You might want to create
a Standalone VM and install everything in there, instead of
templates & AppVMs.
Thanks, I had thought I had to install on dom0 as well, perhaps not,
though when I try to:
sudo snap install xnview from the template I get:
user@debian-9:~$ sudo snap install xnviewmp
error: cannot install "xnviewmp": Get
https://search.apps.ubuntu.com/api/v1/snaps/details/core?channel=stable&fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Csupport_url%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement:
dial tcp: lookup search.apps.ubuntu.com on 10.137.3.254:53: dial udp
10.137.3.254:53: connect: network is unreachable
So i was thinking that doing a qubes-dom0-update something so it
could
get through? For the life of me i cant figure out what I did on my
other
computer to make it work but it works fine there.
I forgot to mention, it is installed in the appvm:
user@debian-9:~$ sudo apt-get install snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
snapd is already the newest version (2.21-2+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ideas?
Only apt is configured to access servers through the special Qubes
proxy.
Since templates have networking turned off by default, that means
nothing
else can download packages or data.
In the short term, you can try enabling networking temporarily for the
template while you install snap packages. Just set the netvm in the
template's settings.
In the long term, Qubes users may benefit from a special
accommodation of
snap, which has become a versatile and important way to install
software.
Support could include access through the update proxy and even special
storage capabilities. Would be a good idea to open an enhancement
issue for
this. :)
There is some progress on this already:
https://github.com/QubesOS/qubes-issues/issues/2766
The current state is: you can install "qubes-snapd-helper" package in
_template_, to be able to install snaps in qubes _based on that
template_.
- -- Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlw2kq8ACgkQ24/THMrX
1yzNvwgAhc0/O9VIzBGH1WDg8l+1sH3yLxxySFannO2ihUUXbUA80cf4+uxrxk/1
Rg+jR0XfdBXD91h817luvs3mIdqwcluq1YHxbGIb0J/vALPLHRhZ8YLasXSdpDIG
MyiVTk1ogAOG6jH30245V/GRPWALJmysYnW4DUki3ZefG/EyCFHWi7lpJZ9XS00F
QbVv7MoDx6GbHiSfHMzYk016fSaEAFlXGUUXczSHgDpJjumP6+MfVkz0l4diYbm5
wGOPIknWLBBSQMMOS0IoaB1iq1hYbZNULt6/gaOOFBIC2I9D2m4Q8KHKeDz95qln
HEzk2d5IJJlv8M1xpoNyzS0+IJNHMQ==
=hL/D
-----END PGP SIGNATURE-----
Thanks Marek! I thought there was something, I will recheck what I
have done and make sure I tried the snapd helper in the right place.
That got it!!!! Yeah!! Thank you soooooo much.
Made notes on how it got done this time :)
appologies for digging up such an old thread but I am back to having
issues with snaps. I installed qubes-snapd-helper in the template awhile
ago and then in my appvm I tried to install xnviewmp, foobar2000, and
firefox quantum but to get foobar2000 started I have to run:
sudo snap install wine-platform
sudo snap install foobar2000
sudo snap connect foobar2000:wine-platform-plug
wine-platform:wine-base-stable
sudo snap connect foobar2000:removable-media
though perhaps I just need the last two lines because it keeps telling
me that wine and foobar2000 are installed.
for firefox, I haven't figured it out, sometimes I can run:
sudo snap install firefox
then just start firefox, other times I try that, then try to run firefox
and get:
~$ firefox
internal error, please report: running "firefox" failed: cannot find
installed snap "firefox" at revision 179: missing file
/snap/firefox/179/meta/snap.yaml
I have tried restarting the template and the appvm and reinstalling
snapsd in the template as well as qubes-snapd-helper and snap refresh in
the appvm but no luck.
thoughts?
this issue keeps dogging me. I have also been having it with the
foobar2000 and xnviewmp snaps. It seems to install fine, and indeed I am
able to run it usually but sometimes (havent figured out the pattern) it
spits out a similar error to firefox:
user@media:~/snap$ xnviewmp
Can not open /var/lib/snapd/seccomp/profiles//snap.xnviewmp.xnviewmp (No
such file or directory)
aborting: No such file or directory
user@media:~/snap$ foobar2000
internal error, please report: running "foobar2000" failed: cannot find
installed snap "foobar2000" at revision 231
Please, I cant do without either and while there are other ways to
install both the "unified" way of snap is (or at least should be) much
simpler :(
--
You received this message because you are subscribed to the Google Groups
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/be8d1a7b-315d-174b-10e0-5602ab7e9f93%40posteo.net.
For more options, visit https://groups.google.com/d/optout.