Upgrade of i686 package on x86_64 installs also x86_64 packages
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 609
- Forks
- 177
- PR merge metrics
- No merged PRs in 30d
Description
The upgrade of i686 packages results in installing x86_64 packages for no reason. Installing i686 packages result correctly in upgrade without installing of additional packages. See test case bellow.
repo @System 0 testtags <inline>
#>=Pkg: test-package-alpha 1.0 1 i386
#>=Prq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
#>=Prq: rpmlib(CompressedFileNames) <= 3.0.4-1
#>=Prv: test-package-alpha = 1.0-1
repo updates 0 testtags <inline>
#>=Pkg: test-package-alpha 1.0 1 i386
#>=Prv: test-package-alpha = 1.0-1
#>=Pkg: test-package-alpha 1.0 1 x86_64
#>=Prv: test-package-alpha = 1.0-1
#>=Pkg: test-package-alpha 1.0 2 i386
#>=Prv: test-package-alpha = 1.0-2
#>=Pkg: test-package-alpha 1.0 2 x86_64
#>=Prv: test-package-alpha = 1.0-2
system x86_64 rpm @System
poolflags implicitobsoleteusescolors
solverflags allowvendorchange keepexplicitobsoletes bestobeypolicy keeporphans yumobsoletes
job update oneof test-package-alpha-1.0-1.i386@@System test-package-alpha-1.0-1.i386@updates test-package-alpha-1.0-1.x86_64@updates test-package-alpha-1.0-2.i386@updates test-package-alpha-1.0-2.x86_64@updates [targeted,setevr,setarch]
#job update all packages [forcebest]
#job update all packages
#job install oneof test-package-alpha-1.0-2.i386@updates [forcebest,targeted,setevr,setarch]
#job install oneof test-package-alpha-1.0-2.i386@updates [setevr,setarch]
result transaction,problems <inline>
#>upgrade test-package-alpha-1.0-1.i386@@System test-package-alpha-1.0-2.i386@updates
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the inline test case with the supplied x86_64 system, repositories, solver flags, and targeted update job. Trace the update decision for test-package-alpha and confirm that the result contains only the i386 upgrade, with no x86_64 package installed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100