PDA

View Full Version : Is knoppix 6.4.4 breaking local installations somehow?



Albretch
03-14-2011, 02:23 PM
p { margin-bottom: 0.08in; } I decided to try knoppix 6.4.4 which in a sense I like a bit better: no more problems with the replace feature in leafpad; now they are using OpenJDK, ... , but I have noticed something that is show stopper ...
~
I sometimes need to quickly install and uninstall debian packages for which I use a local repository, and 6.4.4 is not letting me do that. I seem to be trapped in a logical/dependency loop
~
1) if I try to simply install those packages by first going:
~
-get update -o Dir::Etc::SourceList=${_SL} # only needs to be run once
~
2) and then try to install kate
~
apt-get install -V -y --force-yes -o Dir::Etc::SourceList=${_SL} kate
~
I get dependency problems
~
If you try to fix those problems by installing the packages they say you are missing (like lzma), then you get
~
Can't locate Dpkg.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at /usr/bin/dpkg-scanpackages line 8.
BEGIN failed--compilation aborted at /usr/bin/dpkg-scanpackages line 8.
~
and when I look into dpkg-scanpackages (a perl script) there is not much I find
~
# head -8 /usr/bin/dpkg-scanpackages
#!/usr/bin/perl

use warnings;
use strict;

use IO::Handle;
use IO::File;
use Dpkg;
~
Is there a way out of this mess? Has anyone been able to update packages using a local repository?
~
thanks
lbrtchx

utu
03-18-2011, 06:19 PM
@ Albretch

All of our experts seem to be busy, so I'll offer a trivial
suggestion. Why not try synaptic to do your updates?