Discussion:
libtermcap.so not found
Add Reply
Richmond
2018-09-04 20:50:35 UTC
Reply
Permalink
Raw Message
I installed slackware 14.2 64 bit. I then downloaded all the patches. I
then set about upgrading with:

find . -name "*.txz" |xargs upgradepkg

At some point during this, libtermcap.so went missing and then nothing
would work, and I had to re-install the system. How do I prevent this? I
have a suspicion that it has to do with lib v lib64.
--
~
John McCue
2018-09-04 22:58:36 UTC
Reply
Permalink
Raw Message
Post by Richmond
I installed slackware 14.2 64 bit. I then downloaded all the patches. I
find . -name "*.txz" |xargs upgradepkg
At some point during this, libtermcap.so went missing and then nothing
would work, and I had to re-install the system. How do I prevent this? I
have a suspicion that it has to do with lib v lib64.
I have Slackware 14.2 64bit and I also have
/usr/lib64/libtermcap.so

Did you do the recommended full install ?
If you did not that is whut it is missing.

BTW it is in these packages:
aaa_elflibs-14.2-x86_64-23
libtermcap-1.2.3-x86_64-7
which would have been installed if you did
a full install when you installed 14.2

regards,
John
Richmond
2018-09-05 03:43:28 UTC
Reply
Permalink
Raw Message
Post by John McCue
Post by Richmond
I installed slackware 14.2 64 bit. I then downloaded all the patches. I
find . -name "*.txz" |xargs upgradepkg
At some point during this, libtermcap.so went missing and then nothing
would work, and I had to re-install the system. How do I prevent this? I
have a suspicion that it has to do with lib v lib64.
I have Slackware 14.2 64bit and I also have
/usr/lib64/libtermcap.so
Did you do the recommended full install ?
If you did not that is whut it is missing.
aaa_elflibs-14.2-x86_64-23
libtermcap-1.2.3-x86_64-7
which would have been installed if you did
a full install when you installed 14.2
Yes I did a full install and the system was working. In fact I have done
a full install again and the system is working again, I am using it to
send this. But it was the upgrade of the packages which caused termcap
to disappear, so I need to know how to avoid it happening again or I
won't be able to upgrade the packages with the patches.

Once it has failed with the termcap error, nothing works. Installing
packages won't work. Switching user won't work. If I log out I am unable
to log in again. Single user mode won't work.
--
~
Henrik Carlqvist
2018-09-05 06:02:01 UTC
Reply
Permalink
Raw Message
Post by Richmond
find . -name "*.txz" |xargs upgradepkg
At some point during this, libtermcap.so went missing and then nothing
would work, and I had to re-install the system.
Did you see which patch package was the last to be upgraded before you
got this error?

As far as I know, libtermcap has not been updated by any Slackware 14.2
patch package so it should not have been touched by this upgrade
procedure.

If you get a unusable system again doing the same, maybe it would be
possible to use some live CD to boot and mount your harddisk partitions
and look what went wrong. Things to look for might be whether /lib64/
libtermcap.so* still exist, if /usr/lib64/libtermcap.so still exist and
is a symbolic link to /lib64/libtermcap.so.2.0.8 and both /lib64 and /usr/
lib64 are still listed in /etc/ld.so.conf. It might also be worth
examining the newest files in /var/log/packages and
/var/log/removed_packages.

regards Henrik
Richmond
2018-09-05 10:47:34 UTC
Reply
Permalink
Raw Message
Post by Henrik Carlqvist
Post by Richmond
find . -name "*.txz" |xargs upgradepkg
At some point during this, libtermcap.so went missing and then nothing
would work, and I had to re-install the system.
Did you see which patch package was the last to be upgraded before you
got this error?
As far as I know, libtermcap has not been updated by any Slackware 14.2
patch package so it should not have been touched by this upgrade
procedure.
I think I have got there now, third time lucky. I used slackpkg to do
the update instead.
--
~
jrg
2018-09-05 21:01:08 UTC
Reply
Permalink
Raw Message
Post by Richmond
Post by Henrik Carlqvist
Post by Richmond
find . -name "*.txz" |xargs upgradepkg
At some point during this, libtermcap.so went missing and then nothing
would work, and I had to re-install the system.
Did you see which patch package was the last to be upgraded before you
got this error?
As far as I know, libtermcap has not been updated by any Slackware 14.2
patch package so it should not have been touched by this upgrade
procedure.
I think I have got there now, third time lucky. I used slackpkg to do
the update instead.
I was wondering why you didn't use slackpkg to begin with then it
occured to me that you are probably a pre-slackpkg user. You may want
to blacklist libtermcap.so so it won't update automagically?
Richmond
2018-09-06 14:47:18 UTC
Reply
Permalink
Raw Message
Post by Richmond
Post by Henrik Carlqvist
Post by Richmond
find . -name "*.txz" |xargs upgradepkg
At some point during this, libtermcap.so went missing and then nothing
would work, and I had to re-install the system.
Did you see which patch package was the last to be upgraded before you
got this error?
As far as I know, libtermcap has not been updated by any Slackware 14.2
patch package so it should not have been touched by this upgrade
procedure.
I think I have got there now, third time lucky. I used slackpkg to do
the update instead.
I was wondering why you didn't use slackpkg to begin with then it occured to
me that you are probably a pre-slackpkg user. You may want to blacklist
libtermcap.so so it won't update automagically?
I tried slackpkg a long time ago, but something went wrong, and so I
have since used the above manual method. I am not sure what went wrong
this time. My guess is the order which packages are installed is
significant. The find command does not list the packages in alphabetical
order, so maybe if I had done find . -print|sort etc then it would have
worked.

Anyway I rather like slackpkg now, as it does the kernel/lilo for me
too. That was always a seperate step.
--
~
josemanuel
2018-09-08 09:05:10 UTC
Reply
Permalink
Raw Message
Post by Richmond
find . -name "*.txz" |xargs upgradepkg
I see you already solved it, but just in case it helps anyone else,
there's a designated order in which packages should be installed when
upgrading the whole distribution. Check the file UPGRADE.TXT in your
installation media.
--
José Manuel García-Patos
Madrid
Loading...