OpenWrt Forum Archive

Topic: About "missing" packages in Barrier Breaker and trunk

The content of this topic has been archived between 26 Feb 2018 and 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

We decided to reorganize the packages feed in June, since lots of the
packages in there were unmaintained and we had lot's of patches we
couldn't review. The new feed resides on github which makes contributing
more straigt-forward. See https://github.com/openwrt/packages
The old feed is now referred to as "oldpackages".

Now the problem with packages like python or php in "oldpackages" is
that they build a version which have known security issues, so providing
binaries for them without notice is a bit dubious. Note: we didn't
delete any package-definitions we just stopped building binaries. Once
someone takes over maintainership for them and keeps them updated we
will gladly welcome them in our new packages feed and start building
binariers for them again.

The current status of "oldpackages" is this:
If you are using trunk and want to use the possibly outdated packages
you have to enable the oldpackages feed and build them manually.

For that copy feeds.conf.default to feeds.conf, open it with an editor and remove the # in front of "src-git oldpackages ...".
Then do: "./scripts/feeds update oldpackages  && ./scripts/feeds install -a -p oldpackages"
and they will reappear in make menuconfig.


If you are using barrier breaker in the final version we will still
build these outdated packages in binary form but won't enable the
package repository in opkg.conf by default, so you have to manually
opt-in to use these packages by uncommenting the respective line for oldpackages in /etc/opkg.conf

The next release after barrier breaker will not include
any unmaintained binary packages at all not even as opt-in.

So if you want to see some of the old packages reappearing in trunk and
future releases please adopt them and become a maintainer or convince
someone else to do it. See
https://github.com/openwrt/packages/blo … IBUTING.md
for details.

A note about another semi-related issue in trunk:
"opkg update" may fail without finding any packages.
Buildbot's config was changed a week ago to store packages "per feed".

(I am using ar71xx as example here)
Instead of having all packages stored in http://downloads.openwrt.org/snapshots/ … /packages/ , there is one additional directory layer and packages are now in .../packages/base/ , /luci/ etc.

If you are using a trunk firmware with the old config in /etc/opkg.conf , it will not find Packages.gz file and the packages list will remain empty.


EDIT:   (January 2015)
Buildbot config was changed again. And for some targets with subtargets like "nand" the main target (typically "generic") has now a visible subdir in the path.
So, in a live Openwrt trunk system with plain ar71xx, the last lines in /etc/opkg.conf should be:

src/gz chaos_calmer_base http://downloads.openwrt.org/snapshots/ … kages/base
src/gz chaos_calmer_telephony http://downloads.openwrt.org/snapshots/ … /telephony
src/gz chaos_calmer_packages http://downloads.openwrt.org/snapshots/ … s/packages
src/gz chaos_calmer_routing http://downloads.openwrt.org/snapshots/ … es/routing
src/gz chaos_calmer_luci http://downloads.openwrt.org/snapshots/ … kages/luci
src/gz chaos_calmer_management http://downloads.openwrt.org/snapshots/ … management

(Last edited by hnyman on 25 Jan 2015, 17:04)

could anyone help me i am trying everything to put the storage usb , but i dont have i am trying to update the opkg by putty , and with this links , but anything seens to work

Why you deleted the pure-ftpd package? It was the easiest and best ftp server package. Please put it back or tell me how i can install it (after an upgrade, i didn't have the package anymore).

Kind regards,
Manuel

So what's the plan moving forward, will the maintainers be required to regularly update packages? If they don't, will the packages be removed again?

I do not really understand this.

I would like to upgrade to the final version of BB, came out today. Upgrade was successfull, but I was not able to download additional packages, like ddns-scripts, etc..

I have checked /etc/opkg.conf and I found only the following to lines for repo:
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_br … kages/base
src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_br … kages/luci

However, ddns-script is located under without having Packages.gz file
http://downloads.openwrt.org/barrier_br … s/packages

How can I download it now?

Have you tried changing your /etc/opkg.conf accordingly?

src/gz barrier_breaker http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/packages

Yes, I tried. It is searching for Packages.gz in the folder specified, but it does not find it. Then I check the repo and there is no Packages.gz file in the folder indeed.

Upgrade to BB 14.07 final today. In LuCi->Software->OPKG-Configuration I put the following and was able to install old packages vnstat, ssmtp, joe, nano

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_br … kages/base
src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_br … kages/luci
#ssmtp, joe
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_br … ldpackages
#vnstat, nano
src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_br … s/packages

I had look at all sub-folders http://downloads.openwrt.org/barrier_br … /packages/ and could not find openvpn package.

Could someone please tell me where to get openvpn package. Much Appreciate.

Ok. Found the answer.

AA uses openvpn package
BB uses openvpn-openssl package (or one of the other variants)

So, I understand that privoxy is not being actively maintained so that is why it is not included in the normal packages list. However, I really need this package for my use of OpenWrt. I am using the release version of Barrier Breaker 14.07.

I first ran opkg update with the following configuration. But when i execute opkg install privoxy, i got the following error. This used to work fine in AA.

Unknown package 'privoxy'.
Collected errors:
* opkg_install_cmd: Cannot install package privoxy.

Added a new line to opkg.conf file so it looks like this:
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_br … kages/base
src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_br … kages/luci
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_br … ldpackages

Then try again to install privoxy

Installing privoxy (3.0.21-1) to root...
Downloading http://downloads.openwrt.org/barrier_br … r71xx.ipk.

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for privoxy:
*     libpcre *
* opkg_install_cmd: Cannot install package privoxy.

How do I resolve the issue with libpcre or pcre?

(Last edited by alias1 on 6 Oct 2014, 14:47)

You need the repository entry for (new)packages as well:

src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/packages

Thank you very much for the help it worked. I updated the opkg.conf file to look like this:
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_br … kages/base
src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_br … kages/luci
src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_br … s/packages
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_br … ldpackages

Then ran: opkg update

Then: opkg install privoxy

Output below it worked:

Installing privoxy (3.0.21-1) to root...
Downloading http://downloads.openwrt.org/barrier_br … r71xx.ipk.
Installing libpcre (8.35-2) to root...
Downloading http://downloads.openwrt.org/barrier_br … r71xx.ipk.
Installing libpthread (0.9.33.2-1) to root...
Downloading http://downloads.openwrt.org/barrier_br … r71xx.ipk.
Installing zlib (1.2.8-1) to root...
Downloading http://downloads.openwrt.org/barrier_br … r71xx.ipk.
Configuring libpthread.
Configuring libpcre.
Configuring zlib.
Configuring privoxy.

Because of this decission ImageBuilder is now completely useless in Barrier Breaker 14.07. I tried building new image with few extra packages but they aren't included in ImageBuilder archive, and I got this message:

Collected errors:
* opkg_install_cmd: Cannot install package nano.
* opkg_install_cmd: Cannot install package netcat.
* opkg_install_cmd: Cannot install package openvpn.
* opkg_install_cmd: Cannot install package tmux.

So you are telling us thate tere are no maintainers for nano, netcat, openvpn and tmux packages and that is why you remoded them from ImageBuilder? Are these packages broken or just unmaintained? If they aren't broken please include them back into ImageBuilder.

valentt wrote:

Because of this decission ImageBuilder is now completely useless in Barrier Breaker 14.07. I tried building new image with few extra packages but they aren't included in ImageBuilder archive, and I got this message:

Collected errors:
* opkg_install_cmd: Cannot install package nano.
* opkg_install_cmd: Cannot install package netcat.
* opkg_install_cmd: Cannot install package openvpn.
* opkg_install_cmd: Cannot install package tmux.

So you are telling us thate tere are no maintainers for nano, netcat, openvpn and tmux packages and that is why you remoded them from ImageBuilder? Are these packages broken or just unmaintained? If they aren't broken please include them back into ImageBuilder.

See below... The openvpn package has changed names. The others are here.

bhtan wrote:

Ok. Found the answer.

AA uses openvpn package
BB uses openvpn-openssl package (or one of the other variants)

wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/ … ckages.gz, wget returned 1.
please i'm conncted to internet but can't get any package from url
i'm using openwrt on adb a4001n1 and (i'm newbie)

(Last edited by ijji on 5 Nov 2014, 12:53)

i'm using this
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_br … kages/base
src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_br … kages/luci
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_br … ldpackages
src/gz barrier_breaker http://downloads.openwrt.org/snapshots/ … x/packages
it's working but when i tried to install kmod usb serial:
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-serial:
*     kernel (= 3.10.49-1-ad222baab7cf17d00e255c5edc11fa85)Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-serial:
*     kernel (= 3.10.49-1-ad222baab7cf17d00e255c5edc11fa85) *
* opkg_install_cmd: Cannot install package kmod-usb-serial.
*
* opkg_install_cmd: Cannot install package kmod-usb-serial.

I can not download packages.

I have this on the opkg.conf:

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_br … kages/base
....
(the same lines for luci, etc)

i have the next error: "wget: bad address 'downloads.openwrt.org' "
and later: " * opkg_download: Failed to download http://downloads.openwrt.org/barrier_br … ckages.gz, wget returned 1."

and i have tried to download it manualy (wget ....)
and i can not too.
I can download on the pc. What can i do?

purifuri wrote:

i have the next error: "wget: bad address 'downloads.openwrt.org' "

Sounds like DNS and/or connectivity problem in the router. Nothing to do with the packages themselves.

i have added this dns to forwrd dns list:

192.168.1.1 (primary router)
8.8.8.8

i have the next error:
wget: can't connect to remote host (78.24.191.177): Network is unreachable

I have tried do ping and this is the result:
root@OpenWrt:~# ping 78.24.191.177
PING 78.24.191.177 (78.24.191.177): 56 data bytes
ping: sendto: Network is unreachable
root@OpenWrt:~# ping google.es
PING google.es (173.194.45.216): 56 data bytes
ping: sendto: Network is unreachable

But i have connectivity via web (i can do a request on google via web)

What can be worng?

Hi,
I installed OpenWrt Barrier Breaker 14.07 / LuCI Trunk (0.12+svn-r10530).
Here is the problem:
I wanted to config my openwrt as a openvpn client to another network.Then I opened luci,updated the list,searched 'openvpn'...But there is nothing called 'luci-app-openvpn'(as some wiki guide shows).
What shall I do?

(Last edited by JW on 14 Nov 2014, 06:03)

I get soluction for my problem.

i had to add a route for the packets go though gateway (i don't know why it is neccesary)