You are not logged in.

#26 2010-12-02 21:13:38

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Aurphan: Adopt Today!

Allan wrote:
Pierre wrote:

You should pipe the pacman -Qq output to sort -u as it is not guaranteed to be sorted (and in my case it was not).

It is sorted...  just not according to your LC_COLLATE settings (always the C locale). tongue    That is fixed in git.

It is okay though.  Aurphan uses grep -xF instead.  No sorting needed and slightly faster for a dataset this size.

Offline

#27 2010-12-02 21:28:07

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Aurphan: Adopt Today!

Allan wrote:

It is sorted...  just not according to your LC_COLLATE settings (always the C locale). tongue    That is fixed in git.

Aha... that explains it.

/exports LC_COLLATE=C
//uses pacman-git

Offline

#28 2011-04-10 01:39:04

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Aurphan: Adopt Today!

New feature!  -w mode (named for Wonder this time) searches the master todo list for Work You Can Do.

It'll print out a bunch of packages that need work, categorized by task.  But only the packages you have installed.  Fix up the pkgbuild and send your corrections to the maintainer.

Last edited by keenerd (2011-04-10 01:41:00)

Offline

#29 2011-04-10 16:31:50

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Aurphan: Adopt Today!

Another new feature!  -b mode (for the bugtracker) summarizes all (currently +900) bugs by package, and only displays packages you have installed.  It is a little slow, takes around a minute to run.  (Most of this is downloading the pages, might be able to speed it up a lot with multithreading.)

Offline

#30 2011-04-12 19:00:44

machoo02
Member
Registered: 2009-02-22
Posts: 35

Re: Aurphan: Adopt Today!

Some odd formatting when using -b: last package in list has a comma after it, and no trailing newline

[matt@darwin r]$ aurphan -b
This is slow, please wait..............................................
68 kernel26
32 initscripts
17 netcfg
11 mkinitcpio
6 chromium
5 pacman
5 net-tools
5 dcron
5 cryptsetup
4 xdg-utils
4 ppp
4 namcap
4 libreoffice
3 v4l-utils
3 udev
3 shadow
3 pam
2 xorg-server
2 xf86-video-ati
2 udisks
2 r
2 perl
2 networkmanager
2 meld
2 mdadm
2 lirc-utils
2 ifplugd
2 iana-etc
2 grub
2 git
2 firefox
2 dash
2 ca-certificates-java
2 ati-dri
2 acpid
xulrunner, xterm, xkeyboard-config, xfce-utils, xfce4-sensors-plugin, xfce4-genmon-plugin, xfce4-dev-tools, xf86-input-synaptics, vte, upower, unzip, tumbler, ttf-dejavu, totem, thunar-thumbnailers, sysfsutils, subversion, rsync, qt, python-qt, psutils, perl-uri, perl-libwww, patch, openssl, openssh, net-snmp, netcdf, module-init-tools, man-db, linux-firmware, libldap, libgme, kernel26-headers, kbd, iproute2, htop, hal, gvfs-smb, groff, glew, gimp, gdal, gawk, gamin, flashplugin, evince, docbook-xsl, docbook-xml, dialog, cython, cpufrequtils, consolekit, cdrkit, ca-certificates, bluez, abs, [matt@darwin r]$ 

Offline

#31 2011-05-09 07:06:57

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Aurphan: Adopt Today!

Fixing the comma is not really worth it, but the newline is fixed.

The option flags have been rearranged and Aurphan has been pushed to community.

Offline

#32 2011-05-09 17:37:55

Sara
Member
From: USA
Registered: 2009-07-09
Posts: 219
Website

Re: Aurphan: Adopt Today!

I'm having a problem with the otherwise perfect aurphan: It's trying to alert me to a package in need of help that I don't have installed on my system, namely, lib32-util-linux, in the multilib repo. I don't have multilib enabled, and I checked with pacman, and it's not installed on my system. To be doubly sure, I enabled multilib, installed this program it's alerting me to, then uninstalled it, and I'm still being alerted to it when I run "aurphan -p". I know the "-p" option is for developers, but I was curious as to what would come up, and the help information that comes with aurphan says it would only alert to installed programs, so I wanted to check what was up. Thanks.


Registed Linux User 483618

Offline

#33 2011-05-09 18:04:31

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Aurphan: Adopt Today!

Glad you like it.  The problem does sound like a bug.

So, --packages crawls the list of orphans ($PKGURL in source) and does a set intersection (grep -xF) with the list of installed packages (pacman -Qq).  The list of orphans does include include multilib.  But a package needs to be in both lists to show up.  No clue what is happening.  If it is not in -Qq, it should never be displayed.

Could you paste your pacman -Qq output?

Offline

#34 2011-05-25 04:10:52

doorknob60
Member
Registered: 2008-09-29
Posts: 403

Re: Aurphan: Adopt Today!

Cool, informed me of 4 packages that I don't need anymore for various reasons, and I adopted and maintained this: http://aur.archlinux.org/packages.php?ID=16049

Honestly, I don't think I need it for anything, but it looked easy to update and has a lot of votes (no AUR packages require it, and it's an old GTK1 lib, lib32 version. I probably was trying to install an old Loki game I bet tongue)

Offline

#35 2011-06-08 22:36:10

Sara
Member
From: USA
Registered: 2009-07-09
Posts: 219
Website

Re: Aurphan: Adopt Today!

keenerd wrote:

Could you paste your pacman -Qq output?

Unfortunately, I have reinstalled Arch since I last posted, and the problem no longer occurs on my new Arch, so I can't provide the output. If the problem ever re-occurs though, I will be sure to post my pacman -Qq.

Last edited by Sara (2011-06-08 22:36:42)


Registed Linux User 483618

Offline

#36 2011-07-17 15:50:32

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Aurphan: Adopt Today!

New version released.  This adds a minor feature to -p/--packages.  Now it flags packages that can be safely moved out of their repository.  This is mainly for the TUs, so they can either pester developers to move an orphan out of [extra] into [community] for them to pick up or out of [community] and into the AUR.

Offline

#37 2011-09-23 04:17:50

adaptee
Member
From: China
Registered: 2010-02-02
Posts: 36

Re: Aurphan: Adopt Today!

I would suggest generating https://  URL instead of http:// URL in the result, because if I want to adopt one package I mush have logged in and a http:// URL means I need one extra click to 'switch to HTTPS' .

Offline

#38 2011-09-23 12:05:46

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Aurphan: Adopt Today!

Done, and coming to a mirror near you.

Offline

#39 2011-10-03 18:27:03

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Aurphan: Adopt Today!

New mode for developers and TUs: -e / --eligible lists your AUR packages (-Qm) that have more than 10 votes.

Offline

#40 2011-12-24 05:22:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Aurphan: Adopt Today!

Some package names are printed green, others red. Can you add a short explanation do '--help' what does that mean? I'm guessing it means they're out of date.

Found out that using all_jsons (from aur3 page) + jshon is much faster than aurphan -a/-e (but may be slightly out of date).

Offline

#41 2012-01-30 19:26:32

GordonGR
Member
From: Thessaloniki, Greece
Registered: 2011-11-07
Posts: 276

Re: Aurphan: Adopt Today!

nikos@Russell:~$ aurphan -a
No orphans found

*sniffs*


Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.

“No one without the knowledge of geometry may enter.“ Plato.

Offline

#42 2012-01-30 19:39:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Aurphan: Adopt Today!

Oh, don't cry sniff :-(
You can adopt st https://aur.archlinux.org/packages.php?ID=48264

Offline

#43 2012-01-30 21:19:23

GordonGR
Member
From: Thessaloniki, Greece
Registered: 2011-11-07
Posts: 276

Re: Aurphan: Adopt Today!

Well, it is taken and up to date as I see… but thanks, karol, you are a sweetheart smile


Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.

“No one without the knowledge of geometry may enter.“ Plato.

Offline

#44 2012-01-30 21:35:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Aurphan: Adopt Today!

st was still an orphan 2 hours ago ;P

Offline

#45 2012-11-07 21:38:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Aurphan: Adopt Today!

$ pacman -Q aurphan
aurphan 20121106-1
$ pacman -Q dehtml
dehtml 1.8-2
$ aurphan -a
No orphans found.

dehtml is an orphan https://aur.archlinux.org/packages/dehtml/
What am I doing wrong?

Offline

#46 2012-11-14 17:30:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Aurphan: Adopt Today!

I opened a bug report https://bugs.archlinux.org/task/32651 Sorry about the idiotic title ...

Offline

#47 2012-11-14 19:30:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Aurphan: Adopt Today!

Rejoice! A new, faster, leaner (doesn't depend on libxml2) aurphan is available.

Still, the ugly hack falconindy provided is much faster (but gives less info) than 'aurphan -p' https://bbs.archlinux.org/viewtopic.php … 06#p858206
On my computer it's 3.5 v. 144 seconds.

I had to change the url to

orphanURL='https://www.archlinux.org/packages/?q=&maintainer=orphan&last_update=&flagged=&limit=all'

Offline

#48 2012-11-19 15:08:52

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Aurphan: Adopt Today!

Aurphan -p is now ten times faster.

Offline

#49 2012-11-19 15:22:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Aurphan: Adopt Today!

Yup, now it's <6 seconds (so it's even 20 times faster for me). That's fast enough.

Thanks :-)

Last edited by karol (2012-11-19 15:22:45)

Offline

#50 2017-04-16 00:54:23

hashhar
Member
From: New Delhi, India
Registered: 2017-04-08
Posts: 18
Website

Re: Aurphan: Adopt Today!

Is the AUR function broken? Because there definitely are orphans. I'll try to fix this if I get the time but can't commit to it. This is a great tool. I found it after I stumbled upon the IRC PKGBUILD class logs.

Offline

Board footer

Powered by FluxBB