[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



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


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