-
From Knoppix to pure debian !
Hi, I'm running Knoppix in an old PC, 486/Celeron.
I have no mayor problems that I couldn't resolve, with help of many people.(
)
But I read a post that tells me that Knoppix is not the BEST choice for a HD installation.
Is there any way to "convert" Knoppix in pure debain machine ??
I try to install , before knoppix, Debian , but NetInst and CDInst, causes an error when trying to setup the kernel, I never could pass "install base system" phase.
But knoppix , run and works fine.
I'm doing apt-get update, and apg-get upgrade every time.
Maybe, I just have to change some lines in sources.list ?
Can someone give me clue?
Best Regards
Nicolas from Argentina.
-
Senior Member
registered user
It sounds as if you've already installed to HDD and successfully upgraded to the latest versions of the packages. If that's been working, I would leave it as it is. It is essentially Debian at this point.
You might try using aptitude instead of apt-get for package management. It can spot conflicts and recommends solutions. To install it type: apt-get install aptitude. If you plan on using Debian , a basic knowledge of the versioning and packaging system is good to have.
-
Thanks rusty, but...
When, folowing your advice, try to install aptitude, I get this:
Code:
Setting up apt (0.7.9) ...
/usr/bin/apt-key: line 16: 4769 Segmentation fault $GPG_CMD --quiet --batch --keyring $ARCHIVE_KEYRING --export
4770 | $GPG --ignore-time-conflict --import
dpkg: error processing apt (--configure):
subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is the first time a saw an error like this ....
what about this?
http://code.google.com/p/hakix/
Regards-
-
Senior Member
registered user
Hmm, a little more info on your setup might help. You mentioned you were running on a 486/celeron. Which is it and what other hardware , memory, hard disk etc.
You could try:apt-get clean and try re-installing. you might need to run: apt -get -f install. Alternatively you could try installing a newer version by specifying the branch from which to install:
Code:
apt-get -s -t unstable install aptitude
. The -s flag simulates what apt would do, you would run the command without it to actually perform the install.
You could consider upgrading all your packages to unstable, the reason being that since knoppix is a mixture of stable, unstable and testing versions of packages , subsequent upgrades usually lead to conflicts between versions, and upgrading or downgrading to a common branch can make things a little more manageable. However as those who warn against using knoppix as an debian installation source suggest, you might be better served by installing debian proper.
However it may be that the warnings of installing to HDD are starting to ring true.
hakix looks interesting, I'm not sure it will help as it seems to be geared towards etch.
-
Hi again .
after doing apt-get -t unstable install aptitude
I still get the error.
Code:
root@linux:~# apt-get -t unstable install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
aptitude-doc-en libclass-accessor-perl libcwidget1 libhtml-template-perl
libio-string-perl libparse-debianchangelog-perl libtimedate-perl
libxml-libxml-common-perl libxml-libxml-perl libxml-namespacesupport-perl
libxml-sax-perl libxml-simple-perl
Suggested packages:
debtags tasksel libcwidget-dev libipc-sharedcache-perl
The following NEW packages will be installed:
aptitude aptitude-doc-en libclass-accessor-perl libcwidget1
libhtml-template-perl libio-string-perl libparse-debianchangelog-perl
libtimedate-perl libxml-libxml-common-perl libxml-libxml-perl
libxml-namespacesupport-perl libxml-sax-perl libxml-simple-perl
0 upgraded, 13 newly installed, 0 to remove and 933 not upgraded.
4 not fully installed or removed.
Need to get 0B/3851kB of archives.
After this operation, 12.1MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up apt (0.7.10) ...
/usr/bin/apt-key: line 16: 10822 Segmentation fault $GPG_CMD --quiet --batch --keyring $ARCHIVE_KEYRING --export
10823 | $GPG --import
dpkg: error processing apt (--configure):
subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
I also do apt-get -f install. 
Code:
root@linux:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 874 not upgraded.
4 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up apt (0.7.10) ...
/usr/bin/apt-key: line 16: 12696 Segmentation fault $GPG_CMD --quiet --batch --keyring $ARCHIVE_KEYRING --export
12697 | $GPG --import
dpkg: error processing apt (--configure):
subprocess post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of apt-utils:
apt-utils depends on libapt-pkg-libc6.7-6-4.6; however:
Package libapt-pkg-libc6.7-6-4.6 is not installed.
Package apt which provides libapt-pkg-libc6.7-6-4.6 is not configured yet.
dpkg: error processing apt-utils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapt-pkg-perl:
libapt-pkg-perl depends on libapt-pkg-libc6.7-6-4.6; however:
Package libapt-pkg-libc6.7-6-4.6 is not installed.
Package apt which provides libapt-pkg-libc6.7-6-4.6 is not configured yet.
dpkg: error processing libapt-pkg-perl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of synaptic:
synaptic depends on libapt-inst-libc6.7-6-1.1; however:
Package libapt-inst-libc6.7-6-1.1 is not installed.
Package apt-utils which provides libapt-inst-libc6.7-6-1.1 is not configured yet.
synaptic depends on libapt-pkg-libc6.7-6-4.6; however:
Package libapt-pkg-libc6.7-6-4.6 is not installed.
Package apt which provides libapt-pkg-libc6.7-6-4.6 is not configured yet.
dpkg: error processing synaptic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apt
apt-utils
libapt-pkg-perl
synaptic
mhh... how bad is it ?
As I told in another post, I don't know why but debian installer didn't work.
This is my machine:
Code:
root@linux:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 5
cpu MHz : 467.771
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr up
root@linux:~# free -m
total used free shared buffers cached
Mem: 122 119 2 0 13 47
-/+ buffers/cache: 59 63
Swap: 454 5 449
$procinfo -f
Memory: Total Used Free Shared Buffers
Mem: 125428 122816 2612 0 13988
Swap: 465844 5136 460708
bogomips : 936.84
Another think to tell you is the actual sources.list, I see a lot of sources, maybe I can change some lines.
Some of them give me an http 404 error ...
may be you can give me a "stable" or pure debian source.list
Best regards.
-
Senior Member
registered user
Well, it's not good but try a couple things:
Code:
apt-get -t unstable install debian-keyring
Code:
apt-get -t unstable install install dpkg
then
Code:
apt-get -t unstable install apt
Your computer is a bit resource shy, and depending on what apps you plan on using you might want to check out something like Damnsmalllinux, http://damnsmalllinux.org/
Another distro worth looking at as a LiveCD to HDD is sidux http://sidux.com/
-
well, I'm stucked.
Now I can't upgrade nothing.
allways tell me :
/usr/bin/apt-key: line 16: 26223 Segmentation fault $GPG_CMD --quiet --batch --keyring $ARCHIVE_KEYRING --export
26224 | $GPG --import
dpkg: error processing apt (--configure):
subprocess post-installation script returned error exit status 139
Is there any way to figure aout what's going on wrong ?
"2 not fully installed or removed."
can I rollback APT-KEY ?? or the entire apt?
Regards.
Thanks for your time.
-
Senior Member
registered user
At this point you will have to rely on dpkg if you think it's worth the time.
Open a shell and type:
You will likely have to force the removal of apt and then install aptitude or reinstall apt from .debs that you manually download, for example
Code:
dpkg -P --force-depends apt
Which leaves you without apt-get. Got to http://packages.debian.org/sid/i386/apt/download
then try
Code:
dpkg -i apt_0.7.10_i386.deb
as root, from the directory that you downloaded the .deb to
You should then be able to download aptitude from http://packages.debian.org/sid/i386/aptitude/download
and use dpkg to install it.
Good Luck
-
hi rusty,
yes I allready do that.
the problem was on the binary of gpg, so I download a gnupg packege and installed with dpkg -i ...
And it works !
I have a serius problems on the HD, and sometimes it hangs.
I really thank you for your time, this experience let me know a little more on Linux.
Best Regards
Nicolas
Similar Threads
-
By isc in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 06-25-2008, 09:31 PM
-
By wolfgang-s in forum General Support
Replies: 1
Last Post: 11-25-2004, 01:02 AM
-
By macherb in forum Hdd Install / Debian / Apt
Replies: 18
Last Post: 07-18-2004, 07:41 PM
-
By datakid in forum General Support
Replies: 0
Last Post: 11-07-2003, 07:46 AM
-
By Joe Programmer in forum General Support
Replies: 3
Last Post: 10-07-2003, 03:39 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$100.00

Western Digital Blue 3D NAND 500GB Internal 2.5" SSD - WDS500G2B0A
$49.99

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -
$39.99

Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black...
$30.00

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99

Crucial MX500 250GB 2.5" SATA III SSD - Preowned
$29.00

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$119.99

Intel Solid-State Drive DC S3500 Series 240GB Internal 2.5" (SSDSC2BB240G4P) SSD
$29.99