Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Problems trying to install snap

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

[Solved] Problems trying to install snap

#1 Post by keos »

Hi,

I'm following these instructions in order to install this app but there is some kind of error with it ...

https://snapcraft.io/docs/installing-snap-on-debian

Code: Select all

keos@kaos:~$ sudo snap install core
[sudo] password for keos: 
error: cannot communicate with server: Post "http://localhost/v2/snaps/core": dial unix /run/snapd.socket: connect: connection refused
keos@kaos:~$ 

Thanks for any advice.
Last edited by keos on 2021-10-15 08:11, edited 1 time in total.
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: Problems trying to install snap

#2 Post by sunrat »

keos wrote: 2021-10-15 00:00Thanks for any advice.
Advice? Don't use snap. :mrgreen:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: Problems trying to install snap

#3 Post by keos »

Very well, I do not have preferences for any particular option, then ... what is your recommendation to get apps that do not exist in Debian, not even in the 'testing' :?:

EDIT:

It seems that it was a temporary interruption, I already got it!:

Code: Select all

keos@kaos:~$ sudo snap install core
[sudo] password for keos: 
2021-10-15T03:59:19-04:00 INFO Waiting for automatic snapd restart...
core 16-2.52 from Canonical✓ installed
keos@kaos:~$ sudo snap install hello-world
hello-world 6.4 from Canonical✓ installed
keos@kaos:~$ hello-world
bash: hello-world: orden no encontrada
keos@kaos:~$ sudo hello-world
sudo: hello-world: command not found
keos@kaos:~$ sudo snap install snap-store
snap-store 3.38.0-64-g23c4c77 from Canonical✓ installed
keos@kaos:~$ 

Thanks any way. :wink:
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

cynwulf

Re: Problems trying to install snap

#4 Post by cynwulf »

keos wrote: 2021-10-15 07:51 Very well, I do not have preferences for any particular option, then ... what is your recommendation to get apps that do not exist in Debian, not even in the 'testing' :?
1) Find the project's git repository and git clone, read the install instructions and just build it from source. You can even "Debianise" the source to build a deb package, or just change the install target to /usr/local

2) Download the source tarball and do as above.

3) If the project provides usable binaries, extract those into /usr/local, create launchers, etc - done.

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: [Solved] Problems trying to install snap

#5 Post by keos »

I have dealt with it before. Too technical for someone who is not even able to understand how those GUI work for the backup of the system -- when I break it I have to reinstall again. And believe me it's my most serious limitation.

I do not have more options than to use these alternatives, even if they are candidates to possible failures and have to start again reinstalling ...

Either way, thank you very much for answering.

Greetings.
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: [Solved] Problems trying to install snap

#6 Post by keos »

And that's not all, when we install packages with Snap there are no one who can finds them, and I do not mean that are not in the Menu but that they do not appear anywhere, incredible, everything is going worse.
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: [Solved] Problems trying to install snap

#7 Post by craigevil »

They go in weird places, like this is the command to open Firefox Beta:
env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/firefox_firefox.desktop /snap/bin/firefox %u

If you search the forum you will find a couple of ways to get Snaps and Flatpaks added to the menus.

Don't worry about what anyone thinks, use what works for you.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: [Solved] Problems trying to install snap

#8 Post by keos »

I always deal with it but it is difficult for me ... the best thing that I can think of for now is to forget about Snap and go directly to Google to look if I can install some apps without a lot of tangle of adding repos, etc., this is giving to me good results till now.

I only worry about what people thinks when they bring reasonable issues.

Out of Topic:

Do you know about an *easy method* of being able to save the system installed with applications / configurations, etc. (backup/gui). In case I break debian ...? -- Clonezilla is simply impossible to understand.

Greetings.
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

Fossy
df -h | participant
df -h | participant
Posts: 338
Joined: 2021-08-06 12:45
Has thanked: 34 times
Been thanked: 31 times

Re: Problems trying to install snap

#9 Post by Fossy »

sunrat wrote: 2021-10-15 04:14
keos wrote: 2021-10-15 00:00Thanks for any advice.
Advice? Don't use snap. :mrgreen:
anyone who skims the Linux forums will have noticed by now that the "snap" lobby infiltrating ditto forums are working overtime .
Do not forget that Cannonical is not a charity, they think in terms of "ROI".
If you are convinced of the naive opposite then you better switch to Linux Mint which with its hot and cold blowing has opened the door wide for snap .
It remains a choice, of course, and a donkey's appetite is half of its food.

I remember as far as I am concerned the wise advice , don't install it , let alone use it .... regardless of the security aspect that is my "opinion" .
ASUS GL753VD / X550LD / K54HR / X751LAB ( x2 )
Bookworm12.5_Cinnamon / Calamares Single Boot installations
Firefox ESR / DuckDuckGo / Thunderbird / LibreOffice / GIMP / eID Software

https://cdimage.debian.org/debian-cd/cu ... so-hybrid/

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Problems trying to install snap

#10 Post by kedaha »

sunrat wrote: 2021-10-15 04:14
keos wrote: 2021-10-15 00:00Thanks for any advice.
Advice? Don't use snap. :mrgreen:
I concur.
My main objection is that, while the snapd package is available from the main repository and can allow free and gpl'd software to be installed like for instance, the scidvspc-hkvc chess program, it also—and here I draw the line—facilitates the installation of third-party, binary-only software with licenses that are wholly at variance with Debian policy. This defeats Debian's purpose of providing a free operating system without such software. Since it is in the main repository, any security concerns can be addressed to the Debian Security team, but obviously non-free programs installed by means of snap cannot be audited for vulnerabilities. And the notification to the effect that, "This application is unconfined. It can access all personal files and system resources," does not inspire confidence either.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: [Solved] Problems trying to install snap

#11 Post by keos »

As i said before I only worry about what people thinks when they bring reasonable issues. :)

How can i remove-purge all snap packages/issues/etc from my system?
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: [Solved] Problems trying to install snap

#12 Post by craigevil »

keos wrote: 2021-10-16 16:45 As i said before I only worry about what people thinks when they bring reasonable issues. :)

How can i remove-purge all snap packages/issues/etc from my system?

Code: Select all

sudo apt purge snapd
That will still leave a snap dir in your home.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: [Solved] Problems trying to install snap

#13 Post by keos »

No, nor did it leave anything in the home directory, thanks!
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

Post Reply