ตอนแรกคือมันไม่มีคำสั่ง add-apt-repository ก็เลยลง software-properties-common
เสร็จแล้วพอผมเพิ่ม ppa แล้วมัน error บอกว่าไม่มี dirmngr พอลงแล้วก็มาจอดตรงนี้ครับ
wattana@wattana-PC:~$ sudo add-apt-repository ppa:obsproject/obs-studio
[sudo] password for wattana:
Latest stable release of OBS Studio
More info:
https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox '/tmp/tmpdvzrbxlw/pubring.gpg' created
gpg: /tmp/tmpdvzrbxlw/trustdb.gpg: trustdb created
gpg: key EFC71127F425E228: public key "Launchpad PPA for obsproject" 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] No such file or directory: 'S.gpg-agent.ssh'
wattana@wattana-PC:~$
linux deepin เพิ่ม ppa ไม่ได้ ทำยังไงดีครับ
เสร็จแล้วพอผมเพิ่ม ppa แล้วมัน error บอกว่าไม่มี dirmngr พอลงแล้วก็มาจอดตรงนี้ครับ
wattana@wattana-PC:~$ sudo add-apt-repository ppa:obsproject/obs-studio
[sudo] password for wattana:
Latest stable release of OBS Studio
More info: https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox '/tmp/tmpdvzrbxlw/pubring.gpg' created
gpg: /tmp/tmpdvzrbxlw/trustdb.gpg: trustdb created
gpg: key EFC71127F425E228: public key "Launchpad PPA for obsproject" 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] No such file or directory: 'S.gpg-agent.ssh'
wattana@wattana-PC:~$