linux系统问题

 

问题1: ubuntu弹出提示: unlock login keyring

Enter password to unlock your login keyring

要反复输入开机密码.

原因: 无线连接的安全设置

解决方法: 

1.sudo rm /home/user/.local/share/keyrings/login.keyring
每个人电脑中, keyrings文件夹的路径可能不一样, 建议用以下命令先查找一下.
cd /
sudo find -name "keyrings"
2.重复之前会弹出该提示框的操作, 如:使用wifi上网/打开google浏览器/连接mysql数据库, 会弹出该提示框, 要求设置新密码, 输入新密码或空密码后, 选择use unsafe storage, 设置密码成功后, 即可解决.

 

问题2: sudo apt-get update 失败

错误日志如下:

$ sudo apt-get update
......

W: GPG error: http://download.opensuse.org  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E3757B8E0D988D6E
W: GPG error: https://atlassian.artifactoryonline.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EBA59E53CC64091D
W: Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

1) NO_PUBKEY解决方法参考:https://askubuntu.com/questions/522114/cant-get-rid-of-gpg-error-http-download-opensuse-org

执行以下命令:

$ grep -iR opensuse /etc/apt/sources.list*

/etc/apt/sources.list.d/dukto.list.save:deb http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_14.04/ /
/etc/apt/sources.list.d/dukto.list:deb http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_14.04/ /


$ sudo sed -i '/opensuse/ s/^/#/' /etc/apt/sources.list.d/*.list

再次执行sudo apt-get update, 报错情况如下:

$ sudo apt-get update
...
W: GPG error: https://atlassian.artifactoryonline.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EBA59E53CC64091D
W: Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

可以看到,opensuse的报错已经解决了,同理解决掉atlassian的报错:

$ grep -iR atlassian /etc/apt/sources.list*

/etc/apt/sources.list.d/atlassian-hipchat4.list:##deb https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client trusty main
/etc/apt/sources.list.d/atlassian-hipchat4.list.save:deb https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client trusty main

$ sudo sed -i '/atlassian/ s/^/#/' /etc/apt/sources.list.d/*.list

2) 第二种报错:

W: Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

待解决...

 

网上基本上都是这个答案, 是解决google earth的问题, 和这个不一样: https://blog.csdn.net/liuk10/article/details/50955407

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值