SPECS: rpm-build-macros.spec - 1.316: added %env_update

Paweł Sikora pluto at agmk.net
Fri Sep 1 01:14:31 CEST 2006


On Friday 01 September 2006 01:08, Elan Ruusamäe wrote:
> On Friday 01 September 2006 02:00, havner wrote:
> > On Thu, Aug 31, 2006 at 11:03:25PM +0300, Elan Ruusamäe wrote:
> > > > Ok, i see its optional now, just in what way its better? Moving from
> > > > separate config files to one, that needs to be updated.
> > >
> > > well. hope this explains:
> >
> > It doesn't :-)
> >
> > 0.013 in worst case, you wont have time to blink during that time ;-P
>
> well. don't install env-update then ;)

[1] env-update is optional, so fix this:

jpackage-utils              ##################################################
/var/tmp/rpm-tmp.18589[2]: /sbin/env-update: not found
error: %post(jpackage-utils-1.6.6-9.x86_64) scriptlet failed, exit status 127
There were errors

[2] it doesn't install cleanly.

poldek:/all-avail> install env-update-1.6.14-2.x86_64
Processing dependencies...
There are 1 package to install:
I env-update-1.6.14-2.x86_64
Need to get 10.2KB of archives (10.2KB to download).
After unpacking 17.2KB will be used.
Retrieving th-test::env-update-1.6.14-2.x86_64.rpm...
.............................. 100.0% [10.2K (10.2K/s)]
Executing sudo /bin/rpm --upgrade -vh --root / --noorder --define 
_install_langs en:en_US:pl:pl_PL...
error: failed to open /etc/mtab: No such file or directory
Preparing...                ##################################################
env-update                  ##################################################
 * No files to process!
error: %post(env-update-1.6.14-2.x86_64) scriptlet failed, exit status 1
There were errors


>
> for me it's like i never customize /etc/env.d/* files, so it's pointless
> to "parse" them each time with login shell. especially if you're trying to
> login and sys load is like 300.9 ;)


More information about the pld-devel-en mailing list