[LUGSB] Problem with RPM

Yi Suo sybatter at yahoo.com
Sat Nov 22 17:24:18 EST 2003


I tried to install imlib2 to my computer. I downloaded
the following rpms:

imlib2-1.1.0-1.i386.rpm
imlib2-loader_argb-1.1.0-1.i386.rpm
imlib2-loader_jpeg-1.1.0-1.i386.rpm
imlib2-loader_png-1.1.0-1.i386.rpm

Then I did the following:

[yi at localhost yi]$ rpm -i imlib2-1.1.0-1.i386.rpm
error: Failed dependencies:
        imlib2-loader_jpeg = 1.1.0 is needed by
imlib2-1.1.0-1
        imlib2-loader_png = 1.1.0 is needed by
imlib2-1.1.0-1
        imlib2-loader_argb = 1.1.0 is needed by
imlib2-1.1.0-1

Then I tried to install each individual file and
received this message from the system:
[yi at localhost yi]$ rpm -i
imlib2-loader_argb-1.1.0-1.i386.rpm
error: Failed dependencies:
        libImlib2.so.1 is needed by
imlib2-loader_argb-1.1.0-1

Same thing happened when I tried to install other 2
loaders. Then I surfed the web and found that
libImlib2.so.1 is included in the package
imlib2-1.1.0-1.i386.rpm.

Hence I assumed the rpm has to load all 4 files at the
same time. Therefore I did this:

[yi at localhost yi]$ rpm -i imlib2-1.1.0-1.i386.rpm
imlib2-loader_jpeg-1.1.0-1.i386.rpm
imlib2-loader_png-1.1.0-1.i386.rpm
imlib2-loader_argb-1.1.0-1.i386.rpm
error: cannot get exclusive lock on
/var/lib/rpm/Packages
error: cannot open Packages index using db3 -
Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm

Now I am stuck. If somebody could point out what I did
wrong that would be great.

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
>From cwright at ic.sunysb.edu Sat Nov 22 17:58:56 2003
Received: from localhost
	(IDENT:I6yZaw+LiI1QADFBTe6T1yAlFGpt30cg at localhost.localdomain [127.0.0.1])
	hAMMwuHn005398
	for <lugsb at fsl.cs.sunysb.edu>; Sat, 22 Nov 2003 17:58:56 -0500
Subject: Re: [LUGSB] Problem with RPM
From: "Charles P. Wright" <cwright at ic.sunysb.edu>
To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
In-Reply-To: <20031122222418.97017.qmail at web21005.mail.yahoo.com>
References: <20031122222418.97017.qmail at web21005.mail.yahoo.com>
Content-Type: text/plain
Message-Id: <1069541937.2731.3.camel at localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sat, 22 Nov 2003 17:58:57 -0500
Content-Transfer-Encoding: 7bit
X-BeenThere: lugsb at fsl.cs.sunysb.edu
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
List-Id: Linux Users Group at Stony Brook <lugsb.fsl.cs.sunysb.edu>
List-Unsubscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
	<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=unsubscribe>
List-Archive: <http://lists.fsl.cs.sunysb.edu/pipermail/lugsb>
List-Post: <mailto:lugsb at fsl.cs.sunysb.edu>
List-Help: <mailto:lugsb-request at fsl.cs.sunysb.edu?subject=help>
List-Subscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
	<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=subscribe>
X-List-Received-Date: Sat, 22 Nov 2003 22:58:56 -0000

If you need to install 4 RPMS that depend on each other what the command
line has to have them all together:

# rpm -i imlib2-1.1.0-1.i386.rpm imlib2-loader_argb-1.1.0-1.i386.rpm
(add the rest here)

I prefer
# rpm -ivh imlib2*.i386.rpm

The imlib2*.i386.rpm is the same as listing each individually, but is
more convenient.  The -v option will list which RPM it is working on and
-h will print out percentages.

Chip

On Sat, 2003-11-22 at 17:24, Yi Suo wrote:
> I tried to install imlib2 to my computer. I downloaded
> the following rpms:
> 
> imlib2-1.1.0-1.i386.rpm
> imlib2-loader_argb-1.1.0-1.i386.rpm
> imlib2-loader_jpeg-1.1.0-1.i386.rpm
> imlib2-loader_png-1.1.0-1.i386.rpm
> 
> Then I did the following:
> 
> [yi at localhost yi]$ rpm -i imlib2-1.1.0-1.i386.rpm
> error: Failed dependencies:
>         imlib2-loader_jpeg = 1.1.0 is needed by
> imlib2-1.1.0-1
>         imlib2-loader_png = 1.1.0 is needed by
> imlib2-1.1.0-1
>         imlib2-loader_argb = 1.1.0 is needed by
> imlib2-1.1.0-1
> 
> Then I tried to install each individual file and
> received this message from the system:
> [yi at localhost yi]$ rpm -i
> imlib2-loader_argb-1.1.0-1.i386.rpm
> error: Failed dependencies:
>         libImlib2.so.1 is needed by
> imlib2-loader_argb-1.1.0-1
> 
> Same thing happened when I tried to install other 2
> loaders. Then I surfed the web and found that
> libImlib2.so.1 is included in the package
> imlib2-1.1.0-1.i386.rpm.
> 
> Hence I assumed the rpm has to load all 4 files at the
> same time. Therefore I did this:
> 
> [yi at localhost yi]$ rpm -i imlib2-1.1.0-1.i386.rpm
> imlib2-loader_jpeg-1.1.0-1.i386.rpm
> imlib2-loader_png-1.1.0-1.i386.rpm
> imlib2-loader_argb-1.1.0-1.i386.rpm
> error: cannot get exclusive lock on
> /var/lib/rpm/Packages
> error: cannot open Packages index using db3 -
> Operation not permitted (1)
> error: cannot open Packages database in /var/lib/rpm
> 
> Now I am stuck. If somebody could point out what I did
> wrong that would be great.
> 
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> _______________________________________________
> lugsb mailing list
> lugsb at fsl.cs.sunysb.edu
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb



More information about the lugsb mailing list