[opensuse] Error on upgrading an RPM
In attempting to upgrade an rpm package, I receive the following response: *****
rpm -Uvh VirtualBox-3.1-3.1.6_59338_openSUSE111-1.x86_64.rpm warning: VirtualBox-3.1-3.1.6_59338_openSUSE111-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 6dfbcbae error: can't create transaction lock on /var/lib/rpm/__db.000
***** What exactly is the problem that has been encountered? -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, Apr 17, 2010 at 05:51:50PM +0300, Stan Goodman wrote:
In attempting to upgrade an rpm package, I receive the following response:
*****
rpm -Uvh VirtualBox-3.1-3.1.6_59338_openSUSE111-1.x86_64.rpm warning: VirtualBox-3.1-3.1.6_59338_openSUSE111-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 6dfbcbae error: can't create transaction lock on /var/lib/rpm/__db.000
*****
What exactly is the problem that has been encountered?
error: can't create transaction lock on /var/lib/rpm/__db.000 Can mean e.g. that the filesystem is full. Or that you have no write access to /var/lib/rpm. Or that anohter process is blocking the RPM database (like zypper or PackageKit). Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 04/17/2010 11:02 AM, Marcus Meissner pecked at the keyboard and wrote:
On Sat, Apr 17, 2010 at 05:51:50PM +0300, Stan Goodman wrote:
In attempting to upgrade an rpm package, I receive the following response:
*****
rpm -Uvh VirtualBox-3.1-3.1.6_59338_openSUSE111-1.x86_64.rpm warning: VirtualBox-3.1-3.1.6_59338_openSUSE111-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 6dfbcbae error: can't create transaction lock on /var/lib/rpm/__db.000
*****
What exactly is the problem that has been encountered?
error: can't create transaction lock on /var/lib/rpm/__db.000
Can mean e.g. that the filesystem is full. Or that you have no write access to /var/lib/rpm. Or that anohter process is blocking the RPM database (like zypper or PackageKit).
Ciao, Marcus
Or that you are trying to run RPM as a user other than root. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 18:59:48 on Saturday Saturday 17 April 2010, "Ken Schneider - openSUSE"
On 04/17/2010 11:02 AM, Marcus Meissner pecked at the keyboard and wrote:
On Sat, Apr 17, 2010 at 05:51:50PM +0300, Stan Goodman wrote:
In attempting to upgrade an rpm package, I receive the following response:
*****
rpm -Uvh VirtualBox-3.1-3.1.6_59338_openSUSE111-1.x86_64.rpm
warning: VirtualBox-3.1-3.1.6_59338_openSUSE111-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 6dfbcbae error: can't create transaction lock on /var/lib/rpm/__db.000
*****
What exactly is the problem that has been encountered?
error: can't create transaction lock on /var/lib/rpm/__db.000
Can mean e.g. that the filesystem is full. Or that you have no write access to /var/lib/rpm. Or that anohter process is blocking the RPM database (like zypper or PackageKit).
Ciao, Marcus
Or that you are trying to run RPM as a user other than root.
...which is what I did. Rectifying that foolishiness produced the following: ***** # rpm -Uvh Vir* warning: VirtualBox-3.1-3.1.6_59338_openSUSE111-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 6dfbcbae Preparing... ########################################### [100%] 1:VirtualBox-3.1 ########################################### [100%] Creating group 'vboxusers'. VM users must be member of that group! Stopping VirtualBox kernel module done WARNING: Can't read module /lib/modules/2.6.27.45-0.1-default/weak-updates/updates/vboxvfs.ko: No such file or directory WARNING: Can't read module /lib/modules/2.6.27.45-0.1-default/weak-updates/updates/vboxadd.ko: No such file or directory insserv: script lpd: service cupsd already provided! insserv: script portmap: service portmap already provided! poblano:/home/stan/Documents/Manuals/VirtualBox31x # ***** What are present are links of the two problematic files: lrwxrwxrwx 1 root root 53 2010-03-03 15:24 /lib/modules/2.6.27.45-0.1-default/weak-updates/updates/vboxvfs.ko -> /lib/modules/2.6.27.42-0.1-default/updates/vboxvfs.ko lrwxrwxrwx 1 root root 53 2010-03-03 15:24 /lib/modules/2.6.27.45-0.1-default/weak-updates/updates/vboxadd.ko -> /lib/modules/2.6.27.42-0.1-default/updates/vboxadd.ko stan@poblano:~> So apparently the files themselves are absent. I assume that the way out is to delete the links as well, and/or run the rpm of the old version to delete the package, then to run the rpm again. Is there another way solution? -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 04/17/2010 03:26 PM, Stan Goodman pecked at the keyboard and wrote:
At 18:59:48 on Saturday Saturday 17 April 2010, "Ken Schneider - openSUSE"
wrote: On 04/17/2010 11:02 AM, Marcus Meissner pecked at the keyboard and wrote:
<snip>
Or that you are trying to run RPM as a user other than root.
...which is what I did. Rectifying that foolishiness produced the following:
***** # rpm -Uvh Vir* warning: VirtualBox-3.1-3.1.6_59338_openSUSE111-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 6dfbcbae Preparing... ########################################### [100%] 1:VirtualBox-3.1 ########################################### [100%]
Creating group 'vboxusers'. VM users must be member of that group!
Stopping VirtualBox kernel module done WARNING: Can't read module /lib/modules/2.6.27.45-0.1-default/weak-updates/updates/vboxvfs.ko: No such file or directory WARNING: Can't read module /lib/modules/2.6.27.45-0.1-default/weak-updates/updates/vboxadd.ko: No such file or directory insserv: script lpd: service cupsd already provided! insserv: script portmap: service portmap already provided! poblano:/home/stan/Documents/Manuals/VirtualBox31x # ***** What are present are links of the two problematic files: lrwxrwxrwx 1 root root 53 2010-03-03 15:24 /lib/modules/2.6.27.45-0.1-default/weak-updates/updates/vboxvfs.ko -> /lib/modules/2.6.27.42-0.1-default/updates/vboxvfs.ko lrwxrwxrwx 1 root root 53 2010-03-03 15:24 /lib/modules/2.6.27.45-0.1-default/weak-updates/updates/vboxadd.ko -> /lib/modules/2.6.27.42-0.1-default/updates/vboxadd.ko stan@poblano:~>
So apparently the files themselves are absent. I assume that the way out is to delete the links as well, and/or run the rpm of the old version to delete the package, then to run the rpm again. Is there another way solution?
Make sure you have the kernel sources installed as well or you can't make the needed modules. If needed re-run /etc/init.d/vboxdrv setup to create the modules. Again, make sure you run the command as root. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 00:07:45 on Sunday Sunday 18 April 2010, "Ken Schneider - openSUSE"
What are present are links of the two problematic files: lrwxrwxrwx 1 root root 53 2010-03-03 15:24 /lib/modules/2.6.27.45-0.1-default/weak-updates/updates/vboxvfs.ko -> /lib/modules/2.6.27.42-0.1-default/updates/vboxvfs.ko lrwxrwxrwx 1 root root 53 2010-03-03 15:24 /lib/modules/2.6.27.45-0.1-default/weak-updates/updates/vboxadd.ko -> /lib/modules/2.6.27.42-0.1-default/updates/vboxadd.ko stan@poblano:~>
So apparently the files themselves are absent. I assume that the way out is to delete the links as well, and/or run the rpm of the old version to delete the package, then to run the rpm again. Is there another way solution?
Make sure you have the kernel sources installed as well or you can't make the needed modules.
If needed re-run /etc/init.d/vboxdrv setup to create the modules.
Again, make sure you run the command as root.
I won't that mistake again. Thanks! --
Ken Schneider SuSe since Version 5.2, June 1998
-- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Ken Schneider - openSUSE
-
Marcus Meissner
-
Stan Goodman