PDA

View Full Version : Circular depends ... Knoppix versions toDebian



BillS
04-26-2005, 05:31 PM
Debian is at 3.1 or higher
Knopix 3.8.1 is base upon ???
At boot Knoppix displays INIT: version 2.7.8 Knoppix

This comes about from trying to install a package called sysvinit modified for selinux.
sysvinit requires initscripts which is not installed
initscripts requires mount which is not installed
mount removes mount-aes an essential package, and removal will harm the system
and the system is futzed.

Initscripts also wants to update /etc/checkroot.sh, which is in the database as
belonging to sysvinit.

Are these tools for a more recent/ different version of Debian?
What does Knoppix use in place of these packages? initscripts and mount?
This seems rather circular...

BillS

fingers99
04-26-2005, 06:23 PM
Please, just tell us what you're trying to do. Enough of the philosophy, already!

BillS
04-26-2005, 07:08 PM
I am trying to get SElinux running with 3.8.1
I am using Russeel Cokers Debian patched packages.
I am using Faye Cokers HOWTO to guide the installation.
I have crushed and reloaded the OS 6 time or so, so far.

apt-get install sysvinit fails because initscripts is missing
apt-get initscripts failes because mount pkg isn't installed and because
/etc/checkroot.sh is the property of sysvinit and can't be changed by initscripts.
apt-get install mount says it will uninstall mount-aes
(this seems dangerous on a running system)

Some of Cokers packages are downgrades from the current archive versions
(coreutils, sysvinit, while libpam-modules is actually newer)

So how I resolve that the Debian packages use these packages, and Knoppix dioesn't.


BillS

Markus
04-26-2005, 07:28 PM
If you want to see if this borks the install once again, have a go at replacing the sysvinit: http://s95018669.onlinehome.us/knoppix/sysvinit.shtml
I followed this howto once with Knoppix 3.3 and don't know if it works on 3.8.1

BillS
04-26-2005, 08:02 PM
This link describes out dilemma exactly. We even got to the update-rc problem

I'll be working this as soon as the disk imaging completes.
I did notice a 2 places the phrase:
dpkg - warning, overriding problem because --force enabled:

Was this (--force) set in a config file? I did not see it on any command line.

Markus
04-26-2005, 08:58 PM
Guessing here, but I'd say the --force comes with "Yes, do as I say!"

BillS
04-28-2005, 01:31 PM
Markus
This almost worked. The difference is probably because of changes in the hardware identification between the version you tried and 3.81.
When this was done, it had removed knoppix-autoconfig, which means that it did not identify eth0 or the usb. But I just kept the old one arround and it seems to boot fine.


Thanks again
BillS

Markus
04-28-2005, 06:07 PM
If everything else was working you might as well try to recompile the kernel and compile drivers for usb and your nic into it.

Markus
04-28-2005, 10:31 PM
As an afterthought, why fight it? Install Debian Sarge with the net installer while Knoppix obviously isn't meant for this.

BillS
04-29-2005, 12:32 PM
But I just kept the old one arround and it seems to boot fine.
I was to vague. I copied the knoppix-autoconfig from another 3.8.1 box on to my selinux box and now the boot proceeds quite normally. Things are looking good.

This thread started because I didn't (and still don't) know if Knoppix is derived from sid, sarge, or etch ? I have some code that is documented to run on sarge, and commented to say it probably won't run on sid.

BillS

Markus
04-29-2005, 12:43 PM
AFAIK Knoppix is still a mix. Mostly from Sarge, some from Sid and perhaps even some from Stable. I haven't really been following the 3.8.1 very much but I'd be surprised if it's not a mix anymore. That's also a reason to install Sarge if you need compatibility with it. Or you could set testing (if it already isn't) as default in /etc/apt/apt.conf and do a dist-upgrade which should up-/downgrade most stuff to Sarge. Some packages will still get held if you don't force them. And yes, this will probably bork it even worse :) but should be fixable. If needed to up-/downgrade a held package try: apt-get -b --ignore-hold install held_package_name