LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 11-03-2022, 05:07 PM   #1
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Advice on upgrading from 14.2 current


Hello, I would like to get an advice for the following thingy.

I have a BananaPRO and this is what uname -a shows:
Linux bananapro.rc.com 5.4.8-armv7 #2 SMP Sun Jan 5 12:46:30 GMT 2020 armv7l Allwinner sun7i (A20) Family GNU/Linux

I run slackware current in between 14.2 and 15.0.
I wanted to upgrade to 15.0 and then I run "slackpkg upgrade a"
and since slackwarearm-current folder does not exist anylonger
I put slackwarearm-15.0 in the etc/slackpkg/mirrors.

Then it upgraded aaa_base-14.2-arm-5 package using ./aaa_base-15.0-arm-4_slack15.0.txz, after that
Upgrading aaa_terminfo-6.1_20191228-arm-1 package using ./aaa_terminfo-6.3-arm-1.txz

and then i got the following error
Code:
+==============================================================================
| Upgrading acl-2.2.53-arm-2 package using ./acl-2.3.1-arm-1.txz
+==============================================================================
Pre-installing package acl-2.3.1-arm-1...
sed: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /lib/libacl.so.1)
cp: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /lib/libacl.so.1)
chmod: cannot access '/var/lib/pkgtools/scripts/acl-2.3.1-arm-1': No such file or directory
sed: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /lib/libacl.so.1)
Removing package: packages
sed: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /lib/libacl.so.1)
^C
You have mail in /var/spool/mail/root
root@bananapro:~# slackpkg upgrade all
sed: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /lib/libacl.so.1)

You do not have any mirror selected in /etc/slackpkg/mirrors
Please edit that file and uncomment ONE mirror.  Slackpkg
only works with ONE mirror selected.
So I interrupted the upgrade and updated some other packages like xz, sed, tar and glibc but i am still getting that error
and now I would like to get back to what I had manually, but
I do not find anymore these packages I had on the mirrors.

So the big question is, what should I do, upgrade to slackwarearm-15.0 or should I go back ?
 
Old 11-03-2022, 09:43 PM   #2
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,098

Rep: Reputation: Disabled
Quote:
Originally Posted by saxa View Post
Hello, I would like to get an advice for the following thingy.

I have a BananaPRO and this is what uname -a shows:
Linux bananapro.rc.com 5.4.8-armv7 #2 SMP Sun Jan 5 12:46:30 GMT 2020 armv7l Allwinner sun7i (A20) Family GNU/Linux

I run slackware current in between 14.2 and 15.0.
I wanted to upgrade to 15.0 and then I run "slackpkg upgrade a"
and since slackwarearm-current folder does not exist anylonger
I put slackwarearm-15.0 in the etc/slackpkg/mirrors.

Then it upgraded aaa_base-14.2-arm-5 package using ./aaa_base-15.0-arm-4_slack15.0.txz, after that
Upgrading aaa_terminfo-6.1_20191228-arm-1 package using ./aaa_terminfo-6.3-arm-1.txz

and then i got the following error
Code:
+==============================================================================
| Upgrading acl-2.2.53-arm-2 package using ./acl-2.3.1-arm-1.txz
+==============================================================================
Pre-installing package acl-2.3.1-arm-1...
sed: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /lib/libacl.so.1)
cp: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /lib/libacl.so.1)
chmod: cannot access '/var/lib/pkgtools/scripts/acl-2.3.1-arm-1': No such file or directory
sed: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /lib/libacl.so.1)
Removing package: packages
sed: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /lib/libacl.so.1)
^C
You have mail in /var/spool/mail/root
root@bananapro:~# slackpkg upgrade all
sed: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /lib/libacl.so.1)

You do not have any mirror selected in /etc/slackpkg/mirrors
Please edit that file and uncomment ONE mirror.  Slackpkg
only works with ONE mirror selected.
So I interrupted the upgrade and updated some other packages like xz, sed, tar and glibc but i am still getting that error
and now I would like to get back to what I had manually, but
I do not find anymore these packages I had on the mirrors.

So the big question is, what should I do, upgrade to slackwarearm-15.0 or should I go back ?
just update
Code:
ROOT=/<mount point> upgradepkg /<path to packages>
 
Old 11-04-2022, 04:59 AM   #3
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617

Rep: Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346
Hi

Please see here.
 
1 members found this post helpful.
Old 11-04-2022, 05:40 AM   #4
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Quote:
Originally Posted by sndwvs View Post
just update
Code:
ROOT=/<mount point> upgradepkg /<path to packages>
Hi thanks, the problem is that I do not have these packages anymore, and have serched the net and could not find them. This is why i was asking if it was possible to upgrade.
But then I saw the UPGRADE.TXT file in the slackwarearm-15.0 and afai understood it is not possible to directly upgrade.
 
Old 11-04-2022, 05:41 AM   #5
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Quote:
Originally Posted by drmozes View Post
Hi

Please see here.
So this means I have to restart over from scratch ?
 
Old 11-04-2022, 05:42 AM   #6
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
if i understand it correctly this is my guide:

http://ftp.arm.slackware.com/slackwa...Winner_A20.TXT
 
Old 11-04-2022, 10:50 AM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617

Rep: Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346
Quote:
Originally Posted by saxa View Post
if i understand it correctly this is my guide:

http://ftp.arm.slackware.com/slackwa...Winner_A20.TXT
Correct and yes you must reinstall from scratch, as it says in the upgrade doc.

Also, even if an in-place upgrade was supported, you must to it in a particular order. The UPGRADE.TXT in x86_64 explains it if you're interested generally, but again you cannot follow it anyway for the reason stated in ARM 15.0's UPGRADE.TXT.
 
Old 11-08-2022, 09:34 AM   #8
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
@drmozes, thanks, yes I am aware of the upgrade process, did it already many times on x86-64 , i know it works also by doing it with slackpkg although its not the correct way and i did it in the past by 2 times installing the packages, just for my lazyness, anyway will restart from scratch on this bananapro.
 
Old 11-12-2022, 02:58 AM   #9
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Ok, I thought, since I have to start from scratch would not be better to go directly to the aarch64 slackware current version ?
 
Old 11-12-2022, 08:21 AM   #10
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,098

Rep: Reputation: Disabled
Quote:
Originally Posted by saxa View Post
Ok, I thought, since I have to start from scratch would not be better to go directly to the aarch64 slackware current version ?
if you understand that current can sometimes break the work (although I don’t remember this for a long time) of the current system.
and about reinstalling, you're in vain, you just need to update the matching packages (using ROOT=<old system>) remove packages that are no longer used and add new ones (if necessary).
 
Old 11-12-2022, 04:10 PM   #11
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
@sndwvs, so you are suggesting me to update directly with upgradepkg without restarting from scratch ? Basically doing it as per the UPGRADE.TXT from slackware x86 tree ?
I am aware of the issues i can have with -current tree. Thats nothing wrong for me.
 
Old 11-12-2022, 04:40 PM   #12
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,098

Rep: Reputation: Disabled
Quote:
Originally Posted by saxa View Post
@sndwvs, so you are suggesting me to update directly with upgradepkg without restarting from scratch ? Basically doing it as per the UPGRADE.TXT from slackware x86 tree ?
I am aware of the issues i can have with -current tree. Thats nothing wrong for me.
Yes, I suggest doing an upgrade using upgradepkg, but taking into account the UPGRADE.TXT file, but you can also ignore it. just update all packages then chroot (if done on aarch64 architecture) and clean with slackpkg clean-system, and fix (reinstall missing packages)
 
Old 11-12-2022, 05:05 PM   #13
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
x86-64 machines I upgrade that way, but I am not 100% sure if aarch64 supports the A20 allwiner chip on my bananapro, it should from what I looked around, but still a bin in a doubt.
So maybe I firstly try to buy a new sdcard and make a fresh install over there, and then I can see if all goes well to try to upgrade as you say.
 
Old 11-12-2022, 05:13 PM   #14
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,098

Rep: Reputation: Disabled
Quote:
Originally Posted by saxa View Post
x86-64 machines I upgrade that way, but I am not 100% sure if aarch64 supports the A20 allwiner chip on my bananapro, it should from what I looked around, but still a bin in a doubt.
So maybe I firstly try to buy a new sdcard and make a fresh install over there, and then I can see if all goes well to try to upgrade as you say.
A20 allwiner is aarch32, so if we are talking about A20, then at the moment current is only from bonslack
 
Old 11-14-2022, 04:54 AM   #15
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Cool, I didnt knew about that, many thanks @sndwvs !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Advice - upgrading gtk+2 tdos20 Slackware 4 02-25-2010 10:48 PM
CentOS 4.5: Advice on upgrading memory beyond 4GB with VMWare involved harry edwards Linux - Server 2 01-26-2008 08:48 AM
Advice on upgrading? fannymites Debian 4 02-25-2005 01:52 PM
Need some advice on upgrading kernel via make-kpkg davidas Debian 4 04-07-2004 08:02 PM
Upgrading advice needed jester_69 Linux - General 2 09-19-2002 09:39 AM

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

All times are GMT -5. The time now is 07:19 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