Re: [arch-dev-public] [ANNOUNCE] filesystem-2011.12 manual intervention required

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



On Mon, 19 Dec 2011 23:41:21 +0530
Keshav P R <the.ridikulus.rat@xxxxxxxxx> wrote:

> On Mon, Dec 19, 2011 at 23:21, Tom Gundersen <teg@xxxxxxx> wrote:
> 
> >
> > Yeah, I'll make this clear in the news item. --force is always,
> > always, always wrong. Except for this one time, when it is the only
> > solution ;-)
> >
> > -t
> >
> 
> Sorry to interrupt guys but can't this be done in pre_upgrade function in
> .INSTALL script of the package?
> 
> Quote: man PKGBUILD
> 
>  pre_install
>            Run right before files are extracted. One argument is passed:
> new package full version string.
> 
> pre_upgrade
>            Run right before files are extracted. Two arguments are passed
> in this order: new package full version string, old package full version
> string.
> 
> Regards.
> 
> Keshav

This would require changing the install script only for this particular
update. But what's wrong with (as root)
"rm -vf /etc/mtab && ln -vs /proc/self/mounts /etc/mtab && pacman -Syu"?

-- 
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Attachment: signature.asc
Description: PGP 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