Re: [gentoo-user] Re: Advice needed regarding udisks
On 24/08/13 08:39, Grant wrote: Just saying you should be using `udisksctl` command instead of the now obsolete `udisks` command udisksctl command = new udisks 2 udisks command = old udisks 1 OK, but first I need to figure out how to get gvfs to use udisks instead of gdu. by emerging gnome-base/gvfs from ~arch with USE=udev udisks the stable gnome-base/gvfs is not compatible with UDisks 2.1 but by upgrading gnome-base/gvfs on stable to ~arch version with USE=udev udisks is then again not compatible all the way with GNOME 2.x, so that's why it's still in ~arch If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. - Grant So? Obviously I meant to say 'keyword gvfs *and it's dependencies* from ~arch if you want to use USE=udev udisks' So that means bunch gobject-introspection, gobject-introspection-common, glib, and likely some others too, Portage will them you about them
Re: [gentoo-user] Re: Advice needed regarding udisks
Just saying you should be using `udisksctl` command instead of the now obsolete `udisks` command udisksctl command = new udisks 2 udisks command = old udisks 1 OK, but first I need to figure out how to get gvfs to use udisks instead of gdu. by emerging gnome-base/gvfs from ~arch with USE=udev udisks the stable gnome-base/gvfs is not compatible with UDisks 2.1 but by upgrading gnome-base/gvfs on stable to ~arch version with USE=udev udisks is then again not compatible all the way with GNOME 2.x, so that's why it's still in ~arch If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. So? Obviously I meant to say 'keyword gvfs *and it's dependencies* from ~arch if you want to use USE=udev udisks' The above glib dependencies are circular. There is no way to satisfy them both. - Grant
Re: [gentoo-user] Re: Advice needed regarding udisks
Am Sat, 24 Aug 2013 05:43:39 -0700 schrieb Grant emailgr...@gmail.com: [...] If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. So? Obviously I meant to say 'keyword gvfs *and it's dependencies* from ~arch if you want to use USE=udev udisks' The above glib dependencies are circular. There is no way to satisfy them both. - Grant Samuli means this: $ grep dev-libs/glib /usr/portage/dev-libs/gobject-introspection/*.ebuild /usr/portage/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild: =dev-libs/glib-2.31.22:2 /usr/portage/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild: dev-libs/glib-2.33:2 /usr/portage/dev-libs/gobject-introspection/gobject-introspection-1.34.2-r1.ebuild: =dev-libs/glib-2.34.1:2 /usr/portage/dev-libs/gobject-introspection/gobject-introspection-1.36.0.ebuild: =dev-libs/glib-2.36:2 So you need =gobject-introspection-1.34.2 to satisfy the dependencies. HTH -- Marc Joliet -- People who think they know everything really annoy those of us who know we don't - Bjarne Stroustrup signature.asc Description: PGP signature
Re: [gentoo-user] Re: Advice needed regarding udisks
[...] If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. So? Obviously I meant to say 'keyword gvfs *and it's dependencies* from ~arch if you want to use USE=udev udisks' The above glib dependencies are circular. There is no way to satisfy them both. - Grant Samuli means this: $ grep dev-libs/glib /usr/portage/dev-libs/gobject-introspection/*.ebuild /usr/portage/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild: =dev-libs/glib-2.31.22:2 /usr/portage/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild: dev-libs/glib-2.33:2 /usr/portage/dev-libs/gobject-introspection/gobject-introspection-1.34.2-r1.ebuild: =dev-libs/glib-2.34.1:2 /usr/portage/dev-libs/gobject-introspection/gobject-introspection-1.36.0.ebuild: =dev-libs/glib-2.36:2 So you need =gobject-introspection-1.34.2 to satisfy the dependencies. OK, I was able to do this and ultimately emerge udisks-2 with USE=-gdu udisks if I un-emerged gobject-introspection first. I won't know if this fixed my original problem for a few days but I will report back. Thank you everyone for sticking with me on this. - Grant
Re: [gentoo-user] Re: Advice needed regarding udisks
On 20/08/13 09:21, Grant wrote: This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. I think the issue here is that we are not understanding what the problem is. It happens with an application in particular, or with a desktop environment? It happens when you try to umount the device, or when you disconnect it from the computer? Do you loose data in the camera, or when transferring photos to your computer? Or is only that you don't like the error reported? When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: [ ... ] Just saying you should be using `udisksctl` command instead of the now obsolete `udisks` command udisksctl command = new udisks 2 udisks command = old udisks 1 OK, but first I need to figure out how to get gvfs to use udisks instead of gdu. - Grant by emerging gnome-base/gvfs from ~arch with USE=udev udisks the stable gnome-base/gvfs is not compatible with UDisks 2.1 but by upgrading gnome-base/gvfs on stable to ~arch version with USE=udev udisks is then again not compatible all the way with GNOME 2.x, so that's why it's still in ~arch
Re: [gentoo-user] Re: Advice needed regarding udisks
Just saying you should be using `udisksctl` command instead of the now obsolete `udisks` command udisksctl command = new udisks 2 udisks command = old udisks 1 OK, but first I need to figure out how to get gvfs to use udisks instead of gdu. by emerging gnome-base/gvfs from ~arch with USE=udev udisks the stable gnome-base/gvfs is not compatible with UDisks 2.1 but by upgrading gnome-base/gvfs on stable to ~arch version with USE=udev udisks is then again not compatible all the way with GNOME 2.x, so that's why it's still in ~arch If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. - Grant
Re: [gentoo-user] Re: Advice needed regarding udisks
This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. I think the issue here is that we are not understanding what the problem is. It happens with an application in particular, or with a desktop environment? It happens when you try to umount the device, or when you disconnect it from the computer? Do you loose data in the camera, or when transferring photos to your computer? Or is only that you don't like the error reported? When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory udisks is deprecated and (AFAIK) unmaintained. Do you *really* need it? Or perhaps is being pulled by a package that actually supports udisks2, but you have a USE flag that pulls udisks1? In GNOME, if you have gvfs with the gdu USE flag, it pulls libgdu, which pulls udisks1. But you don't actually need it; everything is covered by the udisks USE flag (which pulls udisks2). Do a equery depends udisks and see what is pulling udisks1. I get the following: # equery depends udisks * These packages depend on udisks: gnome-base/gvfs-1.12.3-r1 (udisks ? =sys-fs/udisks-1.90:2) gnome-base/libgdu-3.0.2 (=sys-fs/udisks-1.0*:0) # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. No help from B.G.O. yet and I'm wondering if I should update libgdu to see if that fixes it. Is libgdu the same thing as gnome-disk-utility? If so, the latest version is 3.9.0 compared to 3.0.2 in portage: https://git.gnome.org/browse/gnome-disk-utility/ Alternatively, should I try hacking the ebuild to unmask the udisks USE flag? - Grant
Re: [gentoo-user] Re: Advice needed regarding udisks
This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. I think the issue here is that we are not understanding what the problem is. It happens with an application in particular, or with a desktop environment? It happens when you try to umount the device, or when you disconnect it from the computer? Do you loose data in the camera, or when transferring photos to your computer? Or is only that you don't like the error reported? When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: [ ... ] Just saying you should be using `udisksctl` command instead of the now obsolete `udisks` command udisksctl command = new udisks 2 udisks command = old udisks 1 OK, but first I need to figure out how to get gvfs to use udisks instead of gdu. - Grant
[gentoo-user] Re: Advice needed regarding udisks
When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and over-ride such things. I think you should log a bug now at b.g.o. and let the devs tell you what's really going on with your selections. Will do, and I'll report back with the results. Thanks, Grant - From $PORTDIR/profiles/base/package.use.mask: # GNOME gn...@gentoo.org (02 Oct 2012) # Mask USE=udisks and use USE=gdu as the default for gnome-base/gvfs-1.14; # older gvfs releases have problems with recent stable udisks:2 (bug #463792) gnome-base/gvfs-1.14 udisks OK, there it is. If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. - Grant
Re: [gentoo-user] Re: Advice needed regarding udisks
On 19/08/2013 09:17, Grant wrote: When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and over-ride such things. I think you should log a bug now at b.g.o. and let the devs tell you what's really going on with your selections. Will do, and I'll report back with the results. Thanks, Grant - From $PORTDIR/profiles/base/package.use.mask: # GNOME gn...@gentoo.org (02 Oct 2012) # Mask USE=udisks and use USE=gdu as the default for gnome-base/gvfs-1.14; # older gvfs releases have problems with recent stable udisks:2 (bug #463792) gnome-base/gvfs-1.14 udisks OK, there it is. If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. Don't keyword gvfs, for gvfs: USE=-udisks gdu gvfs doesn't care what does the automounting, as long as something does -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: Advice needed regarding udisks
On Mon, Aug 19, 2013 at 2:17 AM, Grant emailgr...@gmail.com wrote: When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and over-ride such things. I think you should log a bug now at b.g.o. and let the devs tell you what's really going on with your selections. Will do, and I'll report back with the results. Thanks, Grant - From $PORTDIR/profiles/base/package.use.mask: # GNOME gn...@gentoo.org (02 Oct 2012) # Mask USE=udisks and use USE=gdu as the default for gnome-base/gvfs-1.14; # older gvfs releases have problems with recent stable udisks:2 (bug #463792) gnome-base/gvfs-1.14 udisks OK, there it is. If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. It's going to snowball from there. You could try to keyword gobject-introspection, but it will probably need for you to keyword more packages, which in turn will require even more keyworded packages. It can be done automatically with the --autounmask emerge option, but if you are mixing stable and unstable packages, you need to know what you are doing. GNOME 3.8 is going stable soon (or so I keep hearing); when that happens, the parts of the stack that you need for the new gvfs will be stable. You could wait for it to happen. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Re: Advice needed regarding udisks
When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and over-ride such things. I think you should log a bug now at b.g.o. and let the devs tell you what's really going on with your selections. Will do, and I'll report back with the results. Thanks, Grant - From $PORTDIR/profiles/base/package.use.mask: # GNOME gn...@gentoo.org (02 Oct 2012) # Mask USE=udisks and use USE=gdu as the default for gnome-base/gvfs-1.14; # older gvfs releases have problems with recent stable udisks:2 (bug #463792) gnome-base/gvfs-1.14 udisks OK, there it is. If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. Don't keyword gvfs, for gvfs: USE=-udisks gdu gvfs doesn't care what does the automounting, as long as something does That's what I have now and I have this ejecting problem. Should I just emerge udisks-2 into a new slot? - Grant
Re: [gentoo-user] Re: Advice needed regarding udisks
On 19/08/2013 10:25, Grant wrote: When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and over-ride such things. I think you should log a bug now at b.g.o. and let the devs tell you what's really going on with your selections. Will do, and I'll report back with the results. Thanks, Grant - From $PORTDIR/profiles/base/package.use.mask: # GNOME gn...@gentoo.org (02 Oct 2012) # Mask USE=udisks and use USE=gdu as the default for gnome-base/gvfs-1.14; # older gvfs releases have problems with recent stable udisks:2 (bug #463792) gnome-base/gvfs-1.14 udisks OK, there it is. If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. Don't keyword gvfs, for gvfs: USE=-udisks gdu gvfs doesn't care what does the automounting, as long as something does That's what I have now and I have this ejecting problem. Should I just emerge udisks-2 into a new slot? I have a hunch that won't work and USE=udisks is hard masked for gvfs. Logic tells me that even if udisks:2 is available, gvfs won't use it. But, it's worth a try. I also think you need the maintainer to take a closer look - it all looks like the ebuild needs some tweaking, or maybe it's just a magic combination of USE that we missed. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: Advice needed regarding udisks
When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and over-ride such things. I think you should log a bug now at b.g.o. and let the devs tell you what's really going on with your selections. Will do, and I'll report back with the results. Thanks, Grant - From $PORTDIR/profiles/base/package.use.mask: # GNOME gn...@gentoo.org (02 Oct 2012) # Mask USE=udisks and use USE=gdu as the default for gnome-base/gvfs-1.14; # older gvfs releases have problems with recent stable udisks:2 (bug #463792) gnome-base/gvfs-1.14 udisks OK, there it is. If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. Don't keyword gvfs, for gvfs: USE=-udisks gdu gvfs doesn't care what does the automounting, as long as something does That's what I have now and I have this ejecting problem. Should I just emerge udisks-2 into a new slot? I have a hunch that won't work and USE=udisks is hard masked for gvfs. Logic tells me that even if udisks:2 is available, gvfs won't use it. But, it's worth a try. I tried but no luck. I should hear from the maintainer soon. Another SLOT question. udisks:0 was installed and now udisks:2. What about slot #1? - Grant I also think you need the maintainer to take a closer look - it all looks like the ebuild needs some tweaking, or maybe it's just a magic combination of USE that we missed.
Re: [gentoo-user] Re: Advice needed regarding udisks
On 19/08/2013 11:43, Grant wrote: When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and over-ride such things. I think you should log a bug now at b.g.o. and let the devs tell you what's really going on with your selections. Will do, and I'll report back with the results. Thanks, Grant - From $PORTDIR/profiles/base/package.use.mask: # GNOME gn...@gentoo.org (02 Oct 2012) # Mask USE=udisks and use USE=gdu as the default for gnome-base/gvfs-1.14; # older gvfs releases have problems with recent stable udisks:2 (bug #463792) gnome-base/gvfs-1.14 udisks OK, there it is. If I keyword gvfs I get into trouble because gobject-introspection wants dev-libs/glib-2.33 and gvfs wants =dev-libs/glib-2.36. Don't keyword gvfs, for gvfs: USE=-udisks gdu gvfs doesn't care what does the automounting, as long as something does That's what I have now and I have this ejecting problem. Should I just emerge udisks-2 into a new slot? I have a hunch that won't work and USE=udisks is hard masked for gvfs. Logic tells me that even if udisks:2 is available, gvfs won't use it. But, it's worth a try. I tried but no luck. I should hear from the maintainer soon. Another SLOT question. udisks:0 was installed and now udisks:2. What about slot #1? There is no SLOT 1 for udisks. SLOTs have arbitrary names that can be anything, they are not named numerically in sequence. The maintainers usually name a SLOT after the major version number becuase that is very descriptive, but it's not required There is only one SLOT name that has magic significance, SLOT:0, which is the default if the package is not explicitly in a slot. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: Advice needed regarding udisks
On 17/08/13 22:00, Grant wrote: This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. I think the issue here is that we are not understanding what the problem is. It happens with an application in particular, or with a desktop environment? It happens when you try to umount the device, or when you disconnect it from the computer? Do you loose data in the camera, or when transferring photos to your computer? Or is only that you don't like the error reported? When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: [ ... ] Just saying you should be using `udisksctl` command instead of the now obsolete `udisks` command udisksctl command = new udisks 2 udisks command = old udisks 1
Re: [gentoo-user] Re: Advice needed regarding udisks
When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? - Grant
Re: [gentoo-user] Re: Advice needed regarding udisks
On 18/08/2013 09:33, Grant wrote: When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and over-ride such things. I think you should log a bug now at b.g.o. and let the devs tell you what's really going on with your selections. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: Advice needed regarding udisks
When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and over-ride such things. I think you should log a bug now at b.g.o. and let the devs tell you what's really going on with your selections. Will do, and I'll report back with the results. Thanks, Grant
[gentoo-user] Re: Advice needed regarding udisks
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/18/2013 05:50 AM, Grant wrote: When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What else could be preventing me from enabling that USE flag? It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and over-ride such things. I think you should log a bug now at b.g.o. and let the devs tell you what's really going on with your selections. Will do, and I'll report back with the results. Thanks, Grant - From $PORTDIR/profiles/base/package.use.mask: # GNOME gn...@gentoo.org (02 Oct 2012) # Mask USE=udisks and use USE=gdu as the default for gnome-base/gvfs-1.14; # older gvfs releases have problems with recent stable udisks:2 (bug #463792) gnome-base/gvfs-1.14 udisks - -- Jonathan Callen -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJSEQhYAAoJELHSF2kinlg4614P/3oNTHWpSWaVttWLwphBf1Q4 aDIIc/gSH9+In+S4ksvELniJ6C1x3GxeJa7QbOjE+lFJgotTaafCzdhkQ/i4zX6E 2vWVgdSNX5HKzFwudY/Qc/N+//9ab+SyiVG7JK6Z3DLtcOUspG615hzuhOU99SFP FmSgfEL2W11583RYtv0PxY9tHb+T+O+6sL6RkWrDuqeSE6zJ9Tq+NzHEMwMlqSjs I61sxEStZ+GR4mJOwvHbejEE/nfUEvfwmhb0oYlTPvasi/VQ4rj5EkJH+LGAJsCr MA/pMHCbVcDL70HULOR8xvbB1MQWBNSbKwEF1ozqdfwc/yZ5WhZmyvuDhVu7Hu/V UVQD8saf422fI7pizqRItrLqzZGJ+Rkuxn2OSQI+QweWZ3z+T3SM9dIuU1HrrFfp TBdMmimU/dknetkeE9gSZEh2gAgLOI5dsZkeY68qf8RWLKpf6jjmMmOzSbJ+VC3A Oml8UeR8EKr1ShxPkOUcWPvO/Olx8ivZeO0zJwWk8TjCCSgkL9rJxgU7+XPdgoJh RZ0Ej1dhoPerf0Rbz7eK7vkxYEcfR2IzLGXe48uu8aPUXyorq16ewpM2xw15WEuT 19vKLDbnnM3mjuGkKJNYX6MjsCneBzxVBz+5EfjaS6MT65hxJZo/Wik1f5IJqYzy gX8ZOjfsbzqsPMF9Erwt =CNx1 -END PGP SIGNATURE-
[gentoo-user] Re: Advice needed regarding udisks
This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. - Grant On Fri, Aug 16, 2013 at 6:09 AM, Grant emailgr...@gmail.com wrote: I'm having a problem detaching a USB camera from a desktop. I found a Ubuntu bug for the problem which states that it is a bug in udisks-1 which won't be fixed upstream and the solution is to upgrade to Ubuntu 12.10 which uses udisks-2. Can anyone recommend a good course of action for me here? Here is the problem: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory Here is a pretend emerge of udisks: # emerge -pv udisks [ebuild N ] sys-apps/gptfdisk-0.8.6 USE=icu ncurses -static 0 kB [ebuild NS] sys-fs/udisks-2.1.0:2 [1.0.4-r5:0] USE=gptfdisk introspection -cryptsetup -debug (-selinux) -systemd 0 kB Here is the Ubuntu bug describing the problem (comments 81, 82, 85): https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/466575 - Grant
Re: [gentoo-user] Re: Advice needed regarding udisks
On 17/08/2013 09:57, Grant wrote: This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. emerge udisks:2 A SLOT is treated as two different packages that just happen to have the same name, so there's a :something appended to differentiate them. Other packages that use udisks will define which SLOT they DEPEND on in their ebuild, if it's important to distinguish them that way. - Grant On Fri, Aug 16, 2013 at 6:09 AM, Grant emailgr...@gmail.com wrote: I'm having a problem detaching a USB camera from a desktop. I found a Ubuntu bug for the problem which states that it is a bug in udisks-1 which won't be fixed upstream and the solution is to upgrade to Ubuntu 12.10 which uses udisks-2. Can anyone recommend a good course of action for me here? Here is the problem: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory Here is a pretend emerge of udisks: # emerge -pv udisks [ebuild N ] sys-apps/gptfdisk-0.8.6 USE=icu ncurses -static 0 kB [ebuild NS] sys-fs/udisks-2.1.0:2 [1.0.4-r5:0] USE=gptfdisk introspection -cryptsetup -debug (-selinux) -systemd 0 kB Here is the Ubuntu bug describing the problem (comments 81, 82, 85): https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/466575 - Grant -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: Advice needed regarding udisks
This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. emerge udisks:2 A SLOT is treated as two different packages that just happen to have the same name, so there's a :something appended to differentiate them. Other packages that use udisks will define which SLOT they DEPEND on in their ebuild, if it's important to distinguish them that way. It looks like installing udisks-2 to SLOT 2 would mean installing into a new slot. I don't think that will fix the behavior I described below. I think I need to upgrade one of the currently installed udisks slots to udisks-2. Is that correct, or am I misunderstanding and I should just follow your instructions? - Grant I'm having a problem detaching a USB camera from a desktop. I found a Ubuntu bug for the problem which states that it is a bug in udisks-1 which won't be fixed upstream and the solution is to upgrade to Ubuntu 12.10 which uses udisks-2. Can anyone recommend a good course of action for me here? Here is the problem: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory Here is a pretend emerge of udisks: # emerge -pv udisks [ebuild N ] sys-apps/gptfdisk-0.8.6 USE=icu ncurses -static 0 kB [ebuild NS] sys-fs/udisks-2.1.0:2 [1.0.4-r5:0] USE=gptfdisk introspection -cryptsetup -debug (-selinux) -systemd 0 kB Here is the Ubuntu bug describing the problem (comments 81, 82, 85): https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/466575 - Grant
Re: [gentoo-user] Re: Advice needed regarding udisks
On Sat, Aug 17, 2013 at 1:03 PM, Grant emailgr...@gmail.com wrote: This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. emerge udisks:2 A SLOT is treated as two different packages that just happen to have the same name, so there's a :something appended to differentiate them. Other packages that use udisks will define which SLOT they DEPEND on in their ebuild, if it's important to distinguish them that way. It looks like installing udisks-2 to SLOT 2 would mean installing into a new slot. I don't think that will fix the behavior I described below. I think I need to upgrade one of the currently installed udisks slots to udisks-2. Is that correct, or am I misunderstanding and I should just follow your instructions? I think the issue here is that we are not understanding what the problem is. It happens with an application in particular, or with a desktop environment? It happens when you try to umount the device, or when you disconnect it from the computer? Do you loose data in the camera, or when transferring photos to your computer? Or is only that you don't like the error reported? udisks is deprecated and (AFAIK) unmaintained. Do you *really* need it? Or perhaps is being pulled by a package that actually supports udisks2, but you have a USE flag that pulls udisks1? In GNOME, if you have gvfs with the gdu USE flag, it pulls libgdu, which pulls udisks1. But you don't actually need it; everything is covered by the udisks USE flag (which pulls udisks2). Do a equery depends udisks and see what is pulling udisks1. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Re: Advice needed regarding udisks
On 17/08/2013 20:03, Grant wrote: This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. emerge udisks:2 A SLOT is treated as two different packages that just happen to have the same name, so there's a :something appended to differentiate them. Other packages that use udisks will define which SLOT they DEPEND on in their ebuild, if it's important to distinguish them that way. It looks like installing udisks-2 to SLOT 2 would mean installing into a new slot. I don't think that will fix the behavior I described below. I think I need to upgrade one of the currently installed udisks slots to udisks-2. Is that correct, or am I misunderstanding and I should just follow your instructions? You can't upgrade a slot, portage sees as if they were two different packages. You can't upgrade firefox to chrome either for the same reason. Instead, you unmerge the slot you do not want and fix everything that remains (@preserved-rebuild, revdep-rebuild etc) You haven't yet said which app you are using that won't umount the camera, so it's a bit difficult to give proper advice. We'd need some info first? - what is the app in question? - relevant USE flags it uses? - what does it link to? - does that pp support udisks:2? - Grant I'm having a problem detaching a USB camera from a desktop. I found a Ubuntu bug for the problem which states that it is a bug in udisks-1 which won't be fixed upstream and the solution is to upgrade to Ubuntu 12.10 which uses udisks-2. Can anyone recommend a good course of action for me here? Here is the problem: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory Here is a pretend emerge of udisks: # emerge -pv udisks [ebuild N ] sys-apps/gptfdisk-0.8.6 USE=icu ncurses -static 0 kB [ebuild NS] sys-fs/udisks-2.1.0:2 [1.0.4-r5:0] USE=gptfdisk introspection -cryptsetup -debug (-selinux) -systemd 0 kB Here is the Ubuntu bug describing the problem (comments 81, 82, 85): https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/466575 - Grant -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: Advice needed regarding udisks
This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. I think the issue here is that we are not understanding what the problem is. It happens with an application in particular, or with a desktop environment? It happens when you try to umount the device, or when you disconnect it from the computer? Do you loose data in the camera, or when transferring photos to your computer? Or is only that you don't like the error reported? When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory udisks is deprecated and (AFAIK) unmaintained. Do you *really* need it? Or perhaps is being pulled by a package that actually supports udisks2, but you have a USE flag that pulls udisks1? In GNOME, if you have gvfs with the gdu USE flag, it pulls libgdu, which pulls udisks1. But you don't actually need it; everything is covered by the udisks USE flag (which pulls udisks2). Do a equery depends udisks and see what is pulling udisks1. I get the following: # equery depends udisks * These packages depend on udisks: gnome-base/gvfs-1.12.3-r1 (udisks ? =sys-fs/udisks-1.90:2) gnome-base/libgdu-3.0.2 (=sys-fs/udisks-1.0*:0) # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB - Grant
Re: [gentoo-user] Re: Advice needed regarding udisks
On Sat, Aug 17, 2013 at 2:00 PM, Grant emailgr...@gmail.com wrote: This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. I think the issue here is that we are not understanding what the problem is. It happens with an application in particular, or with a desktop environment? It happens when you try to umount the device, or when you disconnect it from the computer? Do you loose data in the camera, or when transferring photos to your computer? Or is only that you don't like the error reported? When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory udisks is deprecated and (AFAIK) unmaintained. Do you *really* need it? Or perhaps is being pulled by a package that actually supports udisks2, but you have a USE flag that pulls udisks1? In GNOME, if you have gvfs with the gdu USE flag, it pulls libgdu, which pulls udisks1. But you don't actually need it; everything is covered by the udisks USE flag (which pulls udisks2). Do a equery depends udisks and see what is pulling udisks1. I get the following: # equery depends udisks * These packages depend on udisks: gnome-base/gvfs-1.12.3-r1 (udisks ? =sys-fs/udisks-1.90:2) gnome-base/libgdu-3.0.2 (=sys-fs/udisks-1.0*:0) # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB Why is the udisks USE flag masked for gvfs? Try to emerge -C sys-fs/udisks:0, and reemerge gvfs with USE=-gdu udisks. If you get to emerge gvfs with the udisks USE flag and without the gdu one, I believe your problem will go away. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Re: Advice needed regarding udisks
On 17/08/2013 21:00, Grant wrote: This is actually a portage question. How can I install udisks-2 in a way that will fix this problem? I'm confused by how to handle the slotting behavior. I think the issue here is that we are not understanding what the problem is. It happens with an application in particular, or with a desktop environment? It happens when you try to umount the device, or when you disconnect it from the computer? Do you loose data in the camera, or when transferring photos to your computer? Or is only that you don't like the error reported? When trying to eject a USB camera in thunar in xfce4, the error appears and the device does not umount. Here is a command that also produces the error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci:00/:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory udisks is deprecated and (AFAIK) unmaintained. Do you *really* need it? Or perhaps is being pulled by a package that actually supports udisks2, but you have a USE flag that pulls udisks1? In GNOME, if you have gvfs with the gdu USE flag, it pulls libgdu, which pulls udisks1. But you don't actually need it; everything is covered by the udisks USE flag (which pulls udisks2). Do a equery depends udisks and see what is pulling udisks1. I get the following: # equery depends udisks * These packages depend on udisks: gnome-base/gvfs-1.12.3-r1 (udisks ? =sys-fs/udisks-1.90:2) gnome-base/libgdu-3.0.2 (=sys-fs/udisks-1.0*:0) # emerge -pv gvfs libgdu [ebuild R] gnome-base/libgdu-3.0.2 USE=-avahi -doc -gnome-keyring 0 kB [ebuild R] gnome-base/gvfs-1.12.3-r1 USE=cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks) 0 kB ^^^ There's your problem. thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced, masked, or removed. You need to find out why that happened, it might be a profile thing, maybe it's a local config. Try grep -r udisks /etc/portage/ - Grant -- Alan McKinnon alan.mckin...@gmail.com