LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 14 - Problems Starting X (https://www.linuxquestions.org/questions/slackware-14/slackware-14-problems-starting-x-4175445172/)

tifcg 01-11-2013 04:54 PM

The result of - echo $PATH: /usr/local/sbin:/usr/sbin:/sbin:/user/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin

After issuing: upgradepkg --install-new slackware*/n/iputils-*.txz slackware*/ap/slackpkg-*.txz
I get file not found...

I looked in the /mnt/dvd/slackware64/n/ directory and found iputils-s20101006-x86_64-2.txz but not one that ends in .tgz
I tried the upgradepkg --install-new on the .txz file and it said it was being skipped because it was already installed.

Then I looked in the /mnt/dvd/slackware64/ap/ directory and found slackpkg-2.82.0-noarch-8.tgz no not one that ends in .txz
I tried the upgradepkg --install-new on the .tgz file and it said it was being skipped because it was already installed.

It seems strange that I had exactly the opposite of what we were looking for. :-)

Here are the results of which slackpkg:
which: no slacpkg in (/usr/local/sbin:/usr/sbin:/sbin:/user/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin)

Here are the results of which ping:
which: no ping in (/usr/local/sbin:/usr/sbin:/sbin:/user/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin)

tifcg 01-11-2013 04:56 PM

I made another typo in the results section regarding "which slack" but this was correct in the console.

TobiSGD 01-11-2013 05:06 PM

Please post the output of
Code:

ls -l /usr/bin/slackpkg
Please use code-tags to post output from commands and the commands itself. If you don't know how to use them just look at the link in my signature.

ruario 01-11-2013 05:13 PM

Quote:

Originally Posted by tifcg (Post 4868054)
I looked in the /mnt/dvd/slackware64/n/ directory and found iputils-s20101006-x86_64-2.txz but not one that ends in .tgz
I tried the upgradepkg --install-new on the .txz file and it said it was being skipped because it was already installed.

Then I looked in the /mnt/dvd/slackware64/ap/ directory and found slackpkg-2.82.0-noarch-8.tgz no not one that ends in .txz
I tried the upgradepkg --install-new on the .tgz file and it said it was being skipped because it was already installed.

It seems strange that I had exactly the opposite of what we were looking for. :-)

Nah, I just wrote a bad example. I should have used *.t?z. My fault. In any case you confirmed they were both installed.

Quote:

Originally Posted by tifcg (Post 4868054)
Here are the results of which slackpkg:
which: no slacpkg in (/usr/local/sbin:/usr/sbin:/sbin:/user/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin)

Here are the results of which ping:
which: no ping in (/usr/local/sbin:/usr/sbin:/sbin:/user/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin)

This however makes no sense (I'm ignoring your mistype, as I read your later comment).

I'll be very interested in your response to TobiSGD's question.

ruario 01-11-2013 05:18 PM

Actually I think TobiSGD meant:

Code:

ls -l /usr/sbin/slackpkg

tifcg 01-11-2013 05:26 PM

Same for both...

cannot access /usr/sbin/slackpkg: no such file or directory
cannot access /usr/bin/slackpkg: no such file or directory

Thank you so much for digging into this with me!

tifcg 01-11-2013 05:30 PM

I'm not sure if this is relevant but...
"locate slackpkg" gives: /var/log/packages/slackpkg-2.82.0-noarch-8

ruario 01-11-2013 05:43 PM

Quote:

Originally Posted by tifcg (Post 4868066)
cannot access /usr/sbin/slackpkg: no such file or directory
cannot access /usr/bin/slackpkg: no such file or directory

Quote:

Originally Posted by tifcg (Post 4868067)
I'm not sure if this is relevant but...
"locate slackpkg" gives: /var/log/packages/slackpkg-2.82.0-noarch-8

So you your package database /var/log/packages/* appears to not be in sync with what is actually installed/available. Hmm ...

What is your partitioning scheme? Did you put /usr on its own partition and if yes, is it actually mounted?

tifcg 01-11-2013 05:55 PM

Newbie here...sorry :-) I accepted the defaults for most options.

I do know that /dev/sda2 is mounted at / and /usr is under / along with /etc, /home, /root, /lib, /opt, /var and list goes on.

TobiSGD 01-11-2013 06:09 PM

Quote:

Originally Posted by ruario (Post 4868063)
Actually I think TobiSGD meant:

Code:

ls -l /usr/sbin/slackpkg

Of course, seems to me that this thread attracts typos. ;)

Anyways, there seems to be something seriously wrong with this machine. I would recommend to make a clean re-install and see if the same or at least similar issues occur again. If so, this might as well be a hardware problem (failing disk or memory would come to my mind).

But before you do that, I would like to see the output of the commands
Code:

df -h
ls /usr/sbin

Since the output of the ls command will be rather lengthy (~420 files) please don't forget to use code-tags for the output of those commands.

tifcg 01-11-2013 06:17 PM

df -h:

/dev/sda2 size: 222G - Used: 6.0G - Avail: 205G - Mounted /
tmpfs size: 1.9G - Used: 0G - Avail: 1.9G - Mounted /dev/shm
/dev/sr0 size: 2.3G - Used: 2.3G - Avail: 0G - Mounted /mnt/dvd

ls /usr/sbin resulted in about 151 results. I don't have a way to copy/paste here and that's a lot to type! :-)

I've installed 3 times with this media with the same result. I'm going to re-burn the media and try again. I'll post an update...

TobiSGD 01-11-2013 06:33 PM

Quote:

Originally Posted by tifcg (Post 4868083)
ls /usr/sbin resulted in about 151 results.

I have some extra software installed on my system, but not enough that I have 270 files more in that directory than a standard install.
Also, 6GB used space seems to little for me for a full install, but I currently have no clean install to compare.

tifcg 01-11-2013 06:36 PM

While burning the media again I had some errors. I'm downloading again and will try again. I'll update... Thanks again.

wigry 01-12-2013 03:06 AM

What about

Code:

cat /var/log/packages/slackpkg*
The thing is that while upgrading over the internet, I've managed to install a package but no files were copied and the resulting file in /var/log/packages was empty (emlisted 0 files) althoigh installpkg insisted, that it was already installed. Had to do removepkg and then again installpkg.

I have slack-14 32-bit standard full install and I have 415 entries in /usr/sbin. So you really are missing files in your system although everything seems to be installed.

For me full install takes around 11G although I've added Java and eclipse there already that might take some room but yes 6G is way too little.

tuxbg 01-12-2013 06:01 AM

Maybe the slackware iso you installed is a broken


All times are GMT -5. The time now is 04:22 PM.