LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Zenwalk (https://www.linuxquestions.org/questions/zenwalk-75/)
-   -   xnetpkg didn't work for me. (https://www.linuxquestions.org/questions/zenwalk-75/xnetpkg-didnt-work-for-me-710444/)

starkadder 03-10-2009 05:36 AM

xnetpkg didn't work for me.
 
Hi, I took a look at the post "netpkg won't start" because I have the same problem.
I tried xnetpkg and got this:

root[~]# xnetpkg
Can't locate ZW/Netpkg/Netpkg.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i486-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at /usr/sbin/xnetpkg line 19.
BEGIN failed--compilation aborted at /usr/sbin/xnetpkg line 19.
root[~]#

Now I'm lost, will anyone point me in the right direction, please?

gapan 03-10-2009 08:46 AM

What Zenwalk version and what repository are you using? I can see from your post that you have mixed perl 5.10.0 and 5.8.8 packages...

ArfaSmif 03-10-2009 08:58 AM

You better start reading about "cpan". This is the perl communitie's tool for installing perl modules. I don't know a lot about it, but you first have to install "cpan". You don't mention your OS, but for Fedora 10, I would do "yum install cpan". Then you can run "cpan" as root, and begin installing perl modules.

You need to find out exactly which module you need for "Netpkg", which I guess you can search for on the cpan site. For example, I would :-

# cpan (this drops you into a cpan shell)

cpan[1]> help (this is useful)

cpan[2]> install CPAN (this gets you the latest version of cpan)

cpan[3]> reload cpan

cpan[4]> install Module::Name (this is where you put the name of the Netpkg module)

cpan[5]> quit


That's about all I know. Good luck.

starkadder 03-10-2009 09:22 AM

I'm using 5.2 and I generally use ibiblio current. I'm not sure how I managed to get it wrong although I did get something from meleeweb snapshot. the last application I downloaded was "cheese". The last mirror used was ibiblio current and the last package shown in PACKAGES.TXT -/var/netpkg/db was isomaster 1.3.4. I admit that I was unaware that I couldn't use both current and snapshot repositories, I'm amazed that I haven't had a similar problem before.

gapan 03-10-2009 11:37 AM

If you're using a current repo now, it points to Zenwalk 6.0, so you actually tried to do an upgrade to 6.0. That's possible (it's even recommended), but you'll need to follow some simple instructions in the Zenwalk wiki: http://wiki.zenwalk.org/index.php?ti...alk_5.2_to_6.0

starkadder 03-13-2009 02:41 PM

Thanks Gapan,
I didn't really want to upgrade to 6.0 because I tried the RC1 download and I couldn't get anything but low definition on my Pentium PC and nothing on my Athlon but I tried the upgrade anyway. It all seemed to be going well but come the reboot - no go. I downloaded the distribution version of 6.0 and tried that on my Athlon. It installed normally but when I rebooted it hung on starting x server. I tried twice and gave up. I'm having a Zenwalk holiday, either the development has gone further than my equipment can cope with or there is a bug. I'll stick with Puppy for now and take another look at Zenwalk later.
Thanks for all your help.
Titus.

gapan 03-14-2009 06:53 AM

What graphics card do you have?

starkadder 03-16-2009 03:26 PM

My Pentium box has a GeForce2 MX/MX400 and the Athlon box a GeForce FX5200.
Ubuntu, Mint, Puppy, Sabayon, Slitaz, PClinuxOS, Slackware 12.0 and various other bits and bobs have worked on both in the past.

gapan 03-16-2009 03:45 PM

Run videoconfig from init 3. You can get to init 3, if at the lilo prompt you hit the tab key and type "Zenwalk 3" (no quotes). You probably still have an old proprietary nvidia driver installed. The nv driver should work all the time. You can also edit your xorg.conf to change the driver to nv.

starkadder 03-16-2009 05:06 PM

Thanks Gapan,
I'll try that although I don't think there's an old driver present, I scrubbed the hdd, wrote zeros all over it.

gapan 03-17-2009 02:14 AM

You can also try to use the xorg.conf from slackware or any other distribution if you still have it.

starkadder 03-19-2009 02:19 PM

Gapan,
I have finally cracked it! I tried all the suggestions to no avail so, as a last resort, I used my tried and tested magic cure. I installed Ubuntu 6.06.1 LTS and then installed Zenwalk 6.0 over that - it worked. I have used this strange method before with recalcitrant distros, I have no idea why it works, perhaps something to do with partitioning or the MBR but it's worked several times on different systems and HDDs. I've always maintained that with a bit of ingenuity one could install 6.06 on a battery-driven alarm clock, perhaps that's the secret.
Anyway, thanks for your help, I'll run Zenwalk 6.0 on my secondary PC for a while and see how it holds up.
Titus.

gapan 03-19-2009 04:00 PM

That is a amazingly awkward solution, but I'm glad it works for you. :D

starkadder 03-20-2009 03:40 PM

Gapan, I agree entirely that it's an unsatisfactory solution in many ways, for a start it doesn't diagnose the problem but it is a solution and that's what I needed. I use open source software for many reasons but I don't have the time, skill or inclination to continually tinker, I need a mainstream distro that works straight out of the box.
This reply is engendered by a conversation I had today with an aquaintance. He's an experienced programmer and I mentioned Zenwalk to him some time ago. He downloaded 6.0 last week and experienced the same problem as I did. I thought it was me but it looks as if there may be a problem.


All times are GMT -5. The time now is 06:35 PM.