Skip to content

Removing old dependency packages #1

@JaneSmith

Description

@JaneSmith

I'm very glad I found this script. It's beautiful and neat, and very helpful for people that are far too used to apt's syntax.

I believe there may be a small issue with the "remove" command, though. It appears to run "pacman -R", which does not remove automatically installed dependencies. Would it not be better to replace this with "pacman -Rs", which does remove dependencies?

Alternatively, or additionally, an "autoremove" command could be added. This would be consistent with apt and apt-get, which would align with the goal of this script. I believe in this case it could run "pacman -Qdtq | pacman -Rs -" or "pacman -Rs $(pacman -Qqtd)" to do the job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions