The officially official Devuan Forum!

You are not logged in.

#176 Re: Other Issues » [SOLVED] youtube-dl upgrade problem » 2023-08-23 17:30:27

Use "yt-dlp". Seems old (March) but is actually upto date & works fine.

#177 Re: Other Issues » [SOLVED] "Powered by Devuan" icons? » 2023-08-23 17:25:26

All scripts with their fonts uploaded just now to GitHub.

See Powered-by-Devuan.

#178 Re: Devuan » Can anyone fill me in on why and how exactly systemd took over Linux? » 2023-08-22 13:40:12

Camtaf wrote:

which most people wouldn't understand

I believe this to be a key feature across the board.

I've more than once had to deal with an awful server error that took it off the web. The server board gave me remote, emergency access, but I then only had basic Linux tools to explore the disks (cd, ls, cat, grep, less). The error messages were all in well-known locations and - crucially - were in plain text. SystemD stores everything in binary. I would have been blind & helpless if that server had been using SystemD.

SystemD is about a transfer of power away from the admin & into the hands of the provider. That was also the MS trick, and the two are obviously well-suited to each other.

#179 Re: Devuan » Can anyone fill me in on why and how exactly systemd took over Linux? » 2023-08-22 07:53:42

I do not know of a single story, Neil, nor even a set of small stories.

It *is* a combination of RedHat & one of their in-house developers that was responsible for systemD.

It was small things that began to develop, grow & only after a long period became threatening to the fundamentals of the Linux project. One feature is that early on Linus Torvalds became incandescent with anger at the attitude of the SystemD developer.

Example:
Shortly after the turn of the Millenium I had a server loaded with RedHat RHEL3 ("RedHat Enterprise Linux version 3") (it may have been v2, but I think it was v3). The physical server was owned by myself, but 2 lads had built it for me, loaded RHEL on to it, and arranged for it to be placed into an internet-backbone-connected server house. Now we come to the murky stuff:

  1. The RH licence for the software said that it should be paid per server, but the lads that copied it onto my server just ignored that
    (they had a separate server with a paid-for licence for RHEL3, and copied it from that server to mine)

  2. Only after I had paid for everything did I discover all of the above, plus the fact that the licence was due to expire in a couple of months.

  3. I had other troubles with the folks that built the server; we parted ways shortly after, and my server was transferred to another server-house.

  4. RH copyrighted the RHEL software under the GPL

  5. A free version of RHEL was produced as 'CentOS', and I used that to upgrade my server

  6. Only much later did I discover that the same folks that built my server were behind CentOS

  7. RH needed a steady income stream, and in part ensured that by continually upgrading RHEL's version

  8. CentOS was a threat to RedHat's income

  9. It was possible to easily in-place upgrade CentOS at each version upgrade until CentOS4

  10. CentOS5 was a bugger to in-place upgrade, but a method was found & published

  11. RH learnt from that, and made RHEL6 (and thus CentOS6) impossible to upgrade in-place (the server had to be wiped & freshly installed)

  12. I stopped running a server at this point

#180 Re: Installation » wine32 wants to remove desktop-base » 2023-08-20 02:42:45

Been there, done that. wine32 completely shafted everything else on my system, so I threw the baby (wine) out so that I could keep the bathwater.

Windows seems to insist on 32-bit binaries. Or at least, WINE does.

#181 Re: Other Issues » [SOLVED] "Powered by Devuan" icons? » 2023-08-19 22:54:32

@golinux:
This is the logo as you describe you would want it:

convert devuan-logo.png \
          -gravity North   -background transparent   -splice 0x18 \
          -font NimbusSans-Regular -pointsize 15.3 \
          -annotate +18+7 'Powered by'  devuan-powered-by-golinux-dream.png

I think that looks weird, and the 'Powered by' looks better if properly centred (or far right, whichever):

convert devuan-logo.png \
          -gravity North   -background transparent   -splice 0x18 \
          -font NimbusSans-Regular -pointsize 15.3 \
          -annotate +0+7 'Powered by'  devuan-powered-by-centred.png

I've emailed you three logos.

Added Sunday 20 Aug:
Completely changed my mind about your special (golinux-dream). After sleeping & re-looking at them that option blends very nicely with the other letters. Anyway, I spent a couple of hours refining them all & you now have an email with a TAR.GZ of 25 files (both IM6 scripts + the PNGs that each script produces + the original logo). The 2nd set of 12 files is a copy of the original 6 using NIMBUS-SANS-NARROW. I had to use a bigger point to get the same length so that it bridged the logo correctly and, all-in-all, I think it the best of the bunch. See what you think.

#182 Re: Other Issues » [SOLVED] "Powered by Devuan" icons? » 2023-08-19 18:17:11

A little extra that may help:

If you look at the Tests dir in The Story of Coal you will find a bunch of IM scripts (top of list) that were used to produce the image files at bottom of list. If you have the time to experiment you may find some of them interesting (I sure enjoyed myself!).

#183 Re: Other Issues » [SOLVED] "Powered by Devuan" icons? » 2023-08-19 16:30:58

boughtonp wrote:

I guess since I didn't specify a font it varies based on whatever the system's default might be

I do not know IM well enough to be certain, but I believe that there may be a clue in the following:

On the IM cli font page it speaks of a -list font option. For 'convert' that leads to an XML file that suggests that the default font (for me with IM6) is AvantGarde-Book:

$ convert -list font | head

Path: /etc/ImageMagick-6/type-urw-base35.xml
  Font: AvantGarde-Book
    family: AvantGarde
    style: Normal
    stretch: Normal
    weight: 400
    glyphs: /usr/share/fonts/type1/urw-base35/URWGothic-Book.t1

#184 Re: Other Issues » [SOLVED] "Powered by Devuan" icons? » 2023-08-19 14:43:23

Here is how to do it cli-method. You will need ImageMagick installed. That also installs more image-tools than you can shake a stick at, including the one that we shall use ('convert').

First, create a directory, call it "Devuan-Font" (whatever). Start a Terminal from that dir & download the Devuan logo:

$ wget https://git.devuan.org/devuan/documentation/raw/branch/master/art/graphics/logo/devuan-logo.png
--2023-08-19 14:30:48--  https://git.devuan.org/devuan/documentation/raw/branch/master/art/graphics/logo/devuan-logo.png
Resolving git.devuan.org (git.devuan.org)... 116.202.138.212, 2a01:4f8:a0:3284::74ca:8ad4
Connecting to git.devuan.org (git.devuan.org)|116.202.138.212|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3316 (3.2K) [image/png]
Saving to: ‘devuan-logo.png’

devuan-logo.png   100%[===================>]   3.24K  --.-KB/s    in 0s      

2023-08-19 14:30:48 (47.2 MB/s) - ‘devuan-logo.png’ saved [3316/3316]
$ file devuan-logo.png
devuan-logo.png: PNG image data, 230 x 48, 8-bit gray+alpha, non-interlaced

Now create a script file & run it.

$ chmod 0700 convert-logo
$ cat convert-logo
convert devuan-logo.png \
          -gravity North-East   -background transparent   -splice 0x18 \
          -font NimbusSans-Italic -pointsize 15 \
          -annotate +4+2 'Powered by'  devuan-powered-by.png
$ ./convert-logo

That creates exactly what is wanted. The exact details (font, text size, location, background colours, etc., etc.) can all be modified in exactly the way that you want.

#185 Re: ARM Builds » [SOLVED] Clock does not update. Daedalus, arm64 Rasp Pi. NTP server not running » 2023-08-17 20:18:49

The startup scripts (remember, this is initscripts, not systemd) are in /etc/init.d, etc:

/etc/init.d/ntp
/etc/rc2.d/S03ntp
/etc/rc2.d/S03ntpsec
/etc/rc3.d/S03ntp
/etc/rc3.d/S03ntpsec
/etc/rc4.d/S03ntp
/etc/rc4.d/S03ntpsec
/etc/rc5.d/S03ntp
/etc/rc5.d/S03ntpsec

This is the init.d script:

#!/bin/sh

### BEGIN INIT INFO
# Provides:        ntp
# Required-Start:  $network $remote_fs $syslog
# Required-Stop:   $network $remote_fs $syslog
# Default-Start:   2 3 4 5
# Default-Stop:
# Short-Description: Start NTP daemon
### END INIT INFO

PATH=/sbin:/bin:/usr/sbin:/usr/bin

. /lib/lsb/init-functions

DAEMON=/usr/sbin/ntpd
PIDFILE=/var/run/ntpd.pid

test -x $DAEMON || exit 0

if [ -r /etc/default/ntp ]; then
    . /etc/default/ntp
fi

if [ -e /run/ntp.conf.dhcp ]; then
    NTPD_OPTS="$NTPD_OPTS -c /run/ntp.conf.dhcp"
fi

RUNASUSER=ntp
UGID=$(getent passwd $RUNASUSER | cut -f 3,4 -d:) || true
if test "$(uname -s)" = "Linux"; then
        NTPD_OPTS="$NTPD_OPTS -u $UGID"
fi

case $1 in
    start)
        log_daemon_msg "Starting NTP server" "ntpd"
        if [ -z "$UGID" ]; then
            log_failure_msg "user \"$RUNASUSER\" does not exist"
            exit 1
        fi
        start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON -- -p $PIDFILE $NTPD_OPTS
        log_end_msg $?
          ;;
    stop)
        log_daemon_msg "Stopping NTP server" "ntpd"
        start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --retry=TERM/30/KILL/5 --exec $DAEMON
        log_end_msg $?
        rm -f $PIDFILE
          ;;
    restart|force-reload)
        $0 stop && sleep 2 && $0 start
          ;;
    try-restart)
        if $0 status >/dev/null; then
            $0 restart
        else
            exit 0
        fi
        ;;
    reload)
        exit 3
        ;;
    status)
        status_of_proc $DAEMON "NTP server"
        ;;
    *)
        echo "Usage: $0 {start|stop|restart|try-restart|force-reload|status}"
        exit 2
        ;;
esac

Now you can trace the scripts through & find out where it is failing (although you should have more than one error message to tell you what is happening.

HTH

#186 Re: ARM Builds » [SOLVED] Clock does not update. Daedalus, arm64 Rasp Pi. NTP server not running » 2023-08-17 20:09:15

Whilst searching for the ntp startup script I came across this:

$ less /usr/sbin/ntpdate

#! /bin/sh
#
# ntpdate - emulate the crufty old ntpdate utility from NTP Classic
#
# Not documented, as this is strictly a backward-compatibility shim. It's
# based on the recipes at
#           http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate
# with corrections for modern ntpdig options.

update:
removed extraneous ']'.

#187 Re: Hardware & System Configuration » [SOLVED] New install gave me a basic 640 resolution on older PC » 2023-08-17 18:38:33

An important difference between Chimaera & Daedalus where firmware is concerned (affecting graphics, bluetooth & all the rest): the Chimaera sources.list is as rolfie set out, but Daedalus is different:

$ cat /etc/apt/sources.list
deb http://deb.devuan.org/merged daedalus                  main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-updates          main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-security         main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-proposed-updates main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-backports        main non-free-firmware non-free contrib

Comment-out the last two lines whilst you install.

#188 Re: ARM Builds » [SOLVED] Clock does not update. Daedalus, arm64 Rasp Pi. NTP server not running » 2023-08-17 18:29:14

ntpdate has been deprecated for quite some time. You will NOT find it in Devuan (nor Debian] to download. Try apt search nptdate if you do not believe me (it returns zilch).

The word on the Debian beach is found within less /usr/share/doc/ntpdate/NEWS.Debian.gz (dated to Jan 16  2023) which says:

ntpsec (1.2.1+dfsg1-6) unstable; urgency=low

  ntpsec is replacing ntp in Debian.

  If you were already using ntpsec, you can stop reading now.  For
  those coming from ntp, NTPsec is a drop-in replacement for common
  configurations, but some things have been removed or changed in the
  name of security and/or maintainability:
    https://docs.ntpsec.org/latest/ntpsec.html

#189 Re: Devuan » Is Devuan Daedalus Changing to "Stable"? » 2023-08-17 09:14:53

sudo apt-get dist-upgrade involved ~2,000 files & the final sudo apt autoremove involved scores of files being removed.

Considering the size of the install (it was huge) it went without problems. Restarting (new kernel) gave a blank screen, which was heart-stopping (I've had to do repairs on remote servers from the grub command-line in the past and do not want to ever have to repeat that again). Restarting the computer then gave Recovering Journal which is excellent considering the alternative, but not really something that you want to see.

Naturally I've got gripes. Don't much like the colour scheme (sorry, the blue is too bright for my taste). The fonts are different everywhere. mlocate has gone & been replaced by plocate.

The grub startup screen was missing the Devuan theme, and the default Debian grub screen is pants. It probably happened due to a wrong choice during setup, but here is how to fix that: The file to look for is /etc/default/grub. There were two files in that dir:

  1. grub

  2. grub.ucf-old

Doing a diff showed that the old file referenced the Devuan theme. I therefor added the following line at the bottom of 'grub':

$ tail /etc/default/grub
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

GRUB_THEME=/usr/share/desktop-base/grub-themes/desktop-grub-theme/theme.txt

The final fix is to run update-grub and now the Devuan theme shows on startup.

#190 Re: Devuan » Is Devuan Daedalus Changing to "Stable"? » 2023-08-17 06:32:24

Upgrade to Daedalus from Chimaera page

This is what my /etc/apt/sources.list looks like after I remembered to comment-out the Chimaera releases (the first attempt to upgrade did not work because of that!):

$ cat /etc/apt/sources.list
deb http://deb.devuan.org/merged daedalus                  main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-updates          main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-security         main non-free-firmware non-free contrib
# deb http://deb.devuan.org/merged daedalus-proposed-updates main non-free-firmware non-free contrib
# deb http://deb.devuan.org/merged daedalus-backports        main non-free-firmware non-free contrib

I've now issued sudo apt-get update & several hundred updated files are installing.

Isn't it blooming amazing that anyone can design these things?

#191 Re: Devuan » Is Devuan Daedalus Changing to "Stable"? » 2023-08-17 05:35:21

golinux wrote:

Have you cleared your cache? I had to to see the changes.

You are right. Shift-f5 & there we are: "Daedalus 5.0 is the current stable release."

Ah well. Let's see how well prepared everything is.

#192 Re: Devuan » Is Devuan Daedalus Changing to "Stable"? » 2023-08-16 23:35:58

The Devuan Home page *still* says "Chimaera 4.0 is the current stable release", whilst the Devuan Releases page bravely says "Daedalus stable released:2023-08-14".

I got bitten too many times trying to bridge conflicting releases, so am trying to be patient until those two pages reconcile themselves.

It has to be said that the earlier bad experiences were with CentOS, and that was because RedHat deployed technological measures to prevent folks from in-place upgrading from one major release to the next (presumably to force a new release to be purchased but I don't actually know why, I just know that they did it). It's bad enough dealing with a difficult Home-based system, but 10 x worse when it is a remote server that your finances depend upon. Everything was fine going from 3 => 4, but then it got more & more difficult and by CentOS-6 it was clear that going from 6 to 7 was going to be impossible unless you wiped the disk clean. Despicable twats.

#193 Devuan » Is Devuan Daedalus Changing to "Stable"? » 2023-08-14 20:13:19

alexkemp
Replies: 13

Doing my ordinary daily apt update just now and - although no updates available - got the first-time-ever message:

apt wrote:

N: Repository 'http://deb.devuan.org/merged chimaera-security InRelease' changed its 'Suite' value from 'stable-security' to 'oldstable-security'

Devuan.org Home page still says:

Devuan Home wrote:

Devuan Releases
Chimaera 4.0 is the current stable release.
Beowulf 3.1 point release has moved to oldstable status.

#194 Re: Installation » [SOLVED] Can't get wifi runing on raspberry pi 4 » 2023-08-08 20:14:11

Hopefully this will get you a little closer; I'm running Chimaera myself:

$ apt search udhcpc
Sorting... Done
Full Text Search... Done
busybox/stable,now 1:1.30.1-6+b3 amd64 [installed,automatic]
  Tiny utilities for small and embedded systems

udhcpc/stable 1:1.30.1-6+b3 amd64
  Provides the busybox DHCP client implementation
$ apt-cache policy udhcpc
udhcpc:
  Installed: (none)
  Candidate: 1:1.30.1-6+b3
  Version table:
     1:1.30.1-6+b3 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages

As soon as I can find out how to discover it, I'll tell you a location for the .deb.

HTH

#196 Forum Feedback » Unable to insert into list » 2023-07-29 12:51:27

alexkemp
Replies: 1

From memory, that is the error message that I received shortly before posting this msg.

Steps to get to that point:

  • Click an internal bookmark for the Forum Index
    (internal to my own browser-setup, which is to say not directly connected with Dev1)

I refreshed the page & after a short delay got re-directed to the normal index listing (and forgot to copy the error before doing so).

Extra: Clicking any forum section- or post-link seems to have a delay before completion for the past day or so.

#197 Re: Hardware & System Configuration » [SOLVED] No Keyboard or Mouse in Xfce4 » 2023-07-28 08:50:24

xfce4 has it's own 'startx': /usr/bin/startxfce4. Here is the head (options at bottom):

$ head -50 /usr/bin/startxfce4
#!/bin/sh
#
#  xfce4
#
#  Copyright (C) 1996-2003 Olivier Fourdan (fourdan@xfce.org)
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#

if test "x$*" != "x"
then
  OPTS=""
  for OPT in $*
  do
    if test "x$OPT" = "x--help"
    then
      # print help and exit
      echo "Usage:"
      echo "  startxfce4 [OPTIONS...]"
      echo
      echo "Options:"
      echo "  --help                   Show help options"
      echo "  --with-ck-launch         Start xfce4-session inside a"
      echo "                           ConsoleKit session"
      echo

      exit 0
    elif test "x$OPT" = "x--with-ck-launch"
    then
      # try to launch xfce4-session with ck-launch-session in xinitrc
      XFCE4_SESSION_WITH_CK="1"
      export XFCE4_SESSION_WITH_CK
    else
      # append
      OPTS="$OPTS $OPT"
    fi
  done

Perhaps try that?

#198 Re: Other Issues » new daedalus install show warnings in apt for non-free-firmware » 2023-07-27 15:29:39

Lord, but these threads are full of noise. Please stop it.

#199 Re: Other Issues » Ceres AMD64 unable to install wine32 » 2023-07-27 07:13:47

hunter0one wrote:

Most applications people would want/need in WINE are 32-bit.

Agree. Which is why WINE is (IMO) deprecated for modern Linux, which almost entirely is powered by 64-bit cpus.

#200 Re: Other Issues » new daedalus install show warnings in apt for non-free-firmware » 2023-07-27 07:10:52

boughtonp wrote:

This thread is about Daedalus, not Chimaera.

I'm actually reasonably capable of reading the thread title. However, if I can pass over that & like an idiot try to implement it in Chimaera (for the second time), so can others. Hence my post to try to help others not do that.

Board footer

Forum Software