The officially official Devuan Forum!

You are not logged in.

#1 Hardware & System Configuration » Docker-Compose Issues on Daedalus » 2024-03-19 15:48:41

little
Replies: 0

I've been running Docker for a couple years, and posted the following guide: https://dev1galaxy.org/viewtopic.php?id=2583 but it looks like an error has come up with docker-compose. Note that the following is with docker from the Devuan repos. Docker still works, but docker-compose has failed in the past couple months with the following error:

docker-compose up
Starting dolibarr_tux_mariadb_1 ... error

ERROR: for dolibarr_tux_mariadb_1  Cannot start service mariadb: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "cgroup" to rootfs at "/sys/fs/cgroup": mount cgroup:/sys/fs/cgroup/elogind (via /proc/self/fd/6), flags: 0xf, data: elogind: invalid argument: unknown

ERROR: for mariadb  Cannot start service mariadb: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "cgroup" to rootfs at "/sys/fs/cgroup": mount cgroup:/sys/fs/cgroup/elogind (via /proc/self/fd/6), flags: 0xf, data: elogind: invalid argument: unknown
ERROR: Encountered errors while bringing up the project.

I tried instead uninstalling docker from the devuan repos and installing docker from the official docker repos, but that failed also. There is no sysvinit script installed, so it is unable to start (the old init script from daedalus doesn't seem to work). One thing to beware of: if you try to uninstall, you will get the following error:

apt-get purge docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  git git-man liberror-perl patch
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  containerd.io* docker-buildx-plugin* docker-ce* docker-ce-cli* docker-compose-plugin*
0 upgraded, 0 newly installed, 5 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 402 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 140980 files and directories currently installed.)
Removing docker-ce (5:25.0.4-1~debian.12~bookworm) ...
Stopping Docker: dockerstart-stop-daemon: warning: failed to kill 23915: No such process
No process in pidfile '/var/run/docker-ssd.pid' found running; none killed.
invoke-rc.d: initscript docker, action "stop" failed.
dpkg: error processing package docker-ce (--remove):
installed docker-ce package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
dpkg: error while cleaning up:
installed docker-ce package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
docker-ce
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

The answer to this second error is to remove the init script leftover from the previous install. Then you can go back to the Devuan repos.

Going back to docker-compose, I managed to get a workaround. Install the standalone binary from https://docs.docker.com/compose/install/standalone/ (As of 3/2024 I used https://github.com/docker/compose/relea … ux-x86_64)

If anyone has any hints on the devuan repo docker-compose error at the top let me know.

#2 Re: Installation » Hosted VPS server migration from debian to devuan hosed » 2021-01-12 00:59:29

I've migrated two different VPS to devuan. One Debian 9, one Debian 10. The latter was harder. But, it's possible.

I haven't written a guide yet, but here's a tip: Debian doesn't have /etc/inittab, but devuan needs it, so you'll have to copy one from another devuan install.

Another tip: if the NICs don't come up after a reboot, you must install eudev, then they will come up. You are going to need an emergency console for this. Some notes are here: https://dev1galaxy.org/viewtopic.php?id=3044&p=2

Best way to do this: Find a provider that offers custom ISO installation. It's the right way to go. Custom ISO is essential for VPS. Speak with your wallets w/Providers that offer custom iso. There's a bunch out there. Hopefully in a couple years, it will be standard across the board.

EDIT: I just spent the 20 minutes to look back through my notes, and migrated from buster to beowulf. Here's the guide.

apt-get update
apt-get dist-upgrade
edit /etc/apt/sources.list and add devuan's repos
root@debian:~# apt-get update --allow-insecure-repositories
root@debian:~# apt-get install devuan-keyring --allow-unauthenticated
root@debian:~# apt-get update
apt-get install sysvinit #may not be required
reboot #may not be required
sudo apt-get dist-upgrade #says it will delete running kernel. allow it to (I think it's "no" here, read the warning carefully)
install the kernel again. note that you can't
install linux-image-amd64, you must install the current release.
e.g. apt-get install linux-image-4.19.0-13-amd64. Whatever is most current.
make sure boot has an initramfs and kernel.
What this does is remove the debian kernel, and install the devuan kernel
sudo apt-get autoclean
sudo apt-get remove systemd libsoup2.4-1-  #this will ignore the dependency on libsoup, and allow removing systemd
it will error out. that's ok,
sudo apt-get install sysvinit-core
sudo apt-get install eudev #IMPORTANT. We must download this before rebooting. It will fail, but that is ok.
now, before you reboot make sure /etc/inittab has something in place.
It does for me, so devuan installed it this time.
now: reboot
in my vps i was locked out, because they have some strange ifup settings.
from emergency console: apt-get install eudev
after this, reboot once more to get eudev running.
the dhcp may timeout. just wait a moment.
now NICs are visible, and you should be in devuan. At least I was with my VPS.
Tested with Debian 10. 01/10/2021.

It's worth noting that my interfaces look something like the below from the provider. So it's not just DHCP.

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
auto enp
iface enp inet static
        address <WANIP>
        netmask 255.255.255.255
        broadcast +
        up ip -f inet route add 169.254.0.1 dev enp
auto enp:1
iface enp:1 inet static
        address <SOMELANIP>
        netmask 255.0.0.0
        broadcast +

#3 Re: News & Announcements » Migrating from Buster to Beowulf - feedback needed » 2021-01-08 03:48:10

So I bashed through a number of commands. I installed sysvinit-core, yes. I ended up removing the kernel, and then reinstalling it. Quite a mess, but I was able to get it to complete the install. At one point, it reboot with no eth0 iface, so the emergency console was used, and then after installing eudev and rebooting, everything looked right. I'll try to update this post with some steps for future reference. It was not straightforward, but it was possible. I suspect because this was a VPS.

Maybe I would've had better luck if I followed the instructions in this thread I had followed before for the RPI. Anyways, alls well that ends well.

EDIT: full guide to get migration working here: http://dev1galaxy.org/viewtopic.php?pid=26751#p26751

#4 Re: News & Announcements » Migrating from Buster to Beowulf - feedback needed » 2021-01-07 19:27:54

No dice. Reboot works, but apt-get dist-upgrade results in being prompted to remove the running kernel. I don't agree to that, and then it breaks down.

I'm afraid I need to find a different VPS vendor. One that supports custom ISOs. For what it's worth, I migrated an identical Jessie or Stretch (forget now) Debian to Devuan some years ago with this vendor. Back then, the only trick was adding /etc/inittab. Now with Buster it's resulting in below.

Removing linux-image-amd64 (4.19+105+deb10u8) ...
Removing linux-image-4.19.0-13-amd64 (4.19.160-2) ...
E: Aborting removal of the running kernel
dpkg: error processing package linux-image-4.19.0-13-amd64 (--remove):
 installed linux-image-4.19.0-13-amd64 package pre-removal script subprocess returned error exit status 1
Removing bluetooth (5.50-1.2~deb10u1) ...
Removing bluez (5.50-1.2~deb10u1) ...
dpkg: initramfs-tools-core: dependency problems, but removing anyway as you requested:
 initramfs-tools depends on initramfs-tools-core (= 0.133+deb10u1).

Removing initramfs-tools-core (0.133+deb10u1) ...
Removing udev (241-7~deb10u5) ...
dpkg: initramfs-tools: dependency problems, but removing anyway as you requested:
 linux-image-4.19.0-13-amd64 depends on initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool; however:
  Package initramfs-tools is to be removed.

  Package linux-initramfs-tool is not installed.
  Package initramfs-tools which provides linux-initramfs-tool is to be removed.
 linux-image-4.19.0-13-amd64 depends on initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool; however:
  Package initramfs-tools is to be removed.
  Package linux-initramfs-tool is not installed.
  Package initramfs-tools which provides linux-initramfs-tool is to be removed.

Removing initramfs-tools (0.133+deb10u1) ...
Errors were encountered while processing:
 linux-image-4.19.0-13-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vps:/#

Then:

root@vps:~# apt-get install eudev
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 eudev : Depends: libeudev1 (= 3.2.7-6) but it is not going to be installed
         Breaks: systemd (> 220) but 241-7~deb10u5 is to be installed
 linux-image-4.19.0-13-amd64 : Depends: initramfs-tools (>= 0.120+deb8u2) but it is not going to be installed or
                                        linux-initramfs-tool
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@vps:~# apt-get purge systemd libnss-systemd
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 dbus-user-session : Depends: systemd but it is not going to be installed
 libpam-systemd : Depends: systemd (= 241-7~deb10u5) but it is not going to be installed
 linux-image-4.19.0-13-amd64 : Depends: initramfs-tools (>= 0.120+deb8u2) but it is not going to be installed or
                                        linux-initramfs-tool
 systemd-sysv : PreDepends: systemd but it is not going to be installed
                Recommends: libnss-systemd but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@vps:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 linux-image-4.19.0-13-amd64 : Depends: initramfs-tools (>= 0.120+deb8u2) but it is not installed or
                                        linux-initramfs-tool
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
root@vps:~#

Finally, stuck in dependency hell.

root@vps:~# sudo apt-get install libeudev1
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libeudev1 : Conflicts: libudev1 (< 1:3.2.7-6)
 linux-image-4.19.0-13-amd64 : Depends: initramfs-tools (>= 0.120+deb8u2) but it is not going to be installed or
                                        linux-initramfs-tool
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@vps:~# sudo apt-get install initramfs-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 initramfs-tools : Depends: initramfs-tools-core (= 0.133+deb10u1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@vps:~# sudo apt-get install initramfs-tools initramfs-tools-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 initramfs-tools-core : Depends: udev
                        Recommends: pigz but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@vps:~#

#5 Re: News & Announcements » Migrating from Buster to Beowulf - feedback needed » 2021-01-07 02:15:28

Sorry, I wasn't clear. I did. See below:

root@vps:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  aspell-eu-es
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
root@vps:~#

Reboot I think would be unwise as it didn't install eudev. Trying to install eudev again results in the same error. The only hint is that it's holding packages, and also on a VPS (yet kvm).

#6 Re: News & Announcements » Migrating from Buster to Beowulf - feedback needed » 2021-01-06 22:19:17

Having trouble with a Debian Buster VPS migrating to Beowulf. Dependency issues when trying to install eudev. See below. (some sections omitted for brevity). To be clear, I am following the docs from devuan.org (https://www.devuan.org/os/documentation/dev1fanboy/en/buster-to-beowulf ). Not the earlier instructions in this thread.

root@vps:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  aspell-eu-es
Use 'apt autoremove' to remove it.
The following packages have been kept back:
  libcolord2 libudev1 udev util-linux
The following packages will be upgraded:
  base-files bsdutils ca-certificates distro-info-data fdisk libblkid1 libfdisk1 libmount1 libpcsclite1 libprocps7 libsmartcols1 libuuid1
  mount procps python3-reportbug reportbug rsyslog sysvinit-utils task-amharic task-arabic task-asturian task-basque task-belarusian
  task-bengali task-bosnian task-brazilian-portuguese task-bulgarian task-catalan task-chinese-s task-chinese-t task-croatian
  task-cyrillic task-czech task-danish task-dutch task-english task-esperanto task-estonian task-finnish task-french task-galician
  task-german task-greek task-gujarati task-hebrew task-hindi task-hungarian task-icelandic task-irish task-italian task-japanese
  task-kazakh task-khmer task-korean task-kurdish task-laptop task-latvian task-lithuanian task-macedonian task-malayalam task-marathi
  task-northern-sami task-norwegian task-persian task-polish task-portuguese task-punjabi task-romanian task-russian task-serbian
  task-slovak task-slovenian task-spanish task-swedish task-tagalog task-tamil task-telugu task-thai task-turkish task-ukrainian
  task-welsh tasksel tasksel-data tzdata util-linux-locales uuid-runtime
86 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 4,510 kB of archives.
After this operation, 644 kB of additional disk space will be used.
Do you want to continue? [Y/n]

etting up task-khmer (3.54+devuan3) ...
Setting up task-gujarati (3.54+devuan3) ...
Setting up task-northern-sami (3.54+devuan3) ...
Setting up task-belarusian (3.54+devuan3) ...
Setting up task-english (3.54+devuan3) ...
Processing triggers for systemd (241-7~deb10u5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for ca-certificates (20200601~deb10u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.

root@vps:~# apt-get install eudev
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:
 dconf-gsettings-backend : Depends: dconf-service (>= 0.30.1-2) but it is not going to be installed
                           Depends: dconf-service (< 0.30.1-2.1~) but it is not going to be installed
 libsoup2.4-1 : Depends: glib-networking (>= 2.32.0) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
root@vps:~#

#7 Re: Desktop and Multimedia » Freecad Migration from Ascii to Beowulf » 2020-12-05 03:13:54

More trouble. This time it was a somewhat new Beowulf install. I first tried the appimage. That worked, but then after a while it was slow.

I tried apt-get install freecad, but it didn't load the GUI. Run freecad with the -l flag for logging. The log was the following:

Msg: FreeCAD 0.18, Libs: 0.18R
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Log: Time = Fri Dec  4 20:45:38 2020
Log: AppDataSkipVendor = true
Log: AppHomePath = /usr/lib/freecad/
Log: AppIcon = freecad
Log: AppTempPath = /tmp/
Log: BinPath = /usr/lib/freecad/bin/
Log: BuildRepositoryURL = https://code.launchpad.net/~vcs-imports/freecad/trunk
Log: BuildRevision = 
Log: BuildRevisionDate = 2019/03/02 14:33:57
Log: BuildVersionMajor = 0
Log: BuildVersionMinor = 18
Log: Console = 0
Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Log: Debug = 0
Log: DocPath = /usr/lib/freecad/doc/
Log: ExeName = FreeCAD
Log: ExeVendor = FreeCAD
Log: ExeVersion = 0.18
Log: LoggingFile = 1
Log: LoggingFileName = /home/user/.FreeCAD/FreeCAD.log
Log: MaintainerUrl = http://www.freecadweb.org/wiki/Main_Page
Log: PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Log: PYTHONPATH = 
Log: PythonSearchPath = :/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload
Log: RunMode = Gui
Log: SplashAlignment = Bottom|Left
Log: SplashInfoColor = #c8c8c8
Log: SplashScreen = freecadsplash
Log: SplashTextColor = #ffffff
Log: StartWorkbench = StartWorkbench
Log: SystemParameter = /home/user/.FreeCAD/system.cfg
Log: UserAppData = /home/user/.FreeCAD/
Log: UserHomePath = /home/user
Log: UserParameter = /home/user/.FreeCAD/user.cfg
Log: Verbose = 
Log: Create Application
Log: Run App init script
Log: Init: starting App::FreeCADInit.py
Log: Init:   Searching for modules...
Log: Init:      Initializing /usr/share/freecad/Mod/Sketcher... done
Log: Init:      Initializing /usr/share/freecad/Mod/ReverseEngineering... done
Log: Init:      Initializing /usr/share/freecad/Mod/Show(Init.py not found)... ignore
Log: Init:      Initializing /usr/share/freecad/Mod/Image... done
Log: Init:      Initializing /usr/share/freecad/Mod/Surface... done
Log: Init:      Initializing /usr/share/freecad/Mod/PartDesign... done
Log: Init:      Initializing /usr/share/freecad/Mod/Measure... done
Log: Init:      Initializing /usr/share/freecad/Mod/Ship(Init.py not found)... ignore
Log: Init:      Initializing /usr/share/freecad/Mod/Plot(Init.py not found)... ignore
Log: Init:      Initializing /usr/share/freecad/Mod/MeshPart... done
Log: Init:      Initializing /usr/share/freecad/Mod/OpenSCAD... done
Log: Init:      Initializing /usr/share/freecad/Mod/Fem... done
Log: Init:      Initializing /usr/share/freecad/Mod/Spreadsheet... done
Log: Init:      Initializing /usr/share/freecad/Mod/Start... done
Log: Init:      Initializing /usr/share/freecad/Mod/AddonManager... done
Log: Init:      Initializing /usr/share/freecad/Mod/Draft... done
Log: Init:      Initializing /usr/share/freecad/Mod/Test... done
Log: Init:      Initializing /usr/share/freecad/Mod/Import... done
Log: Init:      Initializing /usr/share/freecad/Mod/TechDraw... done
Log: Init:      Initializing /usr/share/freecad/Mod/Tux(Init.py not found)... ignore
Log: Init:      Initializing /usr/share/freecad/Mod/Complete... done
Log: Init:      Initializing /usr/share/freecad/Mod/Web... done
Log: Init:      Initializing /usr/share/freecad/Mod/Material... done
Log: Init:      Initializing /usr/share/freecad/Mod/Raytracing... done
Log: Init:      Initializing /usr/share/freecad/Mod/Mesh... done
Log: Init:      Initializing /usr/share/freecad/Mod/Path... done
Log: Init:      Initializing /usr/share/freecad/Mod/Part... done
Log: Init:      Initializing /usr/share/freecad/Mod/Arch... done
Log: Init:      Initializing /usr/share/freecad/Mod/Robot... done
Log: Init:      Initializing /usr/share/freecad/Mod/Points... done
Log: Init:      Initializing /usr/share/freecad/Mod/Idf... done
Log: Init:      Initializing /usr/share/freecad/Mod/Inspection... done
Log: Init:      Initializing /usr/share/freecad/Mod/Drawing... done
Log: Using /usr/share/freecad/Mod as module path!
Log: System path after init:
Log:    /usr/lib/freecad/bin
Log:    /usr/share/freecad/Mod/Sketcher
Log:    /usr/share/freecad/Mod/ReverseEngineering
Log:    /usr/share/freecad/Mod/Show
Log:    /usr/share/freecad/Mod/Image
Log:    /usr/share/freecad/Mod/Surface
Log:    /usr/share/freecad/Mod/PartDesign
Log:    /usr/share/freecad/Mod/Measure
Log:    /usr/share/freecad/Mod/Ship
Log:    /usr/share/freecad/Mod/Plot
Log:    /usr/share/freecad/Mod/MeshPart
Log:    /usr/share/freecad/Mod/OpenSCAD
Log:    /usr/share/freecad/Mod/Fem
Log:    /usr/share/freecad/Mod/Spreadsheet
Log:    /usr/share/freecad/Mod/Start
Log:    /usr/share/freecad/Mod/AddonManager
Log:    /usr/share/freecad/Mod/Draft
Log:    /usr/share/freecad/Mod/Test
Log:    /usr/share/freecad/Mod/Import
Log:    /usr/share/freecad/Mod/TechDraw
Log:    /usr/share/freecad/Mod/Tux
Log:    /usr/share/freecad/Mod/Complete
Log:    /usr/share/freecad/Mod/Web
Log:    /usr/share/freecad/Mod/Material
Log:    /usr/share/freecad/Mod/Raytracing
Log:    /usr/share/freecad/Mod/Mesh
Log:    /usr/share/freecad/Mod/Path
Log:    /usr/share/freecad/Mod/Part
Log:    /usr/share/freecad/Mod/Arch
Log:    /usr/share/freecad/Mod/Robot
Log:    /usr/share/freecad/Mod/Points
Log:    /usr/share/freecad/Mod/Idf
Log:    /usr/share/freecad/Mod/Inspection
Log:    /usr/share/freecad/Mod/Drawing
Log:    /usr/local/bin
Log:    /usr/bin
Log:    /bin
Log:    /usr/local/games
Log:    /usr/games
Log: Init: App::FreeCADInit.py done
Log: Init: Creating Gui::Application and QApplication
Log: OpenGL version is: 2.1 (2.1 Mesa 18.3.6)
Log: QXcbConnection: XCB error: 148 (Unknown), sequence: 187, resource id: 0, major code: 140 (Unknown), minor code: 20

 

Tried a bunch of stuff, but I was on VNC, and it turns out, that when I closed the laptop screen, and ran the program, Freecad would fail to load the GUI properly. If I opened the laptop screen, then it loads properly.

Just as a note, this is the first time I've seen appimages not perform up to spec. It's a 500MB appimage, so perhaps all that unpacking is not efficient. Just a guess.

When installing, I used apt-get install freecad freecad-python3

#8 Re: Desktop and Multimedia » Freecad Migration from Ascii to Beowulf » 2020-10-20 06:57:22

According to https://packages.debian.org/en/buster/freecad either 2 or 3 can be used. I didn't think they would have support for both. But since you mention it, that would've been an option.

#9 Re: Installation » Installing ZFS on Devuan Mirrored Root » 2020-10-13 18:33:38

Update: The ZFS computers are still in operation, however anytime there is an update to ZFS, it requires the kernel to manually re-compile. From what I understand, this is due to the NON GPL and (even) NON BSD licensing used by the ZFS project. I think theres a work around, but it requires manual intervention. On a high end server this may not be a big deal, but on my old computers - it takes a while.

So I wouldn't use ZFS again. Next time I would adopt B-tree FS (BTRFS) which isn't trapped by restrictive licensing or mdadm.

#10 Desktop and Multimedia » Freecad Migration from Ascii to Beowulf » 2020-10-13 18:22:43

little
Replies: 3

I recently upgraded from Ascii to Beowulf, and had some hiccups with an existing Freecad install. I might've been using Freecad from ascii-backports or just ascii. The typical error I was getting in this situation was either an error upon starting freecad from terminal, or it would open to a window with no workbenches available. Essentially blank.

I had to uninstall freecad and also purge. I manually deleted the /usr/lib/freecad-python2/lib folder. Then:

apt-get install freecad*

This didn't work because
ldd /usr/bin/freecad noted a few missing libraries (apparently freecad-python2 reinstalled, but didn't reinstall properly). so

apt-get install --reinstall freecad-python2

and then i was up and running.

The next day, it was broken upon startup.

sudo update-alternatives --config freecad 

Repaired a link in /usr/lib/freecad/bin/

Apparently the python2 binaries were broken / out of date.

Further information:
https://wiki.freecadweb.org/Power_users_hub
https://wiki.freecadweb.org/Start_up_and_Configuration

#11 Re: Devuan » Best Practices for preinst / postinst dpkg Compatibility » 2020-07-30 20:12:39

Per Headonastick: There's other commands in the script that fail to run on devuan, and that snippet is only for the startup defaults. If you read the remaining parts of the script, you will see what I mean.

I should probably get around to reading one of the dpkg books, so I apologize if this information is obvious to package maintainers.

Per Marjorie, thanks, that seems to point me in the right direction. I'll look into the rules, along with the commands you listed and should be able to figure it out.

#12 Devuan » Best Practices for preinst / postinst dpkg Compatibility » 2020-07-30 15:04:50

little
Replies: 3

So I have .deb install scripts on a package (zoneminder) that I'm looking to get changed. They are built for systemd, and look something like this:

#! /bin/sh

set +e

if [ "$1" = "configure" ]; then

  . /etc/zm/zm.conf
  for CONFFILE in /etc/zm/conf.d/*.conf; do
    . "$CONFFILE"
  done

  # The logs can contain passwords, etc... so by setting group root, only www-data can read them, not people in the www-data group
  chown www-data:root /var/log/zm
  chown www-data:www-data /var/lib/zm
  if [ -z "$2" ]; then
    chown www-data:www-data /var/cache/zoneminder /var/cache/zoneminder/*
  fi
  if [ ! -e "/etc/apache2/mods-enabled/cgi.load" ] && [ "$(command -v a2enmod)" != "" ]; then
    echo "The cgi module is not enabled in apache2.  I am enabling it using a2enmod cgi."
    a2enmod cgi
  fi
  if [ ! -e "/etc/apache2/mods-enabled/rewrite.load" ] && [ "$(command -v a2enmod)" != "" ]; then
    echo "The rewrite module is not enabled in apache2.  I am enabling it using a2enmod rewrite."
    a2enmod rewrite
  fi

  if [ "$ZM_DB_HOST" = "localhost" ]; then

    if [ -e "/lib/systemd/system/mysql.service" ] || [ -e "/lib/systemd/system/mariadb.service" ] || [ -e "/etc/init.d/mysql" ]; then
      # Ensure zoneminder is stopped
      deb-systemd-invoke stop zoneminder.service || exit $?

      #
      # Get mysql started if it isn't running
      #

      if [ -e "/lib/systemd/system/mariadb.service" ]; then
        DBSERVICE="mariadb.service"
      else
        DBSERVICE="mysql.service"
      fi
      echo "Detected db service is $DBSERVICE"
      if systemctl is-failed --quiet $DBSERVICE; then
        echo "$DBSERVICE is in a failed state; it will not be started."
        echo "If you have already resolved the problem preventing $DBSERVICE from running,"
        echo "run sudo systemctl restart $DBSERVICE then run sudo dpkg-reconfigure zoneminder."
        exit 1
      fi

      if ! systemctl is-active --quiet mysql.service mariadb.service; then
        # Due to /etc/init.d service autogeneration, mysql.service always returns the status of mariadb.service
        # However, mariadb.service will not return the status of mysql.service.
        deb-systemd-invoke start $DBSERVICE
      fi
 # Make sure systemctl status exit code is 0; i.e. the DB is running
      if systemctl is-active --quiet "$DBSERVICE"; then
        mysqladmin --defaults-file=/etc/mysql/debian.cnf -f reload
        # test if database if already present...
        if ! $(echo quit | mysql --defaults-file=/etc/mysql/debian.cnf zm > /dev/null 2> /dev/null) ; then
            echo "Creating zm db"
            cat /usr/share/zoneminder/db/zm_create.sql | mysql --defaults-file=/etc/mysql/debian.cnf
            if [ $? -ne 0 ]; then
              echo "Error creating db."
              exit 1;
            fi
            # This creates the user.
            echo "CREATE USER '${ZM_DB_USER}'@localhost IDENTIFIED BY '${ZM_DB_PASS}';" | mysql --defaults-file=/etc/mysql/debian.cnf mysql
        fi
        echo "Updating permissions"
        echo "grant lock tables,alter,drop,select,insert,update,delete,create,index,alter routine,create routine, trigger,execute  on ${ZM_DB_NAME}.* to '${ZM_DB_USER}'@localhost;" | mysql --defaults-file=/etc/mysql/debian.cnf mysql

        zmupdate.pl --nointeractive
        zmupdate.pl --nointeractive -f

        # Add any new PTZ control configurations to the database (will not overwrite)
        zmcamtool.pl --import >/dev/null 2>&1
        echo "Done Updating; starting ZoneMinder."
      else
        echo 'NOTE: MySQL/MariaDB not running; please start mysql and run dpkg-reconfigure zoneminder when it is running.'
      fi
    else
      echo 'MySQL/MariaDB not found; assuming remote server.'
    fi

  else
    echo "Not doing database upgrade due to remote db server ($ZM_DB_HOST)."
  fi
  deb-systemd-invoke restart zoneminder.service

fi
# Automatically added by dh_systemd_enable/12.1.1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
        if deb-systemd-helper debian-installed 'zoneminder.service'; then
                # This will only remove masks created by d-s-h on package removal.
                deb-systemd-helper unmask 'zoneminder.service' >/dev/null || true

                if deb-systemd-helper --quiet was-enabled 'zoneminder.service'; then
                        # Create new symlinks, if any.
                        deb-systemd-helper enable 'zoneminder.service' >/dev/null || true
                fi
        fi

        # Update the statefile to add new symlinks (if any), which need to be cleaned
        # up on purge. Also remove old symlinks.
        deb-systemd-helper update-state 'zoneminder.service' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installinit/12.1.1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
        # In case this system is running systemd, we need to ensure that all
        # necessary tmpfiles (if any) are created before starting.
        if [ -d /run/systemd/system ] ; then
                systemd-tmpfiles --create zoneminder.conf >/dev/null || true
        fi
fi
# End automatically added section
# Automatically added by dh_installdeb/12.1.1
dpkg-maintscript-helper rm_conffile /etc/zm/apache.conf 1.28.1-5~ -- "$@"
# End automatically added section
# Automatically added by dh_installinit/12.1.1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
        if [ -x "/etc/init.d/zoneminder" ]; then
                update-rc.d zoneminder defaults >/dev/null
                invoke-rc.d zoneminder start || exit 1
        fi
fi
# End automatically added section

What breaks compatibility is the specific commands such as deb-systemd-helper or  deb-systemd-invoke restart zoneminder.service for example.

What's the best practice for adding support for sysvinit or devuan as well? Should I search - if exists - /etc/devuan_version then do devuan section... or is there a better way that is not limited to devuan (i.e. would also support any distro with sysvinit).

I should mention that, in terms of simplicity, I would not want to just add on something like

  else
    echo "Not doing database upgrade due to remote db server ($ZM_DB_HOST)."
  fi
<added section>
if (init is detected as sysvinit)
then
service restart zoneminder
else
</added section>
  deb-systemd-invoke restart zoneminder.service

And layer more commands in each section, as that would make maintenance difficult.

I would instinctively want to separate out the configs, so that the sysvinit is in its own section to make everything less entangled and more modular.  My thought was to have it be
if sysvinit detected then
sysvinitsection with break to end script
else
systemd section

#13 ARM Builds » Pocketbeagle and Beagleboard USB issues during Migration from Buster » 2020-05-27 05:25:40

little
Replies: 0

On these two devices, when connected via USB only, and using the usb gadget ethernet link (i.e. ethernet over usb) to migrate the machine, after the reboot (according to this guide: https://beta.devuan.org/os/documentatio … o-beowulf) (reference: https://dev1galaxy.org/viewtopic.php?id=3044) usb0 is not recreated. This means that connection via the pocketbeagle (and original but not later bb's) requires a serial connection to continue.

The serial connection must also be added to /etc/inittab. The entry for the serial will depend upon your given device. You can simply make a number of them, or look them up. Worst case you end up with duplicates, and can then work from there.

I found scripts in the official bb debian buster images in /opt/script/boot/ (a number of bb tools are here), and among them are some that seem to address configuration of usb. I also found I needed to modprobe g_ether (usb gadget ethernet module). The issue appears to be that the OTG module is not auto loaded/configured.

I don't know if this is worth addressing by developers or not. But the information is here, in case anyone else uses these devices.

Beaglebone has ethernet, so this issue may not come up with bbb.

Ref:
https://linux-sunxi.org/USB_Gadget

#14 Re: Installation » Migrating Debian Jessie VPS Enter Runlevel Error » 2020-02-10 18:35:12

I found another VPS with the missing inittab on Jessie. It's still a trap. I'll post an inittab below, for future reference.

# /etc/inittab: init(8) configuration.

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
#  <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

The instructions I used to migrate Jessie to Ascii are here:

https://friendsofdevuan.org/doku.php/de … uan_jessie

If a user reboots before adding the inittab, the VPS will not boot.

#15 Re: News & Announcements » Migrating from Buster to Beowulf - feedback needed » 2020-01-30 06:48:40

I tested Nixer's instructions with Raspbian Buster on an RPI3 and had no issues today. Everything is working well.

I did notice that when /etc/network/interfaces was changed, the DHCP ip also changed. Quite minor.

There was an error with avahi-daemon. I'll copy it below:

//
? avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2020-01-30 04:58:10 GMT; 1h 17min ago
 Main PID: 312 (avahi-daemon)
   Status: "avahi-daemon 0.7 starting up."
    Tasks: 2 (limit: 1164)
   Memory: 1016.0K
   CGroup: /system.slice/avahi-daemon.service
           ??312 avahi-daemon: running [raspberrypi.local]
           ??342 avahi-daemon: chroot helper

Jan 30 04:58:15 raspberrypi avahi-daemon[312]: New relevant interface eth0.IPv4 for mDNS.
Jan 30 04:58:15 raspberrypi avahi-daemon[312]: Registering new address record for 192.168.1.240 on eth0.IPv4.
Jan 30 06:08:55 raspberrypi avahi-daemon[312]: Files changed, reloading.
Jan 30 06:08:55 raspberrypi avahi-daemon[312]: No service file found in /etc/avahi/services.
Jan 30 06:08:55 raspberrypi avahi-daemon[312]: Files changed, reloading.
Jan 30 06:08:55 raspberrypi avahi-daemon[312]: No service file found in /etc/avahi/services.
Jan 30 06:15:20 raspberrypi avahi-daemon[312]: Files changed, reloading.
Jan 30 06:15:20 raspberrypi avahi-daemon[312]: No service file found in /etc/avahi/services.
Jan 30 06:15:20 raspberrypi avahi-daemon[312]: Files changed, reloading.
Jan 30 06:15:20 raspberrypi avahi-daemon[312]: No service file found in /etc/avahi/services.
dpkg: error processing package avahi-daemon (--configure):
 installed avahi-daemon package post-installation script subprocess returned error exit status 1
Setting up tasksel (3.54+devuan3) ...
Setting up libdevmapper1.02.1:armhf (2:1.02.155-3) ...
Setting up libparted2:armhf (3.2-25) ...
Setting up tasksel-data (3.54+devuan3) ...
Setting up dmsetup (2:1.02.155-3) ...
update-initramfs: deferring update (trigger activated)
Setting up libcryptsetup12:armhf (2:2.1.0-5+deb10u2) ...
Setting up parted (3.2-25) ...
Setting up nfs-common (1:1.3.4-2.5) ...
nfs-utils.service is a disabled or a static unit not running, not starting it.
insserv: warning: current start runlevel(s) (empty) of script `nfs-common' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (0 1 6 S) of script `nfs-common' overrides LSB defaults (0 1 6).
Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for systemd (241-7~deb10u2+rpi1) ...
Errors were encountered while processing:
 avahi-daemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@raspberrypi:/etc/apt#
//

This was after 1. devuan repos were added, and then 2. apt upgrade was run. I simply did an apt remove avahi-daemon, as I don't need it.
After that, there was no problem.

#16 Re: Installation » Mate: Ascii to Beowulf Migration » 2020-01-20 01:48:58

Accept this solution? [Y/n/q/?] n
open: 2936; closed: 7563; defer: 329; conflict: 279                            .The following actions will resolve these dependencies:

      Remove the following packages:                                      
1)      libpolkit-backend-1-0 [0.105-25+devuan8 (now, testing)]           
2)      libpolkit-backend-consolekit-1-0 [0.105-25+devuan8 (now, testing)]
3)      libsystemd0 [241-7~deb10u2 (now, testing)]                        
4)      mate-applet-brisk-menu [0.5.0-9 (now, testing)]                   
5)      mate-applets [1.20.3-2 (now, testing)]                            
6)      mate-control-center [1.20.4-2 (now, testing)]                     
7)      mate-desktop-environment [1.20.0+5 (now, testing)]                
8)      mate-desktop-environment-core [1.20.0+5 (now, testing)]           
9)      mate-panel [1.20.5-1 (now, testing)]                              
10)     mate-polkit [1.20.2-1 (now, testing)]                             
11)     mate-power-manager [1.20.3-2 (now, testing)]                      
12)     mate-settings-daemon [1.20.4-1 (now, testing)]                    
13)     policykit-1 [0.105-25+devuan8 (now, testing)]                     
14)     qupzilla [1.8.9~dfsg1-3.1 (now)]                                  
15)     rtkit [0.11-6 (now, testing)]                                     
16)     synaptic [0.84.6 (now, testing)]                                  
17)     task-mate-desktop [3.54+devuan3 (now, testing)]                   

      Install the following packages:                                     
18)     exo-utils [0.12.4-1 (testing)]                                    
19)     gtk2-engines-xfce [3.2.0-4 (testing)]                             
20)     i3lock [2.11.1-1 (testing)]                                       
21)     libev4 [1:4.25-1 (testing)]                                       
22)     libexo-1-0 [0.12.4-1 (testing)]                                   
23)     libexo-2-0 [0.12.4-1 (testing)]                                   
24)     libexo-common [0.12.4-1 (testing)]                                
25)     libexo-helpers [0.12.4-1 (testing)]                               
26)     libgarcon-1-0 [0.6.2-1 (testing)]                                 
27)     libgarcon-common [0.6.2-1 (testing)]                              
28)     libkeybinder-3.0-0 [0.3.2-1 (testing)]                            
29)     libnotify-bin [0.7.7-4 (testing)]                                 
30)     libreoffice-gtk2 [1:6.1.5-3+deb10u5 (testing)]                    
31)     libtagc0 [1.11.1+dfsg.1-0.3 (testing)]                            
32)     libthunarx-3-0 [1.8.4-1 (testing)]                                
33)     libtumbler-1-0 [0.2.3-1 (testing)]                                
34)     libwnck-common [2.30.7-6 (testing)]                               
35)     libwnck22 [2.30.7-6 (testing)]                                    
36)     libxcb-xrm0 [1.0-3 (testing)]                                     
37)     libxfce4panel-2.0-4 [4.12.2-1 (testing)]                          
38)     libxfce4ui-1-0 [4.12.1-3 (testing)]                               
39)     libxfce4ui-2-0 [4.12.1-3 (testing)]                               
40)     libxfce4ui-common [4.12.1-3 (testing)]                            
41)     libxfce4ui-utils [4.12.1-3 (testing)]                             
42)     libxfce4util-common [4.12.1-3 (testing)]                          
43)     libxfce4util7 [4.12.1-3 (testing)]                                
44)     libxfconf-0-2 [4.12.1-1 (testing)]                                
45)     mousepad [0.4.1-2 (testing)]                                      
46)     parole [1.0.1-1 (testing)]                                        
47)     pavucontrol [3.0-4 (testing)]                                     
48)     tango-icon-theme [0.8.90-7 (testing)]                             
49)     task-xfce-desktop [3.54+devuan3 (testing)]                        
50)     thunar [1.8.4-1 (testing)]                                        
51)     thunar-data [1.8.4-1 (testing)]                                   
52)     thunar-volman [0.9.1-1 (testing)]                                 
53)     tumbler [0.2.3-1 (testing)]                                       
54)     tumbler-common [0.2.3-1 (testing)]                                
55)     xfce4 [4.12.5 (testing)]                                          
56)     xfce4-appfinder [4.12.0-2 (testing)]                              
57)     xfce4-notifyd [0.4.3-1 (testing)]                                 
58)     xfce4-panel [4.12.2-1 (testing)]                                  
59)     xfce4-power-manager [1.6.1-1 (testing)]                           
60)     xfce4-power-manager-data [1.6.1-1 (testing)]                      
61)     xfce4-power-manager-plugins [1.6.1-1 (testing)]                   
62)     xfce4-pulseaudio-plugin [0.4.1-1 (testing)]                       
63)     xfce4-session [4.12.1-6+devuan2 (testing)]                        
64)     xfce4-settings [4.12.4-1 (testing)]                               
65)     xfce4-terminal [0.8.7.4-2 (testing)]                              
66)     xfconf [4.12.1-1 (testing)]                                       
67)     xfdesktop4 [4.12.4-2 (testing)]                                   
68)     xfdesktop4-data [4.12.4-2 (testing)]                              
69)     xfwm4 [4.12.5-1 (testing)]                                        

      Leave the following dependencies unresolved:                        
70)     elogind recommends policykit-1                                    
71)     libxfce4util7 recommends libxfce4util-bin                         
72)     mate-applets recommends mate-polkit                               
73)     mate-screensaver recommends mate-power-manager                    
74)     mate-session-manager recommends mate-panel                        
75)     mate-session-manager recommends mate-polkit                       
76)     mate-session-manager recommends mate-settings-daemon              
77)     pulseaudio recommends rtkit                                       
78)     task-mate-desktop recommends synaptic                             
79)     task-xfce-desktop recommends xfce4-goodies                        
80)     task-xfce-desktop recommends xsane                                
81)     task-xfce-desktop recommends quodlibet                            
82)     task-xfce-desktop recommends synaptic                             
83)     task-xfce-desktop recommends system-config-printer                
84)     thunar recommends policykit-1-gnome | polkit-1-auth-agent         
85)     udisks2 recommends policykit-1                                    
86)     upower recommends policykit-1

Accept this solution? [Y/n/q/?]

Is a result of aptitude's fixes, but no matter what it seems to settle with something similar to above. Didn't know it could do that.

It appears to be looking to install xfce deps. This would line up with having falkon on the other XFCE machine, which was a fresh install, and works without issue.

I uninstalled qupzilla, and now am unable to get it back installed (this is expected behavior, although it didn't uninstall during the migration). I must've installed it in ascii. Not a big deal, there are other browsers.

After uninstalling qupzilla, this is the first result in Aptitude, which shortly after it looks something like the former post above.

# aptitude install falkon
The following NEW packages will be installed:
  elogind{a} falkon geoclue-2.0{a} kwayland-data{a} kwayland-integration{a} 
  liba52-0.7.4{a} libaribb24-0{a} libbasicusageenvironment1{a} 
  libdbusmenu-qt5-2{a} libdouble-conversion1{a} libdvbpsi10{a} 
  libebml4v5{a} libelogind0{ab} libfam0{a} libgles2{a} libgroupsock8{a} 
  libixml10{a} libjim0.77{a} libkf5archive5{a} libkf5auth-data{a} 
  libkf5auth5{a} libkf5codecs-data{a} libkf5codecs5{a} libkf5config-bin{a} 
  libkf5config-data{a} libkf5configcore5{a} libkf5configgui5{a} 
  libkf5configwidgets-data{a} libkf5configwidgets5{a} 
  libkf5coreaddons-data{a} libkf5coreaddons5{a} libkf5crash5{a} 
  libkf5dbusaddons-bin{a} libkf5dbusaddons-data{a} libkf5dbusaddons5{a} 
  libkf5guiaddons5{a} libkf5i18n-data{a} libkf5i18n5{a} 
  libkf5iconthemes-bin{a} libkf5iconthemes-data{a} libkf5iconthemes5{a} 
  libkf5idletime5{a} libkf5itemviews-data{a} libkf5itemviews5{a} 
  libkf5notifications-data{a} libkf5notifications5{a} libkf5service-bin{a} 
  libkf5service-data{a} libkf5service5{a} libkf5wallet-bin{a} 
  libkf5wallet-data{a} libkf5wallet5{a} libkf5waylandclient5{a} 
  libkf5widgetsaddons-data{a} libkf5widgetsaddons5{a} 
  libkf5windowsystem-data{a} libkf5windowsystem5{a} libkwalletbackend5-5{a} 
  liblivemedia64{a} liblua5.2-0{a} libmad0{a} libmatroska6v5{a} 
  libmbim-glib4{a} libmbim-proxy{a} libmicrodns0{a} libminizip1{a} 
  libmm-glib0{a} libmpeg2-4{a} libopenmpt-modplug1{a} libpam-elogind{a} 
  libpcre2-16-0{a} libphonon4qt5-4{a} libplacebo7{a} libpolkit-qt5-1-1{a} 
  libprotobuf-lite17{a} libproxy-tools{a} libqmi-glib5{a} libqmi-proxy{a} 
  libqt5core5a{a} libqt5dbus5{a} libqt5gui5{a} libqt5network5{a} 
  libqt5positioning5{a} libqt5printsupport5{a} libqt5qml5{a} 
  libqt5quick5{a} libqt5quickwidgets5{a} libqt5sql5{a} libqt5sql5-sqlite{a} 
  libqt5svg5{a} libqt5texttospeech5{a} libqt5waylandclient5{a} 
  libqt5waylandcompositor5{a} libqt5webchannel5{a} libqt5webengine-data{a} 
  libqt5webenginecore5{a} libqt5webenginewidgets5{a} libqt5widgets5{a} 
  libqt5x11extras5{a} libqt5xml5{a} libre2-5{a} libresid-builder0c2a{a} 
  libsdl-image1.2{a} libsidplay2{a} libspatialaudio0{a} libupnp13{a} 
  libusageenvironment3{a} libva-wayland2{a} libvlc-bin{a} libvlc5{a} 
  libvlccore9{a} libxcb-icccm4{a} libxcb-image0{a} libxcb-keysyms1{a} 
  libxcb-randr0{a} libxcb-render-util0{a} libxcb-xinerama0{a} 
  libxcb-xkb1{a} libxcb-xv0{a} libxkbcommon-x11-0{a} modemmanager{a} 
  phonon4qt5{a} phonon4qt5-backend-vlc{a} qt5-gtk-platformtheme{a} 
  qttranslations5-l10n{a} qtwayland5{a} usb-modeswitch{a} 
  usb-modeswitch-data{a} vlc-data{a} vlc-plugin-base{a} 
  vlc-plugin-video-output{a} 
0 packages upgraded, 131 newly installed, 0 to remove and 0 not upgraded.
Need to get 51.8 MB/68.9 MB of archives. After unpacking 279 MB will be used.
The following packages have unmet dependencies:
 libpolkit-backend-consolekit-1-0 : Conflicts: elogind but 241.4-2 is to be installed
                                    Conflicts: libpam-elogind but 241.4-2 is to be installed
 libelogind0 : Conflicts: libsystemd0 but 241-7~deb10u2 is installed
The following actions will resolve these dependencies:

     Remove the following packages:                                      
1)     consolekit [1.2.1-8 (now, testing)]                               
2)     libpolkit-backend-consolekit-1-0 [0.105-25+devuan8 (now, testing)]
3)     libpolkit-gobject-consolekit-1-0 [0.105-25+devuan8 (now, testing)]
4)     libsystemd0 [241-7~deb10u2 (now, testing)]                        

     Install the following packages:                                     
5)     libpolkit-backend-elogind-1-0 [0.105-25+devuan8 (testing)]        
6)     libpolkit-gobject-elogind-1-0 [0.105-25+devuan8 (testing)]        

Accept this solution? [Y/n/q/?]

I tend to use sudo or su root depending on how many commands I type. It's a bit jarring when you go to a new install and find sudo isn't there. Basic user workflow is interrupted. I imagine I'm not the only one who is bothered by this.

Same thing applies to ifconfig to ip, eth0 to enp0s25, apt-get to apt, and other basic functionality that is being arbitrarily changed for no good reason (that I can see). A lot of it appears to be engineers inventing work for themselves. Just look at how many times gmail or youtube or office has changed. I don't even use any of these, but nonetheless, it's all busywork. They were perfected, years ago. Don't change what doesn't need to change. Thankfully, there are groups like Devuan, and others that are pushing back against some of this.

#17 Re: Installation » Mate: Ascii to Beowulf Migration » 2020-01-19 21:52:44

See below:

apt-get -s -o Debug::pkgProblemResolver=yes install falkon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libpolkit-backend-consolekit-1-0:amd64 < 0.105-25+devuan8 @ii mK Ib >
Broken libpolkit-backend-consolekit-1-0:amd64 Conflicts on elogind:amd64 < none -> 241.4-2 @rc uN >
  Considering elogind:amd64 2 as a solution to libpolkit-backend-consolekit-1-0:amd64 10
  Added elogind:amd64 to the remove list
  Conflicts//Breaks against version 234.4-2 for elogind but that is not InstVer, ignoring
Broken libpolkit-backend-consolekit-1-0:amd64 Conflicts on libpam-elogind:amd64 < none -> 241.4-2 @rc uN >
  Considering libpam-elogind:amd64 -1 as a solution to libpolkit-backend-consolekit-1-0:amd64 10
  Added libpam-elogind:amd64 to the remove list
  Conflicts//Breaks against version 234.4-2 for libpam-elogind but that is not InstVer, ignoring
  Fixing libpolkit-backend-consolekit-1-0:amd64 via keep of elogind:amd64
  Fixing libpolkit-backend-consolekit-1-0:amd64 via keep of libpam-elogind:amd64
Investigating (0) libpolkit-qt5-1-1:amd64 < none -> 0.112.0-6 @un uN Ib >
Broken libpolkit-qt5-1-1:amd64 Depends on libpam-systemd:amd64 < none @un H >
  Considering libpam-elogind:amd64 -1 as a solution to libpolkit-qt5-1-1:amd64 0
  Holding Back libpolkit-qt5-1-1:amd64 rather than change libpam-systemd:amd64
Investigating (1) libkf5auth5:amd64 < none -> 5.54.0-2 @un uN Ib >
Broken libkf5auth5:amd64 Depends on libpolkit-qt5-1-1:amd64 < none | 0.112.0-6 @un uH > (>= 0.112.0)
  Considering libpolkit-qt5-1-1:amd64 0 as a solution to libkf5auth5:amd64 1
  Holding Back libkf5auth5:amd64 rather than change libpolkit-qt5-1-1:amd64
Investigating (2) libkf5configwidgets5:amd64 < none -> 5.54.0-1 @un uN Ib >
Broken libkf5configwidgets5:amd64 Depends on libkf5auth5:amd64 < none | 5.54.0-2 @un uH > (>= 4.96.0)
  Considering libkf5auth5:amd64 1 as a solution to libkf5configwidgets5:amd64 2
  Holding Back libkf5configwidgets5:amd64 rather than change libkf5auth5:amd64
Investigating (2) libkf5iconthemes5:amd64 < none -> 5.54.0-1 @un uN Ib >
Broken libkf5iconthemes5:amd64 Depends on libkf5configwidgets5:amd64 < none | 5.54.0-1 @un uH > (>= 4.96.0)
  Considering libkf5configwidgets5:amd64 2 as a solution to libkf5iconthemes5:amd64 1
  Holding Back libkf5iconthemes5:amd64 rather than change libkf5configwidgets5:amd64
Investigating (2) libkf5iconthemes-bin:amd64 < none -> 5.54.0-1 @un uN Ib >
Broken libkf5iconthemes-bin:amd64 Depends on libkf5iconthemes5:amd64 < none | 5.54.0-1 @un uH > (>= 5.25.0)
  Considering libkf5iconthemes5:amd64 1 as a solution to libkf5iconthemes-bin:amd64 1
  Holding Back libkf5iconthemes-bin:amd64 rather than change libkf5iconthemes5:amd64
Investigating (2) libkf5wallet-bin:amd64 < none -> 5.54.0-1 @un uN Ib >
Broken libkf5wallet-bin:amd64 Depends on libkf5configwidgets5:amd64 < none | 5.54.0-1 @un uH > (>= 4.96.0)
  Considering libkf5configwidgets5:amd64 2 as a solution to libkf5wallet-bin:amd64 0
  Holding Back libkf5wallet-bin:amd64 rather than change libkf5configwidgets5:amd64
Investigating (3) falkon:amd64 < none -> 3.0.0-3 @un puN Ib >
Broken falkon:amd64 Depends on libkf5wallet-bin:amd64 < none | 5.54.0-1 @un uH >
  Considering libkf5wallet-bin:amd64 0 as a solution to falkon:amd64 9999
  Re-Instated elogind:amd64
  Re-Instated libpam-elogind:amd64
  Re-Instated libpolkit-qt5-1-1:amd64
  Re-Instated libkf5auth5:amd64
  Re-Instated libkf5configwidgets5:amd64
  Re-Instated libkf5iconthemes5:amd64
  Re-Instated libkf5wallet-bin:amd64
Investigating (3) libpolkit-backend-consolekit-1-0:amd64 < 0.105-25+devuan8 @ii mK Ib >
Broken libpolkit-backend-consolekit-1-0:amd64 Conflicts on elogind:amd64 < none -> 241.4-2 @rc uN >
  Considering elogind:amd64 2 as a solution to libpolkit-backend-consolekit-1-0:amd64 10
  Added elogind:amd64 to the remove list
  Conflicts//Breaks against version 234.4-2 for elogind but that is not InstVer, ignoring
Broken libpolkit-backend-consolekit-1-0:amd64 Conflicts on libpam-elogind:amd64 < none -> 241.4-2 @rc uN >
  Considering libpam-elogind:amd64 -1 as a solution to libpolkit-backend-consolekit-1-0:amd64 10
  Added libpam-elogind:amd64 to the remove list
  Conflicts//Breaks against version 234.4-2 for libpam-elogind but that is not InstVer, ignoring
  Fixing libpolkit-backend-consolekit-1-0:amd64 via keep of elogind:amd64
  Fixing libpolkit-backend-consolekit-1-0:amd64 via keep of libpam-elogind:amd64
Investigating (3) libpolkit-qt5-1-1:amd64 < none -> 0.112.0-6 @un uN Ib >
Broken libpolkit-qt5-1-1:amd64 Depends on libpam-systemd:amd64 < none @un H >
  Considering libpam-elogind:amd64 10 as a solution to libpolkit-qt5-1-1:amd64 0
  Holding Back libpolkit-qt5-1-1:amd64 rather than change libpam-systemd:amd64
Investigating (4) libkf5auth5:amd64 < none -> 5.54.0-2 @un uN Ib >
Broken libkf5auth5:amd64 Depends on libpolkit-qt5-1-1:amd64 < none | 0.112.0-6 @un uH > (>= 0.112.0)
  Considering libpolkit-qt5-1-1:amd64 0 as a solution to libkf5auth5:amd64 1
  Holding Back libkf5auth5:amd64 rather than change libpolkit-qt5-1-1:amd64
Investigating (5) libkf5configwidgets5:amd64 < none -> 5.54.0-1 @un uN Ib >
Broken libkf5configwidgets5:amd64 Depends on libkf5auth5:amd64 < none | 5.54.0-2 @un uH > (>= 4.96.0)
  Considering libkf5auth5:amd64 1 as a solution to libkf5configwidgets5:amd64 2
  Holding Back libkf5configwidgets5:amd64 rather than change libkf5auth5:amd64
Investigating (5) libkf5iconthemes5:amd64 < none -> 5.54.0-1 @un uN Ib >
Broken libkf5iconthemes5:amd64 Depends on libkf5configwidgets5:amd64 < none | 5.54.0-1 @un uH > (>= 4.96.0)
  Considering libkf5configwidgets5:amd64 2 as a solution to libkf5iconthemes5:amd64 1
  Holding Back libkf5iconthemes5:amd64 rather than change libkf5configwidgets5:amd64
Investigating (5) libkf5wallet-bin:amd64 < none -> 5.54.0-1 @un uN Ib >
Broken libkf5wallet-bin:amd64 Depends on libkf5configwidgets5:amd64 < none | 5.54.0-1 @un uH > (>= 4.96.0)
  Considering libkf5configwidgets5:amd64 2 as a solution to libkf5wallet-bin:amd64 0
  Holding Back libkf5wallet-bin:amd64 rather than change libkf5configwidgets5:amd64
Investigating (6) falkon:amd64 < none -> 3.0.0-3 @un puN Ib >
Broken falkon:amd64 Depends on libkf5wallet-bin:amd64 < none | 5.54.0-1 @un uH >
  Considering libkf5wallet-bin:amd64 0 as a solution to falkon:amd64 9999
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:
 falkon : Depends: libkf5wallet-bin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

#18 Re: Installation » Mate: Ascii to Beowulf Migration » 2020-01-19 20:55:11

golinux wrote:

Why didn't you use ascii 2.1?  It was released 2 months ago.

https://devuan.org/os/debian-fork/ascii … nce-112119

I already had an older 2.0 ascii, and to make a new one would require burning a new CD. I did an apt-get update / dist-upgrade after installation, and according to forum post: http://dev1galaxy.org/viewtopic.php?id=3195 it shouldn't make a difference which install cd I use.

Of course, I may be wrong here. Should I have used 2.1? If that's the case, then this report can be ignored.

rolfie wrote:

I used a different approach when the netinstall-images were not working:
- install ASCII to cli, no desktop, just base system
- apt update/upgrade to lastest status
- modify sources.list to beowulf
- apt update/upgrade/full-upgrade
- apt install xorg lightdm mate-desktop-environment-extras

@OP: why do you use sudo? Use a root terminal, works fine.

Install mate-tweak to easily configure the desktop icons.

rolfie

That install is not typical of people upgrading existing (mate) machines from ascii to beowulf. So it's good that mate works from fresh install, but this is a migration. The issue about the computer icon is more a bug report, than anything else. It was there in Ascii, and disappeared in Beowulf. Users should not need to use mate-tweak...

Sudo is changing the subject. OT for this post, but I will respond anyways.

Sudo is part of the mythos of linux. It's tightly engrained in Linux culture. It isn't the same without it. Popular culture loves sudo (e.g. xkcd, sudo make me a sandwich ref: https://www.xkcd.com/149/ ). I consider deprecating it a regression as I haven't seen a good reason not to use it.

The only valid reason I can see for removing sudo, is that it will benefit proprietary software companies, who would have an incentive to remove any beloved culture from linux.

And yes, I know how to use su root, but sudo works just fine. Let's try to forget about sudo, it isn't relevant for this thread.

#19 Installation » Mate: Ascii to Beowulf Migration » 2020-01-19 06:44:02

little
Replies: 12

I did a fresh x86-64 install from Ascii 2.0 and migrated to Beowulf. There were some minor issues, but overall the system is up and running.

Ascii installed via the graphic installer,
Mate, Basic Desktop, system utilities, and ssh server.

Then I booted into the new system, and apt-get update, apt-get dist-upgrade

Repos are pkgmaster.devuan.org.

Next I migrated to beowulf, using apt-get update, apt-get upgrade, and then
apt-get dist-upgrade.

First error was during dist-upgrade or upgrade:

Unpacking va-driver-all:amd64 (2.4.0-1) over (1.7.3-2) ...
Preparing to unpack .../353-wpasupplicant_2%3a2.7+git20190128+0c1e29f-6+deb10u1_amd64.deb ...
Unpacking wpasupplicant (2:2.7+git20190128+0c1e29f-6+deb10u1) over (2:2.4-1+deb9u4) ...
Preparing to unpack .../354-x11-xserver-utils_7.7+8_amd64.deb ...
Unpacking x11-xserver-utils (7.7+8) over (7.7+7+b1) ...
Preparing to unpack .../355-xbrlapi_5.6-10_amd64.deb ...
Unpacking xbrlapi (5.6-10) over (5.4-7+deb9u1) ...
Preparing to unpack .../356-xterm_344-1_amd64.deb ...
Unpacking xterm (344-1) over (327-2) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-kk1ZgQ/277-libel-api-java_3.0.0-2_all.deb
 /tmp/apt-dpkg-install-kk1ZgQ/294-libjsp-api-java_2.3.4-2_all.deb
 /tmp/apt-dpkg-install-kk1ZgQ/307-libwebsocket-api-java_1.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libservlet3.1-java : Depends: libjsp-api-java but it is not installed
                      Depends: libel-api-java but it is not installed
                      Depends: libwebsocket-api-java but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
# sudo apt-get dist-upgrade

This was resolved with:

apt-get install libjsp-api-java libel-api-java libwebsocket-api-java

and dist-upgrade seems to work.

After the upgrade, and before I rebooted, fonts were broken. It changed to a serif font, upon repo
change from ascii to beowulf, and subsequent apt-get update,
and apt-get upgrade. However, after reboot, fonts are again sans serif, and appear correct.

It looks like I can't install falkon. I know I've already installed falkon (which
is the successor to qupzilla, I believe) on another beowulf, so I don't
know why this would be.

The error is:

# sudo apt-get install falkon
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:
 falkon : Depends: libkf5wallet-bin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I believe I have another xfce machine with falkon, that was installed some months ago.
Qupzilla was not available at the time in beowulf, If I remember correctly.

Finally, one minor thing, the computer icon on the desktop has vanished, since
the reboot after beowulf upgrade. Home icon remains.

Otherwise, the system seems to be running well, after an apt-get autoremove and reboot. Love
the red background. Keep up the good work.

#20 Re: Devuan » Debian considering going systemd init only » 2019-12-07 21:22:26

ToxicExMachina wrote:

https://lists.debian.org/debian-devel-a … 00002.html
Options for voting are very interesting: according to description every option (except further discussion) is for SystemD.

From mailing listt:

[   ] Choice 1: F: Focus on systemd
[   ] Choice 2: B: Systemd but we support exploring alternatives
[   ] Choice 3: A: Support for multiple init systems is Important
[   ] Choice 4: D: Support non-systemd systems, without blocking progress
[   ] Choice 5: H: Support portability, without blocking progress
[   ] Choice 6: E: Support for multiple init systems is Required
[   ] Choice 7: G: Support portability and multiple implementations
[   ] Choice 8: Further Discussion

Doublespeak at work. Here's what the options really are:

[   ] Choice 1: F: Systemd only
[   ] Choice 2: B: Systemd only
[   ] Choice 3: A: Systemd only
[   ] Choice 4: D: Systemd only
[   ] Choice 5: H: Systemd only
[   ] Choice 6: E: Multiple Init Systems
[   ] Choice 7: G: Something unrelated to dilute votes for 6
[   ] Choice 8: Do nothing

There are essentially two options here: Make systemd default, or support multiple init systems. Anything else is bullshit. How they managed to come up with 7 choices out of 2 is amusing.

#21 Forum Feedback » RSS Feed Missing Posts / Broken » 2019-10-09 18:35:54

little
Replies: 0

The RSS feed does not post every reply to a topic, it only posts one message from a given thread it seems.

Appears to be broken.

#22 Installation » jessie to ascii migration - xfce4 grey screen upon reboot » 2019-08-20 02:59:30

little
Replies: 0

I recently migrated from devuan jessie to ascii, and upon reboot, slim had a gray screen. I tried a number of things, including disabling slim (I prefer to startx/startxfce4 from console anyway), and then I had a few errors with Xorg starting, such as /dev/tty0 permissions, IOPL permission denied, virtual console 7 can't open, adding myself to tty group (not a good idea), etc...

In the end it turned out that (xfce4) display settings from jessie didn't carry over to ascii. Specifically, it was due to me using a closed laptop, docking station, & 2nd monitor, so the grey screen was from the 2nd monitor, and the laptop screen which had been disabled before in jessie was enabled and was showing the login, but I could not decipher that from the grey screen of slim.

#23 Re: Installation » Automated install: How to config preseed to prevent desktop install? » 2019-05-09 06:17:04

While I didn't need to remove the desktop environment, I have a preseed file I will share here for anyone looking for a similar example (Although, in ascii it boots up without any desktop).

Note that here, it is for i386, and it requires confirmation on partitioning so that you don't overwrite the hdd.

#

# 1. Choose language
# ==================

d-i debian-installer/language string en
d-i debian-installer/country string US
d-i localechooser/supported-locales multiselect en_US.UTF-8, en_DK.UTF-8
d-i debian-installer/locale select en_US.UTF-8

# 2. Configure the keyboard
# =========================

d-i keyboard-configuration/xkb-keymap select us

# 3. Detect and mount CD-ROM
# ==========================

d-i cdrom-detect/load_media boolean true

# 4. Load installer components from CD

# 5. Detect network hardware

#
d-i hw-detect/load_media boolean false
d-i hw-detect/load_firmware boolean false

# 6. Configure the network
# ========================

# Auto-configure networking?
d-i netcfg/use_autoconfig boolean true

# Waiting time (in seconds) for link detection:
d-i netcfg/link_wait_timeout string 10

d-i netcfg/dhcp_timeout string 60
d-i netcfg/dhcpv6_timeout string 60
d-i netcfg/choose_interface select auto

# Hostname:
d-i netcfg/get_hostname string devuan_host
d-i netcfg/hostname devuan_host

# Domain name:
d-i netcfg/get_domain string local

#
d-i netcfg/wireless_wep string

# 7. Setup users and passwords
# ============================

# Enable shadow passwords?
d-i passwd/shadow boolean true

# Allow login as root?
d-i passwd/root-login boolean true

# Root password:
d-i passwd/root-password password defpass123

# Create a normal account now?
d-i passwd/make-user boolean false

# 8. Configure the clock
# ======================

# Set the clock using NTP?
d-i clock-setup/ntp boolean true

# NTP server to use:
d-i clock-setup/ntp-server string pool.ntp.org

# Select your timezone:
d-i time/zone string America/New_York

# 9. Detect disks

# 10. Partition disks
# ===================

d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular

# You can choose one of the three predefined partitioning recipes:
# - atomic: all files in one partition
# - home:   separate /home partition
# - multi:  separate /home, /usr, /var, and /tmp partitions
d-i partman-auto/choose_recipe select atomic

#NOTE: it may warn you before partitioning. This is a safety check and can be omitted if desired.

# 11. Install the base system
# ===========================

#NOTE: i386 here##################################################

# Kernel to install:
d-i base-installer/kernel/image string linux-image-i386

# Drivers to include in the initrd:

#
d-i base-installer/install-recommends boolean true

# 12. Configure the package manager
# =================================

# Use a network mirror?
d-i apt-setup/use_mirror boolean true

# Protocol for file downloads:
d-i mirror/protocol string http

# Devuan archive mirror country:
d-i mirror/country string manual

# Devuan archive mirror:
d-i mirror/http/hostname string deb.devuan.org

# HTTP proxy information (blank for none):
d-i mirror/http/proxy string

#
d-i mirror/http/directory string /merged/
d-i mirror/suite string ascii

# Use non-free software?
d-i apt-setup/non-free boolean false

# Enable source repositories in APT?
d-i apt-setup/enable-source-repositories boolean false

# Services to use:
d-i apt-setup/services-select multiselect security updates, release updates, backported software

#
d-i apt-setup/contrib boolean false
d-i apt-setup/disable-cdrom-entries boolean true

# 13. Select and install software
# ===============================

# Participate in the package usage survey?
popularity-contest popularity-contest/participate boolean false

# Choose software to install:
tasksel tasksel/first multiselect standard, ssh-server

#
d-i pkgsel/include string openssh-server build-essential sudo screen
d-i pkgsel/upgrade select none

# 14. Install the GRUB boot loader on a hard disk
# ===============================================

# Install the GRUB boot loader to the master boot record?
d-i grub-installer/with_other_os boolean true

#
d-i grub-installer/only_debian boolean true
d-i grub-installer/grub2_instead_of_grub_legacy boolean true

# Device for boot loader installation:
d-i grub-installer/bootdev string /dev/sda
d-i grub-installer/choose_bootdev select /dev/sda

# Force GRUB installation to the EFI removable media path?
grub-installer grub-installer/force-efi-extra-removable boolean false

# 15. Finish the installation
# ===========================

# Is the system clock set to UTC?
d-i clock-setup/utc boolean true

#
d-i finish-install/reboot_in_progress note
d-i cdrom-detect/eject boolean true

#24 Re: Other Issues » docker-ce init script » 2019-01-07 17:56:40

I setup docker on Devuan Ascii recently, and this is what I did:

These instructions assume you are running an x86-64 Ascii build (docker typically doesn't do as well on x86, and haven't tried ARM). They were tested in December of 2018 and are likely to change.

Follow the instructions here:

https://docs.docker.com/install/linux/docker-ce/debian/

On the step for adding the docker repo to apt.sources you will use

deb [arch=amd64] https://download.docker.com/linux/debian stretch stable

instead of

 sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"

Because lsb_release on the latter will add ascii, and that won't work.

At this point docker is installed, and the binary in /usr/bin/ is available but docker
server isn't running.

the command # dockerd will run the docker daemon, but we want an init script.

This post (link:https://paddy-hack.gitlab.io/posts/sand … th-devuan/) mentions that
aufs is not supported in the Linux 4.9 image from Jessie-backports. But we are using Ascii, and AUFS apparently works, no problem. No need to change to BTRFS in ASCII.

But, there is a problem: the sysvinit init scripts have been recently removed from docker-ce (link:
https://github.com/docker/for-linux/issues/482)

Next,

git clone https://github.com/moby/moby.git

and navigate to contrib/init/sysvinit-debian/ you will find an init script there that can be used... As well as a file for /etc/default

And after adding this init file, and starting the service, docker will load the hello-world file.

Not happy that they removed the init scripts... But I just looked at that issue above for the docker repo again, and it looks like they made some changes since I first installed docker on devuan. It might be that you don't need to borrow the script from the Moby repo.

#25 Installation » Installing ZFS on Devuan Mirrored Root » 2018-11-25 02:04:24

little
Replies: 2

NOTE: Read the whole guide, before starting. Some warnings are AFTER commands are written. Also read the whole attached github guide this is based off of.

This is my log from installing ZFS on the root of Devuan, with a mirrored (two hdd) setup. tl;dr everything works.

This is the main guide
https://github.com/zfsonlinux/zfs/wiki/ … oot-on-ZFS

I see this guide:
https://www.klaus-hartnegg.de/gpo/2017- … evuan.html

but I don't think it's necessary to install from compilation in ASCII.
He mentions (in a side box, which is easy to miss)
"Installing zfs-dkms from contrib
in Devuan 2 works
like described here,
but it is old version 6.5.9."

I don't mind the old version, as it's likely to be stable. That's why it's in the repos.

I'm using an x86-64 devuan ascii minimal live cd. You should be using x86-64.

Steps:

First add contrib archive to existing apt/sources

e.g.
deb http://pkgmaster.devuan.org/merged ascii main
to
deb http://pkgmaster.devuan.org/merged ascii main contrib

I'm using apt-get not apt. Both should work.
apt-get install debootstrap gdisk dpkg-dev linux-headers-$(uname -r)

follow the zfsonlinux guide
I'm using mirrored root.

this command:
sgdisk -a1 -n2:34:2047  -t2:EF02 /dev/disk/by-id/scsi-SATA_disk1

-a means set sector alignment
-n is make new partition. here it is partition 2 with start at sector 34
end at sector 2047
-t is partition type

Note that this command uses the /dev/disk/by-id command.

sgdisk is the same functionally as gdisk and the hex codes for -t are:

0700 Microsoft basic data  0c01 Microsoft reserved    2700 Windows RE
4100 PowerPC PReP boot     4200 Windows LDM data      4201 Windows LDM metadata
7501 IBM GPFS              7f00 ChromeOS kernel       7f01 ChromeOS root
7f02 ChromeOS reserved     8200 Linux swap            8300 Linux filesystem
8301 Linux reserved        8302 Linux /home           8400 Intel Rapid Start
8e00 Linux LVM             a500 FreeBSD disklabel     a501 FreeBSD boot
a502 FreeBSD swap          a503 FreeBSD UFS           a504 FreeBSD ZFS
a505 FreeBSD Vinum/RAID    a580 Midnight BSD data     a581 Midnight BSD boot
a582 Midnight BSD swap     a583 Midnight BSD UFS      a584 Midnight BSD ZFS
a585 Midnight BSD Vinum    a800 Apple UFS             a901 NetBSD swap
a902 NetBSD FFS            a903 NetBSD LFS            a904 NetBSD concatenated
a905 NetBSD encrypted      a906 NetBSD RAID           ab00 Apple boot
af00 Apple HFS/HFS+        af01 Apple RAID            af02 Apple RAID offline
af03 Apple label           af04 AppleTV recovery      af05 Apple Core Storage
be00 Solaris boot          bf00 Solaris root          bf01 Solaris /usr & Mac Z
bf02 Solaris swap          bf03 Solaris backup        bf04 Solaris /var
bf05 Solaris /home         bf06 Solaris alternate se  bf07 Solaris Reserved 1
bf08 Solaris Reserved 2    bf09 Solaris Reserved 3    bf0a Solaris Reserved 4
bf0b Solaris Reserved 5    c001 HP-UX data            c002 HP-UX service
ea00 Freedesktop $BOOT     eb00 Haiku BFS             ed00 Sony system partitio
ef00 EFI System            ef01 MBR partition scheme  ef02 BIOS boot partition
fb00 VMWare VMFS           fb01 VMWare reserved       fc00 VMWare kcore crash p
fd00 Linux RAID

I'm going to be mirroring root so I'll use this command on both drives.

sgdisk -a1 -n2:34:2047  -t2:EF02 ata-WDC_WD10JPVX-5555555_WXA1AA755555
sgdisk -a1 -n2:34:2047  -t2:EF02 ata-WDC_WD10JPVX-5555555_WXC1AA7C5555

He mentions to 'always' use the long /dev/disk/by-id aliases
though this is contrary to what Damian Wojstaw says in
"Introducing ZFS on Linux". So it is open to debate.

I'll be using that book to assist with the github steps.

then this command:
sgdisk     -n1:0:0      -t1:BF01 /dev/disk/by-id/scsi-SATA_disk1
for each hdd

next command for me:

zpool create   \
      -O atime=off -O canmount=off -O compression=lz4 -O normalization=formD \
      -O mountpoint=/ -R /mnt \
      rpool \
        mirror /dev/disk/by-id/scsi-SATA_disk1-part1 /dev/disk/by-id/scsi-SATA_disk2-part1

NOTE: from guide:Make sure to include the -part1 portion of the drive path. If you forget that, you are
specifying the whole disk, which ZFS will then add another partition, then you  have to start over.

NOTE: I am NOT setting ashift, as recommended by the zfs guide. This is from the pre-mentioned book,
who recommends not setting it blindly (unless you know what you are doing - I don't). See the book for more details.

NOTE: I am also not setting acl acceleration with xattr=sa. This may be harmless, but there's
a slight chance
I will move to BSD or Solaris for fun at some point. Probably not, but I don't need the perfo
rmance increase.

if you make a mistake: zpool destroy rpool, then start over.
If necessary, you can gdisk and erase the partitions and start again.
dont use fdisk, or else youll have to add the gpt back with gdisk (invalid partition table error)

check it with # zpool status

root@devuan:/dev/disk/by-id# zpool status
  pool: rpool
state: ONLINE
  scan: none requested
config:

        NAME                                       STATE     READ WRITE CKSUM
        rpool                                      ONLINE       0     0     0
          mirror-0                                 ONLINE       0     0     0
            ata-WDC_WD10JPVX-5555555_WXA1AA755555  ONLINE       0     0     0
            ata-WDC_WD10JPVX-5555555_WXC1AA7C5555  ONLINE       0     0     0

errors: No known data errors

zfs create -o canmount=off -o mountpoint=none rpool/ROOT

I'm going to skip making the datasets section, as I want one partition for root.
so only one create command:
//https://wiki.archlinux.org/index.php/Installing_Arch_Linux_on_ZFS#Format_the_destination_disk
zfs create -o canmount=noauto -o mountpoint=/ rpool/ROOT/debian

which was that
so /zpool/ROOT/debian is already mounted at /mnt

per a $ mount command
it does NOT have a lost&found folder, so it's simply blank.

though:

root@devuan:/# df -h
Filesystem         Size  Used Avail Use% Mounted on
udev               1.9G     0  1.9G   0% /dev
tmpfs              386M  628K  385M   1% /run
/dev/sr0           363M  363M     0 100% /lib/live/mount/medium
/dev/loop0         344M  344M     0 100% /lib/live/mount/rootfs/filesystem.squashfs
tmpfs              1.9G     0  1.9G   0% /lib/live/mount/overlay
overlay            1.9G  436M  1.5G  23% /
tmpfs              5.0M  4.0K  5.0M   1% /run/lock
tmpfs              771M     0  771M   0% /run/shm
tmpfs              1.9G  4.0K  1.9G   1% /tmp
rpool/ROOT/debian  899G  128K  899G   1% /mnt

it is listed.

debootstrap ascii /mnt
notice it's not stretch, but ascii

and follow the rest of the steps. I had some trouble at the beginning when I used the ZFS create command on the disk and not the part1 partition (oops), but that is resolvable with gpart (and a reboot).

Worked well for me. Boots into ZFS, mirrored root devuan.

So far, so good with ZFS. I'll update if I learn anything else.

Board footer

Forum Software