aurman: Reinstalling AUR-packages that conflicts repo-packages leads installing the repo-package first, later installing AUR packages again

Description

In the course of today’s python-3.7 upgrade, I needed to reinstall some AUR packages, e.g. python-matplotlib, python-scipy-openblas, python-numpy-openblas. Here, AUR/python-numpy-openblas conflicts extra/python-numpy. When asking aurman to reinstall those three AUR-packages, --solution_way showed that it would want to install python-numpy in between the upgrade. This should not be necessary.

The --deep_search switch does not help.

Expected Behavior

When having python-matplotlib python-scipy-openblas python-numpy-openblas installed, aurman -S [those three packages] should just reinstall them, if necessary in correct in order.

Current Behavior

When having python-matplotlib python-scipy-openblas python-numpy-openblas installed, aurman -S [those three packages] installs repo packages that aren’t actually needed in the end, then removes them again later.

Possible Solution

No idea.

Version of aurman you are using

:: 2.17.1-1

Steps to Reproduce

EDIT: I forgot to mention, my config uses do_everything, use_ask, show_changes.

  1. Have these three packages installed: python-matplotlib python-scipy-openblas python-numpy-openblas
  2. aurman -S python-matplotlib python-scipy-openblas python-numpy-openblas --solution_way
~ $ aurman -S python-matplotlib python-numpy-openblas python-scipy-openblas --solution_way 
~~ initializing aurman...
:: Ignoring installed package texlive-bibtexextra
~~ calculating solutions...

:: The following 3 package(s) are getting reinstalled:
   community/python-matplotlib  2.2.2-3   ->  2.2.2-3
   aur/python-numpy-openblas    1.14.5-1  ->  1.14.5-1
   aur/python-scipy-openblas    1.1.0-1   ->  1.1.0-1

~~ The following will be done:
   Reinstall : python-matplotlib
   Remove    : python-numpy-openblas
   Install   : python-numpy
   Remove    : python-scipy-openblas - because of dependency breakage, needs manual intervention
   Remove    : python-numpy
   Install   : python-numpy-openblas
   Install   : python-scipy-openblas

?? Do you want to continue? Y/n: 
  1. aurman -S python-numpy-openblas python-scipy-openblas --solution_way # no python-matplotlib here
$ aurman -S python-numpy-openblas python-scipy-openblas --solution_way
~~ initializing aurman...
:: Ignoring installed package texlive-bibtexextra
~~ calculating solutions...

:: The following 2 package(s) are getting reinstalled:
   aur/python-numpy-openblas  1.14.5-1  ->  1.14.5-1
   aur/python-scipy-openblas  1.1.0-1   ->  1.1.0-1

~~ The following will be done:
   Reinstall : python-numpy-openblas
   Reinstall : python-scipy-openblas

?? Do you want to continue? Y/n: 

Read the README

I did.

Running linux distribution

Arch.

Sorry for the many edits in this issue.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (10 by maintainers)

Commits related to this issue

Most upvoted comments

But I hate to have bugs in my software, of which I am aware ;D Sleepless night incoming