LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-20-2021, 04:22 PM   #31
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
OP here. Perhaps the SSD trim discussion is off topic?
You're the one whoIt's titled it a megathread... they always go off topic. But the original question was asked in here, so I responded in here. I don't have the ability to break off discussions into new topics. If you feel that is needed, feel free to report the posts and a mod can take it from there.

EDIT: Sorry, I realize now that it came off as attacking. It wasn't meant that way!

Last edited by bassmadrigal; 02-20-2021 at 04:55 PM.
 
1 members found this post helpful.
Old 02-20-2021, 06:50 PM   #32
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
Quote:
Originally Posted by upnort View Post
OP here. Perhaps the SSD trim discussion is off topic?
I was kind of thinking the same thing. However, SSD storage is a lot more common now than it was when 14.2 was released 4 years and 7 months ago. So perhaps it is on-topic after all.
 
Old 02-21-2021, 02:50 AM   #33
Toutatis
Member
 
Registered: Feb 2013
Posts: 415

Rep: Reputation: Disabled
@upnort

This huge update will change almost everything in the root partition. On my main computer 40% of the partition is used, but on a laptop it is almost 80%. This is why I asked if there is something to do during the update (fstrim in my message) to improve the health or performance of this partition, or if the hardware of the filesystem are able to manage this.
In the same way, the size of kde is 1/3 of the packages. To update everything in kde I 'upgradepkg' every package in kde/. Maybe it is better (for fragmentation) to 'removepkg' the old versions of everything, and then 'installpkg' the new ones.
 
Old 02-21-2021, 04:31 PM   #34
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
In the same way, the size of kde is 1/3 of the packages. To update everything in kde I 'upgradepkg' every package in kde/. Maybe it is better (for fragmentation) to 'removepkg' the old versions of everything, and then 'installpkg' the new ones.
If you're not running KDE at the time of upgrading (which you shouldn't really be running any GUI and ideally should be in init 1), it shouldn't be an issue to removepkg everything from kde/ first and then installpkg the new stuff, but if you do that for any other directories, it could break system packages that are needed to properly upgrade the system (however, if you installed aaa_glibc and aaa_libraries, the chances of that should be slim to none).

Last edited by bassmadrigal; 02-21-2021 at 06:37 PM.
 
Old 02-21-2021, 05:36 PM   #35
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
I have tested first removing all packages. Doing so removes the important system packages and hangs the system. Let upgradepkg --install-new handle the bulk of the load. Then remove the stale packages.
 
Old 02-21-2021, 05:55 PM   #36
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
Quote:
Originally Posted by upnort View Post
I have tested first removing all packages. Doing so removes the important system packages and hangs the system.
And you didn't record the display as you did this? I'm so disappointed. I guess I'll just have to wreck one of my own Slackware systems to see what it looks like. I'm pretty sure I have a laptop around here somewhere...
 
Old 02-21-2021, 06:14 PM   #37
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:
And you didn't record the display as you did this?
I wasn't interested in "show and tell." I just wanted to get my shell script wrapper to function correctly. All work and no play makes me a dull person.
 
1 members found this post helpful.
Old 02-21-2021, 09:46 PM   #38
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:
Second observation was launching Xfce. The wallpaper background changed to the default.
Looks like the difference is a new monitorLVDS-1 entry in ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml. I think the entry replaces the monitor0 entry but I haven't yet tested with a simple text edit.

Quote:
Third observation is fonts look rough in Xfce.
Looks like this is resolved with editing /etc/profile.d/freetype.sh to use classic hinting version=35.

Last edited by upnort; 02-21-2021 at 09:51 PM.
 
Old 02-22-2021, 01:48 AM   #39
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by Toutatis View Post
Maybe it is better (for fragmentation) to 'removepkg' the old versions of everything, and then 'installpkg' the new ones.
you can use e4defrag -c to get a defragmentation status (ext4 only), and use the same binary to defrag if necessary. e4defrag is part of e2fsprogs and has a man page.

you can issue a manual fstrim -v -all if worried about trimming, before and after the upgrade.

Last edited by Martinus2u; 02-22-2021 at 01:51 AM.
 
Old 02-22-2021, 01:20 PM   #40
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
In Current, spoof protection in /etc/host.conf will create stderr spew. Easy to fix by removing the spoof options. Some details here.
 
Old 03-02-2021, 04:22 PM   #41
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Updating causes stderr spew when using alsactl. The remedy might be deleting /var/lib/alsa/asound.state.lock. Not yet tested though.
 
  


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 06:59 AM.

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