Page 1 of 1

Installing openwrt diffutils package

Posted: Mon Apr 20, 2020 9:16 am
by agrohe21
I see in opkg.confg, we have src/gz openwrt_18.06.5_packages http://downloads.openwrt.org/releases/1 ... 3/packages

and diffutils is in that directory. Why would diffutils not install and/or how can we install diffutils with Gargoyle 1.12 on WRT32x?

Re: Installing openwrt diffutils package

Posted: Mon Apr 20, 2020 10:13 am
by Lantis
Change the src url to HTTPS might fix it.

Re: Installing openwrt diffutils package

Posted: Mon Apr 20, 2020 11:20 am
by agrohe21
That did the trick. thx

Re: Installing openwrt diffutils package

Posted: Mon Apr 20, 2020 11:30 am
by agrohe21
Well, it appears to install but no diff in /usr/bin. there is a diff3 but that relies on diff also.

Any other ideas?

Re: Installing openwrt diffutils package

Posted: Mon Apr 20, 2020 1:10 pm
by RomanHK
agrohe21 wrote:
Mon Apr 20, 2020 11:30 am
Well, it appears to install but no diff in /usr/bin. there is a diff3 but that relies on diff also.

Any other ideas?
:idea:

Code: Select all

gpkg update && gpkg install diffutils
and it should be there.

EDIT:
diff is a link. Refers to /usr/bin/gnu-diff

Re: Installing openwrt diffutils package

Posted: Tue Apr 21, 2020 9:42 am
by agrohe21
thanks. the install worked but the link was not made.

adding my own sym link worked.

Re: Installing openwrt diffutils package

Posted: Thu Jun 06, 2024 5:09 am
by marcinkk
The same problem on Gargoyle 1.14. Installed on x86_64.

Package diffutils installed, but no diff command available.
Corrected by making symlink manually:

Code: Select all

ln -s /usr/libexec/diff-gnu diff
BTW: In older version of Gargoyle (not on x86_64) I installed opkg (opkg install opkg). It has more functions than gpkg, for example listing files of installed package. I've tried the same on 1.14. Installation was successful, but when I tried to make opkg update then I saw only "Segmentation fault".

Re: Installing openwrt diffutils package

Posted: Sat Jun 08, 2024 7:54 am
by Lantis
I have a fix for the opkg segfault.
I will look at the lack of symbolic link for diff. I know why it occurs, I just don't know if I want to fix it.

Re: Installing openwrt diffutils package

Posted: Mon Jun 10, 2024 8:54 am
by Lantis
I took the opportunity to fix this (in future versions).
https://github.com/ericpaulbishop/gargo ... 07d8767635