1 |
On 17/08/2013 21:00, Grant wrote: |
2 |
>>>>> This is actually a portage question. How can I install udisks-2 in a |
3 |
>>>>> way that will fix this problem? I'm confused by how to handle the |
4 |
>>>>> slotting behavior. |
5 |
>> |
6 |
>> I think the issue here is that we are not understanding what the |
7 |
>> problem is. It happens with an application in particular, or with a |
8 |
>> desktop environment? It happens when you try to umount the device, or |
9 |
>> when you disconnect it from the computer? Do you loose data in the |
10 |
>> camera, or when transferring photos to your computer? Or is only that |
11 |
>> you don't like the error reported? |
12 |
> |
13 |
> When trying to eject a USB camera in thunar in xfce4, the error |
14 |
> appears and the device does not umount. Here is a command that also |
15 |
> produces the error: |
16 |
> |
17 |
> # udisks --detach /dev/sdb |
18 |
> Detach failed: Error detaching: helper exited with exit code 1: |
19 |
> Detaching device /dev/sdb |
20 |
> USB device: /sys/devices/pci0000:00/0000:00:02.0/usb2/2-6) |
21 |
> SYNCHRONIZE CACHE: FAILED: No such file or directory |
22 |
> (Continuing despite SYNCHRONIZE CACHE failure.) |
23 |
> STOP UNIT: FAILED: No such file or directory |
24 |
> |
25 |
>> udisks is deprecated and (AFAIK) unmaintained. Do you *really* need |
26 |
>> it? Or perhaps is being pulled by a package that actually supports |
27 |
>> udisks2, but you have a USE flag that pulls udisks1? |
28 |
>> |
29 |
>> In GNOME, if you have gvfs with the gdu USE flag, it pulls libgdu, |
30 |
>> which pulls udisks1. But you don't actually need it; everything is |
31 |
>> covered by the udisks USE flag (which pulls udisks2). |
32 |
>> |
33 |
>> Do a "equery depends udisks" and see what is pulling udisks1. |
34 |
> |
35 |
> I get the following: |
36 |
> |
37 |
> # equery depends udisks |
38 |
> * These packages depend on udisks: |
39 |
> gnome-base/gvfs-1.12.3-r1 (udisks ? >=sys-fs/udisks-1.90:2) |
40 |
> gnome-base/libgdu-3.0.2 (=sys-fs/udisks-1.0*:0) |
41 |
> |
42 |
> # emerge -pv gvfs libgdu |
43 |
> [ebuild R ] gnome-base/libgdu-3.0.2 USE="-avahi -doc -gnome-keyring" 0 kB |
44 |
> [ebuild R ] gnome-base/gvfs-1.12.3-r1 USE="cdda gdu http udev |
45 |
> -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring |
46 |
> -gphoto2 -ios -samba (-udisks)" 0 kB |
47 |
^^^^^^^ |
48 |
|
49 |
There's your problem. |
50 |
|
51 |
thunar depends on gvfs, which can use udisks, but in your case the USE |
52 |
flag is forced, masked, or removed. |
53 |
|
54 |
You need to find out why that happened, it might be a profile thing, |
55 |
maybe it's a local config. Try |
56 |
|
57 |
grep -r udisks /etc/portage/ |
58 |
|
59 |
|
60 |
|
61 |
> |
62 |
> - Grant |
63 |
> |
64 |
|
65 |
|
66 |
-- |
67 |
Alan McKinnon |
68 |
alan.mckinnon@×××××.com |