Package upgrade with poldek in multilib enviroment
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-
kernel-
VirtualBox-
Processing dependencies...
setup-2.
There are 1 package to install, 1 to remove:
I setup-2.6.0-2.i686
R setup-2.
error: setup-2.
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).