Skip to main content
Topic: pipe-viewer dependency overkill? (Read 1380 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

pipe-viewer dependency overkill?

Dear Artix community,

Due to health issues I have not been able to learn Artix since my first ever
post of last year. Hence I am still a beginner. I am explaining it for context to proof
that it was not a lack of motivation.

I also know that:

https://forum.artixlinux.org/index.php/topic,1923.0.html

Quote: "(we really don't care that you had a good breakfast and that the computer is red)"

Don't worry. I won't write this message in future posts.

I would like to thank the admins for not deleting my account due to being inactive for so long.



Back to the topic:


A couple of weeks ago I have updated my system and
everything went fine, despite the "man" command being deleted. After a quick reinstall all went back to normal.
So a few days ago I have installed pipe-viewer a commandline-based youtube client
that pipes youtube videos through mpv or any other supported media player of choice.

First, I have learned how to clone a git repository and install the package following these instructions:

https://www.howtogeek.com/428988/how-to-install-software-using-git-on-linux/

I know that the arch wiki is the preferred way. However, sometimes I am having a hard time understanding
its articles.

So, I went to the pipe-viewer github page and read its instructions

https://github.com/trizen/pipe-viewer

These were the steps I have taken, afterwards:


01.

I installed the dependencies first. Some of them were already installed i.e. youtube-dl
after reading the pacman article on the arch wiki page by typing:

sudo pacman -Ss packagename and after I have found the right dependency I proceeded with
sudo pacman -S packagename. All the needed dependencies were installed successfully.

    The commandline version of pipe-viewer depends on the following core dependencies:

   1. libwww-perl
   2. LWP::Protocol::https
   3, Data::Dump
   4.JSON (perl)
   5. Module::Build


02. Its github page also recommends trying pipe-viewer without installation, before
    proceeding with the install. Therefore I have copied these intructions into my terminal:
   
     cd /tmp
    wget https://github.com/trizen/pipe-viewer/archive/main.zip -O pipe-viewer-main.zip
    unzip -n pipe-viewer-main.zip
    cd pipe-viewer-main/bin
    ./pipe-viewer
  
    And the program worked flawlessly. The only issue was slow playback that stopped, but that is
    due to mpv's default configuration regarding video quality and caching (But that is a separate topic).

03. I proceeded with the install by copying:

    perl Build.PL --gtk
    sudo ./Build installdeps
    sudo ./Build install


And that is where the issues have started:

The first mistake, due to not being focused, was installing it with the --gtk option. However, I wanted to use the command line version.

On pipe-viewer's github page there two versions:

Command line version

 perl Build.PL
 sudo ./Build installdeps
 sudo ./Build install

Instead I copied: (version with gtk support)

   perl Build.PL --gtk
   sudo ./Build installdeps
   sudo ./Build install


Afterwards the build process asked me if I wanted it to take care of the configuration process automatically
or manually. Since I was unsure I tried the manual config at first, but got stuck because the the program kept
on asking repeatedly the same question. Therefore, I chose the auto configuration.

Then the dependency "Module::Build", I believe it was that, took off by installing loads and loads of perl
dependencies. I became unsure if that what it was installing was correct and safe or not. Also because It kept on installing
for what have seemed to be an eternity. Since I thought I did something wrong I tried to abort the installation
with Ctrl+C. However, apparently (not sure) it did not work and the process kept on going, leaving me with a very long
commandline output:

Before I post this output:

First, I do not expect you to read all that. It is just to much output (5470 lines). I just post it for reference as an overview
I had to post it here, because in a normal thread you cannot exceed 4000 lines of text:

Sorry if I did post it wrong. It is the first time I had to use pastebin. I am not sure if I did correctly.

https://paste.artixlinux.org/3bdc44ad




So I did some research again and found out that this program Cpan is a perl
archive network.

I went back to the arch wiki on the packman section on how to remove software
with dependencies. Read the article and removed pipe-viewer and the 5 main
dependencies I have talked about in the beginning.

By typing:

pacman -Rs package_name

If it did not work I tried:

pacman -Rsu package_name

It did not work 100%, though, because some dependencies are still installed  along  lots and lots of extra
perl packages and man pages. More  than before which I do not know how to get rid
of. If I remember correctly I even tried pacman -Rsc package_name, but it did
not work.

I went back to the Artix forum in search for the same issue, but I have only found this thread that explains how to run pipe-viewer under
dmenu:

https://forum.artixlinux.org/index.php/topic,2395.msg15977.html#msg15977


Then I have searched the arch forum but was not successful

Then I have search the arch wiki, but it does not have an article about pipe-viewer.

I have also tried to search the internet by posting the entire output and, to my surprise, it did find some thread which seems related to that

https://github.com/njh/perl-net-sdp/issues/1

They say that all these dependencies are part of the install process.

But I do not know where to go from there.

I did not post my computer's specs here, because I believe it would not be of any help in this case.
Please correct me if I am wrong. and I will modify this thread.

Apart from that, Artix is still stable and works great nothing happened.

Finally I will ask the questions I wanted to:

01.

What did I do wrong?


02. 

How can I delete all the stuff that is listed in the commandline output?
I would like to have a clean system again. to reinstall pipe-viewer without
gtk. If the only way is to do it manually I will delete every dependency that way.
Even if it takes me forever.


03.

Or can I keep these dependencies because they will be reinstalled if I install pipe-viewer without gtk?


04.

Are these extra packages from the commandline output really necessary?


05.

Are they safe as far as security goes? (Cli Output states that some are "leaked")



If you think that I did my research poorly, please let me know and do not
help me. If that is the case I will research again and try to fix it myself.
Only if I get stuck, will I ask you for help, again.


Thank you very much.

Maverick




Re: pipe-viewer dependency overkill?

Reply #1
Where you potentially went wrong was not looking if pipe-viewer is on AUR
Code: [Select]
pipe-viewer-git 
is there.  (https://aur.archlinux.org/packages/pipe-viewer-git/)

Installing Perl, Python, **insert any language here** modules / libraries outside of the package manager is going to lead to problems unless you know exactly what you are doing.

You can install packages from the AUR manually or with an AUR helper
https://wiki.archlinux.org/title/AUR_helpers

I use yay.
That is in the Artix universe repo. You can enable that, if it isn't enabled already, with the instructions here
https://wiki.artixlinux.org/Main/Repositories

Once yay is installed you can install pipe-viewer-git with
Code: [Select]
yay -S pipe-viewer-git 
However you may get file conflicts due to having installed some of these Perl modules manually.
But you won't break anything by attempting it.
If you get errors post them here, if you wish to give it a go.


Edited to add:
Also I see you want a cli version.
The package pipe-viewer-git installs both a cli and a gtk binary.
If you really don't want the gtk version you would have to edit the PKGBUILD and build it yourself.

Code: [Select]
yay -G pipe-viewer-git 
would download the PKGBUILD into directory ./pipe-viewer-git
Edit the PKGBUILD and then
Code: [Select]
makepkg -si 
would build and install it.
(-s install dependencies, -i install package once built)
You're still likely to have file conflicts as I stated before



Re: pipe-viewer dependency overkill?

Reply #2
02 - see /var/log/pacman.log for a record of what packages got installed, sometimes if there are several to remove you can copy paste a section to a temporary text file and edit it down to the package names by deleting the unwanted bits, a simple way to speed things perhaps.
A PKGBUILD will install and then uninstall the build deps but it will assume you wanted the ones you have already and won't touch them. No harm in uninstalling them before building as they will probably still be in your package cache.
https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Identify_files_not_owned_by_any_package
Code: [Select]
# pacreport --unowned-files
That's one way to see any unowned files, there are lots you want, but it might help track down any leftovers if required.

Re: pipe-viewer dependency overkill?

Reply #3
That's one way to see any unowned files, there are lots you want,

Yeah I nearly mentioned this 7# but was concerned OP might end up deleting the wrong stuff  ?
I'm thinking if we get a list of the conflicts an --overwrite with a glob or two should be replace all the manually installed deps In one hit?


Re: pipe-viewer dependency overkill?

Reply #4
Sounds a good plan. Although looking at the  posted output today it seems in this case it was a non package install, and didn't install any pacman packages. On those you do make, make install, then make uninstall to uninstall, with the package's build tools handling things. The stuff that was installed seemed to be perl stuff, probably it won't do any harm except waste drive space if it was left in place. What seems to have happened was that the build failed on a test at line 2440 (possibly due to a missing build dep, GLIB or something perhaps, would need to research the error messages where it failed initially) and went into a loop and then when CTRL C was hit it killed the foreground process but not everything, so the build re-started. The "leaked" messages have nothing to do with security, those are just some built in test, possibly relating to memory leaks or namespace leaks.
So one way would be to re-run the build after installing the missing item(s) so it succeeds then do make uninstall to remove it if desired. Possibly make uninstall would work now, if the original build dir still exists.
Might be worth backing up the system first though if that hasn't been done recently to be safe, because who knows if make uninstall would work given the results so far and the existing situation!!!

Re: pipe-viewer dependency overkill?

Reply #5
Hello everyone,

thanks for your replies.

@gripped

Where you potentially went wrong was not looking if pipe-viewer is on AUR
Code: [Select]
pipe-viewer-git 
is there.  (https://aur.archlinux.org/packages/pipe-viewer-git/)



Yes, you are right. To be honest I forgot to mention that I did, indeed, look in the AUR, but was unsure if it was safe to
install. I thought I would pull a lot of systemd dependecies, so I tried to avoid that. But yes, I saw that pipe-viewer was there.

I will follow your other suggestions, but first I wanted to try to list all of the unowned files like ####### had suggested.


@#######

02 - see /var/log/pacman.log for a record of what packages got installed, sometimes if there are several to remove you can copy paste a section to a temporary text file and edit it down to the package names by deleting the unwanted bits, a simple way to speed things perhaps.
A PKGBUILD will install and then uninstall the build deps but it will assume you wanted the ones you have already and won't touch them. No harm in uninstalling them before building as they will probably still be in your package cache.
https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Identify_files_not_owned_by_any_package
Code: [Select]
# pacreport --unowned-files
That's one way to see any unowned files, there are lots you want, but it might help track down any leftovers if required.

So this is what I have tried to gather.

First I did copy the perl and pipe-viewer entries from /var/log/pacman.log. Probably I have missed a few since I have been doing a lot of system upgrades. So I tried to track them down manually:

Code: [Select]


[2021-11-07T22:04:38+0100] [PACMAN] Running 'pacman -S perl-libwww'
[2021-11-07T22:05:37+0100] [ALPM] transaction started
[2021-11-07T22:05:37+0100] [ALPM] installed perl-encode-locale (1.05-8)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-http-date (6.05-4)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-file-listing (6.14-2)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-html-tagset (3.20-11)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-clone (0.45-3)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-io-html (1.004-2)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-lwp-mediatypes (6.02-9)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-uri (5.09-2)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-http-message (6.33-1)



[2021-11-07T22:05:37+0100] [ALPM] installed perl-html-parser (3.76-2)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-http-cookies (6.10-2)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-http-daemon (6.12-1)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-http-negotiate (6.01-9)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-net-http (6.21-2)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-try-tiny (0.30-6)


[2021-11-07T22:05:37+0100] [ALPM] installed perl-www-robotrules (6.02-9)
[2021-11-07T22:05:37+0100] [ALPM] installed perl-libwww (6.57-1)
[2021-11-07T22:05:37+0100] [ALPM] transaction completed
[2021-11-07T22:05:37+0100] [ALPM] running 'detect-old-perl-modules.hook'...
[2021-11-07T22:05:56+0100] [PACMAN] Running 'pacman -S lwp'
[2021-11-07T22:06:08+0100] [PACMAN] Running 'pacman -S https'
[2021-11-07T22:08:44+0100] [PACMAN] Running 'pacman -S perl-lwp-protocol-https'
[2021-11-07T22:08:55+0100] [ALPM] transaction started
[2021-11-07T22:08:55+0100] [ALPM] installed perl-net-ssleay (1.90-2)
[2021-11-07T22:08:55+0100] [ALPM] installed perl-io-socket-ssl (2.072-1)
[2021-11-07T22:08:55+0100] [ALPM] installed perl-lwp-protocol-https (6.10-2)
[2021-11-07T22:08:55+0100] [ALPM] transaction completed
[2021-11-07T22:08:55+0100] [ALPM] running 'detect-old-perl-modules.hook'...
[2021-11-07T22:09:29+0100] [PACMAN] Running 'pacman -S data-dump'
[2021-11-07T22:09:40+0100] [PACMAN] Running 'pacman -S perl-data-dump'
[2021-11-07T22:09:42+0100] [ALPM] transaction started
[2021-11-07T22:09:42+0100] [ALPM] installed perl-data-dump (1.25-1)
[2021-11-07T22:09:42+0100] [ALPM] transaction completed
[2021-11-07T22:09:42+0100] [ALPM] running 'detect-old-perl-modules.hook'...
[2021-11-07T22:09:53+0100] [PACMAN] Running 'pacman -S jason'
[2021-11-07T22:13:20+0100] [PACMAN] Running 'pacman -S json'

[2021-11-07T22:16:08+0100] [PACMAN] Running 'pacman -S perl-json'
[2021-11-07T22:16:11+0100] [ALPM] transaction started
[2021-11-07T22:16:11+0100] [ALPM] installed perl-json (4.03-1)
[2021-11-07T22:16:11+0100] [ALPM] transaction completed
[2021-11-07T22:37:48+0100] [PACMAN] Running 'pacman -Syu'
[2021-11-07T22:37:48+0100] [PACMAN] synchronizing package lists
[2021-11-07T22:37:51+0100] [PACMAN] starting full system upgrade
[2021-11-07T23:26:05+0100] [PACMAN] Running 'pacman -Syu'
[2021-11-07T23:26:05+0100] [PACMAN] synchronizing package lists
[2021-11-07T23:26:07+0100] [PACMAN] starting full system upgrade
[2021-11-08T02:03:56+0100] [PACMAN] Running 'pacman -Syu'
[2021-11-08T02:03:56+0100] [PACMAN] synchronizing package lists
[2021-11-08T02:03:58+0100] [PACMAN] starting full system upgrade
[2021-11-08T21:48:31+0100] [PACMAN] Running 'pacman -Syu'
[2021-11-08T21:48:31+0100] [PACMAN] synchronizing package lists
[2021-11-08T21:48:43+0100] [PACMAN] starting full system upgrade
[2021-11-08T21:48:55+0100] [ALPM] transaction started
[2021-11-08T21:48:55+0100] [ALPM] upgraded harfbuzz (3.1.0-1 -> 3.1.1-1)
[2021-11-08T21:48:55+0100] [ALPM] transaction completed
[2021-11-08T23:07:52+0100] [PACMAN] Running 'pacman -Fy'
[2021-11-08T23:07:52+0100] [PACMAN] synchronizing package lists
[2021-11-08T23:10:33+0100] [PACMAN] Running 'pacman -S sdl'

[2021-11-08T23:10:46+0100] [ALPM] transaction started
[2021-11-08T23:10:46+0100] [ALPM] reinstalled sdl (1.2.15+387+gfbfcca32-1)
[2021-11-08T23:10:46+0100] [ALPM] transaction completed
[2021-11-09T01:51:20+0100] [PACMAN] Running 'pacman -Syu'
[2021-11-09T01:51:20+0100] [PACMAN] synchronizing package lists
[2021-11-09T01:51:24+0100] [PACMAN] starting full system upgrade
[2021-11-09T01:51:29+0100] [ALPM] transaction started
[2021-11-09T01:51:29+0100] [ALPM] upgraded tracker3 (3.2.0-2 -> 3.2.1-1)
[2021-11-09T01:51:29+0100] [ALPM] transaction completed

[2021-11-09T21:36:19+0100] [PACMAN] Running 'pacman -Syu'
[2021-11-09T21:36:19+0100] [PACMAN] synchronizing package lists
[2021-11-09T21:36:23+0100] [PACMAN] starting full system upgrade
[2021-11-09T21:36:28+0100] [ALPM] transaction started
[2021-11-09T21:36:28+0100] [ALPM] upgraded perl-uri (5.09-2 -> 5.10-1)
[2021-11-09T21:36:28+0100] [ALPM] transaction completed
[2021-11-09T21:36:28+0100] [ALPM] running 'detect-old-perl-modules.hook'...
[2021-11-09T21:40:23+0100] [PACMAN] Running 'pacman -S build.pl'
[2021-11-09T21:40:48+0100] [PACMAN] Running 'pacman -S perl-extutils-installpaths'
[2021-11-09T21:40:59+0100] [ALPM] transaction started
[2021-11-09T21:40:59+0100] [ALPM] installed perl-extutils-config (0.008-7)
[2021-11-09T21:40:59+0100] [ALPM] installed perl-extutils-installpaths (0.012-5)
[2021-11-09T21:40:59+0100] [ALPM] transaction completed
[2021-11-09T21:40:59+0100] [ALPM] running 'detect-old-perl-modules.hook'...
[2021-11-09T22:33:53+0100] [PACMAN] Running 'pacman -Syu'
[2021-11-09T22:33:53+0100] [PACMAN] synchronizing package lists
[2021-11-09T22:35:04+0100] [PACMAN] starting full system upgrade
[2021-11-09T22:35:39+0100] [ALPM] transaction started
[2021-11-09T22:35:39+0100] [ALPM] upgraded vim-runtime (8.2.3441-1 -> 8.2.3582-1)
[2021-11-09T22:35:39+0100] [ALPM] upgraded vim (8.2.3441-1 -> 8.2.3582-1)
[2021-11-09T22:35:39+0100] [ALPM] transaction completed
[2021-11-09T22:35:39+0100] [ALPM] running 'gtk-update-icon-cache.hook'...


[2021-11-09T22:35:39+0100] [ALPM] running 'update-desktop-database.hook'...
[2021-11-10T03:20:44+0100] [PACMAN] Running 'pacman -Syu'
[2021-11-10T03:20:44+0100] [PACMAN] synchronizing package lists
[2021-11-10T03:20:49+0100] [PACMAN] starting full system upgrade
[2021-11-10T03:21:19+0100] [ALPM] transaction started
[2021-11-10T03:21:19+0100] [ALPM] upgraded libdrm (2.4.107-1 -> 2.4.108-1)
[2021-11-10T03:21:19+0100] [ALPM] upgraded libevdev (1.11.0-1 -> 1.12.0-1)
[2021-11-10T03:21:19+0100] [ALPM] upgraded xf86-input-libinput (1.2.0-1 -> 1.2.0-2)
[2021-11-10T03:21:19+0100] [ALPM] upgraded xf86-video-intel (1:2.99.917+916+g31486f40-1.1 -> 1:2.99.917+916+g3148>
[2021-11-10T03:21:19+0100] [ALPM] upgraded xorg-server-common (1.20.13-3 -> 21.1.1-2)
[2021-11-10T03:21:19+0100] [ALPM] upgraded xorg-server (1.20.13-3 -> 21.1.1-2)
[2021-11-10T03:21:19+0100] [ALPM] transaction completed
[2021-11-10T20:52:01+0100] [PACMAN] Running 'pacman -Syu'
[2021-11-10T20:52:01+0100] [PACMAN] synchronizing package lists
[2021-11-10T20:52:38+0100] [PACMAN] starting full system upgrade
[2021-11-10T20:53:55+0100] [ALPM] transaction started
[2021-11-10T20:53:56+0100] [ALPM] upgraded adwaita-icon-theme (40.1.1-1 -> 41.0-1)
[2021-11-10T20:53:56+0100] [ALPM] upgraded at-spi2-core (2.40.3-1 -> 2.42.0-1)
[2021-11-10T20:53:56+0100] [ALPM] upgraded pinentry (1.1.1-1 -> 1.2.0-1)
[2021-11-10T20:53:56+0100] [ALPM] upgraded gnupg (2.2.29-1 -> 2.2.32-1)
[2021-11-10T20:53:56+0100] [ALPM] upgraded libseccomp (2.5.2-1 -> 2.5.3-1)
[2021-11-10T20:53:56+0100] [ALPM] upgraded qt5-declarative (5.15.2+kde+r36-1 -> 5.15.2+kde+r39-1)

[2021-11-10T20:53:56+0100] [ALPM] transaction completed
[2021-11-10T20:53:56+0100] [ALPM] running 'gtk-update-icon-cache.hook'...
[2021-11-10T20:53:56+0100] [ALPM] running 'texinfo-install.hook'...
[2021-11-10T21:52:11+0100] [PACMAN] Running 'pacman -S perl-module-build'
[2021-11-10T21:52:14+0100] [ALPM] transaction started
[2021-11-10T21:52:14+0100] [ALPM] installed perl-inc-latest (0.500-8)
[2021-11-10T21:52:14+0100] [ALPM] installed perl-module-build (0.4231-5)
[2021-11-10T21:52:14+0100] [ALPM] transaction completed
[2021-11-10T21:52:14+0100] [ALPM] running 'detect-old-perl-modules.hook'...
[2021-11-10T22:52:26+0100] [PACMAN] Running 'pacman -Rsu perl'
[2021-11-10T22:53:25+0100] [PACMAN] Running 'pacman -Rsc perl'
[2021-11-10T22:54:58+0100] [PACMAN] Running 'pacman -S perl'
[2021-11-10T22:55:04+0100] [ALPM] transaction started
[2021-11-10T22:55:04+0100] [ALPM] reinstalled perl (5.34.0-2)
[2021-11-10T22:55:05+0100] [ALPM] transaction completed
[2021-11-10T22:55:05+0100] [ALPM] running 'detect-old-perl-modules.hook'...
[2021-11-10T22:58:17+0100] [PACMAN] Running 'pacman -Rsu perl-libwww'
[2021-11-10T23:00:48+0100] [PACMAN] Running 'pacman -Rs perl-lwp-mediatypes'
[2021-11-10T23:01:19+0100] [PACMAN] Running 'pacman -Rsu perl-lwp-mediatypes'
[2021-11-10T23:02:18+0100] [PACMAN] Running 'pacman -Rsu perl-lwp-protocol-https'
[2021-11-10T23:02:25+0100] [ALPM] transaction started
[2021-11-10T23:02:25+0100] [ALPM] removed perl-lwp-protocol-https (6.10-2)


[2021-11-10T23:02:25+0100] [ALPM] removed perl-io-socket-ssl (2.072-1)
[2021-11-10T23:02:25+0100] [ALPM] removed perl-net-ssleay (1.90-2)
[2021-11-10T23:02:26+0100] [ALPM] transaction completed
[2021-11-10T23:03:07+0100] [PACMAN] Running 'pacman -Rsu perl-lwp-mediatypes'
[2021-11-10T23:03:49+0100] [PACMAN] Running 'pacman -Rsu perl-lwp-mediatypes'
[2021-11-10T23:04:02+0100] [PACMAN] Running 'pacman -Rs perl-lwp-mediatypes'
[2021-11-10T23:04:50+0100] [PACMAN] Running 'pacman -Rs perl'
[2021-11-10T23:05:41+0100] [PACMAN] Running 'pacman -Rs perl-data-dump'
[2021-11-10T23:05:43+0100] [ALPM] transaction started
[2021-11-10T23:05:43+0100] [ALPM] removed perl-data-dump (1.25-1)
[2021-11-10T23:05:43+0100] [ALPM] transaction completed
[2021-11-10T23:08:13+0100] [PACMAN] Running 'pacman -Rc module-build'
[2021-11-10T23:08:26+0100] [PACMAN] Running 'pacman -Rc perl-module-build'
[2021-11-10T23:08:28+0100] [ALPM] transaction started
[2021-11-10T23:08:28+0100] [ALPM] removed perl-module-build (0.4231-5)
[2021-11-10T23:08:28+0100] [ALPM] transaction completed
[2021-11-10T23:14:13+0100] [PACMAN] Running 'pacman -Rsc perl'
[2021-11-10T23:16:54+0100] [PACMAN] Running 'pacman -Rs perl'
[2021-11-10T23:17:19+0100] [PACMAN] Running 'pacman -Rsu perl'
[2021-11-10T23:17:26+0100] [PACMAN] Running 'pacman -Rsu perl'
[2021-11-11T00:00:26+0100] [PACMAN] Running 'pacman -R perl'
[2021-11-11T00:00:57+0100] [PACMAN] Running 'pacman -R perl5'
[2021-11-11T00:01:02+0100] [PACMAN] Running 'pacman -R perl-5'

[2021-11-13T23:03:44+0100] [PACMAN] Running 'pacman -Rn pipe-viewer'


Than I ran the other command you told me to (which is a bit easier for me to read and understand), copied the output into a
text editor, than ran ctrl+f and searched for pipe-viewer entries and afterwards for perl-entries

I marked, what I believe to be, the right files as bold. What I have noticed is that none of them were put in /etc, but in /usr/bin,
/usr/lib and /usr/share/man.

Code: [Select]
[artix |github]$ sudo pacreport --unowned-files
Unowned Files:
  /boot/grub/
  /boot/initramfs-linux-fallback.img
  /boot/initramfs-linux.img
  /boot/lost+found/
  /boot/vmlinuz-linux
  /etc/.pwd.lock
  /etc/X11/xorg.conf.d/00-keyboard.conf
  /etc/adjtime
  /etc/ca-certificates/extracted/ca-bundle.trust.crt
  /etc/ca-certificates/extracted/cadir/
  /etc/ca-certificates/extracted/edk2-cacerts.bin
  /etc/ca-certificates/extracted/email-ca-bundle.pem
  /etc/ca-certificates/extracted/objsign-ca-bundle.pem
  /etc/ca-certificates/extracted/tls-ca-bundle.pem
  /etc/fonts/conf.d/10-hinting-slight.conf
  /etc/fonts/conf.d/10-scale-bitmap-fonts.conf
  /etc/fonts/conf.d/20-unhint-small-vera.conf
  /etc/fonts/conf.d/30-metric-aliases.conf
  /etc/fonts/conf.d/40-nonlatin.conf
  /etc/fonts/conf.d/45-generic.conf
  /etc/fonts/conf.d/45-latin.conf
  /etc/fonts/conf.d/46-noto-mono.conf
  /etc/fonts/conf.d/46-noto-sans.conf
  /etc/fonts/conf.d/46-noto-serif.conf
  /etc/fonts/conf.d/49-sansserif.conf
  /etc/fonts/conf.d/50-user.conf
  /etc/fonts/conf.d/51-local.conf
  /etc/fonts/conf.d/60-generic.conf
  /etc/fonts/conf.d/60-latin.conf
  /etc/fonts/conf.d/65-fonts-persian.conf
  /etc/fonts/conf.d/65-nonlatin.conf
  /etc/fonts/conf.d/66-noto-mono.conf
  /etc/fonts/conf.d/66-noto-sans.conf
  /etc/fonts/conf.d/66-noto-serif.conf
  /etc/fonts/conf.d/69-unifont.conf
  /etc/fonts/conf.d/80-delicious.conf
  /etc/fonts/conf.d/90-synthetic.conf
  /etc/group-
  /etc/gshadow-
  /etc/hostname
  /etc/ld.so.cache
  /etc/localtime
  /etc/machine-id
  /etc/mkinitcpio.d/linux.preset
  /etc/modprobe.d/alsa.conf
  /etc/os-release
  /etc/pacman.d/gnupg/
  /etc/pacman.d/mirrorlist.pacnew
  /etc/passwd-
  /etc/rc.local
  /etc/rc.shutdown
  /etc/runit/runsvdir/default/bluetoothd
  /etc/runit/runsvdir/default/connmand
  /etc/runit/runsvdir/default/lightdm
  /etc/runit/sv/bluetoothd/supervise/
  /etc/runit/sv/connmand/supervise/
  /etc/runit/sv/dbus/supervise/
  /etc/runit/sv/elogind/supervise/
  /etc/runit/sv/lightdm/supervise/
  /etc/runit/sv/udevd/supervise/
  /etc/shadow-
  /etc/udev/hwdb.bin
  /etc/udev/rules.d/95-hdmi-plug.rules
  /etc/vconsole.conf
  /lost+found/
  /usr/bin/doc/
  /usr/bin/share/
[b]  /usr/bin/site_perl/gtk-pipe-viewer[/b]
  [b]/usr/bin/site_perl/json_xs
  /usr/bin/site_perl/perlsh[/b]
[b]  /usr/bin/site_perl/pipe-viewer[/b]
  /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
  /usr/lib/gio/modules/giomodule.cache
  /usr/lib/gtk-2.0/2.10.0/immodules.cache
  /usr/lib/gtk-3.0/3.0.0/immodules.cache
  /usr/lib/locale/locale-archive
  [b]/usr/lib/perl5/5.34/core_perl/perllocal.pod
  /usr/lib/perl5/5.34/site_perl/Cairo.pm
  /usr/lib/perl5/5.34/site_perl/Cairo/
  /usr/lib/perl5/5.34/site_perl/Glib.pm
  /usr/lib/perl5/5.34/site_perl/Glib/
  /usr/lib/perl5/5.34/site_perl/JSON/
  /usr/lib/perl5/5.34/site_perl/List/
  /usr/lib/perl5/5.34/site_perl/POD2/
  /usr/lib/perl5/5.34/site_perl/Params/
  /usr/lib/perl5/5.34/site_perl/Term/
  /usr/lib/perl5/5.34/site_perl/Test/
  /usr/lib/perl5/5.34/site_perl/Text/
  /usr/lib/perl5/5.34/site_perl/Unicode/
  /usr/lib/perl5/5.34/site_perl/auto/
  /usr/lib/perl5/5.34/site_perl/common/[/b]
  /usr/lib/udev/hwdb.bin
  /usr/local/bin/wordgrinder
  /usr/local/bin/xwordgrinder
  /usr/local/doc/
  /usr/local/man/man1/
  /usr/local/share/applications/
  /usr/local/share/icons/
  /usr/local/share/mime/
  /usr/share/applications/mimeinfo.cache
  /usr/share/fonts/TTF/zekton__.ttf
  /usr/share/fonts/TTF/zektonbi.ttf
  /usr/share/fonts/TTF/zektonbo.ttf
  /usr/share/fonts/TTF/zektonit.ttf
  /usr/share/glib-2.0/schemas/gschemas.compiled
  /usr/share/icons/Adwaita/icon-theme.cache
  /usr/share/icons/AzenisEX Icons/
  /usr/share/icons/AzenisEX Icons2/
  /usr/share/icons/DasBlack/
  /usr/share/icons/Eclipse/
  /usr/share/icons/HighContrast/icon-theme.cache
  /usr/share/icons/ModBlackmoon-SteelKing/
  /usr/share/icons/Moonlight/
  /usr/share/icons/Night Diamond (Blue)/
  /usr/share/icons/Night Diamond (Red)/
  /usr/share/icons/hicolor/icon-theme.cache
  /usr/share/info/dir
  [b]/usr/share/man/man1/json_xs.1p
  /usr/share/man/man1/perlsh.1p[/b]
[b]  /usr/share/man/man1/pipe-viewer.1p[/b]
  /usr/share/man/man3/Cairo.3pm
[b]  /usr/share/man/man3/Cairo::GObject.3pm[/b]
  /usr/share/man/man3/Canary::Stability.3pm
  /usr/share/man/man3/Class::Inspector.3pm
  /usr/share/man/man3/Class::Inspector::Functions.3pm
  /usr/share/man/man3/Exporter::Shiny.3pm
  /usr/share/man/man3/Exporter::Tiny.3pm
  /usr/share/man/man3/Exporter::Tiny::Manual::Etc.3pm
  /usr/share/man/man3/Exporter::Tiny::Manual::Exporting.3pm
  /usr/share/man/man3/Exporter::Tiny::Manual::Importing.3pm
  /usr/share/man/man3/Exporter::Tiny::Manual::QuickStart.3pm
  /usr/share/man/man3/ExtUtils::Depends.3pm
  /usr/share/man/man3/ExtUtils::PkgConfig.3pm
  /usr/share/man/man3/File::ShareDir.3pm
  /usr/share/man/man3/File::ShareDir::Install.3pm
  /usr/share/man/man3/Glib.3pm
  /usr/share/man/man3/Glib::BookmarkFile.3pm
  /usr/share/man/man3/Glib::Boxed.3pm
  /usr/share/man/man3/Glib::Bytes.3pm
  /usr/share/man/man3/Glib::CodeGen.3pm
  /usr/share/man/man3/Glib::Error.3pm
  /usr/share/man/man3/Glib::Flags.3pm
  /usr/share/man/man3/Glib::GenPod.3pm
  /usr/share/man/man3/Glib::KeyFile.3pm
  /usr/share/man/man3/Glib::Log.3pm
  /usr/share/man/man3/Glib::MainLoop.3pm
  /usr/share/man/man3/Glib::MakeHelper.3pm
  /usr/share/man/man3/Glib::Markup.3pm
  /usr/share/man/man3/Glib::Object.3pm
  /usr/share/man/man3/Glib::Object::Subclass.3pm
  /usr/share/man/man3/Glib::OptionContext.3pm
  /usr/share/man/man3/Glib::OptionGroup.3pm
  /usr/share/man/man3/Glib::Param::Boolean.3pm
  /usr/share/man/man3/Glib::Param::Double.3pm
  /usr/share/man/man3/Glib::Param::Enum.3pm
  /usr/share/man/man3/Glib::Param::Flags.3pm
  /usr/share/man/man3/Glib::Param::GType.3pm
  /usr/share/man/man3/Glib::Param::Int.3pm
  /usr/share/man/man3/Glib::Param::Int64.3pm
  /usr/share/man/man3/Glib::Param::String.3pm
  /usr/share/man/man3/Glib::Param::UInt.3pm
  /usr/share/man/man3/Glib::Param::UInt64.3pm
  /usr/share/man/man3/Glib::Param::Unichar.3pm
  /usr/share/man/man3/Glib::ParamSpec.3pm
  /usr/share/man/man3/Glib::ParseXSDoc.3pm
  /usr/share/man/man3/Glib::Signal.3pm
  /usr/share/man/man3/Glib::Type.3pm
  /usr/share/man/man3/Glib::Utils.3pm
  /usr/share/man/man3/Glib::Variant.3pm
  /usr/share/man/man3/Glib::VariantDict.3pm
  /usr/share/man/man3/Glib::VariantType.3pm
  /usr/share/man/man3/Glib::devel.3pm
  /usr/share/man/man3/Glib::index.3pm
  /usr/share/man/man3/Glib::version.3pm
  /usr/share/man/man3/Glib::xsapi.3pm
  /usr/share/man/man3/JSON::XS.3pm
  /usr/share/man/man3/JSON::XS::Boolean.3pm
  /usr/share/man/man3/LWP::UserAgent::Cached.3pm
  /usr/share/man/man3/List::MoreUtils.3pm
  /usr/share/man/man3/List::MoreUtils::Contributing.3pm
  /usr/share/man/man3/List::MoreUtils::PP.3pm
  /usr/share/man/man3/List::MoreUtils::XS.3pm
  /usr/share/man/man3/MIME::Charset.3pm
  /usr/share/man/man3/POD2::JA::MIME::Charset.3pm
  /usr/share/man/man3/POD2::JA::Text::LineFold.3pm
  /usr/share/man/man3/POD2::JA::Unicode::GCString.3pm
  /usr/share/man/man3/POD2::JA::Unicode::LineBreak.3pm
  /usr/share/man/man3/Params::Util.3pm
  /usr/share/man/man3/Params::Util::PP.3pm
  /usr/share/man/man3/Term::ReadLine::Gnu.3pm
  /usr/share/man/man3/Test::Fatal.3pm
  /usr/share/man/man3/Test::LeakTrace.3pm
  /usr/share/man/man3/Test::LeakTrace::JA.3pm
  /usr/share/man/man3/Test::LeakTrace::Script.3pm
  /usr/share/man/man3/Test::Number::Delta.3pm
  /usr/share/man/man3/Test::Warnings.3pm
  /usr/share/man/man3/Text::LineFold.3pm
  /usr/share/man/man3/Types::Serialiser.3pm
  /usr/share/man/man3/Types::Serialiser::Error.3pm
  /usr/share/man/man3/Unicode::GCString.3pm
  /usr/share/man/man3/Unicode::LineBreak.3pm
  [b]/usr/share/man/man3/WWW::PipeViewer.3pm
  /usr/share/man/man3/WWW::PipeViewer::Activities.3pm
  /usr/share/man/man3/WWW::PipeViewer::Authentication.3pm
  /usr/share/man/man3/WWW::PipeViewer::Channels.3pm
  /usr/share/man/man3/WWW::PipeViewer::CommentThreads.3pm
  /usr/share/man/man3/WWW::PipeViewer::GetCaption.3pm
  /usr/share/man/man3/WWW::PipeViewer::GuideCategories.3pm
  /usr/share/man/man3/WWW::PipeViewer::InitialData.3pm
  /usr/share/man/man3/WWW::PipeViewer::Itags.3pm
  /usr/share/man/man3/WWW::PipeViewer::ParseJSON.3pm
  /usr/share/man/man3/WWW::PipeViewer::ParseXML.3pm
  /usr/share/man/man3/WWW::PipeViewer::PlaylistItems.3pm
  /usr/share/man/man3/WWW::PipeViewer::Playlists.3pm
  /usr/share/man/man3/WWW::PipeViewer::RegularExpressions.3pm
  /usr/share/man/man3/WWW::PipeViewer::Search.3pm
  /usr/share/man/man3/WWW::PipeViewer::Subscriptions.3pm
  /usr/share/man/man3/WWW::PipeViewer::Utils.3pm
  /usr/share/man/man3/WWW::PipeViewer::VideoCategories.3pm
  /usr/share/man/man3/WWW::PipeViewer::Videos.3pm[/b]
  /usr/share/man/man3/common::sense.3pm
 [b] /usr/share/perl5/site_perl/Canary/
  /usr/share/perl5/site_perl/Class/
  /usr/share/perl5/site_perl/Exporter/
  /usr/share/perl5/site_perl/ExtUtils/
  /usr/share/perl5/site_perl/File/
  /usr/share/perl5/site_perl/LWP/
  /usr/share/perl5/site_perl/List/
  /usr/share/perl5/site_perl/MIME/
  /usr/share/perl5/site_perl/POD2/
  /usr/share/perl5/site_perl/Test/
  /usr/share/perl5/site_perl/Types/
  /usr/share/perl5/site_perl/WWW/
  /usr/share/perl5/site_perl/auto/[/b]
  /usr/share/pixmaps/artix-gray.png
  /usr/share/pixmaps/binary-code.jpg
  /usr/share/pixmaps/dna-hd.jpg
  /usr/share/pixmaps/pi.png
  /usr/share/rofi/themes/material.rasi
  /usr/share/themes/plasma-bolt-march-2021-v4-4-no-backdrop/
  /usr/share/themes/plasma-bolt-march2021-v4-4-with-backdrop/
  /var/db/sudo/lectured/paolo
  /var/lib/AccountsService/users/paolo
  /var/lib/bluetooth/
  /var/lib/connman-vpn/
  /var/lib/connman/
  /var/lib/geoclue/
  /var/lib/lightdm-data/
  /var/lib/lightdm/
  /var/lib/pacman/local/
  /var/lib/pacman/sync/
  /var/lib/random-seed
  /var/lib/upower/history-charge-42T4649-71-1810.dat
  /var/lib/upower/history-rate-42T4649-71-1810.dat
  /var/lib/upower/history-time-empty-42T4649-71-1810.dat
  /var/lib/upower/history-time-full-42T4649-71-1810.dat
Unneeded Packages Installed Explicitly:
 *accountsservice             1.01 M - D-Bus interface for user account query and manipulation
  alacarte                  994.00 K - Menu editor for gnome
  alsa-firmware             14.12 M - Firmware binaries for loader programs in alsa-tools and hotplug firmware loader
  alsa-utils-runit            2.21 M - runit service scripts for alsa-utils (runit-world)
 *artix-archlinux-support     1.39 M - Add arch linux repo support
 *atomicparsley             338.15 K - Command line program for reading, parsing and setting metadata in MPEG-4 files
  audacious                 16.99 M - Lightweight, advanced audio player focused on audio quality
  autoconf                    2.20 M - A GNU tool for automatically configuring source code (base-devel)
  automake                    1.57 M - A GNU tool for automatically creating Makefiles (base-devel)
  base                        4.04 M - Minimal package set to define a basic Artix Linux installation
  bashtop                   201.65 K - Linux resource monitor
  bison                       2.58 M - The GNU general-purpose parser generator (base-devel)
  bluez-runit               94.00 B - runit service scripts for bluez (runit-world)
  bluez-utils                 7.48 M - Development and debugging utilities for the bluetooth protocol stack
  bpytop                    259.26 K - Resource monitor that shows usage and stats for processor, memory, disks, network and processes
  calcurse                  861.22 K - A text-based personal organizer.
  cmus                      830.54 K - Feature-rich ncurses-based music player
  connman-runit               1.76 M - Runit service script for connman (runit-galaxy)
  dhcpcd                    487.01 K - RFC2131 compliant DHCP client daemon
  fakeroot                  138.31 K - Tool for simulating superuser privileges (base-devel)
 *feh                       452.46 K - Fast and light imlib2-based image viewer
  flex                      995.00 K - A tool for generating text-scanning programs (base-devel)
  freetube-bin              365.52 M - An open source desktop YouTube player built with privacy in mind.
 *gcc                       151.42 M - The GNU Compiler Collection - C and C++ frontends (base-devel)
 *git                       33.21 M - the fast distributed version control system
  grub                      34.01 M - GNU GRand Unified Bootloader (2)
 *gtk-engines                 1.17 M - Theme engines for GTK+ 2
 *gvfs-mtp                  163.91 K - Virtual filesystem implementation for GIO (MTP backend; Android, media player) (gnome)
  htop                      342.09 K - Interactive process viewer
 *hunspell-en_us              2.21 M - US English hunspell dictionaries
 *i3-wm                       2.23 M - Improved dynamic tiling window manager (i3)
  i3blocks                  44.72 K - Define blocks for your i3bar status line (i3)
 *i3lock                    54.28 K - Improved screenlocker based upon XCB and PAM (i3)
 *i3status                  115.03 K - Generates status bar to use with i3bar, dzen2 or xmobar (i3)
  intel-ucode                 4.55 M - Microcode update files for Intel CPUs
 *libcaca                     1.20 M - Color AsCii Art library
 *libdvdcss                 38.74 K - Portable abstraction library for DVD decryption
  librewolf                 323.75 M - Community-maintained fork of Firefox, focused on privacy, security and freedom.
  light-locker              268.75 K - A simple session locker for LightDM
 *lightdm-gtk-greeter       324.14 K - GTK+ greeter for LightDM
  lightdm-runit             109.00 B - runit service scripts for lightdm (runit-world)
 *linux                     135.84 M - The Linux kernel and modules
 *linux-firmware            731.19 M - Firmware files for Linux
 *lua                         1.17 M - Powerful lightweight programming language designed for extending applications
  lxappearance              395.39 K - Feature-rich GTK+ theme switcher of the LXDE Desktop (lxde)
  make                      45.63 M - GNU make utility to maintain groups of programs (base-devel)
  man-db                      2.34 M - A utility for reading man pages
  mousepad                    9.39 M - Simple text editor for Xfce (xfce4-goodies)
  mpv                       55.01 M - a free, open source, and cross-platform media player
  nano                        2.43 M - Pico editor clone with enhancements
  neofetch                  339.13 K - A CLI system information tool written in BASH that supports displaying images.
  ninja                     310.33 K - Small build system with a focus on speed
  nnn                       331.85 K - The fastest terminal file manager ever written.
 *ntfs-3g                     2.21 M - NTFS filesystem driver and utilities
  ntp-runit                   4.46 M - runit service scripts for ntp (runit-world)
  pacutils                  490.49 K - Helper tools for libalpm
  patch                     205.85 K - A utility to apply patch files to original sources (base-devel)
  perl-extutils-installpaths 27.49 K - ExtUtils::InstallPaths - Build.PL install path logic made easy
  perl-json                 208.77 K - JSON (JavaScript Object Notation) encoder/decoder
 *perl-libwww                 1.17 M - The World-Wide Web library for Perl
  picom                     626.15 K - X compositor that may fix tearing issues
  pkgconf                   161.67 K - Package compiler and linker metadata toolkit (base-devel)
 *pulseaudio-bluetooth      817.72 K - Bluetooth support for PulseAudio
 *pulseaudio-jack           81.27 K - Jack support for PulseAudio
 *pulseaudio-lirc           13.76 K - IR (lirc) support for PulseAudio
  ranger                      1.82 M - Simple, vim-like file manager
  redshift                  15.47 M - Adjusts the color temperature of your screen according to your surroundings.
  ristretto                   1.01 M - A fast and lightweight picture viewer for Xfce (xfce4-goodies)
 *rofi                      960.70 K - A window switcher, application launcher and dmenu replacement
  sdl2_image                145.83 K - A simple library to load images of various formats as SDL surfaces (Version 2)
  sdl2_ttf                  43.63 K - A library that allows you to use TrueType fonts in your SDL applications (Version 2)
  sdl_ttf                     1.11 M - A library that allows you to use TrueType fonts in your SDL applications
  streamlink                43.57 M - CLI program that launches streams from various streaming services in a custom video player (livestreamer fork)
 *sudo                        6.78 M - Give certain users the ability to run some commands as root (base-devel)
 *sysstat                     1.58 M - a collection of performance monitoring tools (iostat,isag,mpstat,pidstat,sadf,sar)
  terminator                  8.29 M - Terminal emulator that supports tabs and grids
 *thunar-archive-plugin     149.66 K - Create and extract archives in Thunar (xfce4-goodies)
 *thunar-media-tags-plugin    1.93 M - Adds special features for media files to the Thunar File Manager (xfce4-goodies)
 *thunar-volman             660.44 K - Automatic management of removeable devices in Thunar (xfce4)
 *trash-cli                 232.17 K - Command line trashcan (recycle bin) interface
 *unzip                     319.47 K - For extracting and viewing files in .zip archives
  vim                       34.77 M - Vi Improved, a highly configurable, improved version of the vi text editor
 *w3m                         1.93 M - Text-based Web browser as well as pager
  wget                        3.08 M - Network utility to retrieve files from the Web
  xclip                     34.48 K - Command line interface to the X11 clipboard
  xf86-video-intel            2.26 M - X.org Intel i810/i830/i915/945G/G965+ video drivers (xorg-drivers)
  xfburn                    24.10 M - A simple CD/DVD burning tool based on libburnia libraries (xfce4-goodies)
  xfce4-appfinder           685.60 K - An application finder for Xfce (xfce4)
  xfce4-artwork               9.82 M - Backdrops for the Xfce4 desktop (xfce4-goodies)
  xfce4-battery-plugin      477.43 K - A battery monitor plugin for the Xfce panel (xfce4-goodies)
  xfce4-clipman-plugin      913.95 K - A clipboard plugin for the Xfce4 panel (xfce4-goodies)
  xfce4-cpufreq-plugin      239.85 K - CPU frequency plugin for the Xfce4 panel (xfce4-goodies)
  xfce4-cpugraph-plugin     395.83 K - Graphical representation of the CPU load (xfce4-goodies)
  xfce4-datetime-plugin     130.33 K - A date and time display plugin for the Xfce panel (xfce4-goodies)
  xfce4-dict                818.93 K - A dictionary plugin for the Xfce panel (xfce4-goodies)
  xfce4-diskperf-plugin     239.73 K - Plugin for the Xfce4 panel displaying instant disk/partition performance (xfce4-goodies)
  xfce4-eyes-plugin         94.36 K - A rolling eyes (following mouse pointer) plugin for the Xfce panel (xfce4-goodies)
  xfce4-fsguard-plugin      245.28 K - File system usage monitor plugin for the Xfce4 panel (xfce4-goodies)
  xfce4-genmon-plugin       190.75 K - plugin that monitors customizable programs stdout for the Xfce4 panel (xfce4-goodies)
  xfce4-mailwatch-plugin    735.15 K - Multi-protocol, multi-mailbox mail watcher for the Xfce4 panel (xfce4-goodies)
  xfce4-mount-plugin        323.83 K - Mount/umount utility for the Xfce4 panel (xfce4-goodies)
  xfce4-mpc-plugin          335.37 K - Control the Music Player Daemon from the Xfce4 panel (xfce4-goodies)
  xfce4-netload-plugin      190.93 K - A netload plugin for the Xfce panel (xfce4-goodies)
  xfce4-notes-plugin        538.55 K - Notes plugin for the Xfce panel (xfce4-goodies)
  xfce4-power-manager         4.55 M - Power manager for theXfce desktop (xfce4)
  xfce4-pulseaudio-plugin   374.82 K - Pulseaudio plugin for Xfce4 panel (xfce4-goodies)
 *xfce4-screensaver           1.06 M - Xfce Screensaver (xfce4-goodies)
  xfce4-screenshooter       788.47 K - An application to take screenshots (xfce4-goodies)
  xfce4-sensors-plugin      816.65 K - Sensors plugin for the Xfce panel (xfce4-goodies)
  xfce4-session               1.79 M - Session manager for Xfce (xfce4)
  xfce4-settings            15.39 M - Settings manager of the Xfce desktop (xfce4)
  xfce4-smartbookmark-plugin 73.47 K - Allows you to send requests directly to your browser and perform a custom search (xfce4-goodies)
  xfce4-systemload-plugin   191.82 K - A system load plugin for the Xfce4 panel (xfce4-goodies)
  xfce4-taskmanager         480.56 K - Easy to use task manager (xfce4-goodies)
  xfce4-terminal              2.12 M - A modern terminal emulator primarily for the Xfce desktop environment (xfce4)
  xfce4-time-out-plugin     217.18 K - Take a break from your computer with this plugin for Xfce4 (xfce4-goodies)
  xfce4-timer-plugin        206.29 K - Plugin to track time for the Xfce4 panel (xfce4-goodies)
  xfce4-verve-plugin        169.03 K - Command line plugin for the Xfce panel (xfce4-goodies)
  xfce4-wavelan-plugin      125.00 K - Plugin to monitor wifi connectivity for the Xfce4 panel (xfce4-goodies)
  xfce4-weather-plugin        4.46 M - A weather plugin for the Xfce4 panel (xfce4-goodies)
  xfce4-whiskermenu-plugin  705.41 K - Menu for Xfce4 (xfce4-goodies)
  xfce4-xkb-plugin            1.82 M - Plugin to switch keyboard layouts for the Xfce4 panel (xfce4-goodies)
  xfdesktop                   2.88 M - A desktop manager for Xfce (xfce4)
  xfwm4-themes                3.43 M - A set of additional themes for the Xfce window manager (xfce4)
  xorg-server                 5.08 M - Xorg X server (xorg)
 *xorg-xrandr               69.55 K - Primitive command line interface to RandR extension (xorg-apps xorg)
 *youtube-dl                13.26 M - A command-line program to download videos from YouTube.com and a few more sites
Unneeded Packages Installed As Dependencies:
  alsa-card-profiles 177.49 K - Low-latency audio/video router and processor - ALSA card profiles
  alsa-plugins      347.80 K - Additional ALSA plugins
  glibmm              6.98 M - C++ bindings for GLib
 *hunspell          785.19 K - Spell checker and morphological analyzer library and program
  jemalloc            1.68 M - General-purpose scalable concurrent malloc implementation
  kwayland          39.11 M - Qt-style Client and Server library wrapper for the Wayland libraries (kf5)
  libdbusmenu-qt5   650.60 K - A library that provides a Qt implementation of the DBusMenu spec
  libfdk-aac          1.49 M - Fraunhofer FDK AAC codec library
  libfreeaptx       60.15 K - Open Source aptX codec library
  libldac           93.37 K - LDAC Bluetooth encoder library
  libmicrohttpd     404.55 K - a small C library that is supposed to make it easy to run an HTTP server as part of another application.
  minizip           85.67 K - Mini zip and unzip based on zlib
  openal              1.55 M - Cross-platform 3D audio library, software implementation
  perl-inc-latest   17.51 K - Build, test, and install Perl modules
  protobuf            9.27 M - Protocol Buffers - Google's data interchange format
  qt5-imageformats    2.09 M - Plugins for additional image formats: TIFF, MNG, TGA, WBMP (qt qt5)
  rnnoise           132.89 K - A noise suppression library based on a recurrent neural network
  tracker3            7.49 M - Desktop-neutral user information store, search tool and indexer
  ttf-opensans        2.74 M - Sans-serif typeface commissioned by Google
  wayland-protocols 448.41 K - Specifications of extended Wayland protocols
  xxhash            326.39 K - Extremely fast non-cryptographic hash algorithm
  yasm                4.38 M - A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)
Unneeded Packages In A Dependency Cycle:
Installed Packages Not In A Repository:
Package Cache Size:
  /var/cache/pacman/pkg/ 3.12 G (2.14 G not installed)
[artix |github]$

I am not sure if I made all and the correct files bold. I might have missed one or two...

So can I manually remove those bolded entries before rebuilding pipe-viewer through the AUR? I know that some where there before I have messed things up and therefore are crucial for system stability.

The "leaked" messages have nothing to do with security, those are just some built in test, possibly relating to memory leaks or namespace leaks.
So one way would be to re-run the build after installing the missing item(s) so it succeeds then do make uninstall to remove it if desired. Possibly make uninstall would work now, if the original build dir still exists.


Okay thanks. glad the "leaked" messages have nothing to do with security.
As far as the original build directory concerns,

When I cloned the git repo I created a folder namend "pipe-viewer" in my "github" folder under my home dir. But I deleted the folder "pipe-viewer" after trying to remove all those dependencies.



 

Re: pipe-viewer dependency overkill?

Reply #6
It does makes sense to review the PKGBUILD of packages on AUR. To see what they are up to. I can't say I've ever come across anything malicious myself though. And I don't check them all I must admit but do the more obscure ones.

But always try to stick to using the package manager. If a package is not available in the repo's or AUR and you want to build it yourself do so by creating a PKGBUILD for it. It's often really trivial. There's good documentation and you can often start by just repurposing a simple PKGBUILD  from another package. You'll keep a cleaner system that way.

I would still suggest seeing what file conflicts you get if you try to install from AUR. And seeing if they tally with your list.
Also if you prefer to delete files now, consider renaming first. Give them an extension like .deleteme. Then if you do go wrong you'll have a better chance of reverting. If everything's fine you can delete later on.

Re: pipe-viewer dependency overkill?

Reply #7
Hello Gripped,

sorry for my late reply. A quick update. Followed your method. Installed pipe-viewer from the AUR using Yay and the program works.
Did comparison between these 2 installs to look for orphan files. Found some of them.
I already wrote a detailed reply with all the steps listed. Saved it in drafts. It's almost done. I try to finish it within the next hours,
before tomorrow.

Re: pipe-viewer dependency overkill?

Reply #8
Hi Gripped,

It does makes sense to review the PKGBUILD of packages on AUR. To see what they are up to. I can't say I've ever come across anything malicious myself though. And I don't check them all I must admit but do the more obscure ones.

But always try to stick to using the package manager. If a package is not available in the repo's or AUR and you want to build it yourself do so by creating a PKGBUILD for it. It's often really trivial. There's good documentation and you can often start by just repurposing a simple PKGBUILD  from another package. You'll keep a cleaner system that way.


Okay, from now on I will either use the pacman, AUR helper or build packages myself, if I need that.



I would still suggest seeing what file conflicts you get if you try to install from AUR. And seeing if they tally with your list.
Also if you prefer to delete files now, consider renaming first. Give them an extension like .deleteme. Then if you do go wrong you'll have a better chance of reverting. If everything's fine you can delete later on.


Right! So this is what I have tried 10 minutes ago, following your suggestions:

01.

Installed yay:

sudo pacman -S yay

installed successful, by the way: universe was already enabled, yes.

02.

Installed pipe-viewer-git:

yay -S pipe-viewer-git

However, that did not work. I do not know the reason. The cursor in the terminal vanished and nothing happened. ssd did not work
either. So I hit CTRL+C to abort.

03.

Instead I ran your other command, since I only need the cli version of pipe-viewer

yay -G pipe-viewer-git

04.

Than I switched into the pipe-viewer-git directory, opened the PKGBUILD with an editor

FROM

cd "$_pkgname"
    /usr/bin/perl Build.PL --gtk3

TO

cd "$_pkgname"
    /usr/bin/perl Build.PL

Saved it.

05

executed

makepkg -si

And as you have forseen, I did, indeed ran into an error:




Code: [Select]
resolving dependencies...
looking for conflicting packages...

Package (13)                              New Version  Net Change  Download Size

extra/cairo-perl                          1.109-1        0.33 MiB       0.08 MiB
extra/glib-perl                           1.329.3-2      0.71 MiB       0.30 MiB
community/perl-cairo-gobject              1.004-11       0.02 MiB       0.01 MiB
world/perl-class-inspector                1.36-4         0.03 MiB       0.01 MiB
community/perl-glib-object-introspection  0.049-1        0.19 MiB       0.06 MiB
world/perl-io-socket-ssl                  2.072-1        0.41 MiB              
world/perl-mime-charset                   1.012.2-8      0.05 MiB       0.03 MiB
world/perl-net-ssleay                     1.90-2         0.87 MiB              
galaxy/perl-data-dump                     1.25-1         0.04 MiB              
world/perl-file-sharedir                  1.118-1        0.02 MiB       0.01 MiB
community/perl-gtk3                       0.038-1        0.08 MiB       0.03 MiB
world/perl-lwp-protocol-https             6.10-2         0.01 MiB              
world/perl-unicode-linebreak              2019.001-4     0.25 MiB       0.09 MiB

Total Download Size:   0.63 MiB
Total Installed Size:  3.03 MiB

:: Proceed with installation? [Y/n]




resolving dependencies...
looking for conflicting packages...

Package (1)              New Version  Net Change

world/perl-module-build  0.4231-5       0.37 MiB

Total Installed Size:  0.37 MiB

:: Proceed with installation? [Y/n]




:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                       [######################################] 100%
(1/1) checking package integrity                                     [######################################] 100%
(1/1) loading package files                                          [######################################] 100%
(1/1) checking for file conflicts                                    [######################################] 100%
(1/1) checking available disk space                                  [######################################] 100%
:: Processing package changes...
(1/1) installing perl-module-build                                   [######################################] 100%
:: Running post-transaction hooks...
(1/1) Warn about old perl modules
==> Retrieving sources...
  -> Cloning pipe-viewer git repo...
Cloning into bare repository '/home/paolo/pipe-viewer-git/pipe-viewer'...
remote: Enumerating objects: 1209, done.
remote: Counting objects: 100% (569/569), done.
remote: Compressing objects: 100% (361/361), done.
remote: Total 1209 (delta 272), reused 430 (delta 149), pack-reused 640
Receiving objects: 100% (1209/1209), 719.37 KiB | 833.00 KiB/s, done.
Resolving deltas: 100% (606/606), done.
==> Validating source files with sha512sums...
    pipe-viewer ... Skipped
==> Extracting sources...
  -> Creating working copy of pipe-viewer git repo...
Cloning into 'pipe-viewer'...
done.
==> Starting pkgver()...
==> Updated version: pipe-viewer-git 0.1.7.r2.g9225830-1
==> Starting build()...
WARNING: the following files are missing in your kit:
META.json
META.yml
Please inform the author.

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'WWW-PipeViewer' version 'v0.1.7'
==> Starting check()...
t/00-load.t ... 1/1 # Testing WWW::PipeViewer 0.1.7, Perl 5.034000, /usr/bin/perl
t/00-load.t ... ok  
t/kwalitee.t .. skipped: these tests are for release candidate testing
t/pod.t ....... skipped: Test::Pod 1.22 required for testing POD
All tests successful.
Files=3, Tests=1,  1 wallclock secs ( 0.04 usr  0.01 sys +  0.36 cusr  0.03 csys =  0.44 CPU)
Result: PASS
==> Entering fakeroot environment...
==> Starting package()...
Building WWW-PipeViewer
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man1/pipe-viewer.1p
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/Videos.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/RegularExpressions.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/VideoCategories.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/GetCaption.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/Subscriptions.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/Utils.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/InitialData.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/Playlists.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/PlaylistItems.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/Channels.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/Search.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/Activities.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/Authentication.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/ParseXML.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/ParseJSON.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/GuideCategories.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/Itags.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/WWW/PipeViewer/CommentThreads.pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::Utils.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::InitialData.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::Activities.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::Itags.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::GuideCategories.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::GetCaption.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::ParseJSON.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::Playlists.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::RegularExpressions.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::CommentThreads.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::Search.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::VideoCategories.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::Authentication.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::Subscriptions.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::ParseXML.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::Videos.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::PlaylistItems.3pm
Installing /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/man/man3/WWW::PipeViewer::Channels.3pm
OInstalling /home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/bin/pipe-viewer
mv: cannot stat '/home/paolo/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/perl5/vendor_perl/auto/share/dist/WWW-PipeViewer/gtk-pipe-viewer.desktop': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
[artix |pipe-viewer-git]$


 This error occurs because of me, editing the PKGBUILD by deleting the "gtk" opiton.
But pipe-viewer now works form the command line  :)

Last but not least:

So I did a comparison between the newly installed file from the PKGBUILD in my home folder

/pipe-viewer-git/pkg/pipe-viewer-git/usr/share/

with the leftovers, unowned files in the main filesystem in /usr/share and found these duplicates

/usr/share/man/man1/pipe-viewer.1p
/usr/share/man/man3/WWW::PipeViewer::Utils.3pm
/usr/share/man/man3/WWW::PipeViewer::InitialData.3pm
/usr/share/man/man3/WWW::PipeViewer::Activities.3pm
/usr/share/man/man3/WWW::PipeViewer::Itags.3pm
/usr/share/man/man3/WWW::PipeViewer::GuideCategories.3pm
/usr/share/man/man3/WWW::PipeViewer::GetCaption.3pm
/usr/share/man/man3/WWW::PipeViewer::GetCaption.3pm
/usr/share/man/man3/WWW::PipeViewer::Playlists.3pm
/usr/share/man/man3/WWW::PipeViewer.3pm
/usr/share/man/man3/WWW::PipeViewer::RegularExpressions.3pm
/usr/share/man/man3/WWW::PipeViewer::CommentThreads.3pm
/usr/share/man/man3/WWW::PipeViewer::Search.3pm
/usr/share/man/man3/WWW::PipeViewer::VideoCategories.3pm
/usr/share/man/man3/WWW::PipeViewer::Authentication.3pm
/usr/share/man/man3/WWW::PipeViewer::Subscriptions.3pm
/usr/share/man/man3/WWW::PipeViewer::ParseXML.3pm
/usr/share/man/man3/WWW::PipeViewer::Videos.3pm
/usr/share/man/man3/WWW::PipeViewer::PlaylistItems.3pm
/usr/share/man/man3/WWW::PipeViewer::Channels.3pm


Basically only man pages. Therefore they can be deleted.


However, in the filesystem under /usr/share there is a folder called "perl5"  with these 2 folders /vendor_perl/WWW/
I do not know, if /perl5 and its other 2 subfolders were there at the beginning when I installed Artix or are the result of my bloated pipe-viewer install.

In the meantime I might have found another way to know which files were installed during my first pipe-viewer install:

I still have the CLI output of that installation saved to a text file  (the same I have posted at the very beginning of this thread).
My idea is to CTRL+F and then search for "INSTALL" to get an overview. Then I would remove all the entries

In total there are 1178.

Most of them are either in /usr/lib/share/perl5 or /usr/share

Do you think it is a good idea removing all 1178 entries?

Re: pipe-viewer dependency overkill?

Reply #9
Well first of all I'm glad you got it working.

I would have thought that the man files you listed were installed by the manual (non-package manager) install as the man files in the pipe-viewer-git package have a .gz extension (compressed).

But the directory /usr/share/vendor_perl/WWW/ is installed into by the the package pipe-viewer-git.
You don't want to remove them.
The fact that you had no file conflicts installing the package surprises me but is not a bad thing. You must have done a good job removing files I guess ?

I can only repeat what I said before. If you feel the need to remove anything don't delete straight away. Add the extension .deleteme and see what happens. (Or image the partition or anything that gives you a chance to 'undo')

I'm not going to advise you delete things when I can't see exactly what the situation is.

The fact is that not all 'orphaned' files are unneeded files.

Err on the side of caution.
Things will probably be fine  :-X






Re: pipe-viewer dependency overkill?

Reply #10
On my system, pacman -Qo says /usr/share/perl5/vendor_perl/WWW/ is owned by perl-www-robotrules 6.02-9. This is ultimately a dependency of a package I installed called  "hwinfo" in my case. You can also use ls -l to look at the creation times of files to give an indication if they were created around the same time, this may help give extra clues.  Make sure you have a good back up and recovery strategy to replace what you deleted if it doesn't work out!
Forget what I said earlier about pacman.log, too, because I think what happened with you was the build process used a perl package manager "cpan" to install various "modules", which in the PKGBUILD are listed as packages that can be installed by pacman instead:
Code: [Select]
makedepends=('git' 'perl-module-build')
depends=('perl' 'perl-data-dump' 'perl-json' 'perl-lwp-protocol-https' 'perl-gtk3' 'perl-libwww' 'perl-file-sharedir' 'perl-unicode-linebreak')

optdepends=(
    'ffmpeg: conversions and MKV merging'
    'gnome-icon-theme: icons in menus'
    'perl-json-xs: faster JSON parsing'
    'perl-lwp-useragent-cached: local cache support'
    'perl-term-readline-gnu: better STDIN support'
    'mpv: play videos with MPV (recommended)'
    'vlc: play videos with VLC'
    'wget: download videos with wget'
    'youtube-dl: play videos with encrypted signatures'
)
It seems possible you can use the same system (cpan) to uninstall these too, there is some discussion here for example:
https://stackoverflow.com/questions/7777252/uninstall-all-perl-modules-installed-by-cpan
I haven't used cpan myself before, although have briefly used pip, python's  equivalent concept. But typing cpan it brought up some tediously lengthy interactive config which apparently has let me set up a system where the modules it downloads can be installed in my home dir, thus out of the way of system files, perhaps that would have helped you avoid your issues. Also it mentioned something about having a default build policy of not failing on errors, perhaps why you had trouble aborting the process.
The perl-cpanplus package contains the cpanp command which lets you unistall things. You'd probably need to look at the pipeviewer docs to see what modules were installed, also it seems able to see the modules installed with pacman, so it look's like something to use with caution.

But cpan is what it's talking about regarding the dependencies on the pipeviewer ReadMe when you look at the linked addresses in the text:
https://github.com/trizen/pipe-viewer
If there are any perl enthusiasts around who are more familiar with this they might be able to give better advice  :D
It might be safer to undo this manually though, as you would know exactly what was removed. Also perhaps try ls -a /root in case any .cpan directory was created in there rather than your home dir as the commands were run with sudo.