You are not logged in.
I'm reading the Check for orphans and dropped packages of the wiki.
I want to check for packages no longer in remote repositories, but `pacman -Qm` will list packages installed from the AUR.
So, as suggested in the wiki, I installed ancient-packages.
I have two problems:
1. I can't figure out the real upstream URL (repo, website, etc.), since the AUR lists an image as upstream URL (is this legal?)
2. When I run it, it says "The terminal width must be at least 150 columns.". I use kitty, and the window is maximized.
Offline
Point 2 is a duplicate of https://bbs.archlinux.org/viewtopic.php?pid=2067929
Point 1 still valid
Offline
The downloaded zip file holds one file, a bash script which does include the text of the GPL3 license.
The linked picture looks like a screenshot of the output of the script so does give som einfo about the script.
(Xavion has multiple packages that follow the same method.)
I'd say using it is legal, wehether a url to a pic is better then no upstream url is another question.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Package maintainer (xavion) is the package author. Upstream link appears to be his own server. If .img is removed from the link it straightly leads to the bash script.
For terminal width issue, just reduce font size.
Last edited by Docbroke (2023-08-21 17:08:45)
Arch is home!
https://github.com/Docbroke
Offline
Or just don't use a complicated script that depends on package-query just to do something that a single call to the RPC would provide:
#!/bin/sh
url='https://aur.archlinux.org/rpc?v=5&'
pacman -Qmq | sort >| /tmp/pkgs
curl -s "${url}type=info$(printf '&arg[]=%s' $(cat /tmp/pkgs))" \
| jq -r '.results[]|.Name' | sort | comm -13 - /tmp/pkgs
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
1. I can't figure out the real upstream URL (repo, website, etc.), since the AUR lists an image as upstream URL (is this legal?)
Lol. I think the point of AUR is that anyone can just go and upload whatever crap they want, there's not really any quality control. One time someone even put a bitcoin miner in an AUR package that claims to do something else (although that one got deleted I think). It's assumed that you will verify it manually. In this case, if the screenshot is not sufficient for you, you should not install it (and maybe complain in the comments).
The actual source code is in http://public.files.xavion.name/Softwar … t-packages, you can see at the bottom of the AUR page.
2. When I run it, it says "The terminal width must be at least 150 columns.". I use kitty, and the window is maximized.
In kitty, you can use ctrl+shift+- (I think that's the default) to zoom out. This will make the font tiny and unreadable, but also fit more columns in.
The script I linked to, on line 42, has `MinCols=150`. You can change this to 0 so it never complains. IMO the author messed up on line 79: It should have just emitted a warning instead of crashing. "oh you're screen isn't big enough, some formatting may be messed up" is not really sufficient reason to forbid you from running the program.
Offline
Not to mention using formating that requires 150 or more columns just for a list of packages is a really silly design - which should make you question the rest of what the script does.
As for the wiki, the "recommendation" to use that script was put their by the script author.
Last edited by Trilby (2023-08-21 18:57:30)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I'm sure PRs are welcome
Offline
To where, the google drive of an inactive user?
Last edited by Trilby (2023-08-21 19:51:41)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Not to mention using formating that requires 150 or more columns just for a list of packages is a really silly design - which should make you question the rest of what the script does.
As for the wiki, the "recommendation" to use that script was put their by the script author.
I've substituted the recommendation in the wiki with your script (although the wiki puts a link in the URL).
Offline
I've substituted the recommendation in the wiki with your script
No one should blindly use my example script either without understanding how the RPC works. And if they understand how the RPC works, they wouldn't need my example script.
Blind trust in one bad tool should not be replaced by blind trust in a less-bad tool, but rather with understanding of how the process works.
Last edited by Trilby (2023-08-23 12:37:22)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline