problems at installing apt

Ron Goulard foz at techville.org
Sat Apr 17 09:54:04 UTC 2004


On Sat, 2004-04-17 at 05:39, chun lee wrote:
> i typed:
> 
>    rpm -Uvh apt-0.5.15cnc2-1.rhfc1.ccrma.i386.rpm
> 
> and i got:
> 
>    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

Try this again as root.  "not permitted" leads me to believe you weren't
root when you typed this.

> also:
> 
>    rpm -Uvh apt-devel-0.5.15cnc2-1.rhfc1.ccrma.i386.rpm
>    error: Failed dependencies:
>         apt = 0.5.15cnc2-1.rhfc1.ccrma is needed by apt-devel-0.5.15cnc2-1.rhfc1.ccrma

The devel rpm needs the other installed first.  If you have both files
there already, you can install them together.  For example..
(either all on one line, or split as I've done here)

rpm -Uvh apt-0.5.15cnc2-1.rhfc1.ccrma.i386.rpm \
apt-devel-0.5.15cnc2-1.rhfc1.ccrma.i386.rpm

That should work for you.

Ron





More information about the fedora-list mailing list