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

Re: rpm-3.0 works, rpm-4.0.3 does NOT



On Sunday, 27 January 2002, paul company wrote:
> 
> I built and installed rpm-4.0.3 successfully.
> 
> But when I tried to build it as a package, I got the following error:
> 
> ============BEGIN ERROR MESSAGE=================
> # rpm -bp spec.rpm-4.0.3-1
[snip]
> + tar -xvvf /usr/local/src/sun/SOURCES
> tar: Record size = 1 blocks
> tar: Hmm, this doesn't look like a tar archive
> tar: Skipping to next file header

You're trying to unpack a directory treating it like a tar archive.
This can't be right.

[snip]
> When I use the same spec file with rpm-3.0 everything works fine.

Are you really, really sure? :-)

[snip] 
> Here's my spec file:
> 
> # cat spec.rpm-4.0.3-1
> Summary: Red Hat Package Manager
> Name: rpm
> Version: 4.0.3
> Release: 1
> Copyright: Gnu Public License (GPL)
> Group: Programming
> Source: http://www.rpm.org/
> URL: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-4.0.3.tar.gz

Looks like you mixed the Source and URL tags. Switch them,
and all will be fine.

HTH

-- 
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)we.are.one.pl>





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