LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
LinkBack Search this Thread
Old 01-07-2006, 06:00 PM   #1
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Rep: Reputation: 15
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
 
Old 01-07-2006, 06:21 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
Quote:
Originally Posted by dimarcoe
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.
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:


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
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.
 
Old 01-07-2006, 06:38 PM   #3
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by HappyTux
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.
Wow, can you show me how to do this?

Thanks so much!

emanuele
 
Old 01-07-2006, 07:22 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
Quote:
Originally Posted by dimarcoe
Wow, can you show me how to do this?

Thanks so much!

emanuele
Sure first make sure you have everything installed to compile.

Code:
apt-get install build-essential devscripts dpkg-dev fakeroot
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.

Last edited by HappyTux; 01-07-2006 at 07:23 PM.
 
Old 01-07-2006, 07:48 PM   #5
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
Old 01-07-2006, 08:16 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
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
pmount:
  Installed: (none)
  Candidate: 0.8-2
  Version table:
     0.9.7-1 0
          1 http://ftp.de.debian.org experimental/main Packages
     0.8-2 0
        990 http://ftp.de.debian.org testing/main Packages
        600 http://ftp.de.debian.org sid/main Packages
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
udev/hal/ivman, want appearing desktop icons w/rox-filer hedpe Linux - Software 2 11-13-2005 09:35 AM
the relation between udev,hal,kudzu? oriate Linux - General 3 10-26-2005 11:38 PM
Multifunction support - Hal and Udev flebber Linux - Hardware 1 06-18-2005 09:44 PM
udev/hal, problems... TazG Linux - Hardware 0 09-28-2004 02:38 PM
udev+hotplug+2.6.6=questions shilo Slackware 4 05-31-2004 08:43 PM


All times are GMT -5. The time now is 03:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration