LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-16-2021, 06:03 PM   #1
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Updating Slackware 14.2 to 15.0 Megathread


Rather than further clutter the Requests for -current thread, this thread is for Slackers who want to help test updating 14.2 to 15.0. This thread is not for those who choose to perform a fresh install.

This was a preliminary first run test only. Updating was successful.

On my 4-core system with SATA III spinners the full update and package removals took about one hour.

I used a familiar stanza of past releases:

Code:
upgradepkg --install-new a/aaa_*.txz
upgradepkg a/pkgtools-*.txz
upgradepkg a/tar-*.txz
upgradepkg a/xz-*.txz
upgradepkg a/findutils-*.txz

for dir in a ap d f k l n t tcl x xap xfce ; do
  ( cd $dir ; upgradepkg --install-new *.t?z )
done
Then removepkg old packages listed in UPGRADE.TXT.

Please notice I did not install any KDE packages.

The first observation is I use a custom partition layout and my system partition size of 20 GB no longer is sufficient. Even without KDE packages I have only about 2.3 GB free space. I will need to remedy that before testing further or testing KDE packages.

Second observation was launching Xfce. The wallpaper background changed to the default.

Third observation is fonts look rough in Xfce.

I haven't dug further. I did not further test the system, did not look at dot new files, did not test anything for breakage, and did not compile new SBo packages. The good news is updating 14.2 to 15.0 does succeed.

Please contribute and feel free to add suggestions.
 
Old 02-16-2021, 06:22 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by upnort View Post
did not look at dot new files
Did you just accept all the changes or you're still running with 14.2 configs?
 
1 members found this post helpful.
Old 02-16-2021, 06:42 PM   #3
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
Did you just accept all the changes or you're still running with 14.2 configs?
14.2 configs. I did not dig further. My first pass was proof-of-concept that updating 14.2 to 15.0 is doable despite the many changes. I'll evaluate the *.new files in a subsequent test session.

I plan to write some kind of testing check list. So much has changed.

I am hoping others will test and participate in bugs and quirks found.
 
Old 02-16-2021, 09:25 PM   #4
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
How to get the moderator to make this a sticky, even if only until 15 is officially released?
 
1 members found this post helpful.
Old 02-17-2021, 03:18 PM   #5
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Did you switch to single-user mode for the upgrade?
 
Old 02-17-2021, 03:35 PM   #6
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
Did you switch to single-user mode for the upgrade?
Not for this test.
 
Old 02-17-2021, 05:05 PM   #7
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
Quote:
Originally Posted by upnort View Post
The first observation is I use a custom partition layout and my system partition size of 20 GB no longer is sufficient. Even without KDE packages I have only about 2.3 GB free space. I will need to remedy that before testing further or testing KDE packages.
Can you elaborate on this? I'm of the many partition school [/, /boot, /var, /usr, /usr/src, /usr/local]. Currently I use about 80% of a 14 GB /usr with full system + multiple SBo builds. (/ is 50% of 2 GB)

I'm guessing this will not be sufficient -- would like to start with about ~70%.
 
Old 02-17-2021, 06:10 PM   #8
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
Can you elaborate on this?
I long have gotten by with 20 GB system partitions. I also have not used KDE since the KDE3 days. Thus my partition size has always been adequate even after installing many SBo packages and MATE.

I have a test partition that is a near clone of my daily system partition. The partition is 20 GB. In my first test as described in my OP I did not install any KDE packages. I was left with an almost full partition. There is no way I could install the KDE packages. I want to test KDE because many people have shared that Plasma is a good desktop environment these days.

I knew increasing the partition size was needed because I found the same issue with my Current VM. In the VM I have the KDE packages installed but not MATE or any SBo packages. I had to increase the VM system partition from 20 GB to 30 GB.

Thus I'll need to resize my system and test partitions. I looked at that today. I am going to double the size to 40 GB. I have to do some shuffling because the affected disk is full, but nothing I haven't done before. Just nominally annoying and time consuming.

I hope that helps.
 
1 members found this post helpful.
Old 02-17-2021, 06:23 PM   #9
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by upnort View Post
<snip>

Third observation is fonts look rough in Xfce.
I think in settings Manager / Fonts / Rendering
you have to disable and enable anti-aliasing once to have proper fonts.
and set hinting to slight, RGB. At least I use slight, and that's just right for my taste.
 
1 members found this post helpful.
Old 02-17-2021, 06:43 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by fsbooks View Post
Can you elaborate on this? I'm of the many partition school [/, /boot, /var, /usr, /usr/src, /usr/local]. Currently I use about 80% of a 14 GB /usr with full system + multiple SBo builds. (/ is 50% of 2 GB)

I'm guessing this will not be sufficient -- would like to start with about ~70%.
I installed all the -current packages into a directory and then got the disk usage for that directory. Below is the output:

Code:
15G     .
15M     ./bin
42M     ./boot
236K    ./dev
18M     ./etc
8.0K    ./home
936M    ./lib
30M     ./lib64
64K     ./media
40K     ./mnt
4.0K    ./opt
4.0K    ./proc
4.0K    ./root
20K     ./run
28M     ./sbin
4.0K    ./srv
4.0K    ./sys
4.0K    ./tmp
14G     ./usr
57M     ./var
/usr is divided up to:

Code:
14G     usr
4.0K    usr/X11R6
1.2G    usr/bin
1.3G    usr/doc
1.8M    usr/games
552M    usr/include
21M     usr/info
5.4M    usr/lib
4.9G    usr/lib64
387M    usr/libexec
136K    usr/local
105M    usr/man
108K    usr/plasma
64M     usr/sbin
4.4G    usr/share
1.1G    usr/src
12K     usr/x86_64-slackware-linux
 
2 members found this post helpful.
Old 02-17-2021, 06:54 PM   #11
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
I think in settings Manager / Fonts / Rendering
you have to disable and enable anti-aliasing once to have proper fonts.
So slap Xfce upside the head?
 
3 members found this post helpful.
Old 02-18-2021, 02:08 AM   #12
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Post

This might be a little over the top but here mine considerations (I've ran -current up to the big re-compile and am on a clean installed 14.2 as of writing this):

Recommended root partition sizes (by silly me):

1. Basic office on Slackware: 40G /
2. Home Computer ("has all does all") 75 G /
3. Future Proofing Enthusiast PC (that's me) 120G /

Some 2.5 GB for swap (we long since buy (or download for that matter ) more RAM and use swap to only hibernate nowdays anyhow)

and the rest is for /home

Rationale:

a) We want some (and some more) leeway for building and possibly keeping build packages in permanent /tmp (if we want that at all)
b) There seems to be a motion in leaving tight and peaceful partitions behind in favor of more simple layout (have only /, swap and /home)
c) Ever more essential tools move to /usr/*bin and ever more systems boot from some sort of initial packed file system - the /bin concept seems to grow inherently ever more obsolete anyway
d) it seems that running parallel installs is competing with root-jailed and virtualized installs and it seems to be loosing the race (except in rare occasions when the main install borks - but that's what live thumb-drives are for)

TL;DR:

I - Get a live thumb-drive and keep it updated and handy (I promise you'll need it once in a while (make that two thumb-drives))
II - Fuze the space for system partitions and install a stable Slackware there
III - Get going on virtual/containerized options to track -current - some options AFAIK even offer access to video acceleration nowdays
 
Old 02-18-2021, 02:27 AM   #13
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by upnort View Post
So slap Xfce upside the head?
Yeah kinda :P

But that's probably a standard issue with an upgrade of Desktop Managers, the little inconsistencies here and there.
 
Old 02-18-2021, 02:45 AM   #14
Toutatis
Member
 
Registered: Feb 2013
Posts: 415

Rep: Reputation: Disabled
My root partition in on a SSD, and 40% of the partition is used.
During the massive update, I also run 'fstrim' in the middle of the process, and in the end.
I don't know if it is really necessary, but it does not hurt.
 
Old 02-18-2021, 10:59 AM   #15
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Toutatis View Post
During the massive update, I also run 'fstrim' in the middle of the process, and in the end.
I don't know if it is really necessary, but it does not hurt.
It isn't really necessary during the install. NAND memory is different than a mechanical platter in harddrives. The memory needs to be reset before it can be written (compared to magnetic storage like regular harddrives which can just overwrite the previous data without resetting). When an item is deleted, it is simply marked as deleted by the controller, but the data remains on the harddrive. Trimming an SSD will reset those blocks so they're ready to be rewritten. You can either trim it manually using fstrim or have the system do it automatically by setting the discard option in your fstab (or mount options if you're mounting manually). There are still some sites that recommend against using the discard option, but I think they're outdated and were tied to issues when discard was first introduced. I've kept discard in my fstab for years without any known issues.

If you don't trim the drive, then if it needs to be written to, the system needs to then reset the block manually before it can write data to it (although, the controller will typically try and find open spots that are already reset to maximize speed), which will cause a slowdown in data operations. This is why it's ideal to trim the drive periodically so it is ready for data when the system wants to write it.

When you're in the middle of data intensive operations (like upgrading the system), running fstrim will reset all blocks that were marked for deletion, but all those blocks might not need to be reset to finish the data operations, which could increase your overall time.

It definitely didn't cause any problems, but it likely added a small amount of time to the total duration of your upgrade.
 
3 members found this post helpful.
  


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
The Ultimate "When Will The Next Slackware Release Arrive" MegaThread slackamp Slackware 1429 10-03-2006 05:47 AM
Ubuntu - ALL FINE NOW! - Megathread FreeDoughnut Ubuntu 41 07-24-2006 08:53 AM

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

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