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 07-14-2018, 12:41 PM   #1666
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled

Ah, I see.

Thank you rworkman, have a good one.
 
Old 07-14-2018, 03:29 PM   #1667
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,099

Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
PulseAudio-12.1

The change log,

Quote:
Hi all,

Some regressions slipped into the 12.0 release, so here comes 12.1 that
tries to make things better:

* Fixed a crash when switching to the A2DP bluetooth profile
* Fixed the plugin search path in module-ladspa-sink
* Fixed file permissions for the pipes created by module-pipe-sink and
module-pipe-source

The tarball:
https://www.freedesktop.org/software...io-12.1.tar.xz
SHA1: 3d8ecff70b7b47d82fd8a262755ce24dd956bef1
MD5: 2511b7ce7193eecf029c91de96eee547

--
Tanu
https://lists.freedesktop.org/archiv...ly/030259.html

Last edited by cwizardone; 07-14-2018 at 03:30 PM.
 
Old 07-14-2018, 04:11 PM   #1668
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
utf8proc-2.1.1
https://github.com/JuliaStrings/utf8.../v2.1.1.tar.gz
 
1 members found this post helpful.
Old 07-14-2018, 06:10 PM   #1669
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
--purge option in removepkg

There are some "lazy" doinst.sh that handle the .new files in bulk. For example dovecot. So I modified the proposed patch from post #1646. It wont check if the new file is listed in doinst.sh, exclude some important files and remove also the .orig files.

removepkg-purge.diff:
Code:
--- removepkg.orig	2018-06-19 19:39:00.000000000 -0400
+++ removepkg	2018-07-14 18:35:30.661000000 -0400
@@ -342,6 +342,28 @@
    fi
    sed -n "/$TRIGGER/,/^$/p" < $ADM_DIR/packages/$PKGNAME | \
     fgrep -v "FILE LIST:" | sort -u > $TMP/delete_list$$
+   if [ "$PURGE" = true ]; then
+    if grep "\.new$" $TMP/delete_list$$ > $TMP/new_files_list$$ 2> /dev/null ; then
+     for NF in $(cat $TMP/new_files_list$$) ; do
+      CF="$(dirname "$NF")/$(basename "$NF" .new)"
+      if [ -r "$ROOT/$CF" ] ; then
+       [ "$CF" == "etc/passwd" ] && continue
+       [ "$CF" == "etc/shadow" ] && continue
+       [ "$CF" == "etc/group" ] && continue
+       [ "$CF" == "etc/gshadow" ] && continue
+       [ "$CF" == "etc/inittab" ] && continue
+       [ "$CF" == "etc/rc.d/rc.inet1.conf" ] && continue
+       echo "$CF" >> $TMP/cfg_files_list$$
+       echo "$CF.orig" >> $TMP/cfg_files_list$$
+      fi
+     done
+     if [ -r $TMP/cfg_files_list$$ ] ; then
+      mv $TMP/delete_list$$ $TMP/delete_list$$.$$
+      cat $TMP/delete_list$$.$$ $TMP/cfg_files_list$$ | sort -u > $TMP/delete_list$$
+      rm -f $TMP/delete_list$$.$$ $TMP/cfg_files_list$$ $TMP/new_files_list$$
+     fi
+    fi
+   fi
    # Pat's new-new && improved pre-removal routine.
    cat_except $ADM_DIR/packages $PKGNAME | sort -u > $TMP/required_list$$
    if [ -r $ADM_DIR/scripts/$PKGNAME ]; then
@@ -415,7 +437,8 @@
   -preserve | --preserve) PRESERVE=true; shift;;
   -terse | --terse) TERSE=0; shift;;
   -warn | --warn) WARN=true; shift;;
-  -* | --*) echo "Usage: $(basename $0) [-copy] [-keep] [-preserve] [-warn] packagename ..."; exit 1;;
+  -purge | --purge) PURGE=true; shift;;
+  -* | --*) echo "Usage: $(basename $0) [-copy] [-keep] [-preserve] [-warn] [-purge] packagename ..."; exit 1;;
   *) break
  esac
 done
removepkg.8-purge.diff:
Code:
--- removepkg.8.orig	2018-06-19 19:28:00.000000000 -0400
+++ removepkg.8	2018-07-14 18:37:18.442000000 -0400
@@ -33,6 +33,9 @@
 [
 .B \--warn
 ]
+[
+.B \--purge
+]
 .BI packagename
 .SH DESCRIPTION
 .B removepkg
@@ -94,6 +97,11 @@
 .B \--warn packagename
 Generate a report to the standard output about which files and directories
 would be removed, but does not actually remove the package.
+.TP
+.B \--purge
+Remove the files coresponding to the .new files in the package. These files are usually handled by
+.B doinst.sh
+upon install. For example if the package contains /etc/foo.conf.new then /etc/foo.conf and /etc/foo.conf.orig will be removed.
 .SH " "
 It's possible to remove a package from a filesystem
 other than / by supplying
If this patch is accepted I think it would be nice to modify slackpkg so that "slackpkg clean-system" runs "removepkg --purge"


Cheers
 
1 members found this post helpful.
Old 07-14-2018, 06:54 PM   #1670
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by ivandi View Post
There are some "lazy" doinst.sh that handle the .new files in bulk. For example dovecot. So I modified the proposed patch from post #1646. It wont check if the new file is listed in doinst.sh, exclude some important files and remove also the .orig files.

removepkg-purge.diff:
Code:
--- removepkg.orig	2018-06-19 19:39:00.000000000 -0400
+++ removepkg	2018-07-14 18:35:30.661000000 -0400
@@ -342,6 +342,28 @@
    fi
    sed -n "/$TRIGGER/,/^$/p" < $ADM_DIR/packages/$PKGNAME | \
     fgrep -v "FILE LIST:" | sort -u > $TMP/delete_list$$
+   if [ "$PURGE" = true ]; then
+    if grep "\.new$" $TMP/delete_list$$ > $TMP/new_files_list$$ 2> /dev/null ; then
+     for NF in $(cat $TMP/new_files_list$$) ; do
+      CF="$(dirname "$NF")/$(basename "$NF" .new)"
+      if [ -r "$ROOT/$CF" ] ; then
+       [ "$CF" == "etc/passwd" ] && continue
+       [ "$CF" == "etc/shadow" ] && continue
+       [ "$CF" == "etc/group" ] && continue
+       [ "$CF" == "etc/gshadow" ] && continue
+       [ "$CF" == "etc/inittab" ] && continue
+       [ "$CF" == "etc/rc.d/rc.inet1.conf" ] && continue
+       echo "$CF" >> $TMP/cfg_files_list$$
+       echo "$CF.orig" >> $TMP/cfg_files_list$$
+      fi
+     done
+     if [ -r $TMP/cfg_files_list$$ ] ; then
+      mv $TMP/delete_list$$ $TMP/delete_list$$.$$
+      cat $TMP/delete_list$$.$$ $TMP/cfg_files_list$$ | sort -u > $TMP/delete_list$$
+      rm -f $TMP/delete_list$$.$$ $TMP/cfg_files_list$$ $TMP/new_files_list$$
+     fi
+    fi
+   fi
    # Pat's new-new && improved pre-removal routine.
    cat_except $ADM_DIR/packages $PKGNAME | sort -u > $TMP/required_list$$
    if [ -r $ADM_DIR/scripts/$PKGNAME ]; then
@@ -415,7 +437,8 @@
   -preserve | --preserve) PRESERVE=true; shift;;
   -terse | --terse) TERSE=0; shift;;
   -warn | --warn) WARN=true; shift;;
-  -* | --*) echo "Usage: $(basename $0) [-copy] [-keep] [-preserve] [-warn] packagename ..."; exit 1;;
+  -purge | --purge) PURGE=true; shift;;
+  -* | --*) echo "Usage: $(basename $0) [-copy] [-keep] [-preserve] [-warn] [-purge] packagename ..."; exit 1;;
   *) break
  esac
 done
removepkg.8-purge.diff:
Code:
--- removepkg.8.orig	2018-06-19 19:28:00.000000000 -0400
+++ removepkg.8	2018-07-14 18:37:18.442000000 -0400
@@ -33,6 +33,9 @@
 [
 .B \--warn
 ]
+[
+.B \--purge
+]
 .BI packagename
 .SH DESCRIPTION
 .B removepkg
@@ -94,6 +97,11 @@
 .B \--warn packagename
 Generate a report to the standard output about which files and directories
 would be removed, but does not actually remove the package.
+.TP
+.B \--purge
+Remove the files coresponding to the .new files in the package. These files are usually handled by
+.B doinst.sh
+upon install. For example if the package contains /etc/foo.conf.new then /etc/foo.conf and /etc/foo.conf.orig will be removed.
 .SH " "
 It's possible to remove a package from a filesystem
 other than / by supplying
If this patch is accepted I think it would be nice to modify slackpkg so that "slackpkg clean-system" runs "removepkg --purge"

I can't comment on whether the patch will be accepted, but I can say that slackpkg will not have such modifications. At *best* it would accept a "slackpkg clean-system --purge" option to do that, but removing config files upon package removal would not be desirable for me.
 
2 members found this post helpful.
Old 07-14-2018, 09:01 PM   #1671
jakedp
Member
 
Registered: Oct 2016
Location: Canada
Distribution: Slackware64, Mageia
Posts: 226

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by rworkman View Post
I can't comment on whether the patch will be accepted, but I can say that slackpkg will not have such modifications. At *best* it would accept a "slackpkg clean-system --purge" option to do that, but removing config files upon package removal would not be desirable for me.

Or me, or many. There is many situations where it is not desirable. One could write a script to zcat the slackpkg that finds config files to rm. It should be a user intervention in any case.
 
2 members found this post helpful.
Old 07-15-2018, 02:15 PM   #1672
jakedp
Member
 
Registered: Oct 2016
Location: Canada
Distribution: Slackware64, Mageia
Posts: 226

Rep: Reputation: 184Reputation: 184
Catfish 1.4.6, which with this release is now officially a part of XFCE!

Announcement: https://bluesabre.org/2018/07/15/cat...-xfce-project/
Git: https://git.xfce.org/apps/catfish
 
4 members found this post helpful.
Old 07-16-2018, 02:17 AM   #1673
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
whois-5.3.2:

http://ftp.debian.org/debian/pool/ma...s_5.3.2.tar.xz
 
1 members found this post helpful.
Old 07-16-2018, 06:33 PM   #1674
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
wooow

again , pulseaudio

12.2

In the forum i read some problems arround , that

changes --> https://lists.freedesktop.org/archiv...ly/030280.html

sources --> https://www.freedesktop.org/software...io-12.2.tar.xz

Last edited by USUARIONUEVO; 07-16-2018 at 06:34 PM.
 
2 members found this post helpful.
Old 07-16-2018, 11:15 PM   #1675
casualfred
Member
 
Registered: Aug 2012
Location: Kentucky, USA
Distribution: Slackware
Posts: 97

Rep: Reputation: 27
I'm not quite sure where to post this, but I just wanted to report that updating xf86-video-ati from 18.0.1 to 20180711_f533b1f6 broke my multi-monitor setup. I use xrandr to set up my screens from a .xinitrc. I posted a bug report about this here: https://bugs.freedesktop.org/show_bug.cgi?id=107253 (I've never posted a bug report before).

My setup includes an onboard Intel graphics card and a Radeon R7 360 card with a monitor attached to each.

I also tried out their latest git commit (16 July 2018, d9a139bc...), but it had the same problem. 18.0.1 works well though!
 
1 members found this post helpful.
Old 07-17-2018, 12:48 AM   #1676
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by casualfred View Post
I'm not quite sure where to post this, but I just wanted to report that updating xf86-video-ati from 18.0.1 to 20180711_f533b1f6 broke my multi-monitor setup. I use xrandr to set up my screens from a .xinitrc. I posted a bug report about this here: https://bugs.freedesktop.org/show_bug.cgi?id=107253 (I've never posted a bug report before).

My setup includes an onboard Intel graphics card and a Radeon R7 360 card with a monitor attached to each.

I also tried out their latest git commit (16 July 2018, d9a139bc...), but it had the same problem. 18.0.1 works well though!
Did you tried to use the open-source AMDGPU instead of RADEON driver?

A Sea Islands graphics card like yours is also pretty well supported by the open-source AMDGPU, which is without argue with higher performances.

https://wiki.gentoo.org/wiki/AMDGPU
https://wiki.archlinux.org/index.php/AMDGPU
https://help.ubuntu.com/community/AMDGPU-Driver

You need only some kernel parameters for switching the graphics stack
Code:
radeon.cik_support=0 amdgpu.cik_support=1
At my job, happens to have an entire office equipped with R7 260 (8 computers), and they works perfectly with the AMDGPU. True, under SLED, but still...

Last edited by Darth Vader; 07-17-2018 at 01:14 AM.
 
3 members found this post helpful.
Old 07-17-2018, 01:23 AM   #1677
casualfred
Member
 
Registered: Aug 2012
Location: Kentucky, USA
Distribution: Slackware
Posts: 97

Rep: Reputation: 27
Quote:
Originally Posted by Darth Vader View Post
Did you tried to use the open-source AMDGPU instead of RADEON driver?
A Sea Islands graphics card like yours is also pretty well supported by the open-source AMDGPU, which is without argue with higher performances.
Cool! I was not aware of the existence of amdgpu - I'll look into it.
 
Old 07-17-2018, 01:29 AM   #1678
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by casualfred View Post
Cool! I was not aware of the existence of amdgpu - I'll look into it.
Have fun!

BTW, you may want a newer kernel together with your new AMDGPU driver, and there you will find ones well made

https://dusk.idlemoor.tk/linux-4.17/x86_64/

Last edited by Darth Vader; 07-17-2018 at 02:38 AM.
 
1 members found this post helpful.
Old 07-17-2018, 03:14 AM   #1679
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by casualfred View Post
I'm not quite sure where to post this, but I just wanted to report that updating xf86-video-ati from 18.0.1 to 20180711_f533b1f6 broke my multi-monitor setup. I use xrandr to set up my screens from a .xinitrc. I posted a bug report about this here: https://bugs.freedesktop.org/show_bug.cgi?id=107253 (I've never posted a bug report before).

My setup includes an onboard Intel graphics card and a Radeon R7 360 card with a monitor attached to each.

I also tried out their latest git commit (16 July 2018, d9a139bc...), but it had the same problem. 18.0.1 works well though!
You just received a response and your bug report was marked as solved by no one other than Michel Dänzer
Quote:
Michel Dänzer 2018-07-17 08:00:19 UTC

Until this is fixed in xf86-video-intel, it should work with the modesetting driver instead.

*** This bug has been marked as a duplicate of bug 100086 ***
Apparently, your issue is really on xf86-video-intel which does not play well with the updated xf86-video-ati in some particular cases.

Last edited by Darth Vader; 07-17-2018 at 05:16 AM.
 
1 members found this post helpful.
Old 07-17-2018, 07:03 AM   #1680
casualfred
Member
 
Registered: Aug 2012
Location: Kentucky, USA
Distribution: Slackware
Posts: 97

Rep: Reputation: 27
Quote:
Apparently, your issue is really on xf86-video-intel which does not play well with the updated xf86-video-ati in some particular cases.
Yep, that's what they said. But I don't really care *which* driver is at fault here - the problem only happened when I updated xf86-video-ati (full details in my bug report), so I'm suggesting that maybe slackware-current might want to stick with 18.0.1 until they get both drivers working properly. Just my two cents anyway.

Last edited by casualfred; 07-17-2018 at 09:40 PM. Reason: mention where the full details can be found
 
  


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] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

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