Opkg install local error message in omnia

Pri instalovani lokalneho balika firehol*.ipk som dostal nasledovnu chybovu spravu.

When installing local package firehol * .ipk I received the following error message.

opkg install /root/tools/fireqos/firehol_3.1.6-1_all_18.06_all.ipk

Configuring kmod-sched-connmark.
Configuring coreutils-fold.
Configuring kmod-ipt-extra.
Configuring iptables-mod-extra.
Configuring grep.
Configuring flock.
Configuring kmod-ipt-ipset.
Configuring ipset.
Configuring kmod-dummy.
Configuring firehol.
Traceback (most recent call last):
File “/usr/bin/localrepo”, line 543, in
main()
File “/usr/bin/localrepo”, line 531, in main
cmd_add(args)
File “/usr/bin/localrepo”, line 295, in cmd_add
add_pkg(args.repo, index, fpkg)
File “/usr/bin/localrepo”, line 252, in add_pkg
ctl = pkg_ctl(file)
File “/usr/bin/localrepo”, line 239, in pkg_ctl
return parse_control(content)
File “/usr/bin/localrepo”, line 60, in parse_control
i = line.find(’:’)
TypeError: a bytes-like object is required, not ‘str’

Balicek sa nainstaloval, ale neviem, ci maju vznikat taketo chybne hlasenia?
The package has been installed, but I do not know if the wrong message is to occur?

Balicek firehol obsahuje fireqos a je uzivatelky lahko nastavitelny. Samba4 prenasa velke subory
na PC klienta rychlostou okolo 820Mp/s (Na RAID0/btrfs je pouzity mSATA controler s 2 WD HDD.). Ostatne sluzby nemaju potom ziadne pasmo k dispozicii.
Takze obmedzim sambu na 50% sirky pasma.

The firehol contains fireqos, and is users frendly are easily setings. Samba4 transfer big files
on the PC client at a rate of about 820Mp/s (In RAID0/btrfs is used mSATA controler with 2 WD HDD.). Other services are not available bandwidth.
So we limit samba to 50% of bandwidth.

Ak bude zaujem o nastavenie fireqos tak ho napisem.
If you are interested in setting up a fireqos so I’ll write it.

Dodám že na mě stejná hláška vypadla taky, asi před týdnem když jsem instaloval úplně jiné *.ipk (testovací verzi knot-resolver). A taky se nezdálo že by po instalaci něco (zásadního) chybělo.

I suspect that updater might remove those packages later on because those were not added correctly to localrepo which means that updater does not know them and is going to fail and report them missing. It is possible that they were copied to localrepo and index updated so it might just work in the end without any error. I don’t know yet I have not investiaged this error yet.

1 Like

Aha, vskutku mi updater později udělal tichý downgrade aniž bych si všiml :-/ EDIT: aha, tak v mém případě to možná bude spíš kvůli nevhodně nastavené verzi v tom *.ipk.

V mojom pripade je odinstalovanie fireholu drzane v subore:
In my case, uninstallation of the firehol is kept in the file:

cat /etc/updater/conf.d/opkg-auto.lua
– This is automatically generated file managed by opkg wrapper script. Please don’t edit!

Install(“firehol”)
Install(“xxxxxxx”)

V tomto subore su vsetky balicky, ktore som instaloval navyse z turrist-repozitory alebo lokalne.
Prikaz: “localrepo list” je prazdny.
In this file there are all the packages I’ve installed from the turist repositories or locally.
Command: ‘localrepo list’ is empty.