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

Re: repackaged rpm (relocated on non default path) when installed again gives cpio archive error : cpio Archive file not in header




when i did an rpm2cpio | cpio -ivd the dirctory structure after unpacking the archive also had the the file /opt/precam/p3/bin/prenum .So I am sure that the file was there. Moreover the problem doesnt occur when the first installation is at the default location..

On 2/10/06, James Olin Oden <james oden gmail com> wrote:
On 2/9/06, rishi kumar <mail2rishi gmail com> 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 redhat com
https://www.redhat.com/mailman/listinfo/rpm-list


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