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

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



Am 04.04.2014 23:24, schrieb Rodrigo Rivas:
> On Thu, Apr 3, 2014 at 9:12 PM, Lukas Jirkovsky <l.jirkovsky@xxxxxxxxx> wrote:
>> If you have enough time, I would try using pkgfile to recover the
>> installed packages. I thing something like this should suffice:
>> # update the pkgfile database
>> pkgfile -u
>> # find the package names for all binaries
>> find /usr/bin -type f -exec pkgfile '{}' ';' | uniq
> 
> Good idea. But just a little correction, use `sort` or else `uniq`
> will not work properly:
> 
>     find /usr/bin -type f -exec pkgfile '{}' ';' | sort | uniq
> 

or use only "| sort -u" instead



[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