I rechecked and the file /opt/precam/p3/bin/prenum was not missing before i gave rpm -Uvh --repackage command.
On 2/10/06, James Olin Oden <james.oden@xxxxxxxxx> wrote:
On 2/9/06, rishi kumar <mail2rishi@xxxxxxxxx> wrote:
> Hi,
> I am encounterring a problem with repackaged rpm on rpm version 4.2.1 on
> platform ES3.0 . I need to upgrade an rpm package but I also keep the
> previous installation by doing an upgrade with --repakage flag. The
> repackaging is successful but the problem is that the repackaged rpm when
> installed ( using --nomd5 --nodigest --nosignature flags ) gives me an error
>
> 1:scs
> ########################################### [100%]
> error: unpacking of archive failed on file ./opt/precam/p3/bin/prenum :cpio:
> Archive file not in header
>
Rishi, the problem your seeing is that the file
/opt/precam/p3/bin/prenum was missing when your package was
repackaged. When a file is missing from a repackaged package then it
cannot be re-installed by older versions of rpm (older being relative
to rpm 4.4.4).
Cheers...james
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list