[ArchLinux] [Daily] [Pacman] Local database damaged

Source: Internet
Author: User
Tags dmesg

Afternoon, happy to look at the DPDK documents, do a variety of small experiments.

Background normal Yaourt-syu, more than three grams of download, I always have a long time to update once.

And then the KDE window various anomalies, I know again at the beginning more x related things. But I see konsole because X is abnormal. So my brain is reboot ...

It's reboot, not systemctl reboot. (Do not understand why I am so brain-handicapped, since there is an anomaly, the description has been download completed, began to install, wait a moment, it is OK, restart without any help. )

After the restart, sure enough, the wireless card driver is not up. Fortunately, there is a wired interface, or even the network will not go.

And then I was like the following steps to solve this problem

1. Use IP to view the device is not in (WLAN0), the description is not driven up.

[[Email protected] ~]$ IP Link1: Lo: <LOOPBACK,UP,LOWER_UP> MTU65536Qdisc Noqueue State UNKNOWN mode DEFAULT GroupdefaultQlen1Link/loopbackxx:xx:xx:xx:xx:xxBrdxx:xx:xx:xx:xx:xx2: Lan0: <BROADCAST,MULTICAST,UP,LOWER_UP> MTU theQdisc Fq_codel State up mode DEFAULT GroupdefaultQlen +Link/ether -: 7b:9d:5c:1e:9b BRD ff:ff:ff:ff:ff:ff3:Internal-BR0: <BROADCAST,MULTICAST,UP,LOWER_UP> MTU theQdisc Noqueue State UNKNOWN mode DEFAULT GroupdefaultQlen +Link/ether D2:FD: at: -: 9f:6a BRD ff:ff:ff:ff:ff:ff[[email protected]~]$

2. Lspci the hardware identification is OK, check the SYSFS, verify that the driver is not driving.

[Email protected] ~]$ Lspci-nn | grep Wire :00.0 Network Controller [02807265 [8086]
~]$ ls/sys/bus/pci/devices/0000\:\ n \:00.0/|
Xxxx

Based on the above, it has been proved that the driver Iwlwifi has a problem, now it is necessary to see what the problem.

3. Through the DMESG view, the system startup phase will try to load the network card, out of the wrong.

[Email protected] pkg]# DMESG |grep iw[3.096783] Iwlwifi0000:Geneva:00.0: Direct Firmware Load foriwlwifi-7265d- +. Ucode failed with error-2[    3.096800] Iwlwifi0000:Geneva:00.0: Direct Firmware Load foriwlwifi-7265d- -. Ucode failed with error-2[    3.096810] Iwlwifi0000:Geneva:00.0: Direct Firmware Load foriwlwifi-7265d- +. Ucode failed with error-2[    3.096820] Iwlwifi0000:Geneva:00.0: Direct Firmware Load foriwlwifi-7265d- -. Ucode failed with error-2[    3.096830] Iwlwifi0000:Geneva:00.0: Direct Firmware Load foriwlwifi-7265d- -. Ucode failed with error-2[    3.096840] Iwlwifi0000:Geneva:00.0: Direct Firmware Load foriwlwifi-7265d- -. Ucode failed with error-2[    3.096843] Iwlwifi0000:Geneva:00.0: no suitable firmware found![email protected] pkg]#

As can be seen, is firmware out of the problem, has basically been able to determine that the new firmware has a problem, the latter update time by my restart messed up.

4. I don't know firmware is a god horse ghost, so I have to find out which one is the bag

[Email protected] pkg]# pacman-q| grep firmwarelinux 20160915. c4c07a8-1

5. Rewind/unload/or reload. So the problem came, it was playing bad.

[Email protected] pkg]# pacman-run linux-/var/lib/pacman/local/linux-firmware-20160915 . c4c07a8-1/ for package linux-firmware-20160915. c4c07a8-1  Checking dependencies...warning:removing linux from are do

It's not going to work, because it's broken, and in the end I'm doing it.

(1) Touch empty file desc. (2)--force re-installed the bag.

This is not a good idea, because--force represents violence, destruction. We should choose the official method to solve the problem. IRC consulted a big brother, give suggestions as follows connection. I didn't see it, and I didn't try. But I think it should be.

Https://wiki.archlinux.org/index.php/Pacman/Restore_local_database

6. Re-see if it's really good.

[ArchLinux] [Daily] [Pacman] Local database damaged

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.