LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installpkg problems... (https://www.linuxquestions.org/questions/linux-newbie-8/installpkg-problems-152037/)

The_Messiah 02-29-2004 09:03 PM

installpkg problems...
 
I'm trying to install some packages, and when I try to do the installpkg *.tgz it always says file doesn't end with .tgz when it really does.

Maybe it isn't in the correct dir. And here's a real noob question...how do you change the dir your in? :mad:

qwijibow 02-29-2004 09:07 PM

cd (relative or abolute path) (means stands for change directory)
'man cd' for more info

jax8 03-01-2004 03:38 AM

try this is a command prompt

tar -zxf thePackageName.fgz

should work

The_Messiah 03-01-2004 12:44 PM

I got it working, but when I used startx it went like it was going to start, then messed up and gave me a whole screen full of stuff, warnings and such, it was so much I wasn't about to write it down so I could post it.

Greyweather 03-01-2004 12:51 PM

What was it that you installed?

The_Messiah 03-01-2004 12:58 PM

I installed these...

xfree86-fonts-misc-4.3.0-noarch-2.tgz

xfree86-4.3.0-i486-6.tgz

xfree86-devel-4.3.0-i486-3.tgz

Greyweather 03-01-2004 01:57 PM

Did you use installpkg or upgradepkg? Unless you installed Slackware without xfree86 at first you should have used upgradepkg.

The_Messiah 03-01-2004 01:58 PM

installpkg, I'm using zipslack.

slakmagik 03-01-2004 06:39 PM

Yeah, installpkg is good and I think those packages will do. Have you configured X yet? You may need to run 'xf86cfg -textmode' (or config method of your choice) to specify monitor, card, etc. Did a message near the end say 'no screens found' or 'screens found but none were usable'? That usually means X is good to go, but your stuff's just not configured. If it doesn't start at all or prints stuff about libs or whatnot, then the install might not be all good. Sounds like you just need to configure.

The_Messiah 03-01-2004 08:27 PM

Here's the last paragraph of the error message I got.

Couldn't load XKB Keymap. Falling back to pre-XKB Keymap cat:/root/.Xauthority:no such file or directory.

Xterm: error while loading shared file library's.

slakmagik 03-01-2004 09:26 PM

Hm. These appear to be the packages and files xterm relies on. (May be outright wrong - I had a hell of a time getting the command to execute - almost certainly imprecise.) This would vary on how your xterm was compiled, I'm sure, but should be the same for (Zip)Slack.

/var/log/packages/elflibs-9.1.0-i486-2:lib/libncurses.so.5.3
/var/log/packages/elflibs-9.1.0-i486-2:usr/lib/libexpat.so.0.4.0
/var/log/packages/elflibs-9.1.0-i486-2:usr/lib/libfreetype.so.6.3.4
/var/log/packages/elflibs-9.1.0-i486-2:usr/lib/libz.so.1.1.4
/var/log/packages/expat-1.95.6-i486-2:usr/lib/libexpat.so.0.4.0
/var/log/packages/expat-1.95.7-i386-1:usr/local/lib/libexpat.so.0.5.0
/var/log/packages/ncurses-5.3-i386-1:lib/libncurses.so.5.3
/var/log/packages/utempter-0.5.2-i486-2:usr/lib/libutempter.so.0.5.2
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libICE.so.6.3
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libSM.so.6.0
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libX11.so.6.2
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libXaw.so.7.0
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libXext.so.6.4
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libXft.so.2.1
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libXmu.so.6.2
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libXpm.so.4.11
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libXrender.so.1.2
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libXt.so.6.0
/var/log/packages/xfree86-4.3.0-i486-5:usr/X11R6/lib/libfontconfig.so.1.0.4
/var/log/packages/xfree86-4.3.0-i486-5:usr/lib/libfreetype.so.6.3.4
/var/log/packages/zlib-1.1.4-i386-3:usr/lib/libz.so.1.1.4

But that shouldn't be preventing X from starting unless maybe you're using that as your 'exec'.

The xkb thing shouldn't really be an issue but you can opt to not include that during the xf86cfg process, I believe.

As far as 'cat:/root/.Xauthority', you're trying to start X as root? I mean, that's not why it isn't working but it's not a good idea in principle. Maybe I'm misreading that, though. .Xauthority has to do with access controls, as I understand it and should just be generated. So either it was complaining while crashing and *would* have created it or it's *not* creating it automatically and that may be the problem.

I'm afraid this, like most things, is beyond me. Try
grep EE /var/log/XFree86.0.log
as root and see what else it says and maybe someone else can help.

The_Messiah 03-03-2004 08:56 PM

I'm still having trouble, I've tried to reconfigure it several times...anyone else have any ideas?


All times are GMT -5. The time now is 01:48 AM.