我正在试着让指纹扫描仪正常工作,但我甚至不能添加存储库。我刚从fedora来到ubuntu,也许我做错了什么,因为其他人在半年前似乎能做到这一点.
下面是一个答案:使用16.04指纹识别器
但第一步:
sudo add-apt-repository ppa:fingerprint/fingerprint-gui
LSB codename: 'bionic'.
This codename isn't currently supported.
Please check your LSB information with "lsb_release -a".然后:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic我做错什么了吗?
编辑:因此,我试图避免添加-apt-存储库命令。
我添加了包含内容的/etc/apt/ content .list.d/signprint.list文件。
deb [arch=amd64] http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic contrib然后使用错误进行了apt更新:
Get:6 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease [15,4 kB]
Hit:10 http://security.ubuntu.com/ubuntu bionic-security InRelease
Err:6 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F
E: The repository 'http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic 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.EDIT2:看来,这里丢失了一些公钥。如何验证,存储库gpg是否正常?在盲目添加公钥之前,我想这样做:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3C962022012520A0
sudo apt-get update发布于 2019-04-03 13:31:22
我知道这个问题有点老了,你可能已经解决了,但我也研究过这个问题,我花了几个小时才弄清楚到底发生了什么,应该做些什么来解决它。
首先,一个简单的问题:您在Ubuntu发行版中安装了肉桂味(ppa:trebelnik-stefina/肉桂)吗?(我打赌你做了)
如果是这样的话,你可能正在经历我得到的同样的问题,我请你继续阅读这篇文章。
我编写了一个自述文件,如下所示,描述了如何修复它。希望它也能帮助到别人!如果你有任何问题,请告诉我。
这是一个教程,用于修复您的Ubuntu18.04LTS上的Cinnamon4.0安装,以防您丢失了您的Software &Update应用程序,并且无法使用sudo software-properties-gtk在终端上运行它,并且两个命令都不能运行,比如sudo add-apt-repository PPA工作。
在尝试运行这些命令时,可能会遇到以下问题:
LSB codename: 'bionic'.
This codename isn't currently supported.
Please check your LSB information with "lsb_release -a".当您通过PPA存储库安装肉桂时,它还安装了一个名为薄荷源的包。这个包本质上控制着Software源代码包,它是Linux版本的Software &<#>Software&Update。
这意味着您的Ubuntu版本的软件属性-常见的、软件属性-gtk和python3 3-软件-属性将被mintsource替换。
因此,当您尝试运行任何依赖于这些包的命令时,它们将试图在文件夹“/usr/share/mintsource/”中查找您的Mint发行版,并输出一个错误,以防LSB代码名与文件夹中的任何现有发行版不同。资料来源:mintsources.py。
解决这个问题很简单,在互联网上很难找到解决方案。
首先,通过运行以下命令,将Ubuntu的三个官方包下载到一个临时文件夹中:
$ mkdir /tmp/cinnamon-fix/
$ cd /tmp/cinnamon-fix/
$ wget http://archive.ubuntu.com/ubuntu/pool/main/s/software-properties/software-properties-gtk_0.96.24.32.1_all.deb http://archive.ubuntu.com/ubuntu/pool/main/s/software-properties/software-properties-common_0.96.24.32.1_all.deb http://archive.ubuntu.com/ubuntu/pool/main/s/software-properties/python3-software-properties_0.96.24.32.1_all.deb据消息来源称,在编写自述文件时,这些是每个包的最新版本:
现在,您应该删除错误的包:
$ sudo apt remove --purge software-properties-gtk software-properties-common python3-software-properties -y最后,删除mintsource包,这样它就不会用其Mint版本替换将要安装的包,并通过dpkg安装它们:
PS:确保您在我们以前创建的文件夹“/tmp/肉桂-补丁/”中。
$ sudo apt autoremove mintsources -y
$ sudo dpkg -i *如果第一个命令告诉您此操作可能有害,请不要害怕,您可以安全地继续此操作。
为了确保sudo apt update后面跟着sudo apt upgrade不会强制重新安装mintsource并再次中断系统,您现在应该通过常规的Software &<#>Software& Updates包删除Software存储库。
只需再次添加,以防确实需要更新与此PPA相关的内容,但要注意,您将不得不再次运行此过程。
已完成!)
更多信息在https://forum.level1techs.com/t/upgrading-to-cinnamon-4-0-on-18-04-dont-forget-one-package/135561。非常感谢用户<#>FurryJackman。
https://askubuntu.com/questions/1112912
复制相似问题