LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-29-2003, 08:42 PM   #1
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
Knoppix, Debian, and libc6


Has anyone here installed the new 3.3 knoppix to thier hard drive yet? There seems to be an issue with libc6 as it is preventing me from installing anything. Here is what happens with an apt-get -f install anything.

Quote:
]Selected version 2:2.1.2-24 (Debian:unstable) for kvirc
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
kvirc: Depends: kdelibs4 (>= 4:3.1.3) but it is not going to be installed
Depends: libart-2.0-2 (>= 2.3.8) but it is not going to be installed
Depends: libaudio2 but it is not going to be installed
Depends: libc6 (>= 2.3.2-1) but it is not going to be installed
Depends: libfam0c102 but it is not going to be installed
Depends: libfontconfig1 (>= 2.2.1) but it is not going to be installed
Depends: libfreetype6 (>= 2.1.4-1) but it is not going to be installed
Depends: libgcc1 (>= 1:3.3.1-1) but it is not going to be installed
Depends: libpng12-0 (>= 1.2.5.0-4) but it is not going to be installed
Depends: libqt3c102-mt (>= 3:3.2.1) but it is not going to be installed
Depends: libstdc++5 (>= 1:3.3.1-1) but it is not going to be installed
Depends: libxcursor1 (>= 1.0.2) but it is not going to be installed
Depends: libxft2 (> 2.1.1) but it is not going to be installed
Depends: libxrender1 (>= 0.8.1) but it is not going to be installed
Depends: xlibmesa3-gl but it is not going to be installed or
libgl1
Depends: xlibs (> 4.1.0) but it is not going to be installed
Depends: zlib1g (>= 1:1.1.4) but it is not going to be installed
libdb1-compat: Depends: libc6 (>= 2.2.5-13) 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 to install libc6 I get this:

Quote:
The following NEW packages will be installed:
libc6
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/3717kB of archives.
After unpacking 13.1MB of additional disk space will be used.
E: Cannot get debconf version. Is debconf installed?
(Reading database ... 11 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.3.2-7_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing /var/cache/apt/archives/libc6_2.3.2-7_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.3.2-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any idea what I need to do to get this puppy working?
 
Old 10-09-2003, 04:48 AM   #2
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
Talking still working?

Is this machine still working????
It looks like a broke libc6....

If it's working then do a

#apt-get update; apt-get upgrade

and than try whatever you want.

You will have to have an unstable apt source in your /etc/apt/sources.list
 
Old 10-09-2003, 09:55 PM   #3
theoldman
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 10
Posts: 20

Rep: Reputation: 0
I installed 3.3 Knoppix....its a little different but pretty much the same old stuff....I currently have knoppix 3.2 on my laptop and 3.3 on my desktop- desktop just got converted from redhat so i went with 3.3, but there is no real difference that you cant make up with an update in my opinion- but if you havent installed knoppix before, I'd go with 3.3. Hope that helps a little...
 
Old 10-10-2003, 12:02 AM   #4
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Original Poster
Rep: Reputation: 30
Well, I reinstalled the system w/ 3.3 and then had issues w/ kdelibs3. I think the mixed sources that knoppix utilizes and my lack of in depth knowledge of how to manage multiple apt sources is causing my problems.

Sooo... I installed Morphix on a whim. Now it doesn't seem to use multple sources (although there is a warning in the sources.list file)

Quote:
# Yes, we use non-official repositories (for XFree4.3 and Gnome2.4)
# Yes, it's yucky. Yes, it might possibly break something somewhere in the future
# However, together with apt-pinning the current install, things should work
# pretty well... and if it breaks, you get both pieces
deb http://penguinppc.org/~daniels/sid/i386 ./
#deb http://people.debian.org/~fpeters/gnome2.4/ ./
deb http://ftp.debian.org/debian/ unstable main contrib
deb http://ftp.debian.org/debian/ testing main contrib
# deb-src http://ftp.debian.org/debian/ unstable main contrib
Regardless I still get issues with kdelibs, when I apt-get install kvirc I get:

Quote:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
kvirc: Depends: kdelibs4 (>= 4:3.1.4) but it is not going to be installed
E: Broken packages
So, if I go to install kdelibs 4:
Quote:
The following packages have unmet dependencies:
kdelibs4: Depends: libarts1 (>= 1.1.4) but 1.1.3-1 is to be installed
Depends: kdelibs-bin (= 4:3.1.4-2)
E: Broken packages
So, I'm in a pickle because I want kvirc 3+ as I really like the interface. Am I missing something really easy here?

Thanks
 
Old 10-10-2003, 11:10 AM   #5
rockmumbles
LQ Newbie
 
Registered: Jul 2003
Location: Podunk, Idaho
Distribution: Debian
Posts: 28

Rep: Reputation: 15
You will probably need to get those packages from the unstable branch, look at your sources.list, you have both testing and unstable entries, so try this (get the package from unstable) ...

apt-get -t unstable install kvirc
(or apt-get install kvirc/unstable)

also look at the output from this command:

apt-cache policy kvirc

there will probably be multiple entries in the Version Table for testing and unstable.

HTH

~rock
 
Old 03-08-2004, 10:05 PM   #6
wisemasterpo
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
I have the same unmet deps error (libc6 & like 50 others...on knoppix 3.3 20040216

I've got the same problem. If I try to apt-get install ANYTHING, I get this extreamly long list of "unmet deps" that includes mostly libc6 (and tons more). When I tried an "apt-get -f install" like the unmet depts error msg says, it wants to install 49 applications, remove 30 unused apps, and also remove the sysvinit pkg...which REALLY sounds like a bad thing (esp since this pkg is used to run the sysinit scripts) and it even gives me a warning msg re: the sysvinit pkg removal stating "don't do this unless you know what you are doing"

I never had this issue with 3.2 knoppix. I think it's not our PC's, it must be a major bug. I've been on the official debian irc channels, goolge, etc and still have not found an answer (but google found your post, so I know I not alone....and it's not just my pc)


Did you find anything yet?

wisemasterpo.
 
Old 03-08-2004, 11:24 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: I have the same unmet deps error (libc6 & like 50 others...on knoppix 3.3 20040216

Quote:
Originally posted by wisemasterpo
I've got the same problem. If I try to apt-get install ANYTHING, I get this extreamly long list of "unmet deps" that includes mostly libc6 (and tons more). When I tried an "apt-get -f install" like the unmet depts error msg says, it wants to install 49 applications, remove 30 unused apps, and also remove the sysvinit pkg...which REALLY sounds like a bad thing (esp since this pkg is used to run the sysinit scripts) and it even gives me a warning msg re: the sysvinit pkg removal stating "don't do this unless you know what you are doing"

I never had this issue with 3.2 knoppix. I think it's not our PC's, it must be a major bug. I've been on the official debian irc channels, goolge, etc and still have not found an answer (but google found your post, so I know I not alone....and it's not just my pc)


Did you find anything yet?

wisemasterpo.
You need to track down the problem packages when you are trying to install. First do a dselect update then apt-get upgrade and let it install as many packages as it can. Then you start with the packages held back and apt-get -s install package if the simulation works and it would install the add the next package and keep going until you find a package that complains about missing dependencies, you remove that from the simulated line and go ahead and install all the ones that would. Then with the problem package simulate the install and find the packages it wants and you take an add them on to the line like this apt-get -s install package package1/unstable package2/unstable until the package will install the missing packages are usually all in unstable. If it needs a exact version number for one or more of the extra packages then you would use package=4.2.4-21 say to determine the number you need use this.

Code:
HappyTux:/home/stephen# apt-cache policy kopete
kopete:
  Installed: (none)
  Candidate: 4:3.2.1-1
  Version Table:
     4:3.2.1-1 0
        600 http://ftp2.de.debian.org unstable/main Packages
     4:3.2.0-0+cvs20040217+cm 0
        500 http://ftp.snt.utwente.nl unstable/ Packages
To install a specific version use.
Code:
HappyTux:/home/stephen# apt-get -s install kopete=4:3.2.0-0+cvs20040217+cm
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
   kopete (3.2.0-0+cvs20040217+cm)
   libgadu3 (1.4-3)
The following NEW packages will be installed:
   kopete (3.2.0-0+cvs20040217+cm)
   libgadu3 (1.4-3)
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Inst libgadu3 (1:1.4-3 Debian:testing)
Inst kopete (4:3.2.0-0+cvs20040217+cm ftp.snt.utwente.nl)
Conf libgadu3 (1:1.4-3 Debian:testing)
Conf kopete (4:3.2.0-0+cvs20040217+cm ftp.snt.utwente.nl)
So your command line for a problem package could look like this apt-get -s install package package1=4.2.4-21 package2/unstable. Keep repeating the process until you are done and all the packages are upgraded then you updates should be less of a mess. It is very easy to remove the knoppix sysvinit if you want to do that as well and save yourself the headaches. Here's the notes I made to myself when I did it and the console output I kept.

Code:
Got the sysvinit  and extracted the file.

wget http://ftp2.de.debian.org/debian/poo....85-9_i386.deb

root@knoppixtest:/home/stephen/tmp# dpkg -x sysvinit_2.85-9_i386.deb
dpkg-deb: --extract needs a target directory.
Perhaps you should be using dpkg --install ?
root@knoppixtest:/home/stephen/tmp# mkdir tmp2
root@knoppixtest:/home/stephen/tmp# dpkg -x sysvinit_2.85-9_i386.deb tmp2
root@knoppixtest:/home/stephen/tmp#cd tmp2/usr/share/sysvinit/
root@knoppixtest:/home/stephen/tmp/tmp2/usr/share/sysvinit# apt-get remove --purge sysvinit
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libconsole
The following packages will be REMOVED:
  atmelwlandriver-tools* console-tools* ftape-util* knoppix-terminalserver*
  linux-wlan-ng* linux-wlan-ng-modules-2.4.23-xfs* lvm-common* lvm10* modconf*
  modutils* nfs-common* nfs-kernel-server* nis* sysvinit*
The following packages will be upgraded:
  libconsole
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
  sysvinit
1 upgraded, 0 newly installed, 14 to remove and 150 not upgraded.
Need to get 107kB of archives.
After unpacking 14.5MB disk space will be freed.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
 ?] Yes, do as I say!
Get:1 http://ftp2.de.debian.org testing/main libconsole 1:0.2.3dbs-47 [107kB]
Fetched 107kB in 1s (70.4kB/s)
(Reading database ... 106208 files and directories currently installed.)
Removing atmelwlandriver-tools ...
Removing console-tools ...
Purging configuration files for console-tools ...
Removing ftape-util ...
Purging configuration files for ftape-util ...
Removing knoppix-terminalserver ...
Removing linux-wlan-ng-modules-2.4.23-xfs ...
Purging configuration files for linux-wlan-ng-modules-2.4.23-xfs ...
Removing linux-wlan-ng ...
Purging configuration files for linux-wlan-ng ...
Removing lvm10 ...
vgcfgbackup -- no volume groups found
Purging configuration files for lvm10 ...
Removing lvm-common ...
Purging configuration files for lvm-common ...
Removing modconf ...
Purging configuration files for modconf ...
Removing modutils ...
Purging configuration files for modutils ...
Removing nfs-kernel-server ...
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon...done.
Purging configuration files for nfs-kernel-server ...
Removing nfs-common ...
Stopping NFS common utilities: lockd statd.
Purging configuration files for nfs-common ...
Removing nis ...
Purging configuration files for nis ...
dpkg - warning, overriding problem because --force enabled:
 This is an essential package - it should not be removed.
Removing sysvinit ...
Purging configuration files for sysvinit ...
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.
E: Sub-process /usr/bin/dpkg returned an error code (2)


Noticed the console-tools, modconf and modutils were removed as well so need reinstalling along with the new sysvinit. 
Then needed to copy the file update-rc.d to the /usr/bin directory and let it remove the knoppix mount-aes that is still leftover.

root@knoppixtest:/home/stephen/tmp/tmp2/usr/share/sysvinit# cp update-rc.d /usr/bin/
root@knoppixtest:/home/stephen/tmp/tmp2/usr/share/sysvinit# apt-get -t unstable install sysvinit console-tools modconf modutils
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  initscripts libconsole mount sysv-rc
Suggested packages:
  ksymoops
The following packages will be REMOVED:
  mount-aes
The following NEW packages will be installed:
  console-tools initscripts modconf modutils mount sysv-rc sysvinit
The following packages will be upgraded:
  libconsole
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
  mount-aes
1 upgraded, 7 newly installed, 1 to remove and 272 not upgraded.
Need to get 1663kB of archives.
After unpacking 4833kB of additional disk space will be used.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
 ?] Yes, do as I say!
Get:1 http://ftp2.de.debian.org unstable/main mount 2.12-6 [134kB]
Get:2 http://ftp2.de.debian.org testing/main initscripts 2.85-9 [16.6kB]
Get:3 http://ftp2.de.debian.org testing/main sysv-rc 2.85-9 [28.5kB]
Get:4 http://ftp2.de.debian.org testing/main sysvinit 2.85-9 [92.4kB]
Get:5 http://ftp2.de.debian.org unstable/main libconsole 1:0.2.3dbs-48 [107kB]
Get:6 http://ftp2.de.debian.org unstable/main console-tools 1:0.2.3dbs-48 [298kB]
Get:7 http://ftp2.de.debian.org testing/main modutils 2.4.26-1 [226kB]
Get:8 http://ftp2.de.debian.org testing/main modconf 0.2.45 [760kB]
Fetched 1663kB in 11s (139kB/s)
dpkg - warning, overriding problem because --force enabled:
 This is an essential package - it should not be removed.
(Reading database ... 105496 files and directories currently installed.)
Removing mount-aes ...
Selecting previously deselected package mount.
(Reading database ... 105478 files and directories currently installed.)
Unpacking mount (from .../archives/mount_2.12-6_i386.deb) ...
Setting up mount (2.12-6) ...

Selecting previously deselected package initscripts.
(Reading database ... 105498 files and directories currently installed.)
Unpacking initscripts (from .../initscripts_2.85-9_all.deb) ...
Setting up initscripts (2.85-9) ...

Selecting previously deselected package sysv-rc.
(Reading database ... 105525 files and directories currently installed.)
Unpacking sysv-rc (from .../sysv-rc_2.85-9_all.deb) ...
Setting up sysv-rc (2.85-9) ...

Selecting previously deselected package sysvinit.
(Reading database ... 105548 files and directories currently installed.)
Unpacking sysvinit (from .../sysvinit_2.85-9_i386.deb) ...
Setting up sysvinit (2.85-9) ...

(Reading database ... 105588 files and directories currently installed.)
Preparing to replace libconsole 1:0.2.3dbs-46 (using .../libconsole_1%3a0.2.3dbs-48_i386.deb) ...
Unpacking replacement libconsole ...
Selecting previously deselected package console-tools.
Unpacking console-tools (from .../console-tools_1%3a0.2.3dbs-48_i386.deb) ...
Selecting previously deselected package modutils.
Unpacking modutils (from .../modutils_2.4.26-1_i386.deb) ...
Selecting previously deselected package modconf.
Unpacking modconf (from .../modconf_0.2.45_all.deb) ...
Setting up libconsole (0.2.3dbs-48) ...

Setting up console-tools (0.2.3dbs-48) ...

Setting up modutils (2.4.26-1) ...

Setting up modconf (0.2.45) ...

localepurge: Disk space freed in /usr/share/locale: 116K
localepurge: Disk space freed in /usr/share/man: 16K

Total disk space freed by localepurge: 132K
 
Old 07-19-2004, 09:52 AM   #8
dizkord
LQ Newbie
 
Registered: Jul 2004
Location: Pittsburgh PA USA
Distribution: debian-sparc64/knoppix debian
Posts: 1

Rep: Reputation: 0
thanks to HappyTux

Your instructions saved the day with my knoppix 3.3 install. I didn't have nearly so many dep errors, but the sysvinfo was bugging me.

Note to newbies like myself: if you see "sysv-rc suggests sysv-rc-conf" don't take it to mean that you should install it this minute. That could rob you of another valuable half hour as it did me.

--dizkord
 
Old 07-19-2004, 11:42 AM   #9
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
isn't it easier to install Kanotix?

it's a knoppix clone, but based on Debian Sid ONLY, which avoids this kind of problems, and it comes with KDE by default. Once installed to the hdd, all you have to do is apt-get update/apt-get dist-upgrade because it's Sid and don't have to install a new knoppix every 2 months.

you can check it at distrowatch.com

Last edited by macondo; 07-19-2004 at 11:45 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between debian and other debian-based distro like knoppix? Akhran Debian 11 08-28-2005 06:07 PM
libstdc++-libc6.2-2.so.3 debian.. snip128 Linux - Newbie 1 07-09-2005 02:09 PM
libc6 on Debian flowerlin Debian 2 06-24-2004 06:45 AM
Debian and Knoppix jfchui Linux - Software 3 03-26-2004 07:10 PM
Debian from knoppix rmanocha Debian 1 10-23-2003 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration