dskvr / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

double entries in the info file #142

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of the product are you using? On what operating system?
latest 0.2.x

Please provide any additional information below.

Sometimes I find two section for the same package in the /usr/lib/opkg/info 
file. The two sections describe the package in different versions. The newer 
Version has as status a "unknown user installed", the older package a "install 
user not-installed"
This double sections results in some Warnings on a opkg upgrade like: "Not 
selecting kernel 3.16.1.86 as installing it would break existing dependencies."
The double section is not the kernel section, but the section of a package that 
depends the kernel.

What is the reason for this double section and how can I prevent this?

Original issue reported on code.google.com by muuscl...@gmail.com on 22 Aug 2014 at 12:32

GoogleCodeExporter commented 8 years ago
The older package probably shouldn't be marked as "install" as that indicates 
that state_want = SW_INSTALL and that opkg wants to install that pacakge. I 
think it should be "unknown" or possibly "deinstall".

I'll look into how state_want is set during a package upgrade after the v0.2.3 
release unless this is a regression against previous behaviour in the v0.2.x 
series.

Original comment by paul.betafive on 25 Aug 2014 at 12:23