Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-03-2022, 05:07 PM
|
#1
|
Senior Member
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349
|
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 ?
|
|
|
11-03-2022, 09:43 PM
|
#2
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Rep:
|
Quote:
Originally Posted by saxa
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>
|
|
|
11-04-2022, 04:59 AM
|
#3
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
|
|
1 members found this post helpful.
|
11-04-2022, 05:40 AM
|
#4
|
Senior Member
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349
Original Poster
|
Quote:
Originally Posted by sndwvs
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.
|
|
|
11-04-2022, 05:41 AM
|
#5
|
Senior Member
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349
Original Poster
|
Quote:
Originally Posted by drmozes
|
So this means I have to restart over from scratch ?
|
|
|
11-04-2022, 05:42 AM
|
#6
|
Senior Member
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349
Original Poster
|
|
|
|
11-04-2022, 10:50 AM
|
#7
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
Quote:
Originally Posted by saxa
|
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.
|
|
|
11-08-2022, 09:34 AM
|
#8
|
Senior Member
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349
Original Poster
|
@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.
|
|
|
11-12-2022, 02:58 AM
|
#9
|
Senior Member
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349
Original Poster
|
Ok, I thought, since I have to start from scratch would not be better to go directly to the aarch64 slackware current version ?
|
|
|
11-12-2022, 08:21 AM
|
#10
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Rep:
|
Quote:
Originally Posted by saxa
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).
|
|
|
11-12-2022, 04:10 PM
|
#11
|
Senior Member
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349
Original Poster
|
@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.
|
|
|
11-12-2022, 04:40 PM
|
#12
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Rep:
|
Quote:
Originally Posted by saxa
@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)
|
|
|
11-12-2022, 05:05 PM
|
#13
|
Senior Member
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349
Original Poster
|
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.
|
|
|
11-12-2022, 05:13 PM
|
#14
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Rep:
|
Quote:
Originally Posted by saxa
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
|
|
|
11-14-2022, 04:54 AM
|
#15
|
Senior Member
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,349
Original Poster
|
Cool, I didnt knew about that, many thanks @sndwvs !
|
|
|
All times are GMT -5. The time now is 07:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|