vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
424 stars 42 forks source link

`rua upgrade` sometimes responds with non-AUR packages #155

Closed amcooper closed 3 years ago

amcooper commented 3 years ago

rua upgrade sometimes tells me about non-AUR packages. Today, for example:

$ rua upgrade
Package                    Current Latest 
haskell-haddock-library1.9 1.9.0-3 NOT FOUND, ignored 

This is a regular (non-AUR) package that was actually installed as a dependency of another regular package.

vn971 commented 3 years ago

@amcooper this is intended behavior in fact, make the user aware of this no-more-installable package. If you'd design it for yourself, what would be the action you'd like to see? Completely ignore the package? Ask? Error out? List but ignore for actual upgrade?

amcooper commented 3 years ago

Completely ignore. I'm expecting rua to concern itself only with packages from the AUR.

Here's the whole flow:

$ rua upgrade                     
Package                    Current Latest 
haskell-haddock-library1.9 1.9.0-3 NOT FOUND, ignored 

Do you wish to upgrade them? [O]=ok, [X]=exit. o

And the following AUR packages will need to be built and installed:

Proceed? [O]=ok, Ctrl-C=abort. o

$

And then the same again, if I run it again. If rua wants to make me aware of this package's status, I suppose that's fine. If rua can't upgrade this package, it shouldn't offer me that option.

vn971 commented 3 years ago

@amcooper understood! Seems like an obvious bug actually, understood it now, acknowledging.

Would you want / have time to fix it?

amcooper commented 3 years ago

It would be a while before I could get to it, but I'll fix it if no one else has by that time.

vn971 commented 3 years ago

@amcooper hey, no worries, I'll pick this up, it's a very small change that I know where to do