zypper in apache2 (error)

[CODE]SERVER:~ # zypper in apache2
Refreshing service ‘nu_novell_com’.
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following NEW packages are going to be installed:
apache2 apache2-prefork apache2-utils libapr1 libapr-util1

The following recommended package was automatically selected:
apache2-prefork

5 new packages to install.
Overall download size: 1.3 MiB. After the operation, additional 3.6 MiB will be used.
Continue? [y/n/?] (y): y
Installing: libapr1-1.3.3-11.18.19.1 [error]
Installation of libapr1-1.3.3-11.18.19.1 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: warning: waiting for exclusive lock on /var/lib/rpm/Packages
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

Abort, retry, ignore? [a/r/i] (a): a
Problem occured during or after installation or removal of packages:
Installation aborted by user

Please see the above error message for a hint.[/CODE]

Never-mind. I just rebooted and it worked.