LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-26-2021, 12:42 PM   #1
RuebeSoft
LQ Newbie
 
Registered: May 2021
Posts: 8

Rep: Reputation: Disabled
Slackware ISO boots on i486 but package installation fails


I want to use Slackware on my ancient i486 DX to use my 5.25" Floppy with TRS-80 Emulator.

I was happy to see, that Slackware still supports i486. I just tested the installation from slackware-14.2-install-dvd.iso with qemu-system-i386 -cpu 486 ...
I can successfully boot the iso with boot-parameter: huge.s and uname -a shows me a 486 kernel.
But package installtion from iso failed with the setup utility, because it tries to install x86_x64 packages instead of i486.

The setup tool gives error messages on every package like this:
ldconfig: ../sysdeps/x86_64/cacheinfo.c:262: handle_intel: Assertion 'maxidx >=2' failed.
/usr/lib/setup/installpkg: line 271: 2769 Aborted

Can someone help me? Or is there an optional way to install slackware on i486 Computer?
 
Old 05-26-2021, 12:52 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Hello RuebeSoft & welcome to LQ. Your error was
Code:
The setup tool gives error messages on every package like this:
ldconfig: ../sysdeps/x86_64/cacheinfo.c:262: handle_intel: Assertion 'maxidx >=2' failed.
/usr/lib/setup/installpkg: line 271: 2769 Aborted
Something in there is 64bit. Are you running the install from a 64bit PC? You can check the ldconfig with

file /path/to/ldconfig

EDIT: 32bit packages have i486 in them; 64bit have x86_64 in them.

Last edited by business_kid; 05-26-2021 at 02:40 PM.
 
Old 05-26-2021, 04:20 PM   #3
RuebeSoft
LQ Newbie
 
Registered: May 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi, unfortunately the file command is not available with the ISO boot system.

But when I execute /sbin/ldconfig I get this error:
ldconfig: ../sysdeps/x86_64/cacheinfo.c:262: handle_intel: Assertion 'maxidx >= 2' failed.
Aborted.

And uname -a gives me:
Linux slackware 4.4.14 #2 Fri Jun 24 15:28:18 CDT 2016 i486 GNU/Linux
 
Old 05-27-2021, 01:49 AM   #4
RuebeSoft
LQ Newbie
 
Registered: May 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
In the meantime I found a solution here: https://www.linuxquestions.org/quest...mx-4175609184/

I did what Didier explained:

Start the machine with the installation media inserted, then as soon as logged in as "root" type:
Code:

lsblk -o model,name,size,fstype # to check the installed system's root partition's. Let's assume it's hda1.
mount /dev/hda1 /mnt
ROOT=/mnt removepkg glibc-solibs
ROOT=/mnt removepkg glibc
wget http://ftp.slackware.com/pub/slackwa..._slack14.2.txz
wget http://ftp.slackware.com/pub/slackwa..._slack14.2.txz
installpkg --root /mnt glibc-2.23-i586-4_slack14.2.txz
installpkg --root /mnt glibc-solibs-2.23-i586-4_slack14.2.txz
umount /mnt

Then, remove the installation media and reboot.

Hint: To get wget working on ISO boot you have to execute "pxesetup" to setup a network connection first.

Last edited by RuebeSoft; 05-27-2021 at 01:51 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
[SOLVED] Shall I use i486 or i586 for my Slackware package builds girvinh Slackware 5 09-08-2016 02:28 AM
Differences php-5.2.13-i486-2 and php-5.3.6-i486-1 slackissme Slackware 1 03-20-2011 03:10 AM
Does anyone Know how to open either .iso.rz or these .iso.xdelta,.iso.bz2,.iso.lzma?? maximalred Debian 5 06-09-2004 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration