Package upgrade with poldek in multilib enviroment

Bug #318932 reported by Kamil Dziedzic
This bug report is a duplicate of:  Bug #408034: poldek does not recognize colors. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
poldek
New
Undecided
Unassigned
PLD Linux
New
Undecided
Unassigned

Bug Description

# LC_ALL=c poldek --upgrade-dist -n th -n th-i686
Loading [pndir]th...
Loading [pndir]th-i686...
26855 packages read
Looking up packages for upgrade...
VirtualBox-2.1.0-2.i686: skip held package
kernel-misc-vboxdrv-2.1.0-2@2.6.27.10_3.i686: skip held package
VirtualBox-udev-2.1.0-2.i686: skip held package
Processing dependencies...
setup-2.5.7-2.x86_64 obsoleted by setup-2.6.0-2.i686
There are 1 package to install, 1 to remove:
I setup-2.6.0-2.i686
R setup-2.5.7-2.x86_64
error: setup-2.6.0-2.i686.rpm: read package lead failed
Need to get 184.4KB of archives (184.4KB to download).

As you can see poldek don't bother of installed package arch if available to upgrade package has higher version. This can be really dangerous. For example I didn't noticed that for kernel;)

IMO there should be option in poldek config which will restrict package upgrades to same arch. This option should be turned on by default. Turning it off will be only useful for full system upgrades from 32 bit architecture to 64bit or when 32 bit application will be ported to 64 bit and we want to switch (for example flash 10).

Tags: multilib
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.