Installing openwrt diffutils package

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
agrohe21
Posts: 101
Joined: Wed Aug 23, 2017 7:51 pm

Installing openwrt diffutils package

Post 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?
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Installing openwrt diffutils package

Post by Lantis »

Change the src url to HTTPS might fix it.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

agrohe21
Posts: 101
Joined: Wed Aug 23, 2017 7:51 pm

Re: Installing openwrt diffutils package

Post by agrohe21 »

That did the trick. thx
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

agrohe21
Posts: 101
Joined: Wed Aug 23, 2017 7:51 pm

Re: Installing openwrt diffutils package

Post 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?
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: Installing openwrt diffutils package

Post 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
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

agrohe21
Posts: 101
Joined: Wed Aug 23, 2017 7:51 pm

Re: Installing openwrt diffutils package

Post by agrohe21 »

thanks. the install worked but the link was not made.

adding my own sym link worked.
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

marcinkk
Posts: 15
Joined: Sun Mar 05, 2017 5:09 pm

Re: Installing openwrt diffutils package

Post 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".

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Installing openwrt diffutils package

Post 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.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Installing openwrt diffutils package

Post by Lantis »

I took the opportunity to fix this (in future versions).
https://github.com/ericpaulbishop/gargo ... 07d8767635
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply