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

Leonid Isaev lisaev at umail.iu.edu
Mon Dec 19 13:29:01 EST 2011


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

> On Mon, Dec 19, 2011 at 23:21, Tom Gundersen <teg at jklm.no> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20111219/dba0906c/attachment.asc>


More information about the arch-general mailing list