The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » What is happening to pkgmaster.devuan.org ? » Today 02:42:06

Thanks! I appreciate the hard work the Devuan maintainers do. I need to find a way to help. I love packaging up applications...

#2 Re: Hardware & System Configuration » Eudev broke down after upgrade. » Yesterday 20:29:45

I see 3.2.2-13 available under http://pkgmaster.devuan.org/devuan/pool/main/e/eudev/. Is that what you're looking for? Of course, make sure you grab a package that fits which suite you're using if applicable.

#3 Re: Installation » Xfe + isomount question » 2019-12-04 03:35:55

I suspect that Xfe is recognizing that the /home/groucho/Desktop/Example1 is a separate mount point. That is why it is giving you options (that don't work, because you're not running xfe as root) for mount and umount.

Can you write a custom xfe function to fusermount -u the selected directory?

#4 Re: Desktop and Multimedia » lightdm wicd error » 2019-11-30 01:14:12

I had a very similar issue and I solved it after a few months.

The full write-up is on my blog but here is the summary. It should be fairly clear when to substitute ldap in nsswitch.conf.

Use pam_group.

tf=/usr/share/pam-configs/my_groups
sudo touch "${tf}" ; sudo chmod 0644 "${tf}" ; sudo chown root.root "${tf}"
cat <<EOF | sudo tee "${tf}" 1>/dev/null
Name: activate /etc/security/group.conf
Default: yes
Priority: 900
Auth-Type: Primary
Auth:
        required                        pam_group.so use_first_pass
EOF

Update pam and choose the new option we just made, "Activate /etc/security/group.conf."

pam-auth-update

Configure nsswitch.conf (only with glibc >= 2.24)

sed -i -r -e '/^\s*group:/s/(compat|files) sss/\1 [SUCCESS=merge] sss/;' /etc/nsswitch.conf

Make local gids match the domain gids, for any of the groups you want to merge.

test -z "${LOGFILE}" && LOGFILE=/root/deploy.log
for word in netdev video audio dip ;
do
   {
      tgid="$( getent group -s  sss  "${word}" | awk -F':' '{print $3}' )"
      ogid="$( getent group -s files "${word}" | awk -F':' '{print $3}' )"
   } 2>/dev/null
   # if group exists locally and in domain
   test -n "${ogid}" && test -n "${tgid}" && test ${ogid} -ne ${tgid} && {
      # use sed because groupmod fails because the new GID already exists
      sed -i -r -e "/^${word}:/s/:${ogid}:/:${tgid}:/;" /etc/group
      # log to stdout and logfile
      printf '%s %s\n' "$( date -u "+%FT%TZ" )" "Change ${word} from gid ${ogid} to ${tgid}" | tee -a "${LOGFILE}"
   }
done

References:
My blog post: Deuvan FreeIPA domain users control local devices
[SOLVED] Grant domain user access like he is in netdev group

#5 Re: Installation » Hash Sun mismatch » 2019-11-28 14:56:54

My usual fixes involve double-checking the sources.list to make sure it points to:

deb http://packages.devuan.org/merged ceres main contrib non-free
deb-src http://packages.devuan.org/merged ceres main contrib non-free

And clearing out /var/lib/apt/lists/*:

rm /var/lib/apt/lists/*

#6 Re: DIY » wxGTK2 versus wxGTK3 » 2019-11-28 01:37:15

My build environment was using gcc-9, which does support the -std=c++2a. I build packages of FreeFileSync for other distros as well, and I know how to patch the program to compile it for -std=c++17 for gcc-8 or lower.

About the error in my OP, I used to get that exact error when building by hand on my dev box when I had gtk3 and gtk2 installed on Fedora; that's why I know this exact error about the "error: conflicting declaration ‘typedef struct _GdkDrawable GdkWindow’".

#7 Re: DIY » No dbus and compiling FF » 2019-11-28 01:33:29

I saw the KISS developer's announcement about patching Firefox to build without a dbus dependency. I think that's pretty cool. I do use stock Firefox on Devuan and Fedora, but I do compile Palemoon and Waterfox myself. I actually use the OBS that is referenced above, because then I don't have to do all the heavy lifting at home.

#8 Re: Desktop and Multimedia » (building handbrake) error with pkg-config » 2019-11-22 20:21:22

Ah, the way package version tends to work is the application upstream chooses a version string. In this case, the upstream version number is "0.29" without quotes. The package has its own versioning, which is "4+b1" which means it is the fourth attempt to package this application version, with the additional value "+b1" which could mean anything you want it to mean. I see lots of "+devuan2.1" and similar at the end of the package version.
So, you put the application version and package version together with a dash, to get "0.29-4+b1" which unfortunately is lower than the application version "0.29.1".
The Handbrake upstream must follow the upstream pkg-config more aggressively than Devuan (probably Debian) does. Perhaps they base their dpkg on Ubuntu which uses a higher version of pkg-config, or something, at this very moment.
Turns out pkg-config is a freedesktop.org thing. (That explains a few things...) The current version as of this post is 0.29.2

#9 DIY » wxGTK2 versus wxGTK3 » 2019-11-21 13:59:37

bgstack15
Replies: 2

With https://salsa.debian.org/freewx-team/wx now producing files for GTK3 only, I am unable to resolve

nothing provides wx3.0-headers = 3.0.4+dfsg-14 needed by libwxgtk3.0-dev
nothing provides libwxbase3.0-dev = 3.0.4+dfsg-14 needed by libwxgtk3.0-dev

The package libwxgtk3.0-dev is no longer produced, because it is now only producing libwxgtk3.0-gtk3-dev. When I install libwxgtk3.0-gtk3-dev and try to compile my dpkg (FreeFileSync) I get this classic error:

make -C FreeFileSync/Source/
make: Entering directory '/usr/src/freefilesync/10.18-1/FreeFileSync/Source'
mkdir -p /tmp/FreeFileSync_Make/ffs/src/base/
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wshadow -Wnon-virtual-dtor -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 `pkg-config --cflags libselinux` -DHAVE_SELINUX -c base/algorithm.cpp -o /tmp/FreeFileSync_Make/ffs/src/base/algorithm.cpp.o
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from ../../wx+/dc.h:15,
                 from base/../ui/file_grid_attr.h:12,
                 from base/config.h:13,
                 from base/algorithm.h:11,
                 from base/algorithm.cpp:7:
/usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: conflicting declaration ‘typedef struct _GdkDrawable GdkWindow’
  114 | typedef struct _GdkDrawable           GdkWindow;
      |                                       ^~~~~~~~~
compilation terminated due to -Wfatal-errors.
make: *** [Makefile:117: /tmp/FreeFileSync_Make/ffs/src/base/algorithm.cpp.o] Error 1
make: Leaving directory '/usr/src/freefilesync/10.18-1/FreeFileSync/Source'

This is a conflict when both gtk2 dev and gtk3 dev packages exist. I am only referencing gtk+-2.0 linking directories, so how is it getting the gtk3 parts? Or how can I get a current gtk2 package on my Devuan box?

I am also investigating compiling the application with gtk3 but that is considered experimental by the app upstream team.

#10 Re: Devuan » Does anyone else use FreeIPA? » 2019-11-14 03:58:19

Yes, I have written about FreeIPA on Devuan multiple times on my blog: https://bgstack15.wordpress.com/tag/freeipa/?s=devuan
Basically, you have to run Devuan ceres, make and install a dummy oddjob-mkhomedir package, write some dummy scripts for /usr/bin/systemctl and /usr/bin/hostnamectl, mkdir -p /etc/ipa /var/lib/ipa-client/pki and you can install freeipa-client.

Apparently my blog posts don't cover the python-ipalib hack. The package name has migrated to python3-ipalib but basically this is the exact same process.

# Getting python-ipalib on devuan
Devuan bans python-ipalib because it depends on systemd. You can get around this by changing the deb Requires: statements.

Download the released dpkg from http://ftp.us.debian.org/debian/pool/main/f/freeipa/python-ipalib_4.7.1-3_all.deb

    cd ~/Downloads
    wget http://ftp.us.debian.org/debian/pool/main/f/freeipa/python-ipalib_4.7.1-3_all.deb
    mkdir temp
    dpkg-deb -R python-ipalib_4.7.1-3_all.deb temp
    # manually fix DEBIAN/control file as needed. I used

#Depends: freeipa-common (= 4.7.1-3), gnupg2, gnupg-agent, keyutils, python-cffi, python-cryptography (>= 1.6), python-dbus, python-dnspython, python-gssapi, python-jwcrypto, python-ldap, python-libipa-hbac, python-lxml, python-netaddr, python-netifaces (>= 0.10.4), python-nss (>= 0.16.0), python-pyasn1, python-qrcode (>= 5.0.0), python-requests, python-setuptools, python-six, python-usb (>= 1.0.0~b2), python-yubico, python-pyasn1-modules, python:any (<< 2.8), python:any (>= 2.7~)
Depends: python-netaddr, python-netifaces (>= 0.10.4), python-dbus

   # I also customized the release number.
   # and reassemble
   dpkg-deb -b temp python-ipalib_4.7.1-3+stackrpms_all.deb

# References
1. https://unix.stackexchange.com/questions/138188/easily-unpack-deb-edit-postinst-and-repack-deb
2. http://ftp.us.debian.org/debian/pool/main/f/freeipa/

#11 Devuan » Does anyone else use FreeIPA? » 2019-11-13 12:58:00

bgstack15
Replies: 2

I use Devuan Ceres because it has most of the FreeIPA packages, and only a few are banned: python3-ipalib, python-ipalib, and freeipa-server, and dependency oddjob (for oddjob-mkhomedir). By making a few changes to the packages from Debian, I can get them installed and working! All the regular ipa client functions work: host ssh keys in the directory, sudoers from ldap, kerberos authentication, ntp.

I came from a Fedora and CentOS world where of course they work natively with FreeIPA. I migrated my home network to FreeIPA from Active Directory back in 2017 and never looked back. When I started my transition to Devuan I couldn't just leave freeipa behind. I guess using Ceres (unstable) lets me get all the most recent updates, but if given the choice I probably would hold back from the bleeding edge.

One thing I must say, I really like how Devuan (Debian) has lots of versions of gcc available in each suite. gcc-6, gcc-7, gcc-8, and gcc-9! I had to bend over backwards to use any other gcc than the one each Fedora and CentOS release used.

#12 Re: Installation » Need help with "quiet" boot on ascii-686 pae » 2019-11-10 19:58:50

I don't think Devuan includes plymouth, but at one point I compiled it for Devuan: https://build.opensuse.org/package/show … 5/plymouth has a link in the upper right for "Download" which takes you to a nice little page that shows how to update your sources.list and get the package. Maybe that will work for you. I don't know that much about plymouth, and it recently has malfunctioned for me but I hope it was just a local implementation problem.

#13 Re: Desktop and Multimedia » Question about XDG menus » 2019-11-10 01:10:49

The Debian menu system predates the freedesktop.org standard of "XDG." I personally like some of the fd.o published specs (not to be confused with "standards") but others might be concerned because fd.o has published plenty of projects we disdain around here. The XDG menu stuff is fine, in my opinion, and it sounds like you have come across the same point of view.

I personally use Fluxbox and I have half-heartedly tried to use various projects and gave up. I guess application discovery just wasn't that important for my use cases.

Here are the examples for a project named "xdg-menu" from the Arch Wiki.

IceWM
With xdg_menu

$ xdg_menu --format icewm --fullmenu --root-menu /etc/xdg/menus/arch-applications.menu >>~/.icewm/programs

With update-menus

  • Uncomment icewm in /etc/update-menus.conf

  • run update-menus as root

  • make symlink to /var/cache/xdg-menu/icewm/programs in ~/.icewm/programs

WindowMaker
With xdg_menu
use

$ xdg_menu --format WindowMaker --root-menu /etc/xdg/menus/arch-applications.menu >my-wm-menu

and add

#include "my-wm-menu"

into your WindowMaker menu file.
You can also use the WPrefs "Application Menu Definitions", and add the xdg command as a parameter in a "Generated Submenu" object.
With update-menus

  • Uncomment WindowMaker in /etc/update-menus.conf

  • run update-menus as root

  • add

    #include "/var/cache/xdg-menu/WindowMaker/wmrc"

    into your menu file.

#14 Re: Installation » Need help with "quiet" boot on ascii-686 pae » 2019-11-10 00:55:59

Does the kernel accept parameter "rhgb"? That is used at least for me on the RHEL and similar distros. That's the Red Hat graphical boot.

#15 Re: News & Announcements » DeVuan review in Full Circle Magazine » 2019-11-04 02:07:34

A magazine-format publication, that does things right, with the hyperlinks! And proper page layout should anybody ever print the thing! This could almost persuade me to like Ubuntu. That was such a great experience, I think I will have to read this magazine going forward. Of course I've got a stray Ubuntu install somewhere, mostly as Xubuntu. However, I typically have been a CentOS or now Devuan guy.

Anyway, to the article at hand. I thought it was quite nice the fellow wrote a whole review. I appreciate the casual yet still formal-enough writing style. He stylizes Devuan funny. The very Linuxy thing to say: "Set it up so it works for YOU!" was pretty nice, even though he repeats it a lot.

Of course the "plain" and "boxy" interface of Xfce reminds him of boring old Windows 95/98. I think that's why people choose it: it works, as expected, is low key, and doesn't get in the way. I'm a little surprised when he was editing the panels the little red dashed outline didn't appear on the current panel. It always does that for me, running Devuan ceres with Xfce. His panel transparency didn't work: I haven't tried it myself, but I would certainly expect it to depend on desktop compositing, which is not obvious to a "general user."

His experience with setting the wallpaper: that is an Xfce thing that is fairly typical. I consider it a minor deficiency in the wallpaper chooser, but as he found, it's not hard to do it another way. If I recall correctly, all you have to do in the wallpaper settings is to select "Choose a directory" or some such, from the drop down, which is not obvious.

"XFCE's implementation of bash." Because of course I'm being picky and crotchety, it's Xfce's terminal emulator. It's still the same old bash everyone else uses. But I think most people know what he means. And his choice of Control-Alt-T is just a default different from his. I think that is a Xubuntu thing. Ah, which is probably derived from Ubuntu proper. Hm.

He talks about how wicd is better than the built-in powerful wifi management program. Is he talking about wpa_supplicant? Perhaps he just is not accurate here. I don't really know what I'm talking about either, but Devuan did introduce me to wicd which I absolutely love, even if only because it's not spelled NetworkManager.

----
A Linux-themed crossword puzzle?! I think I'm in love. However, I apparently really suck at Linux trivia.

#16 Re: Other Issues » [Solved] apt pinning dbus » 2019-11-02 12:52:22

Thanks for the follow-up. It's always nice to be able to answer your own question.

In your own words, what does pinning a package without version number do?

#17 Re: News & Announcements » ASCII 2.1 point release » 2019-10-24 14:31:38

Thank you! I appreciate all the effort the real devuaners do. I'm just a moocher.

#18 Re: DIY » ditch your bloated network manager » 2019-10-10 20:14:06

I'm a weak devuaner because I like my xfce too much which comes with dbus. However, I very much appreciate all the tools that help make dbus and NetworkManager obsolete. I do of course use wicd, although I expect that uses dbus.

I bet these scripts could be improved to read /etc/default/autowifi files so the original scripts could be controlled by a dpkg... is anyone interested in seeing some effort on that?

#19 Re: News & Announcements » We're now 800 strong here! » 2019-10-05 13:58:21

You can always just share your experience or participate in other discussions. I'm glad to participate in the Devuan community, even if I don't have that much to say. I do come here with my problems, and I try to make myself available to help other people.

#20 Re: Devuan » Debian considering going systemd init only » 2019-10-04 18:54:43

I have just been researching how to shut down/restart/suspend a system using python, without dbus, and haven't come up with much. I searched for "dbus" on this forum and came across this thread. I was surprised to learn I have dbus running on my Devuan desktops, even the Fluxbox ones.

#21 Re: Other Issues » [SOLVED] Devuan snapshot repos, like Debian? » 2019-10-03 03:08:27

Answered my own question!

This is what I get for doing unattended upgrades in a rolling release. I realize it's entirely my fault.

I have successfully downgraded components necessary so I can get a running sssd client and I can getent passwd bgstack15 again. Thankfully, these components do not require the custom rebuilt packages for devuan. I'm not entirely sure what I would have done in that case.

# set this source:

deb   https://snapshot.debian.org/archive/debian/20190901T043449Z/ unstable main

Run commands

sudo apt-get -o Acquire::Check-Valid-Until=false update
sudo apt-get install freeipa-client=4.7.2-3 freeipa-common=4.7.2-3 python-ipaclient=4.7.2-3 sssd=2.2.0-4 python3-sss=2.2.0-4 sssd-ad=2.2.0-4 sssd-common=2.2.0-4 sssd-ipa=2.2.0-4 sssd-krb5=2.2.0-4 sssd-ldap=2.2.0-4 sssd-proxy=2.2.0-4 libsss-idmap0=2.2.0-4 sssd-ad-common=2.2.0-4 sssd-krb5-common=2.2.0-4 libipa-hbac0=2.2.0-4 libsmbclient=2:4.9.11+dfsg-1 samba-libs=2:4.9.11+dfsg-1 libwbclient0=2:4.9.11+dfsg-1
References

https://unix.stackexchange.com/question … cal-mirror
https://duckduckgo.com/?q=debian+releas … is+expired
https://snapshot.debian.org/

#22 Other Issues » [SOLVED] Devuan snapshot repos, like Debian? » 2019-10-03 02:28:43

bgstack15
Replies: 1

An alternate title is: Devuan ceres libldb2 and its reverse dependencies

Pardon me, as I'm still learning the debianized way to do things.

Tonight, I was running OS updates on a Devuan ceres installation, and it removed freeipa-client, because sssd appears to be dependent on libldb1 but other parts of freeipa-client depend on libldb2, and those packages are conflicting. Yes, of course I know this is the rolling release "unstable" release.

My errors are this:

[bgstack15-local@ltb-013|/home/bgstack15-local/dev]$ sudo apt-get install freeipa-client sssd-ad-common sssd sssd-ad sssd-ipa samba-libs libsmbclient libldb2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 freeipa-client : Depends: python3-sss but it is not going to be installed
 sssd : Depends: python3-sss (= 2.2.2-1) but it is not going to be installed
        Depends: sssd-common (= 2.2.2-1) but it is not going to be installed
        Depends: sssd-krb5 (= 2.2.2-1) but it is not going to be installed
        Depends: sssd-ldap (= 2.2.2-1) but it is not going to be installed
        Depends: sssd-proxy (= 2.2.2-1) but it is not going to be installed
 sssd-ad : Depends: sssd-common (= 2.2.2-1) but it is not going to be installed
           Depends: sssd-krb5-common (= 2.2.2-1) but it is not going to be installed
           Depends: libldb1 (>= 0.9.21) but it is not going to be installed
 sssd-ad-common : Depends: sssd-common (= 2.2.2-1) but it is not going to be installed
                  Depends: libldb1 (>= 0.9.21) but it is not going to be installed
 sssd-ipa : Depends: sssd-common (= 2.2.2-1) but it is not going to be installed
            Depends: sssd-krb5-common (= 2.2.2-1) but it is not going to be installed
            Depends: libldb1 (>= 0.9.21) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Boiling it down even further, I got to the real problem:

[bgstack15-local@ltb-013|/home/bgstack15-local/dev]$ sudo apt-get install freeipa-client sssd-ad-common sssd sssd-ad sssd-ipa samba-libs libsmbclient libldb2 python3-sss sssd-common sssd-krb5 sssd-ldap sssd-proxy sssd-krb5-common libldb1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libldb2 : Breaks: libldb1 (< 2:2~) but 2:1.5.5-2 is to be installed
E: Unable to correct problems, you have held broken packages.

Is it possible to use a Devuan snapshot repository, like I have read about for Debian?

Or is there a way I can help whoever is responsible for libldb1 so that ew can get 2:2 version published so I can log back into my system with my domain account?

#23 Re: Installation » It is possible to install devuan on the new laptop pinebook pro ??? » 2019-09-27 12:27:24

I am considering getting a Pinebook myself! I really should, that way I can collaborate with you on getting devuan to work.

#24 Re: Other Issues » /etc/os-release error » 2019-09-23 10:56:33

I think Debian itself is stopping its effort to chase LSB full compliance: https://en.wikipedia.org/wiki/Linux_Sta … _on_Debian

#25 Re: Other Issues » 32bit packages on a 64bit system » 2019-09-23 10:53:33

If you spend enough time, you can figure out which exact versions of the 64-bit packages you need, so that you can "apt-get install thatpackagename=1.3.4" with exact version numbers. What happened was the i386 packages have a newer version released in the Devuan repos, before the amd64 packages. In a multiarch installation, it appears that all architectures must have the exact same version number for a named package. I ran into this issue on Ceres but maybe that conversation can guide you a little.

Board footer

Forum Software