Arch upgrade note

Source: Internet
Author: User
1. Pacman-syu Error
Error: gpgme error: No dataerror: failed to update Community (invalid or synchronized upted database (PGP signature) error: failed to synchronize any databaseserror: failed to init transaction (invalid or invalid upted database (PGP signature ))

Solution: cancel all signatures in/etc/Pacman. conf.
Siglevel = never
After adjustment, it is normal. Of course, this is not a good solution.

2. Proxy Settings
1. Because there is ISA, a second-level proxy needs to be set and cntlm is used to verify Isa.
Set proxy
[Root @ arch-G ~] # Export ftp_proxy = "http: // DS \ gaohu: ***** @ localhost: 3128"
[Root @ arch-G ~] # Export http_proxy = "http: // DS \ gaohu: ***** @ localhost: 3128"
[Root @ arch-G ~] # Export https_proxy = "http: // DS \ gaohu: *** @ localhost: 3128"

If the domain user and password are not added, the ISA 407 error may be triggered.

Then the upgrade is normal.

= 2013.01.26
Sudo RM/etc/passwd accidentally because of updating the pacnew configuration file. pacnew/etc/passwd (the hacker originally wanted a music video), which was hard to generate and cannot be cleaned up.
Very good. It is said that passwd-to passwd can be restored, and there is still a glimmer of life, but sudo or Su-, prompting users who do not know, there is no way to do it.
Restart, edit the grub2 startup item, and add RW init =/bin/Bash to Linux/vmlinuz.... It will start in shell, and then copy passwd-to passwd,
CP/etc/passwd-/etc/passwd, You need to reset the permission here, because passwd-is root RW and others do not have the permission; adjust/etc/passwd, add r permission to everyone, restart, OK,
Be careful. I almost got down...





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.