Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I made my own 'autoremove' in about 15 minutes for kiss. Its up in my repo https://github.com/jedahan/kiss-repo , and relies on having a package with all your system targets (in my case, named after my hostname) as dependencies:

    while kiss orphans | grep -qv $HOSTNAME; do
        kiss remove `kiss orphans | grep -v $HOSTNAME | tr '\n' ' '`
    done
This was much easier to implement in kiss than other package manager extensions in previous distros I've maintained packges for (gentoo, exherbo, arch, debian).


  sudo pacman -Rns $(pacman -Qqdtt)
Done.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: