Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24331 - Error while installing virtualbox-guest-additions

Attached to Project: Community Packages
Opened by OvsInc (OvsInc) - Wednesday, 18 May 2011, 09:58 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 18 May 2011, 13:38 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
I have an error when I install virtualbox-guest-additions.
Error:
error: failed to commit transaction (conflicting files)
virtualbox-guest-additions: /usr/lib/dri exists in filesystem
Errors occurred, no packages were upgraded.

Package libva already contain /usr/lib/dri/dummy_drv_video.so and /usr/lib/dri/i965_drv_video.so

Additional info:
* virtualbox-guest-additions-4.0.8-1
* libva-1.0.12-1


Steps to reproduce:
Install libva and try to install virtualbox-guest-additions
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 18 May 2011, 13:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  virtualbox-guest-additions-4.0.8-2
Comment by OvsInc (OvsInc) - Wednesday, 18 May 2011, 10:44 GMT
Add patch:

--- PKGBUILD_old 2011-05-18 14:34:25.248162207 +0400
+++ PKGBUILD 2011-05-18 14:36:28.930074903 +0400
@@ -3,7 +3,7 @@
pkgbase=virtualbox
pkgname=('virtualbox' 'virtualbox-guest-additions' 'virtualbox-guest-modules' 'virtualbox-sdk')
pkgver=4.0.8
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL' 'custom')
@@ -168,9 +168,11 @@
install -D vboxvideo_drv.so \
"$pkgdir/usr/lib/xorg/modules/drivers/vboxvideo.so"
install -d "$pkgdir/usr/lib/xorg/modules/dri"
+ install -d "$pkgdir/usr/lib/dri"
install -m755 VBoxOGL*.so "$pkgdir/usr/lib"
ln -s /usr/lib/VBoxOGL.so "$pkgdir/usr/lib/xorg/modules/dri/vboxvideo_dri.so"
- ln -s /usr/lib/xorg/modules/dri "$pkgdir/usr/lib/dri"
+ #ln -s /usr/lib/xorg/modules/dri "$pkgdir/usr/lib/dri"
+ ln -s /usr/lib/xorg/modules/dri/vboxvideo_dri.so "$pkgdir/usr/lib/dri/"
install -m755 -D pam_vbox.so "$pkgdir/lib/security/pam_vbox.so"

}


Comment by Andre "Osku" Schmidt (oskude) - Wednesday, 18 May 2011, 11:14 GMT
gnome-shell works again if you add this too: (to the Ovslnc patch)

ln -s /usr/lib/xorg/modules/dri/swrast_dri.so "$pkgdir/usr/lib/dri/"
Comment by OvsInc (OvsInc) - Wednesday, 18 May 2011, 11:17 GMT
No Andre. I have trouble when I install the package virtualbox-guest-additions-4.0.8-1
Comment by Ionut Biru (wonder) - Wednesday, 18 May 2011, 11:39 GMT
thanks for taking time to fix this issue. We found a better solution by patching the default DRI_DEFAULT_DRIVER_DIR which is set to /usr/lib/dri by oracle and this path didn't match with ours.

expect fix soon

Loading...