Author Topic: update-rc.d missing from the path issue  (Read 964 times)

Offline amidamaru

  • Jr. Member
  • **
  • Posts: 14
update-rc.d missing from the path issue
« on: April 24, 2011, 03:17:56 AM »
Hi,

I have tried to install some .deb packages using the DPKG -i command and every time I have received the following error:

"
dpkg: `update-rc.d' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.

"

Digging the google search results for almost 2 days I was unable to find a working solution to fix that.

My exported PATH it is:

"
bash: export: `/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/kde4/libexec:/usr/lib/qt4/bin:/usr/bin:/usr/sbin:/usr/lib/kde4/libexec:/bin:/sbin:/usr/X11R6/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/sbin/:/usr/sbin/:/usr/local/sbin/:/sbin'
"

It seems that this package update-rc.d can't be found.

Any help for this mess its highly appreciated :)

-thanks.
« Last Edit: April 24, 2011, 03:26:12 AM by amidamaru »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: update-rc.d missing from path issue
« Reply #1 on: April 24, 2011, 03:33:03 AM »
To install apps, open Synaptic, click Reload, click Mark all Upgrades, click Apply and again click apply. When that has completed, use the search feature to look for the apps you need. Be sure you read the News item at the top of the forum. You'll need to update your sources list.

Points to remember:
PCLinuxOS is an RPM based system.
You can not natively install .debs on an RPM based system.
Install apps from our repos. Installing from outside sources can cause problems, if not right away, then soon enough.

Offline amidamaru

  • Jr. Member
  • **
  • Posts: 14
Re: update-rc.d missing from the path issue
« Reply #2 on: April 24, 2011, 03:39:59 AM »
OK.

I understood and I'll comply :)

Even so seems to me quite a little strange that being a RPM based system apt-get upgrade is working.

Bottom line if the packages are not available in the package manager then need to wait to be eventually available.

-thanks.


Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15310
  • ┌∩┐(◕_◕)┌∩┐
Re: update-rc.d missing from the path issue
« Reply #3 on: April 24, 2011, 03:51:12 AM »
Quote
Bottom line if the packages are not available in the package manager then need to wait to be eventually available.


If you read carefully the following link amidamaru it will give you some guidance on what to do if a package isn't available.

Hope that helps a little.

http://www.pclinuxos.com/forum/index.php/topic,55384.0.html
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: update-rc.d missing from the path issue
« Reply #4 on: April 24, 2011, 03:55:39 AM »
OK.

I understood and I'll comply :)

Even so seems to me quite a little strange that being a RPM based system apt-get upgrade is working.

Not strange at all. Apt4rpm is in use as the backend to the package management system. This has been the case for years. I would recommend using the forum's search function to find posts on this subject and others of interest to you. You can learn a lot by reading forum posts. :)

Quote
Bottom line if the packages are not available in the package manager then need to wait to be eventually available.

-thanks.

That is not exactly correct. When you've acquired 10 posts, you can post a request in the Package Suggest section of the forum. Be sure to read and follow the rules posted in that section. (menotu's post has the link.) Failure to do so can result in your post being removed.

In Synaptic's search function, use the Provided Packages option. This will tell you if the app you are looking for is part of another package. As a general rule, PCLinuxOS does not split up apps to create many smaller packages.


Offline amidamaru

  • Jr. Member
  • **
  • Posts: 14
Re: update-rc.d missing from the path issue
« Reply #5 on: April 24, 2011, 06:19:15 AM »
Great and thanks once again.

Being a little off topic I tell you that I had used before a significant number of other distro's but this one I love the most.

Maybe 'cause seems to me more heart build than the rest.

-johnny.
« Last Edit: April 24, 2011, 06:20:58 AM by amidamaru »