[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: mozilla-chat installation error
- From: Michal Jaegermann <michal harddata com>
- To: Discussion of the Fedora Legacy Project <fedora-legacy-list redhat com>
- Subject: Re: mozilla-chat installation error
- Date: Tue, 7 Jun 2005 11:08:17 -0600
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]