installing hotplug removes hal & udev. How to get rid?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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.
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.
You cannot have the old hotplug installed at the same time as the udev and hal as you can see. The udev is supposed to be a replacement for hotplug so the packages conflict with each other.
Quote:
There is also another conflict.
If I try to install gnome I go through a series of unmet dependencies as:
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
Now that looks like pmount needs to be rebuilt against newer libraries if you can wait a few days most likely a newer version will be uploaded with the correct dependencies or you could try to rebuild it yourself, if you want to do this and don't know how let me know.
You cannot have the old hotplug installed at the same time as the udev and hal as you can see. The udev is supposed to be a replacement for hotplug so the packages conflict with each other.
Ok, this is fine, but I had the firmware files for wireless card in the hotplug directory /
Does udev look into old hotplug directories?
Now that looks like pmount needs to be rebuilt against newer libraries if you can wait a few days most likely a newer version will be uploaded with the correct dependencies or you could try to rebuild it yourself, if you want to do this and don't know how let me know.
Hopefully I have not missed anything there now as root.
Code:
apt-get build-dep pmount
Now as user.
Code:
mkdir -p ~/src
cd ~/src
mkdir pmount
cd pmount
apt-get source pmount
cd pmount-X.Y.Z/
dpkg-buildpackage -rfakeroot -us -uc
cd ..
su -c 'dpkg -i pmount-X.Y.Z-???.deb'
Edit: For the parts with the -X.Y.Z/ and -X.Y.Z-??? just change it to the output you will see for them on the screen the first being the directory created the second the .deb created. For the su -c part you will be asked for the root password so it can install the package.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.