BambooEngine / ibus-bamboo

Bộ gõ tiếng Việt cho Linux
GNU General Public License v3.0
1.18k stars 76 forks source link

Lỗi 404 khi thêm PPA #341

Closed cuikho210 closed 2 years ago

cuikho210 commented 2 years ago

Sau khi mình thêm PPA bằng lệnh

sudo add-apt-repository ppa:bamboo-engine/ibus-bamboo

Xuất hiện lỗi

 IBus Bamboo - Bộ gõ tiếng Việt cho Linux
===================================

### Sơ lược tính năng
* Hỗ trợ tất cả các bảng mã phổ biến:
  - Unicode, TCVN (ABC)
  - VIQR, VNI, VPS, VISCII, BK HCM1, BK HCM2,…
  - Unicode UTF-8, Unicode NCR - for Web editors.
* Nhiều kiểu gõ:
  - Simple Telex, Telex 2, Telex 3
  - VNI, VIQR, Microsoft layout
  - Telex + VNI + VIQR
* Nhiều tính năng hiện đại:
  - Kiểm tra chính tả (sử dụng từ điển/luật ghép vần)
  - Dấu thanh chuẩn và dấu thanh kiểu mới
  - Bỏ dấu tự do, Gõ tắt (macro), Emoji,...
* Sử dụng phím tắt <Shift> + ~ để loại trừ ứng dụng không dùng bộ gõ, chuyển qua lại giữa các chế độ gõ:
  - Preedit (default)
  - Surrounding text, IBus ForwardKeyEvent, XTestFakeKeyEvent,... 
 More info: https://launchpad.net/~bamboo-engine/+archive/ubuntu/ibus-bamboo
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmp4ffxwgnq/pubring.gpg' created
gpg: /tmp/tmp4ffxwgnq/trustdb.gpg: trustdb created
gpg: key 36ED424E9659D014: public key "Launchpad PPA for bamboo-engine" imported
gpg: Total number processed: 1
gpg:               imported: 1
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.

Tiếp đó mình chạy

sudo apt update

Và xuất hiện lỗi 404

Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://packages.microsoft.com/repos/code stable InRelease                
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease                  
Hit:4 http://deb.debian.org/debian bullseye InRelease                          
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease                  
Ign:6 http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic InRelease
Hit:7 https://mirror.kku.ac.th/mx-packages/mx/repo bullseye InRelease          
Err:8 http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic Release
  404  Not Found [IP: 185.125.190.52 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Và sau khi chạy lệnh cài ibus-bamboo

sudo apt install ibus ibus-bamboo --install-recommends
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ibus-bamboo

Mình đang sử dụng

OS: MX x86_64
Kernel: 5.10.0-14-amd64
DE: Plasma 5.20.5
WM: KWin
$ uname -a
Linux S 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 GNU/Linux
Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-14-amd64
OS Type: 64-bit
luongthanhlam commented 2 years ago

bạn thử lại nhé

cuikho210 commented 2 years ago

Lần này mình vẫn gặp lỗi Unable to locate package ibus-bamboo

cuikho210@S:~
$ sudo apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                  
Hit:3 http://deb.debian.org/debian bullseye InRelease                          
Hit:4 http://packages.microsoft.com/repos/code stable InRelease                
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease                  
Get:6 http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic InRelease [18.1 kB]
Hit:7 https://mirror.kku.ac.th/mx-packages/mx/repo bullseye InRelease          
Err:6 http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 36ED424E9659D014
Hit:8 https://repo.waydro.id bullseye InRelease
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 36ED424E9659D014
E: The repository 'http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
cuikho210@S:~
$ sudo apt install ibus ibus-bamboo --install-recommends
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ibus-bamboo
luongthanhlam commented 2 years ago

bạn xóa PPA rồi add lại xem?

cuikho210 commented 2 years ago

Mình xóa PPA lần nữa rồi nhưng vẫn xuất hiện lỗi tưong tự

cuikho210@S:~
$ sudo add-apt-repository ppa:bamboo-engine/ibus-bamboo --remove
 IBus Bamboo - Bộ gõ tiếng Việt cho Linux
===================================

### Sơ lược tính năng
* Hỗ trợ tất cả các bảng mã phổ biến:
  - Unicode, TCVN (ABC)
  - VIQR, VNI, VPS, VISCII, BK HCM1, BK HCM2,…
  - Unicode UTF-8, Unicode NCR - for Web editors.
* Nhiều kiểu gõ:
  - Simple Telex, Telex 2, Telex 3
  - VNI, VIQR, Microsoft layout
  - Telex + VNI + VIQR
* Nhiều tính năng hiện đại:
  - Kiểm tra chính tả (sử dụng từ điển/luật ghép vần)
  - Dấu thanh chuẩn và dấu thanh kiểu mới
  - Bỏ dấu tự do, Gõ tắt (macro), Emoji,...
* Sử dụng phím tắt <Shift> + ~ để loại trừ ứng dụng không dùng bộ gõ, chuyển qua lại giữa các chế độ gõ:
  - Preedit (default)
  - Surrounding text, IBus ForwardKeyEvent, XTestFakeKeyEvent,... 
 More info: https://launchpad.net/~bamboo-engine/+archive/ubuntu/ibus-bamboo
Press [ENTER] to continue or ctrl-c to cancel removing it

cuikho210@S:~
$ sudo add-apt-repository ppa:bamboo-engine/ibus-bamboo
 IBus Bamboo - Bộ gõ tiếng Việt cho Linux
===================================

### Sơ lược tính năng
* Hỗ trợ tất cả các bảng mã phổ biến:
  - Unicode, TCVN (ABC)
  - VIQR, VNI, VPS, VISCII, BK HCM1, BK HCM2,…
  - Unicode UTF-8, Unicode NCR - for Web editors.
* Nhiều kiểu gõ:
  - Simple Telex, Telex 2, Telex 3
  - VNI, VIQR, Microsoft layout
  - Telex + VNI + VIQR
* Nhiều tính năng hiện đại:
  - Kiểm tra chính tả (sử dụng từ điển/luật ghép vần)
  - Dấu thanh chuẩn và dấu thanh kiểu mới
  - Bỏ dấu tự do, Gõ tắt (macro), Emoji,...
* Sử dụng phím tắt <Shift> + ~ để loại trừ ứng dụng không dùng bộ gõ, chuyển qua lại giữa các chế độ gõ:
  - Preedit (default)
  - Surrounding text, IBus ForwardKeyEvent, XTestFakeKeyEvent,... 
 More info: https://launchpad.net/~bamboo-engine/+archive/ubuntu/ibus-bamboo
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpryefld4d/pubring.gpg' created
gpg: /tmp/tmpryefld4d/trustdb.gpg: trustdb created
gpg: key 36ED424E9659D014: public key "Launchpad PPA for bamboo-engine" imported
gpg: Total number processed: 1
gpg:               imported: 1
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.
cuikho210@S:~
$ sudo apt update
Hit:1 http://deb.debian.org/debian bullseye-updates InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease                                                                                                                                                    
Hit:3 http://packages.microsoft.com/repos/code stable InRelease                                                                                                                                          
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                            
Hit:5 http://security.debian.org/debian-security bullseye-security InRelease                                                                                                                      
Hit:6 https://mirror.kku.ac.th/mx-packages/mx/repo bullseye InRelease                                                                                                      
Get:7 http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic InRelease [18.1 kB]  
Hit:8 https://repo.waydro.id bullseye InRelease                            
Err:7 http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 36ED424E9659D014
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 36ED424E9659D014
E: The repository 'http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
cuikho210@S:~
$ sudo apt-get install ibus ibus-bamboo --install-recommends
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ibus-bamboo
luongthanhlam commented 2 years ago

https://askubuntu.com/questions/943539/the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-avai bạn làm theo cái này xem

cuikho210 commented 2 years ago

Mình đã làm được rồi, cảm ơn ad

cuikho210@S:~
$ sudo add-apt-repository ppa:bamboo-engine/ibus-bamboo
 IBus Bamboo - Bộ gõ tiếng Việt cho Linux
===================================

### Sơ lược tính năng
* Hỗ trợ tất cả các bảng mã phổ biến:
  - Unicode, TCVN (ABC)
  - VIQR, VNI, VPS, VISCII, BK HCM1, BK HCM2,…
  - Unicode UTF-8, Unicode NCR - for Web editors.
* Nhiều kiểu gõ:
  - Simple Telex, Telex 2, Telex 3
  - VNI, VIQR, Microsoft layout
  - Telex + VNI + VIQR
* Nhiều tính năng hiện đại:
  - Kiểm tra chính tả (sử dụng từ điển/luật ghép vần)
  - Dấu thanh chuẩn và dấu thanh kiểu mới
  - Bỏ dấu tự do, Gõ tắt (macro), Emoji,...
* Sử dụng phím tắt <Shift> + ~ để loại trừ ứng dụng không dùng bộ gõ, chuyển qua lại giữa các chế độ gõ:
  - Preedit (default)
  - Surrounding text, IBus ForwardKeyEvent, XTestFakeKeyEvent,... 
 More info: https://launchpad.net/~bamboo-engine/+archive/ubuntu/ibus-bamboo
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmp9cy8lc00/pubring.gpg' created
gpg: /tmp/tmp9cy8lc00/trustdb.gpg: trustdb created
gpg: key 36ED424E9659D014: public key "Launchpad PPA for bamboo-engine" imported
gpg: Total number processed: 1
gpg:               imported: 1
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.
cuikho210@S:~
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36ED424E9659D014
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.UdF8zHQd9n/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36ED424E9659D014
gpg: key 36ED424E9659D014: public key "Launchpad PPA for bamboo-engine" imported
gpg: Total number processed: 1
gpg:               imported: 1
cuikho210@S:~
$ sudo apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                                                                                                
Hit:3 http://deb.debian.org/debian bullseye InRelease                                                                                                                                         
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                 
Hit:5 http://packages.microsoft.com/repos/code stable InRelease                                                                                                                            
Hit:6 https://mirror.kku.ac.th/mx-packages/mx/repo bullseye InRelease                                                                                                                      
Hit:7 https://repo.waydro.id bullseye InRelease                                                  
Get:8 http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic InRelease [18.1 kB]
Get:9 http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic/main amd64 Packages [496 B]
Get:10 http://ppa.launchpad.net/bamboo-engine/ibus-bamboo/ubuntu kinetic/main Translation-en [476 B]
Fetched 19.0 kB in 3s (6,456 B/s)                     
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
cuikho210@S:~
$ sudo apt install ibus ibus-bamboo --install-recommends
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ibus is already the newest version (1.5.23-2).
ibus set to manually installed.
The following packages were automatically installed and are no longer required:
  bridge-utils libgbinder libglibutil liblxc1 lxc python3-gbinder
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  ibus-bamboo
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,556 kB of archives.
After this operation, 6,283 kB of additional disk space will be used.
Do you want to continue? [Y/n] y