Closed GoogleCodeExporter closed 9 years ago
SHR root@qemux86-64 ~/opkg $ opkg remove a
Removing package a from root...
SHR root@qemux86-64 ~/opkg $ opkg install b_1_all.ipk
Installing b (1) to root...
Configuring b.
SHR root@qemux86-64 ~/opkg $ opkg info b
Package: b
Version: 1
Provides:
Conflicts: a (<= 1)
Status: install user installed
Architecture: all
Installed-Time: 1348908227
So '<<' is parsed like '<' which is EARLIER_EQUAL, not EARLIER.
Original comment by Martin.J...@gmail.com
on 29 Sep 2012 at 8:45
Attached 2 patches fixes this issue and also add warning when deprecated
constraint > or < is used.
SHR root@qemux86-64 ~/opkg $ opkg install a_1_all.ipk
Installing a (1) to root...
oConfiguring a.
pSHR root@qemux86-64 ~/opkg $ opkg install b_1_all.ipk
Installing b (1) to root...
Configuring b.
SHR root@qemux86-64 ~/opkg $ opkg status a
Package: a
Version: 1
Provides:
Status: install user installed
Architecture: all
Installed-Time: 1348938209
SHR root@qemux86-64 ~/opkg $ opkg status b
Package: b
Version: 1
Provides:
Conflicts: a (<< 1)
Status: install user installed
Architecture: all
Installed-Time: 1348938212
Original comment by Martin.J...@gmail.com
on 29 Sep 2012 at 5:05
Attachments:
Original comment by Martin.J...@gmail.com
on 29 Sep 2012 at 5:17
Attachments:
Updated 0009* patch, previous version had problem with
Depends: a (= 1) (*str++ was wrong, '= 1' was parsed as version)
Added 2 more test packages to test all variants:
SHR root@qemux86-64 ~/ipk $ opkg status a b c d
Package: a
Version: 1
Provides:
Status: install user installed
Architecture: all
Installed-Time: 1349007950
SHR root@qemux86-64 ~/ipk $ opkg status b
Package: b
Version: 1
Provides:
Conflicts: a (<< 1)
Status: install user installed
Architecture: all
Installed-Time: 1349007950
SHR root@qemux86-64 ~/ipk $ opkg status c
Package: c
Version: 1
Depends: a (= 1)
Provides:
Status: install user installed
Architecture: all
Installed-Time: 1349007950
SHR root@qemux86-64 ~/ipk $ opkg status d
Package: d
Version: 1
Depends: a (<= 1)
Provides:
Status: install user installed
Architecture: all
Installed-Time: 1349007950
d_1_all.ipk is using deprecated '<' but shown correctly as '<='
SHR root@qemux86-64 ~/ipk $ opkg remove b c d a
Removing package b from root...
Removing package c from root...
Removing package d from root...
Removing package a from root...
SHR root@qemux86-64 ~/ipk $ opkg install b* c* d* a*
Deprecated version constraint '<' was used with the same meaning as '<='. Use
'<<' for EARLIER constraint.
Installing b (1) to root...
Installing c (1) to root...
Installing a (1) to root...
Installing d (1) to root...
Package a (1) installed in root is up to date.
Configuring a.
Configuring b.
Configuring c.
Configuring d.
Original comment by Martin.J...@gmail.com
on 30 Sep 2012 at 12:30
Attachments:
Original comment by pixdamix@gmail.com
on 22 Nov 2012 at 9:25
Original issue reported on code.google.com by
Martin.J...@gmail.com
on 29 Sep 2012 at 8:42Attachments: