LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Apt-get problem (https://www.linuxquestions.org/questions/debian-26/apt-get-problem-339143/)

davholla 07-01-2005 02:23 PM

Apt-get problem
 
I have problems with apt-get here is what happens, any ideas ?

Code:

apt-get install lingoteach || apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting lingoteach-ui instead of lingoteach
You might want to run `apt-get -f install' to correct these:
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).
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)


jonaskoelker 07-01-2005 02:56 PM

Quote:

any ideas?
Yes.

hth --Jonas

jonaskoelker 07-01-2005 02:59 PM

By the way, I have something helpful for you:
google.search("smart questions", lucky=True)

It links to `Smart Bug Reports' and `yes-or-no-questions'. Read all three.

I sincerely hope *this* helps :)

--Jonas

davholla 07-01-2005 03:23 PM

Apologies
 
Sorry for posting with too little details.

I have Knoppix 3.9 installed on my PC.
It was working fine and I have not changed anything to do with apt-get or anything else apart from time.

However I can not use apt-get at all. I get

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).

If I try this 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)

Has anyone ever seen this before ? More importantly how do I fix it. I have searched on the internet but without success.


All times are GMT -5. The time now is 11:12 PM.