Re: mozilla-chat installation error

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

 



On Tue, Jun 07, 2005 at 09:30:50AM -0700, Akop Pogosian wrote:
> > > 
> > > Installing /var/spool/up2date/mozilla-chat-1.7.7-1.1.2.legacy.i386.rpm...
> > > /var/tmp/rpm-tmp.63155: line 1: update-desktop-database: command not found
.....
> 
> Note that I have rebuilt it on an RHEL 3.0 box.

If you are rebuilding packages on a different distribution then you
often have to do various tweaks in specs to adjust them accordingly.
The error you are seeing surely comes from a postinstallation
scripts.  You can check them with a command like

 rpm -q --scripts /var/spool/up2date/mozilla-chat-1.7.7-1.1.2.legacy.i386.rpm

'update-desktop-database' is a program from desktop-file-utils
package but I do not know what was the earliest version of the later
when this utility showed up.

You can make your installation scripts in a spec file make less
"version sensitive" if you will write them in a style like that:

 type -p update-desktop-database >/dev/null && update-desktop-database ...

If you are using a full path then check with

 [ -x /full/path/to/this ] && /full/path/to/this ....

Then with a missing program you will not see attempts of execution.

   Michal

--

fedora-legacy-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-legacy-list

[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux