installing hotplug removes hal & udev. How to get rid?
Hi,
I'm trying to reinstall hotplug after a dist-upgrade. My system is debian unstable and I' running 2.6.15-1-686 kernel. When I run localhost:~# apt-get install hotplug it returns: Reading package lists... Done Building dependency tree... Done Suggested packages: ifrename The following packages will be REMOVED: hal initramfs-tools udev The following NEW packages will be installed: hotplug 0 upgraded, 1 newly installed, 3 to remove and 13 not upgraded. Need to get 0B/66.7kB of archives. After unpacking 1913kB disk space will be freed. but hal and udev are necessary for X to work. There is also another conflict. If I try to install gnome I go through a series of unmet dependencies as: gnome-desktop-environment -> gnome-volume-manager -> pmount and if I try to install pmount it wants to remove hal: localhost:~# apt-get install pmount Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: dbus-1 libhal0 The following packages will be REMOVED: dbus hal The following NEW packages will be installed: dbus-1 libhal0 pmount 0 upgraded, 3 newly installed, 2 to remove and 13 not upgraded. Need to get 0B/462kB of archives. After unpacking 393kB disk space will be freed. Do you want to continue [Y/n]? n Abort. What can I do? Thanks! emanuele |
Quote:
Quote:
|
Quote:
Thanks so much! emanuele |
Quote:
Code:
apt-get install build-essential devscripts dpkg-dev fakeroot Code:
apt-get build-dep pmount Code:
mkdir -p ~/src |
cd pmount-X.Y.Z/
dpkg-buildpackage -rfakeroot -us -uc All went fine until linking step, where I have: :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:174: undefined reference to `hal_device_exists' :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:179: undefined reference to `hal_device_property_exists' :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:180: undefined reference to `hal_device_get_property_string' :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:186: undefined reference to `hal_device_property_exists' :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:188: undefined reference to `hal_device_property_exists' :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:190: undefined reference to `hal_device_property_exists' :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:192: undefined reference to `hal_device_property_exists' :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:193: undefined reference to `hal_device_get_property_bool' :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:191: undefined reference to `hal_device_get_property_bool' :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:189: undefined reference to `hal_device_get_property_string' :/home/dimarcoe/src/pmount/pmount-0.8/pmount-hal.c:187: undefined reference to `hal_device_get_property_string' collect2: ld returned 1 exit status it could be some missing device? Thanks, emanuele |
No that is a bug in the source of the pmount-hal.c you will either have to wait until it is fixed or fix it yourself. I do notice that there is a newer pmount in experimental, now whether you want to try and install it is another thing.
Code:
>$ apt-cache policy pmount |
All times are GMT -5. The time now is 01:14 AM. |