rami3l / pacaptr

Pacman-like syntax wrapper for many package managers.

Home Page:https://crates.io/crates/pacaptr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Add `-U` option for scoop

dragonmkww opened this issue · comments

I think it would be nice if you could add a -U option for scoop. Of course it would be a wrapper for scoop update.

@dragonmkww
Thanks for your feedback!

I have a question though: IIRC pacman -U is used when (re)installing a package with a given package file. Does scoop update have the same semantics?

@dragonmkww To update a given package, please use -Su instead.

Just verified on a new installation that -U and -Su don't have the same semantics: -U expects indeed a package file.

[root@/]# pacman -U vim
loading packages...
error: 'vim': could not find or read package

[root@/]# pacman -Su vim
warning: vim-8.2.4827-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (1)  Old Version  New Version  Net Change

extra/vim    8.2.4827-1   8.2.4827-1     0.00 MiB

Total Installed Size:  4.59 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] ^C

Closing this issue as this feature request is invalid.