LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-12-2019, 11:14 AM   #1
since9
LQ Newbie
 
Registered: Jun 2019
Posts: 3

Rep: Reputation: Disabled
Debian stretch 9 | Unable to locate package snapd


Hi, I have installed Debian stretch 9(amd64), and trying now to install Pycharm community by this guide - https://linux4one.com/how-to-install...m-on-debian-9/

As I understood that there is snapd built in in Debian 9, like he said in guide, so I just tried to make this command -
Code:
sudo snap install pycharm-community --classic
and then I get this -
Code:
sudo: snap: command not found
Code:
$ snapd version
bash: snapd: command not found
tried to search snapd in synaptic package, and no results.

Last edited by since9; 06-12-2019 at 11:16 AM.
 
Old 06-12-2019, 11:21 AM   #2
tyler2016
Member
 
Registered: Sep 2018
Distribution: Debian, CentOS, FreeBSD
Posts: 204

Rep: Reputation: Disabled
Did you try the command in the guide:

Code:
sudo apt install snapd snapd-xdg-ope
 
Old 06-12-2019, 11:24 AM   #3
since9
LQ Newbie
 
Registered: Jun 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by tyler2016 View Post
Did you try the command in the guide:

Code:
sudo apt install snapd snapd-xdg-ope

Thanks for reply, yes I have tried -

Code:
$ sudo apt install snapd snapd-xdg-open
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package snapd
E: Unable to locate package snapd-xdg-open
 
Old 06-12-2019, 11:26 AM   #4
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,967
Blog Entries: 7

Rep: Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549
It should be available in Stretch. See https://packages.debian.org/stretch/snapd. Try installing it with apt-get rather than synaptic. That way you can specify the package you want rather than having to hunt down its location in a graphical interface.
Code:
sudo apt-get install snapd.
 
Old 06-12-2019, 11:29 AM   #5
tyler2016
Member
 
Registered: Sep 2018
Distribution: Debian, CentOS, FreeBSD
Posts: 204

Rep: Reputation: Disabled
Is this a fresh install? Try:

Code:
sudo apt update
sudo apt install snapd snapd-xdg-open
Apt update refreshes the repository meta data, which is where apt install and synaptic look to see what packages are available.
 
Old 06-12-2019, 12:02 PM   #6
since9
LQ Newbie
 
Registered: Jun 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
It should be available in Stretch. See https://packages.debian.org/stretch/snapd. Try installing it with apt-get rather than synaptic. That way you can specify the package you want rather than having to hunt down its location in a graphical interface.
Code:
sudo apt-get install snapd.
Quote:
Originally Posted by tyler2016 View Post
Is this a fresh install? Try:

Code:
sudo apt update
sudo apt install snapd snapd-xdg-open
Apt update refreshes the repository meta data, which is where apt install and synaptic look to see what packages are available.
Thank you both, I had a problem in sources.list, wrong mirrors. now working.
 
Old 06-12-2019, 12:36 PM   #7
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,967
Blog Entries: 7

Rep: Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549
Mark it as solved then.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 12 04-25-2019 07:33 AM
LXer: Snapd 2.0.10 Snappy Tool Now Available in Ubuntu 16.04 LTS, Here's What's New LXer Syndicated Linux News 0 07-11-2016 02:12 PM
LXer: Canonical Announces Snapd 2.0.9 with Full Snap Confinement on elementary OS 0.4 LXer Syndicated Linux News 0 06-24-2016 05:06 AM
Unable to locate snapd and therefore I cannot upgrade drmjh Ubuntu 1 04-27-2016 10:05 AM
[SOLVED] E: Unable to locate package nova-comm E: Unable to locate package python-psycopq2 mint12 Linux - Virtualization and Cloud 2 01-05-2012 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration