sudo apt-add-repository→W: GPG error

Ubuntu各种衍生版本
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#16

帖子 寺島聰子 » 2017-09-10 21:02

The Software Manager
Synaptic & APT
There is one important difference between the Software Manager and Synaptic/APT though. With Synaptic and APT you basically deal with packages.
The Software Manager is different because it lets you install “applications” by getting the
right “packages” for you, not only from the repositories (packages databases) that
Synaptic and APT have access to, but also from other places on the Internet
.
'Software Manager'というツールは名前をよく聞くが、私は使用した記憶がなくて、メニューを開き、'Software Manager'のアイコンをクリックしても、起動しない。
'Software Manager'のアイコンのプロパティのコマンドを見ると gksu mintinstall と表示されているのを私は確認した。
The tool 'Software Manager' often listens to the name, but I do not remember using it, opening the menu and clicking 'Software Manager' icon does not start.
When I looked at the 'Software Manager' icon property command, I confirmed that gksu mintinstall is displayed.

m@m ~ $ gksu mintinstall
NOT SANDBOXED
add_categories took 1.326 ms
build_matched_packages took 0.177 ms
add_packages took 6572.216 ms
add_reviews took 1309.477 ms
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1895, in <module>
Application()
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 53, in wrapper
res = func(*arg)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 584, in __init__
sans26 = ImageFont.truetype ( self.FONT, 26 )
File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 228, in truetype
return FreeTypeFont(font, size, index, encoding)
File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 131, in __init__
self.font = core.getfont(font, size, index, encoding)
IOError: cannot open resource
m@m ~ $
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#17

帖子 寺島聰子 » 2017-09-10 21:19

1. /etc/apt/sources.list.d/linuxmint-ja.list
1-1. Try to add # in front of all lines and save the file.
1-2. All lines beginning with # would be ignored.
「Software Sources」を起動させ、PPAs で(すべてのPPAS のチェック外し)
右上角の「キャッシュをアップデート」をクリック
Launch "Software Sources", with PPAs (Uncheck all PPAS)
Click "update cache" in the upper right corner

代码: 全选

m@m ~ $ export LC_ALL=en_US.UTF-8
m@m ~ $ sudo apt-get update
[sudo] password for m: 
Ign http://packages.linuxmint.com rafaela InRelease
6% [Connecting to ftp.mondorescue.org] [Waiting for headers] [Waiting for head
略
W: GPG error: ftp://ftp.mondorescue.org 14.04 Release: The following signatures were invalid: BADSIG 6BA8C2D220EBFB0E Bruno Cornec (FLOSS & Early Music) <bruno@victoria.frmug.org>
W: Duplicate sources.list entry https://dl.winehq.org/wine-builds/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/dl.winehq.org_wine-builds_ubuntu_dists_trusty_main_binary-amd64_Packages)
W: Duplicate sources.list entry https://dl.winehq.org/wine-builds/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/dl.winehq.org_wine-builds_ubuntu_dists_trusty_main_binary-amd64_Packages)
W: Duplicate sources.list entry https://dl.winehq.org/wine-builds/ubuntu/ trusty/main i386 Packages (/var/lib/apt/lists/dl.winehq.org_wine-builds_ubuntu_dists_trusty_main_binary-i386_Packages)
W: Duplicate sources.list entry https://dl.winehq.org/wine-builds/ubuntu/ trusty/main i386 Packages (/var/lib/apt/lists/dl.winehq.org_wine-builds_ubuntu_dists_trusty_main_binary-i386_Packages)
m@m ~ $ 
附件
Screenshot-Software Sources.png
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#18

帖子 寺島聰子 » 2017-09-10 23:34

2-3-3. https://www.linuxmint.com/documentation ... h_18.0.pdf
P35
Package Management in Linux Mint
>If you have installed Linux for the first time, then you may not be familiar with the
concept of organizing software into “packages”. You will soon become familiar with
package management and appreciate the advantages it offers in terms of security, control
and ease of use

与Windows比

The problems with browsing software vendors' websites and downloading and installing
the software they offer are many:
•It is difficult or impossible to find out if the software has been tested to work with
your operating system
•It is difficult or impossible to know how this software will interact with the other
software installed on your system
•It is difficult or impossible to know if you can place your trust that software
from an unknown developer software will not cause any harm, willful or
negligent, to your system
Even if you know about a specific piece of software and
its developer, you cannot be entirely sure that you are not downloading an
executable that has been swapped out by a malicious third party for some type of
malware.
「此外,下載和安裝多個不同程序的問題,
來自多個不同的開發者,是沒有管理基礎設施。」(文)
より以下を通読しました。ありがとうございました。

Because you are part of a large community of Linux users, all using the same repositories
to obtain their software, if anything goes wrong you can be absolutely sure there will be a
big fuss about it, and that the problem will be resolved quickly!

, but because if anything does go wrong everyone will be talking about it
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#19

帖子 寺島聰子 » 2017-09-10 23:43

引言回覆:
W: GPG エラー: ftp://ftp.mondorescue.org 14.04 Release: 以下の署名が無効です: BADSIG 6BA8C2D220EBFB0E Bruno Cornec (FLOSS & Early Music) <bruno@victoria.frmug.org>

3. The above messages were from UbuntuMate 16.04 or Linux Mint 17.x ?
“Linux Mint 17.2 mate 64bit” です。左の「系統」のところにどうやって記載するのか分からず
它是“Linux Mint 17.2mate64位”。 我不知道如何描述左邊的“系統” :Sleep
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#20

帖子 寺島聰子 » 2017-09-11 0:59

additional-repositories.list を開いて
-------------------------------------------------------
deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main

deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main
deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main

下の2行は削除して

Duplicate sources.list entry 全部消えました、ありがとうございました
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#21

帖子 寺島聰子 » 2017-09-11 1:04

3-1-3. https://askubuntu.com/questions/131601/ ... sig/196139

代码: 全选

sudo apt-get clean
sudo mv /var/lib/apt/lists /tmp
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update
消えません! It will not disappear!

28.0 MB を 1分 29秒 で取得しました (312 kB/s)
パッケージリストを読み込んでいます... 完了
W: GPG エラー: ftp://ftp.mondorescue.org 14.04 Release: 以下の署名が無効です: BADSIG 6BA8C2D220EBFB0E Bruno Cornec (FLOSS & Early Music) <bruno@victoria.frmug.org>
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#22

帖子 寺島聰子 » 2017-09-11 1:12

https://itsfoss.com/solve-badsig-error-quick-tip/

sudo apt-get clean
cd /var/lib/apt
sudo mv lists oldlist
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
---------------------------------
W: GPG エラー: ftp://ftp.mondorescue.org 14.04 Release: 以下の署名が無効です: BADSIG 6BA8C2D220EBFB0E Bruno Cornec (FLOSS & Early Music) <bruno@victoria.frmug.org>
m@m /var/lib/apt $
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#23

帖子 寺島聰子 » 2017-09-11 1:26

エラーメッセージついに消えました!
これでよかったですか? 最終解決ですか?
錯誤信息最終消失了! 
這可以嗎 是最終的解決方案嗎?
引言回覆:
1. /etc/apt/sources.list.d/linuxmint-ja.list
1-1. Try to add # in front of all lines and save the file.
1-2. All lines beginning with # would be ignored.
---------------
mondorescue.sources.list を変更

#deb ftp://ftp.mondorescue.org//ubuntu 14.04 contrib
#deb-src ftp://ftp.mondorescue.org//ubuntu 14.04 contrib
--------------------------------------------------------------------------------------------
無視 http://archive.ubuntu.com trusty/multiverse Translation-ja_JP
無視 http://archive.ubuntu.com trusty/restricted Translation-ja_JP
無視 http://archive.ubuntu.com trusty/universe Translation-ja_JP
パッケージリストを読み込んでいます... 完了
m@m ~ $
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: sudo apt-add-repository→W: GPG error

#24

帖子 poloshiao » 2017-09-11 11:03

1. /etc/apt/sources.list.d/linuxmint-ja.list
1-1. Try to add # in front of all lines and save the file.
1-2. All lines beginning with # would be ignored.
這可以嗎 是最終的解決方案嗎?
1. No, the way adding # in front of those lines to be ignored is only one kind of workarounds.
https://ja.wiktionary.org/wiki/workaround
https://zh.wiktionary.org/wiki/workaround
https://en.wiktionary.org/wiki/workaround
“Linux Mint 17.2 mate 64bit” です。左の「系統」のところにどうやって記載するのか分からず
它是“Linux Mint 17.2mate64位”。 我不知道如何描述左邊的“系統”
2. Which edition ?
2-1. https://linuxmint.com/release.php?id=25
Editions for Linux Mint 17.2 "Rafaela"
MATE (64-bit)
MATE no-codecs (64-bit)
MATE OEM (64-bit)
2-2. Paste the full file name of the iso you have downloaded here.
2-3. You had better refer to the right guide suitable for the exact edition you use.

3. Copy the following lines and paste into terminal then press ENTER :
3-1. sudo cat /etc/apt/sources.list
3-2. sudo ls -Al /etc/apt/sources.list.d | grep list
Copy all output lines and paste them here.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#25

帖子 寺島聰子 » 2017-09-11 20:43

workarounds の語義
日本語より中国語の方が分かりやすかったです。ありがとうございます。 :Haha
雖不能根本解決, 但能避開問題的替代方法。
避免問題或困難而旁道而行達到目的。
權宜之計; 應急之策。
臨時解決辨法或暫時解決方法:原本是電腦術語,
m@m ~ $ export LC_ALL=en_US.UTF-8
m@m ~ $ sudo cat /etc/apt/sources.list
[sudo] password for m:
#deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release amd64 20150627]/ trusty contrib main non-free
#deb http://ftp.debian.org/debian experimental mainm@m ~ $ sudo ls -Al /etc/apt/sources.list.d | grep list
-rw-r--r-- 1 root root 59 Sep 11 01:46 additional-repositories.list
-rw-r--r-- 1 root root 142 Sep 10 21:15 cosmos-door-marisa-trusty.list
-rw-r--r-- 1 root root 91 Sep 10 21:15 danielrichter2007-grub-customizer-trusty.list
-rw-r--r-- 1 root root 59 Jun 28 2015 getdeb.list
-rw-r--r-- 1 root root 134 Sep 10 21:16 gezakovacs-ppa-trusty.list
-rw-r--r-- 1 root root 162 Sep 10 21:16 kirillshkrogalev-ffmpeg-next-trusty.list
-rw-r--r-- 1 root root 56 Sep 9 23:42 linuxmint-ja.list
-rw-r--r-- 1 root root 144 Sep 10 21:16 mc3man-trusty-media-trusty.list
-rw-r--r-- 1 root root 110 Sep 11 02:19 mondorescue.sources.list
-rw-r--r-- 1 root root 132 Sep 10 21:16 noobslab-apps-trusty.list
-rw-r--r-- 1 root root 426 Sep 8 20:17 official-package-repositories.list
-rw-r--r-- 1 root root 134 Sep 10 21:16 ozmartian-apps-trusty.list
-rw-r--r-- 1 root root 154 Sep 10 21:16 plushuang-tw-uget-stable-trusty.list
-rw-r--r-- 1 root root 67 Sep 10 21:16 saa-p-ppa-trusty.list
-rw-r--r-- 1 root root 128 Sep 10 21:16 shutter-ppa-trusty.list
-rw-r--r-- 1 root root 70 Sep 10 21:16 wseverin-ppa-trusty.list
m@m ~ $
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: sudo apt-add-repository→W: GPG error

#26

帖子 poloshiao » 2017-09-12 8:51

sudo cat /etc/apt/sources.list

#deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release amd64 20150627]/ trusty contrib main non-free
#deb http://ftp.debian.org/debian experimental mainm@m
1. viewtopic.php?p=3195938#p3195938
2-2. Paste the full file name of the iso you have downloaded here.

1-1. https://linuxmint.com/edition.php?id=192
Authenticity Don't forget to verify your ISO

1-2. https://linuxmint.com/verify.php
How to verify ISO images
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: sudo apt-add-repository→W: GPG error

#27

帖子 poloshiao » 2017-09-12 18:57

viewtopic.php?p=3195952#p3195952
sudo cat /etc/apt/sources.list
#deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release amd64 20150627]/ trusty contrib main non-free
1. This is based on Ubuntu
#deb http://ftp.debian.org/debian experimental main
2. This is from Debian repository ?

3. Why did you add this line into /etc/apt/sources.list ?
#deb http://ftp.debian.org/debian experimental mainm@m
4. What does m@m mean ?
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#28

帖子 寺島聰子 » 2017-09-12 22:45

1. viewtopic.php?p=3195938#p3195938
2-2. Paste the full file name of the iso you have downloaded here.

1-1. https://linuxmint.com/edition.php?id=192
Authenticity Don't forget to verify your ISO

1-2. https://linuxmint.com/verify.php
How to verify ISO images
恐れながら、ここの指導は、何を指示されているのか、理解に苦しんでいます。
可怕的是,這裡的指導是在理解所指示的內容。
2. This is from Debian repository ?

3. Why did you add this line into /etc/apt/sources.list ?
2. YES
3. 憶えていないのです。私が記録を整理すれば明確になりますが。今から調べてみる。
I do not remember. Although I will clarify if I organize the records. I will look it up from now.
4. What does m@m mean ?
#deb http://ftp.debian.org/debian experimental main
正しくは上のごとし。コピーミスでした。
Correctly as above. It was a copy mistake.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: sudo apt-add-repository→W: GPG error

#29

帖子 寺島聰子 » 2017-09-14 2:40

3. Why did you add this line into /etc/apt/sources.list ?
2016/04/19ごろにqutebrowserのインストールに挑戦していて、インストールは成功したが、気に入らないので、とっくにアンインストールしています。
私としてはmint17.2上で「wine」のインストールして、無事「Kindle for PC」使えるという結果につながるといいが。
I tried installing qutebrowser around April 19, 2016 and the installation was successful but I do not like it, so I uninstalled it a long time ago.
I hope it will result in installing "wine" on mint 17.2 and using "Kindle for PC" safely.

http://mogi2fruits.net/blog/os-software ... dle_for_PC


qutebrowser · GitHub
Installing qutebrowser
On Debian / Ubuntu

https://github.com/The-Compiler/qutebro ... L.asciidoc


qutebrowser should run on these systems:

Debian jessie or newer

Ubuntu Trusty (14.04 LTS) or newer

Any other distribution based on these (e.g. Linux Mint 17+)

Unfortunately there is no Debian package yet, but installing qutebrowser is still relatively easy! If you want to help packaging it for Debian, please get in touch!

Install the dependencies via apt-get:
Note

On Debian, it’s recommended to install the Qt packages from the experimental repository as those are a much newer version of Qt which is more stable.

Add the following line to your /etc/apt/sources.list:

deb http://ftp.debian.org/debian experimental main
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: sudo apt-add-repository→W: GPG error

#30

帖子 poloshiao » 2017-09-14 8:35

I tried installing qutebrowser around April 19, 2016 and the installation was successful but I do not like it, so I uninstalled it a long time ago.
I hope it will result in installing "wine" on mint 17.2 and using "Kindle for PC" safely.
Add the following line to your /etc/apt/sources.list:
deb http://ftp.debian.org/debian experimental main
1. You had better choose a freshly installed LMDE or LMDE 2, because these two are based on Debian.
sudo cat /etc/apt/sources.list
#deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release amd64 20150627]/ trusty contrib main non-free
#deb http://ftp.debian.org/debian experimental main
2. Your Operation system could be probably mixed with packages from both ubuntu and debian, it would become unstable now.
viewtopic.php?p=3195884#p3195884
Notice : Difference between the ways to add the repositories

3. https://dl.winehq.org/wine-builds/debian/dists/
No experimental directory now.
3-1. i.e. it would be some problems to install wine with :
deb http://ftp.debian.org/debian experimental main
3-2. Compare the directories in these two web addreses :
3-2-1. https://dl.winehq.org/wine-builds/debian/dists/
3-2-2. http://ftp.debian.org/debian/dists/

4. Compare with base in the following editions :
https://en.wikipedia.org/wiki/Linux_Mint#Editions
回复