Apt-get install problems


Results 1 to 4 of 4

Thread: Apt-get install problems

  1. #1
    Join Date
    Aug 2002
    Location
    UK
    Posts
    198

    Apt-get install problems

    I have knoppix 3.9 installed to my hard drive and I can not use apt-get install.


    Code:
    The following packages have unmet dependencies:
    lingoteach-ui: Depends: liblingoteach4 but it is not going to be installed
      udev: Depends: initscripts (>= 2.85-16) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    However if I do I apt-get -f install I get :-
    Code:
    apt-get -f install
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
      initscripts
    The following NEW packages will be installed:
      initscripts
    0 upgraded, 1 newly installed, 0 to remove and 132 not upgraded.
    191 not fully installed or removed.
    Need to get 0B/30.5kB of archives.
    After unpacking 246kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    (Reading database ... 129255 files and directories currently installed.)
    Unpacking initscripts (from .../initscripts_2.86.ds1-1_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/initscripts_2.86.ds1-1_i386.deb (--unpack):
     trying to overwrite `/etc/init.d/checkroot.sh', which is also in package sysvinit
    Errors were encountered while processing:
     /var/cache/apt/archives/initscripts_2.86.ds1-1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    This did work before, the only change I have made was installing the new version of Java.
    Does anyone know how to fix this ?

  2. #2
    Join Date
    Apr 2004
    Location
    Athens, Greece
    Posts
    606
    dpkg -i --force-overwrite /var/cache/apt/archives/initscripts_2.86.ds1-1_i386.deb
    ---------------------------------------------------------------
    Linux user #355624 Debian Linux
    Latitude D810 --Pentium M 1.86Ghz , 1GB DDR II PC-4300. X600 ,15.4". SATA 60GB
    Home ssh / ftp server P 4 @ 2.8Ghz , 225gb 3 x maxtors
    =====www.kanotix.com=====

  3. #3
    Join Date
    Aug 2002
    Location
    UK
    Posts
    198

    Thanks

    Thanks a lot I will try that tonight.

  4. #4
    Join Date
    Aug 2002
    Location
    UK
    Posts
    198
    Brilliant, I think I caused the problem by changing my path to include where Java is.
    Anyway now you have solved it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •