Which feature do you want to land in pacman ?
Mine would be rootless package installation for that specific user.
About this post
- Posted
- Archived
- Score
- 30 · 100% up
- Kind
- Text
- ID
- c58par
Mine would be rootless package installation for that specific user.
93 comments
Delete all unneeded installed as dependencies packages in one pacman command, without piping a query into xargs or using substitution or whatever.
What about
Does not use xargs or command subsitution.
And may I ask why? You can easily create an alias for that.
EDIT: made correction pointed out below.
That doesn't work, by the way -
-Rrequires you to be root, and even if you are it still complains that no targets are specified. But yeah, the actual way to do it is still an one-liner that a user could remember if they would bother themselves with it, but still.I find it the same level of minor inconvenience as with apt's thing where for a full system upgrade you have to write
sudo apt-get update && sudo apt-get upgrade, opposed tosudo pacman -Syu.It's just that with
sudo apt-get autoremove, there's a little inconvenience both ways - you can't fully upgrade with a singleapt-getinvocation, and you can't fully remove oprhaned dependencies with a singlepacmaninvocation.Yeah, I agree, it's not very complicated to do yourself, but it's a common thing people would want to do, and therefore it maybe makes sense to make it into a real feature to be run in one command. I mean both apt's update&upgrade thing, and the pacman's removal operation performed on a result of substituting its arguments with pacman's query operation.
You need a "-" at the end to tell pacman to read from stdin
Why not? As simple as that may be, it's a nice convenience and the feature make sense. This is a dream thread, so might as well.
It feels like
pacman -RsuSHOULD accomplish this, but it doesn't. Can anyone eli5 whypacman -Qdtreturns packages not picked up by theuflag with-R?pacman -Ralways applies to a set of packages from the command line, if you run justpacman -Rsuyou geterror: no targets specified.On the other hand,
pacman -Qdt(like other -Q options) considers all installed packages, so it will usually find more dangling dependencies thatpacman -Rs <package>Based on my reading of the manpage, the
uflag of-Rseems to mean "remove all these packages (specified on the command line) unless they're required by something else," rather than "remove all unneeded packages."Deleted before we saved it.
An actual pacman minigame.
Enable "ILoveCandy" in your pacman.conf
If it breaks something then u lost.
More than 4 monsters in the game, I mean come on Namco, it's 2019
Crossover with Tekken, easy!
Install reason. I need a way to store why I explicitly installed a package. It helps when I'm cleaning up unused packages.
sounds usefull but you can always just create shell function that gets extra argument, writes it to a file and runs pacman as usual right?
With that attitude you can just write yourself a shell script that queries pacman's database of installed packages and get rid of all the unnecessary bloat know as the
-Qoption lolI don't know if it already exists, but being able to rollback every updated package to the version installed at a specified, previous date would be nice.
Basically go back to a previous state.
You can, it's just not a pacman command as such.
There is an archive of arch packages that exists which you can point pacman to. On this page, scroll down to "How to restore all packages to a specific date" and it tells you how.
Very nice, thanks!
man 5 alpm-hooks; pacman -Qi > /var/log/pacman.pkglist."$(date --iso-8601)"; or use a Snapshot manager (for zfs and btrfs).
Might want to check that it's really -Qi though, I'm doing that from memory
You probably want
-Qeor-Qqe?There is the AUR package
downgradethat works nicely, but it isn't quite what you want.Handling modules for the currently running kernel on updates.
I would love this, but this has been in the works for almost 10 years: https://bugs.archlinux.org/task/16702
Manjaro does this to some degree I think.
I would love this.
Yeah, though I believe someone made a hook which handles that for you (I haven't tested it): https://aur.archlinux.org/packages/kernel-modules-hook/
I think pacman's
VerbosePkgListsoutput could be improved a bit. Yay, if used with thecombinedupgradeoption (disabled by default due to possible partial upgrades), has an output format which makes it much easier to read and compare, like for example the colored parts of the semantic versioning strings or packages being sorted by repo and name (example pic from the readme of yay's git repo).I really miss
yaourts output where the list was separated between package and upstream updates.See https://rtfm.co.ua/wp-content/uploads/2016/12/ya.png for example
(I know it is insecure and not maintained anymore)
i'd like an alternate pacman.log format, eg json.
Warn on install of any package containing arbitrary keyword, definable in pacman.conf. I'm trying to stay as xorg free as possible.
To list explicitly installed packages sorted by installation date.
I'm sad there is little mention of features I want to see implemented! Maybe my vision for pacman is wrong...
Parallelism: some things in pacman can use multiple processors to boost speed (e.g. checksum/signature checks). Parallel downloads could also be an option - although that requires a lot of interface considerations.
Alternatives: I'd like to be able to switch /usr/bin/python to point at python2 or python3. Not sure what idiot decided to make that python3 in Arch... :)
Better handling of optdepends. I think more can be done, but needs planning.
More extensible makepkg. There is great progress made on that, and I have the start of a namcap replacement as drop-ins into makepkg. But more can be done.
But mostly I think time needs spent polishing what we already have. There are tiny annoyances that take time to fix, but give little reward. I'd love to freeze all development apart from those things.
Are you pacman dev/maintainer ?
Yes.
I'd be happy to work on parallel checksumming if you're open to contributors. Never worked on pacman before though if you can offer any direction.
yay's UI (package search & install withpacman <search term>and the--combinedupgradescreen for example)That is complexity for no real reason. Even upgrading several GB of packages happens in very little time once they are downloaded.
It will likely happen once I make a new pacman release...
Deltas are gone completely the next release.
Package compression will still be needed for transit, and it would be wasteful to decompress them for local storage, only to then transparently compress them again of file system level. I don't think this would improve the current situation.
Tagging / labeling packages when I install or remove them. So for instance when installing my GUI, I could tag all the packages I install as 'gui', then if I want to remove my GUI packages, instead of uninstalling each package or package group individually, I can just say
pacman -R <tag gui>or whatever.+1 Tagging packages, even if initially with an "info only" field, would be useful for helping keep track of say, AUR build deps, and other AUR related stuff.
Would be even cooler if makepkg could pass the "identification tagging" option to pacman when used with the -s and -i options.
I like to keep my AUR packages updated, and removing AUR build deps (orphans) doesn't always make sense if it's a huge download for every update.
It often takes some time for me to remember the build options for newly installed AUR packages. I often end up deleting them a few times ....
I have a script that uses aurora-git and aurutils, to list all the "build depends" of all my installed AUR packages combined, and separates them in "installed" and "need installed" columns.
Realize building in a clean chroot is trivial with aurutils, and would alleviate all this, but for just a small handful of AUR packages, almost seems overkill.
a reset feature, where a pkg don't creates pacnew files (or other stuff), but deletes, overwrites/recreates the original package content like its a fresh installation.
See https://bugs.archlinux.org/task/59908?project=3&opened=26268.
I've already implemented it on my side but I've discovered that
--nosavedoesn't really fit in the code base so it should probably have it's own flag.Also my description only handles overwriting on reinstall but perhaps this should be extended to a more general "ignore backups altogether".
Sounds like a good start. Thanks for that work :D
I've seeing some pacman hooks doing this.
I'd like to see colorful version differences with package updates, similar to what yaourt and yay can do.
History with rollbacks and undos like DNF?
Purge, from apt
Pacman already has that.
How do you use this feature?
zstd, but that's it.
(Yes I know it already does, but until the repos are packaged that way, what's the point! :D )
I just want a new release so all the new stuff in master actually makes it to the mainstream.
What kind of stuff is there?
For my personal changes. A rework of how to use
pacman -F, better handling of--neededwith group installs, a ton of new lints for makepkg and alpm_pkg_(make|check)_depends actually working.There's also meson which is nice but doesn't really effect the built package.
There's also the slight annoyance of having to maintain separate release and pacman-master branches of yay, go-alpm and alpm.rs.
Keep dreaming!
Automatically add assume installed option to font packages, since I want to install the font myself.
Create a dummy package
Pacman already has feature for that, but i just want it to run automatically. The switch is super long.
Edit: A short switch for
--assume-installedwould be nice, really useful feature.Built-in delta updates.
Rootless per-user packages don't really make sense; each and every package would have to be re-architectured for it.
pacman has delta updates... although that feature is removed in the next release...
Deleted before we saved it.
E. Nothing. pacman is great the way it is. :)
Deleted before we saved it.
Super minor, but it'd be neat if
-valso included output currently only supplied byVerbosePkgListsin/etc/pacman.conf