Chen Qi | 21 Nov 11:11 2014

[opkg-utils PATCH] update-alternatives: avoid double slash problem

Signed-off-by: Chen Qi <Qi.Chen@...>
---
 update-alternatives | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update-alternatives b/update-alternatives
index 8916cbd..ca01d5d 100644
--- a/update-alternatives
+++ b/update-alternatives
 <at>  <at>  -97,7 +97,7  <at>  <at>  find_best_alt() {
 	[ $# -lt 1 ] && return 1
 	[ ! -f $ad/$name ] && return 0

-	link=$OPKG_OFFLINE_ROOT/`head -n 1 $ad/$name`
+	link=$OPKG_OFFLINE_ROOT`head -n 1 $ad/$name`

 	prio=`sed -ne "1!p" $ad/$name | sed -e "s/\(.*\) \(.*\)/\2 \1/g" | sort -nr | head -n 1 | sed 's/ [^ ]*$//'`
 	if [ -z "$prio" ]; then
--

-- 
1.9.1

Paul Barker | 15 Nov 13:40 2014
Picon

Code freeze for v0.3.0 release

Hi all,

I'm going to institute a code freeze on opkg as of Friday 21st Nov. At
this point I'll tag v0.3.0-rc0 and begin the big formatting clean-up
that has been scheduled for a long time now. This will ensure that
formatting is consistent across the opkg source tree and make reading,
developing and maintaining the code a lot easier.

The intention is that v0.3.0-rc1 will be functionally identical to
v0.3.0-rc0 as only the source code formatting will have changed. I'll
then go through stabilisation and testing until I'm happy releasing
v0.3.0 proper. If all goes to plan v0.3.0 should be out by the end of
2014.

So if you have any patches outstanding please send them ASAP. The
formatting change will probably break existing patches and make
rebasing difficult. This is a pain, but it is necessary for the
long-term maintainability of opkg.

Thanks,

--

-- 
Paul Barker

Email: paul@...
http://www.paulbarker.me.uk

Paul Barker | 14 Nov 16:04 2014
Picon

opkg-0.2.4 Release

Hi all,

I'd like to announce the release of opkg-0.2.4 as of 2014-11-14.

This release will soon be available from the new download location with hosting
provided by The Yocto Project:

    http://downloads.yoctoproject.org/releases/opkg/opkg-0.2.4.tar.gz

It is also mirrored at:

    http://www.paulbarker.me.uk/dist/opkg/opkg-0.2.4.tar.gz

GPG signatures are available in the file "opkg-0.2.4.tar.gz.asc", hosted at both
download locations.

Many thanks to everyone who's contributed!

Release Notes for opkg-0.2.4
============================

This is mostly a bugfix release:

- Improve handling of failed installs. Package status is now set to 'install
  reinst-required half-installed' and advice on how to rectify the situation is
  now given.

- Improve handling of upgrades, and fix detection of orphan packages. Orphan
  RECOMMENDS will now be removed during an upgrade, as well as orphan DEPENDS,
  if autoremove is enabled. However, packages which move from DEPENDS to
(Continue reading)

opkg | 13 Nov 13:38 2014

Issue 152 in opkg: opkg will not select between multiple equal providers

Status: Accepted
Owner: paul.betafive
Labels: Type-Defect Priority-Medium Milestone-0.3

New issue 152 by paul.betafive: opkg will not select between multiple equal  
providers
https://code.google.com/p/opkg/issues/detail?id=152

In the case where multiple packages provide the same abstract package, but  
there is nothing to differentiate between the providers (neither is held,  
preferred, matches the name of the abstract package or is already  
installed), pkg_hash_fetch_best_installation_candidate errors out instead  
of picking one of the available providers. This is a vestige of an old code  
path where opkg expected the user to explicitly select a provider in this  
case. Instead we should now just pick any valid provider.

This bug was found by the OpenEmbedded/Yocto Project autobuilder when  
testing opkg v0.2.3. Both 'libperl5' and 'perl'  
provided 'perl-module-config', but rootfs creation was failing and opkg  
said it couldn't find a provider of 'perl-module-config'.

A fix is known and will be merged shortly, this issue just exists for  
tracking.

--

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

(Continue reading)

opkg | 10 Nov 16:55 2014

Issue 151 in opkg: opkg failed to extract data files with packages created with dpkg-1.17.5

Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 151 by balu.sab...@...: opkg failed to extract data
files  
with packages created with dpkg-1.17.5
https://code.google.com/p/opkg/issues/detail?id=151

What steps will reproduce the problem?
1.Create debian package (keeping control and data files) with dpkg version  
1.17.5
2.then try to download the packages on to board using opkg-cl(0.1.8)  
--download option
3.Opkg successfully download the control file and failed to download the  
data file (data.tar.gz)
4. If I create a debian package with same control and data files using dpkg  
-1.16.1.2 and everything works as expected.

What is the expected output? What do you see instead?
DPKG-1.16.1.2 (i386) --> always works (opkg successfully downloads all  
files)
DPKG-1.17.5 (amd64) --> failed to download data.tar.gz(opkg successfully  
downloads control.tar.gz and not the data.tar.gz)
OPKG-0.1.8 should download all files (control.tar.gz and data.tar.gz) but  
it downloads control file and not the data.tar.gz. OPKG not even print any  
error.

What version of the product are you using? On what operating system?
OPKG-0.1.8
(Continue reading)

opkg | 5 Nov 10:15 2014

Issue 150 in opkg: API function opkg_install_package return -1 when change the version of package in the name of file manually (and when additionaly inside too)

Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 150 by alex569....@...: API function
opkg_install_package  
return -1 when change the version of package in the name of file manually  
(and when additionaly inside too)
https://code.google.com/p/opkg/issues/detail?id=150

What steps will reproduce the problem?

1.Our code install bison-locale-da_2.3-r1_cortexa9-vfp-neon.ipk using  
libopkg opkg_install_package function SUCCESSFULLY!
2.Then I changed version in name of  
bison-locale-da_2.3-r1_cortexa9-vfp-neon.ipk as  
bison-locale-da_3.3-r1_cortexa9-vfp-neon.ipk and opkg_install_package  
returns -1
3.The same effect when I changed version not only in name of ipk file but  
inside of package in control file opkg_install_package returns -1
4.opkg_install_package also returns -1 fo cases in steps 2 and 3

What is the expected output? What do you see instead?
I expect both packages have to be instaled successfully.
I see opkg_install_package  return -1 in step 2 and 3

What version of the product are you using? On what operating system?
Version: opkg-0.2.2
we are using: YocTo

(Continue reading)

opkg | 31 Oct 12:09 2014

Issue 149 in opkg: Allow install packages which provide same files

Status: New
Owner: ----

New issue 149 by diego.su...@...: Allow install packages which  
provide same files
https://code.google.com/p/opkg/issues/detail?id=149

The package install fails if it tries to install a file that is provided by  
another package.

Some discussion about this can be found at:
https://www.mail-archive.com/yocto-EtnWKYl6rD/WsZ/bQMPhNw <at> public.gmane.org/msg18145.html

--

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

opkg | 30 Oct 14:46 2014

Issue 148 in opkg: Add multiple compression algorithms support

Status: New
Owner: ----

New issue 148 by dima@...: Add multiple compression algorithms  
support
https://code.google.com/p/opkg/issues/detail?id=148

As far as I can understand, opkg uses libarchive that makes possible to use  
many different compression algorithms. But names "data.tar.gz"  
and "data.tar.xz" are hardcoded in opkg_archive.c, so files  
with "data.tar.xz" will fail.
It would be great to add xz support to opkg.

--

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Liu Jian | 30 Oct 06:40 2014

[opkg-utils PATCH] update-alternatives: Installing fails for "["


--

-- 
You received this message because you are subscribed to the Google Groups "opkg-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opkg-devel+unsubscribe@...
For more options, visit https://groups.google.com/d/optout.
opkg | 29 Oct 17:08 2014

Issue 147 in opkg: Add ignore-package

Status: New
Owner: ----

New issue 147 by dima@...: Add ignore-package
https://code.google.com/p/opkg/issues/detail?id=147

Some idea that can enhance opkg as a better one.

--

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Paul Barker | 29 Oct 00:32 2014
Picon

Status Update

Hi all,

This is a fairly important status update so please give it a quick read.

I've merged a bunch of fixes to the opkg-0.2.x branch in addition to
backports of the following bugfix commits from master:
    3b1238d opkg_install: Keep auto-installed packages when moved from
        'Depends' to 'Recommends'
    3479367 pkg_depends: Don't mark Conflicts as Depends
    24b011b pkg_hash_fetch_conflicts: fix possible segfaults
    35b58c1 unarchive: Fix broken uname and gname cache
    4fa0562 release: Verify correct file when not using gzip
    04f9775 opkg_upgrade: Upgrade must not modify package flags
    923405d opkg_upgrade: Do not upgrade orphan packages
    5d1f2a7 opkg_install: Set pkg state and give advice when install fails

For the patches sent by Andreas Oberritter and applied to the old svn
repository, I've taken the opportunity to correct the git commit
author during the backport.

This now fixes everything I want to fix on the opkg-0.2.x branch. I'll
give this 2 weeks for testing and then release v0.2.4. Please give
this a test over the next two weeks if you can!

Around the same time as the v0.2.4 release I plan to tag v0.3.0-rc0.
This 'rc zero' is going to mark the completion of the intended
functional changes for the v0.3.0 release. What will follow this will
be the code formatting fixes to ensure that we finally have a
consistent code style across all opkg source files. This change will
be pretty invasive and so v0.3.0-rc0 will be the last point where
(Continue reading)


Gmane