[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[LI] dpkg install problems



Hi there,
  I wanted to install KDE on my New Debian 2.1 m/c ... and here's what
happened.


<snip>

-----------
rockford:/home/ravi# dpkg -i kdenetwork_1.1.2-19990911-1_i386.deb
(Reading database ... 59312 files and directories currently installed.)
Preparing to replace kdenetwork 4:1.1.2-19990911-1 (using
kdenetwork_1.1.2-19990911-1_i386.deb) ...
Unpacking replacement kdenetwork ...
Update-menus: waiting for dpkg to finish(forking to background)
Update-menus: (checking /var/lib/dpkg/lock)
dpkg: dependency problems prevent configuration of kdenetwork:
 kdenetwork depends on kdelibs2g (>= 4:1.1.2-19990906-1.0); however:
  Package kdelibs2g is not installed.
 kdenetwork depends on kdesupport0g (>= 4:1.1.2-19990906-1.0); however:
  Package kdesupport0g is not installed.
 kdenetwork depends on qt1g (>= 1.44-5); however:
  Package qt1g is not installed.
dpkg: error processing kdenetwork (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 kdenetwork
rockford:/home/ravi#
--------------------

I then did this ... (as normal user)

-----
$ dpkg -i kdenetwork_1.1.2-19990911-1_i386.deb
dpkg: `ldconfig' not found on PATH.
dpkg: `start-stop-daemon' not found on PATH.
dpkg: `install-info' not found on PATH.
dpkg: `update-rc.d' not found on PATH.
dpkg: 4 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and
/sbin.
$ echo $PATH $path
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
---------

<su to root>

---------
rockford:/home/ravi# echo $PATH $path
/sbin:/bin:/usr/sbin:/usr/bin
rockford:/home/ravi#
---------

<snip>


1 ] Apparently I dont have /usr/local/sbin and /sbin in root's PATH ... so
how do I add that to $PATH ?

2 ] What do I do to the installation of KDE now ? Also, any tips ?
 [ Like this redhat user told me to stick to using rpm -Uvh foo.rpm rather
than the -ivh switch , because if the package wasnt installed , it woul
get installed now , and if the same version was already installed ,it
wouldnt do anything ... while on using the -ivh switch while the same
version is installed ... would result in losing all your files relating to
the package and you have the same thing installed all over again ..  - are
there any similar things with dpkg ? ]

3 ] the dpkg man page said something about using dselect , and i tried
that too ... without much success.... 

thanks

-ravi.

---
ravikant@xxxxxxxxxxxxxxxxxxx


--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.