Describe the Bug:\
Using pacback -pkg A B fails when A depends on B and vice versa.
Output of Command
sudo pacback -pkg gcc gcc-libs
Searching File System for Packages...
Pacback Found the Following Package Versions for gcc:
(1) gcc-10.1.0-1
(2) gcc-9.2.0-4
(3) gcc-9.2.1+20200130-2
(4) gcc-9.3.0-1
Enter Your Selection With an INT: 4
loading packages...
warning: downgrading package gcc (10.1.0-1 => 9.3.0-1)
resolving dependencies...
warning: cannot resolve "gcc-libs=9.3.0-1", a dependency of "gcc"
:: The following package cannot be upgraded due to unresolvable dependencies:
gcc
:: Do you want to skip the above package for this upgrade? [y/N]
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'gcc-libs=9.3.0-1' required by gcc
Pacback Found the Following Package Versions for gcc-libs:
(1) gcc-libs-10.1.0-1
(2) gcc-libs-9.2.0-4
(3) gcc-libs-9.2.1+20200130-2
(4) gcc-libs-9.3.0-1
Enter Your Selection With an INT: 4
loading packages...
warning: downgrading package gcc-libs (10.1.0-1 => 9.3.0-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing gcc-libs (9.3.0-1) breaks dependency 'gcc-libs=10.1.0-1' required by gcc
Machine (please fill in the following information):
Kernel Version: 5.4.41-1-lts
Python Version: Python 3.8.3
Install Type: pacback via AUR
Pacback Version: Pacback Version: 1.6.1
To Reproduce
Steps to reproduce the behavior:
Try to downgrade two packages that are dependent on one another. For example, gcc and gcc-libs.
Expected behavior
Pacback is able to downgrade both dependencies at the same time.
Maybe pacback could resolve the dependencies first, and then send them through to pacman in a batch?
Describe the Bug:\ Using
pacback -pkg A B
fails when A depends on B and vice versa.Output of Command
Machine (please fill in the following information):
5.4.41-1-lts
Python 3.8.3
pacback
via AURPacback Version: 1.6.1
To Reproduce Steps to reproduce the behavior:
gcc
andgcc-libs
.Expected behavior Pacback is able to downgrade both dependencies at the same time.
Maybe
pacback
could resolve the dependencies first, and then send them through topacman
in a batch?