[arch-general] Problems of using pacman and updating the filesystem

Simon Brand simon.brand at postadigitale.de
Fri Mar 7 02:23:51 EST 2014


Am 07.03.2014 08:13, schrieb Caorenzhi:
> Hi, there are some files in /sbin,/usr/sbin. Should I just remove them directly and then run pacman -s filesystem?   I find out that I cannot access the internet this time, can I still use that command?
> 
> Sent from my iPhone
> 
> On Mar 7, 2014, at 1:07, Simon Brand <simon.brand at postadigitale.de> wrote:
> 
>> Am 07.03.2014 07:49, schrieb Cao, Renzhi (MU-Student):
>>> Now, for my problem, is there any way to repair that? Or you think I should reinstall my arch linux system?
>>
>> I am not a fan of reinstalling only to fix the system, but you should
>> update more frequently ;)
>>
>> Chroot into your system, then look into /bin, /sbin and /usr/sbin, there
>> shouldnt be any files. You can try then
>> pacman -S filesystem
>>
>> Good luck!
>>
> 

Where are these files from? Are they from some AUR packages?
You can check this with
pacman -Qo /path/to/file

Do NOT remove then. If they are from AUR packages, remove them, update
filesystem and then reinstall them.

You could probably try to move them to /usr/bin and then update.

You need the internet to download the new filesystem package. You could
download it on another system, check the signature, copy it to the
broken system and then install it with pacman -U /path/to/package

You should know best, how to access the internet in your network.
The livesystem only trys to dhcpcd, do you have WLan?



More information about the arch-general mailing list