Cannot add snappy-dev/tools ppa repository

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I am using Deepin Linux 15.4.1 and I want to install the package snapcraft (to do that I need the "title's repository"), when I try to add the snappy-dev/tools repository with the command:



sudo add-apt-repository ppa:snappy-dev/tools


but I get the error:



 Official PPA for the Snappy related tools.
More info: https://launchpad.net/~snappy-dev/+archive/ubuntu/tools
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmp4dbu3qkt/pubring.gpg' created
gpg: /tmp/tmp4dbu3qkt/trustdb.gpg: trustdb created
gpg: key F1831DDAFC42E99D: public key "Launchpad PPA for Snappy Developers" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.


And when I try to add the repository by the second time I get:



Official PPA for the Snappy related tools.
More info: https://launchpad.net/~snappy-dev/+archive/ubuntu/tools
Press [ENTER] to continue or ctrl-c to cancel adding it



gpg: keybox '/tmp/tmphwxyr_qo/pubring.gpg' created
gpg: /tmp/tmphwxyr_qo/trustdb.gpg: trustdb created
gpg: key F1831DDAFC42E99D: public key "Launchpad PPA for Snappy Developers" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] Arquivo ou diretório não encontrado: 'S.gpg-agent.extra'


I read lots of suggestions in the forums about this stuff but I didn't find any posts with the same error as mine.
I tried adding others repositories related to snap but I get the same error as I said in this post; how can I resolve this?










share|improve this question























  • Not sure why you're getting that error, but that PPA is defunct and no longer updated anyway (it's mostly from the pre-xenial days). Snapcraft is in the Ubuntu archives these days, which doesn't really help you much. If you can install snapd on Deepin, you can try installing the Snapcraft snap: sudo snap install --candidate snapcraft.
    – Kyle
    Oct 9 '17 at 0:34










  • This command you said showed me a message telling me to use sudo snap install --candidate --classic snapcraft instead, anyway just for the ones who see this post and fix that stuff in one command :P - Btw it worked, thx
    – Rodrigo Damasceno
    Oct 9 '17 at 20:02











  • Agh, and of course I can't edit. Sorry Rodrigo, thanks for the response!
    – Kyle
    Oct 9 '17 at 20:04














up vote
2
down vote

favorite












I am using Deepin Linux 15.4.1 and I want to install the package snapcraft (to do that I need the "title's repository"), when I try to add the snappy-dev/tools repository with the command:



sudo add-apt-repository ppa:snappy-dev/tools


but I get the error:



 Official PPA for the Snappy related tools.
More info: https://launchpad.net/~snappy-dev/+archive/ubuntu/tools
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmp4dbu3qkt/pubring.gpg' created
gpg: /tmp/tmp4dbu3qkt/trustdb.gpg: trustdb created
gpg: key F1831DDAFC42E99D: public key "Launchpad PPA for Snappy Developers" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.


And when I try to add the repository by the second time I get:



Official PPA for the Snappy related tools.
More info: https://launchpad.net/~snappy-dev/+archive/ubuntu/tools
Press [ENTER] to continue or ctrl-c to cancel adding it



gpg: keybox '/tmp/tmphwxyr_qo/pubring.gpg' created
gpg: /tmp/tmphwxyr_qo/trustdb.gpg: trustdb created
gpg: key F1831DDAFC42E99D: public key "Launchpad PPA for Snappy Developers" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] Arquivo ou diretório não encontrado: 'S.gpg-agent.extra'


I read lots of suggestions in the forums about this stuff but I didn't find any posts with the same error as mine.
I tried adding others repositories related to snap but I get the same error as I said in this post; how can I resolve this?










share|improve this question























  • Not sure why you're getting that error, but that PPA is defunct and no longer updated anyway (it's mostly from the pre-xenial days). Snapcraft is in the Ubuntu archives these days, which doesn't really help you much. If you can install snapd on Deepin, you can try installing the Snapcraft snap: sudo snap install --candidate snapcraft.
    – Kyle
    Oct 9 '17 at 0:34










  • This command you said showed me a message telling me to use sudo snap install --candidate --classic snapcraft instead, anyway just for the ones who see this post and fix that stuff in one command :P - Btw it worked, thx
    – Rodrigo Damasceno
    Oct 9 '17 at 20:02











  • Agh, and of course I can't edit. Sorry Rodrigo, thanks for the response!
    – Kyle
    Oct 9 '17 at 20:04












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I am using Deepin Linux 15.4.1 and I want to install the package snapcraft (to do that I need the "title's repository"), when I try to add the snappy-dev/tools repository with the command:



sudo add-apt-repository ppa:snappy-dev/tools


but I get the error:



 Official PPA for the Snappy related tools.
More info: https://launchpad.net/~snappy-dev/+archive/ubuntu/tools
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmp4dbu3qkt/pubring.gpg' created
gpg: /tmp/tmp4dbu3qkt/trustdb.gpg: trustdb created
gpg: key F1831DDAFC42E99D: public key "Launchpad PPA for Snappy Developers" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.


And when I try to add the repository by the second time I get:



Official PPA for the Snappy related tools.
More info: https://launchpad.net/~snappy-dev/+archive/ubuntu/tools
Press [ENTER] to continue or ctrl-c to cancel adding it



gpg: keybox '/tmp/tmphwxyr_qo/pubring.gpg' created
gpg: /tmp/tmphwxyr_qo/trustdb.gpg: trustdb created
gpg: key F1831DDAFC42E99D: public key "Launchpad PPA for Snappy Developers" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] Arquivo ou diretório não encontrado: 'S.gpg-agent.extra'


I read lots of suggestions in the forums about this stuff but I didn't find any posts with the same error as mine.
I tried adding others repositories related to snap but I get the same error as I said in this post; how can I resolve this?










share|improve this question















I am using Deepin Linux 15.4.1 and I want to install the package snapcraft (to do that I need the "title's repository"), when I try to add the snappy-dev/tools repository with the command:



sudo add-apt-repository ppa:snappy-dev/tools


but I get the error:



 Official PPA for the Snappy related tools.
More info: https://launchpad.net/~snappy-dev/+archive/ubuntu/tools
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmp4dbu3qkt/pubring.gpg' created
gpg: /tmp/tmp4dbu3qkt/trustdb.gpg: trustdb created
gpg: key F1831DDAFC42E99D: public key "Launchpad PPA for Snappy Developers" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.


And when I try to add the repository by the second time I get:



Official PPA for the Snappy related tools.
More info: https://launchpad.net/~snappy-dev/+archive/ubuntu/tools
Press [ENTER] to continue or ctrl-c to cancel adding it



gpg: keybox '/tmp/tmphwxyr_qo/pubring.gpg' created
gpg: /tmp/tmphwxyr_qo/trustdb.gpg: trustdb created
gpg: key F1831DDAFC42E99D: public key "Launchpad PPA for Snappy Developers" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] Arquivo ou diretório não encontrado: 'S.gpg-agent.extra'


I read lots of suggestions in the forums about this stuff but I didn't find any posts with the same error as mine.
I tried adding others repositories related to snap but I get the same error as I said in this post; how can I resolve this?







software-installation repository error-handling deepin snap






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 13 '17 at 18:53









Jeff Schaller

32.3k849109




32.3k849109










asked Oct 9 '17 at 0:20









Rodrigo Damasceno

113




113











  • Not sure why you're getting that error, but that PPA is defunct and no longer updated anyway (it's mostly from the pre-xenial days). Snapcraft is in the Ubuntu archives these days, which doesn't really help you much. If you can install snapd on Deepin, you can try installing the Snapcraft snap: sudo snap install --candidate snapcraft.
    – Kyle
    Oct 9 '17 at 0:34










  • This command you said showed me a message telling me to use sudo snap install --candidate --classic snapcraft instead, anyway just for the ones who see this post and fix that stuff in one command :P - Btw it worked, thx
    – Rodrigo Damasceno
    Oct 9 '17 at 20:02











  • Agh, and of course I can't edit. Sorry Rodrigo, thanks for the response!
    – Kyle
    Oct 9 '17 at 20:04
















  • Not sure why you're getting that error, but that PPA is defunct and no longer updated anyway (it's mostly from the pre-xenial days). Snapcraft is in the Ubuntu archives these days, which doesn't really help you much. If you can install snapd on Deepin, you can try installing the Snapcraft snap: sudo snap install --candidate snapcraft.
    – Kyle
    Oct 9 '17 at 0:34










  • This command you said showed me a message telling me to use sudo snap install --candidate --classic snapcraft instead, anyway just for the ones who see this post and fix that stuff in one command :P - Btw it worked, thx
    – Rodrigo Damasceno
    Oct 9 '17 at 20:02











  • Agh, and of course I can't edit. Sorry Rodrigo, thanks for the response!
    – Kyle
    Oct 9 '17 at 20:04















Not sure why you're getting that error, but that PPA is defunct and no longer updated anyway (it's mostly from the pre-xenial days). Snapcraft is in the Ubuntu archives these days, which doesn't really help you much. If you can install snapd on Deepin, you can try installing the Snapcraft snap: sudo snap install --candidate snapcraft.
– Kyle
Oct 9 '17 at 0:34




Not sure why you're getting that error, but that PPA is defunct and no longer updated anyway (it's mostly from the pre-xenial days). Snapcraft is in the Ubuntu archives these days, which doesn't really help you much. If you can install snapd on Deepin, you can try installing the Snapcraft snap: sudo snap install --candidate snapcraft.
– Kyle
Oct 9 '17 at 0:34












This command you said showed me a message telling me to use sudo snap install --candidate --classic snapcraft instead, anyway just for the ones who see this post and fix that stuff in one command :P - Btw it worked, thx
– Rodrigo Damasceno
Oct 9 '17 at 20:02





This command you said showed me a message telling me to use sudo snap install --candidate --classic snapcraft instead, anyway just for the ones who see this post and fix that stuff in one command :P - Btw it worked, thx
– Rodrigo Damasceno
Oct 9 '17 at 20:02













Agh, and of course I can't edit. Sorry Rodrigo, thanks for the response!
– Kyle
Oct 9 '17 at 20:04




Agh, and of course I can't edit. Sorry Rodrigo, thanks for the response!
– Kyle
Oct 9 '17 at 20:04










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










The answer from the comments:



snap install --candidate --classic snapcraft





share|improve this answer






















  • This does not help if you don't have snap installed though.
    – iX3
    Mar 12 at 18:56










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396910%2fcannot-add-snappy-dev-tools-ppa-repository%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










The answer from the comments:



snap install --candidate --classic snapcraft





share|improve this answer






















  • This does not help if you don't have snap installed though.
    – iX3
    Mar 12 at 18:56














up vote
0
down vote



accepted










The answer from the comments:



snap install --candidate --classic snapcraft





share|improve this answer






















  • This does not help if you don't have snap installed though.
    – iX3
    Mar 12 at 18:56












up vote
0
down vote



accepted







up vote
0
down vote



accepted






The answer from the comments:



snap install --candidate --classic snapcraft





share|improve this answer














The answer from the comments:



snap install --candidate --classic snapcraft






share|improve this answer














share|improve this answer



share|improve this answer








answered Oct 13 '17 at 18:54


























community wiki





Jeff Schaller












  • This does not help if you don't have snap installed though.
    – iX3
    Mar 12 at 18:56
















  • This does not help if you don't have snap installed though.
    – iX3
    Mar 12 at 18:56















This does not help if you don't have snap installed though.
– iX3
Mar 12 at 18:56




This does not help if you don't have snap installed though.
– iX3
Mar 12 at 18:56

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396910%2fcannot-add-snappy-dev-tools-ppa-repository%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Christian Cage

How to properly install USB display driver for Fresco Logic FL2000DX on Ubuntu?