Author Topic: idconfig ??  (Read 1550 times)

Offline Capt Turk

  • Full Member
  • ***
  • Posts: 141
    • Raspberry Gulch Shortline Rail Road.
idconfig ??
« on: July 08, 2011, 02:46:15 PM »
Every time I upgrade or install anything with Synaptic it shows and error of "can not find idconfig".  Everything seems to work but I still would like to know whats going on and how to fix it.

From what I've been able to figure out it has something to do with registering new or updated software.
« Last Edit: July 14, 2011, 11:36:02 AM by Capt Turk »
President: Raspberry Gulch Shortline Rail Road.
http://raspberrygulch.org

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6373
  • I'm going South
Re: idconfig ??
« Reply #1 on: July 08, 2011, 03:35:33 PM »
Every time I upgrade or install anything with Synaptic it shows and error of "can not find idconfig".  Everything seems to work but I still would like to know whats going on and how to fix it.

From what I've been able to figure out it has something to do with registering new or updated software.



I strongly suspect that "idconfig" really should be "ldconfig": http://linux.die.net/man/8/ldconfig.

/sbin/ldconfig comes with the package glibc-2.12.1-3pclos2011. You could try reinstalling it.
« Last Edit: July 08, 2011, 03:39:14 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Capt Turk

  • Full Member
  • ***
  • Posts: 141
    • Raspberry Gulch Shortline Rail Road.
Re: idconfig ??(solved)
« Reply #2 on: July 08, 2011, 04:03:45 PM »
Reinstalling fixed it.  Thanks a bunch.
President: Raspberry Gulch Shortline Rail Road.
http://raspberrygulch.org

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6373
  • I'm going South
Re: idconfig ?? (Solved)
« Reply #3 on: July 08, 2011, 04:10:52 PM »
 :) :) :D
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Capt Turk

  • Full Member
  • ***
  • Posts: 141
    • Raspberry Gulch Shortline Rail Road.
Re: idconfig ??
« Reply #4 on: July 14, 2011, 11:37:31 AM »
Looks like it ain't solved after all.

Every time I do an update, it comes up again.  Solution of re-installing doesn't seem to stick.
President: Raspberry Gulch Shortline Rail Road.
http://raspberrygulch.org

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6373
  • I'm going South
Re: idconfig ??
« Reply #5 on: July 14, 2011, 02:11:26 PM »
Looks like it ain't solved after all.

Every time I do an update, it comes up again.  Solution of re-installing doesn't seem to stick.


Strange. Have you checked whether the error message is correct? Is /sbin/ldconfig still installed when you get it? What about the folder /var/cache/ldconfig?
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Capt Turk

  • Full Member
  • ***
  • Posts: 141
    • Raspberry Gulch Shortline Rail Road.
Re: idconfig ??
« Reply #6 on: July 15, 2011, 12:09:47 PM »
Yup.  Both are there.
After re-installing all the glibc stuff, this is what I got when installing wammu..



While installing package wammu-0.35-1pclos2011:

/var/lib/rpm/filetriggers/ldconfig.script: line 2: ldconfig: command not found
« Last Edit: July 15, 2011, 12:24:17 PM by Capt Turk »
President: Raspberry Gulch Shortline Rail Road.
http://raspberrygulch.org

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: idconfig ??
« Reply #7 on: July 15, 2011, 12:27:29 PM »
What's the error you see really ? "can not find idconfig" or "can not find ldconfig" ?  I or L ?

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3731
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: idconfig ??
« Reply #8 on: July 15, 2011, 12:47:02 PM »
Try
Code: [Select]
echo $PATH in a konsole/terminal
Is sbin listet?

When not edit your ~/.bash_profile

Add sbin by PATH=$PATH:$HOME/bin

Looks like after:
PATH=/sbin:$PATH:$HOME/bin

Good luck

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6373
  • I'm going South
Re: idconfig ??
« Reply #9 on: July 15, 2011, 12:48:19 PM »
There used to be an idconfig in some versions of Unix, but I've never seen it in PCLinuxOS. It certainly doesn't exist on my main machine and nevertheless I don't get the error message.

I wonder if root's PATH variable has got corrupt somehow. What do you get if you su to root and run "echo $PATH". You could try both "su" and "su -" to become root.




Edit: Ah! Leiche got the same idea a bit faster, but I didn't remove this post because if the PATH is corrupt it's more likely not to be you normal user's PATH. (Synaptic is run as root.)
« Last Edit: July 15, 2011, 12:57:00 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Ozdemon

  • Jr. Member
  • **
  • Posts: 38
Re: idconfig ??
« Reply #10 on: July 18, 2011, 02:32:46 AM »
Try
Code: [Select]
echo $PATH in a konsole/terminal
Is sbin listet?

When not edit your ~/.bash_profile

Add sbin by PATH=$PATH:$HOME/bin

Looks like after:
PATH=/sbin:$PATH:$HOME/bin

Good luck
I am getting the same message as the OP every time I use Synaptic. Can you clarify the above, i.e. do I add
Code: [Select]
PATH=$PATH:$HOME/bin and
Code: [Select]
PATH=/sbin:$PATH:$HOME/binto the ~/.bash_profile?

(1) AMD Athlon(tm) 64 X2 Dual Core Processor 6000+,  2 x WD 500G SATA, 4G RAM (2x2G), GIGABYTE GA-MA770-DS3, Nvidia GForce 8600GT, PCLOS Gnome
(2) MSI U230 Netbook LXDE PCLOS

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6373
  • I'm going South
Re: idconfig ??
« Reply #11 on: July 18, 2011, 04:01:26 AM »
Try
Code: [Select]
echo $PATH in a konsole/terminal
Is sbin listet?

When not edit your ~/.bash_profile

Add sbin by PATH=$PATH:$HOME/bin

Looks like after:
PATH=/sbin:$PATH:$HOME/bin

Good luck
I am getting the same message as the OP every time I use Synaptic. Can you clarify the above, i.e. do I add
Code: [Select]
PATH=$PATH:$HOME/bin and
Code: [Select]
PATH=/sbin:$PATH:$HOME/binto the ~/.bash_profile?



Leiche meant that you probably have the line
Code: [Select]
PATH=$PATH:$HOME/binin your ~/.bash_profile, and he suggests that you change it to
Code: [Select]
PATH=/sbin:$PATH:$HOME/bin
But note that this will only change your ordinary user's PATH variable, where sbin strictly speaking shouldn't be necessary. Run
Code: [Select]
echo $PATH first, both as your ordinary user and after suing to root both with "su" and with "su -". Post the output.
« Last Edit: July 18, 2011, 03:08:31 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Ozdemon

  • Jr. Member
  • **
  • Posts: 38
Re: idconfig ??
« Reply #12 on: July 18, 2011, 02:50:43 PM »
Thanks for the reply. The contents of my bash profile are:
Code: [Select]
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

mesg n

Does this mean I need to look elsewhere for a solution?
P.S the results of echo $PATH are:
Code: [Select]
bash-4.1$ echo $PATH
/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin
bash-4.1
« Last Edit: July 18, 2011, 02:53:07 PM by Ozdemon »
(1) AMD Athlon(tm) 64 X2 Dual Core Processor 6000+,  2 x WD 500G SATA, 4G RAM (2x2G), GIGABYTE GA-MA770-DS3, Nvidia GForce 8600GT, PCLOS Gnome
(2) MSI U230 Netbook LXDE PCLOS

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3731
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: idconfig ??
« Reply #13 on: July 18, 2011, 02:56:13 PM »
copy and paste in a terminal/konsole
Code: [Select]
cat ~/.bash_profile
Post output


Offline Ozdemon

  • Jr. Member
  • **
  • Posts: 38
Re: idconfig ??
« Reply #14 on: July 18, 2011, 03:01:51 PM »
copy and paste in a terminal/konsole
Code: [Select]
cat ~/.bash_profile
Post output

I wasn't sure if I should use the command as user or root so I used both.
Code: [Select]
$ cat ~/.bash_profile
cat: /home/user/.bash_profile: No such file or directory
bash-4.1
============================================
# cat ~/.bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

mesg n
(1) AMD Athlon(tm) 64 X2 Dual Core Processor 6000+,  2 x WD 500G SATA, 4G RAM (2x2G), GIGABYTE GA-MA770-DS3, Nvidia GForce 8600GT, PCLOS Gnome
(2) MSI U230 Netbook LXDE PCLOS