Re: /var lost, how "reinstal" Archlinux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 03/04/14 01:36 PM, Nowaker wrote:
>> The pacman database was in /var so there's little point in trying to
>> reinstall the same packages
> 
> What about software updates, security fixes, etc? ;-)

Which is why I'm suggesting a reinstall with pacstrap.

>> What is the less pain method to get it again up and running? The
>> problem I
>> see are pacman list of installed packages?
> 
> Although you don't know what packaged you had (/var lost), you may use
> /usr/bin/pkgfile to determine what package a file belongs to, e.g.
> 
> % pkgfile /usr/lib/liblink-grammar.so
> extra/link-grammar
> 
> Run this across all the files in /usr, /etc and others, and you have a
> list of the packages that need to be installed again.

You won't have a list of which ones are explicit vs. implicit though.
IMO there's not much harm in simply reinstalling base along with the
packages are actually wanted. If nothing else, it's an involuntary
spring cleaning.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux