You are not logged in.
Apologies if this is the wrong section — I couldn't find a "Bugs" sub-forum and reportbug wants a package name, which doesn't seem appropriate for problems with the ISO image.
Anyway, as the title says the installer fails to configure the locales package correctly:
empty@devuan:~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
empty@devuan:~$/etc/locale.gen had all the locales commented out but /etc/default/locale was populated correctly.
This is easily fixed with
# dpkg-reconfigure localesBut I think it should already be properly configured for a freshly installed system.
I used this image, the SHA256SUM matched. No desktop was selected but the "standard system utilities" were installed. I chose OpenRC as the init system but I presume that wouldn't be relevant for this particular problem. The system is running under QEMU/KVM in a Debian buster host.
I did mention this in the beowulf beta thread but it was lost in the noise.
And incidentally the GRUB menu describes the system as "Debian GNU/Linux", which doesn't seem ideal.
the discard option that was stopping my tmpfs folders from being mounted
Yeah, RAM doesn't support TRIM.
Don't apply options that you don't understand.
From mount(8):
discard
If set, causes discard/TRIM commands to be issued to the block device when blocks are freed. This is useful for SSD devices and sparse/thinly-provisioned LUNs.
So you should only use that option for SSDs that support TRIM (confirm with lsblk --discard).
Also note that /dev/shm and /run are already mounted with tmpfs by default.
I came across a couple of problems.
You should stick to a single problem per thread.
FWIW automounting of USB sticks is handled by GVFS & udisks2 via thunar (the file manager), it has nothing to do with the init system.
Don't bother with noatime, modern SSDs need no special measures to restrict writes and will probably outlast most spinning rust drives.
empty@E485:~ $ apt-file search /usr/bin/dispwin
argyll: /usr/bin/dispwin
empty@E485:~ $There doesn't appear to be a python3.8 package in Devuan, even for ceres: https://pkginfo.devuan.org/cgi-bin/d1pk … elease=any
Not sure why though ![]()
And off-topic for this thread but:
applying
sudo hwclock --hctosyssudo apt update
would return normal
If you're dual-booting with Windows then you should force Windows to use UTC rather than make GNU/Linux use a stupid time standard:
https://wiki.archlinux.org/index.php/Sy … in_Windows
And make sure that ntp is installed & enabled to keep your clock correct.
Once that's done and Devuan is using the correct time run
sudo hwclock --systohcthe RX560 has no hardware encoding/decoding for VP9 codec?
Check with
vainfo
vdpauinfoMake sure the vainfo, vdpauinfo, va-driver-all & vdpau-driver-all packages are installed before trying that.
And I think newer AMD cards need this line in /etc/environment (or in a fragment file under /etc/environment.d/) for VDPAU acceleration to work:
VDPAU_DRIVER=radeonsi^ +1
I have seldom been so happy to have been proved wrong :-)
The Calgary units are used in x86 servers rather than POWERn machines.
The supported architectures for Devuan are listed here: https://devuan.org/os/documentation/dev … nformation
So no, it doesn't look like ppc64el is on the list. Which is a shame.
Head_on_a_Stick wrote:Don't use pkexec to start a root terminal, that's a silly idea. Why do the MATE devs do that?
Please can you explain why this is a silly idea?
Because it runs the entire terminal emulator as root. Using my suggested command runs the emulator under the normal user and just runs the shell as root. See also https://en.wikipedia.org/wiki/Principle … _privilege
But: I don't like xterm.
# update-alternatives --config x-terminal-emulator # then select your favourite emulator1. Why dividing "/" (root) from "/home" under "LUKS"?
2. Why dividing "/" (root) from "/home" under "ZFS"?
https://askubuntu.com/questions/142695/ … -partition
3. Do I need an extra "/boot"-partition even if I have EFI?
You need an EFI system partition but it doesn't need to be mounted at all. Most distributions mount it under /boot/efi but that's only actually needed when installing the bootloader. The grub-install(8) command can be directed to an EFI system partition mounted to an arbitrary location with the --efi-directory= option (which defaults to /boot/efi).
4. What sould be necessarily "snapshotted" with ZFS and what not?
You don't need the API filesystems (/proc, /sys & /dev) but you'll need everything else if you want a full system restoration to the snapshot.
5. ZFS don't need "Swap" but Devuan?.
Linux needs swap, it handles OOM events badly.
A "Swap-file" instead of partition? how do it?
ZFS doesn't support swap files, and they're a dirty hack anyway.
You can use a ZVOL as swap: https://github.com/zfsonlinux/pkg-zfs/w … wap-device
But it can lock up the system: https://github.com/zfsonlinux/zfs/issues/7734
6. Which version of ASH is in Devuan 2.1? Could I get a link with command-list?
Devuan uses dash but you can use busybox's version instead (busybox ash).
See the POSIX man page for the general usage: https://pubs.opengroup.org/onlinepubs/9 … es/sh.html
Or dash(1) for the specifics.
7. Want use "GPT", is "parted" OK? Under point "5." is a link that mention "--script", is a selfmade scripts or standard in "parted"?
The parted(8) command can handle GUID partition tables but I prefer gdisk with the sgdisk(8) scripting command. The --script option for parted(8) just allows for single commands instead of the interactive version.
Putting it in ~/.bash_profile didn't work for me. I suppose I have to log out of my desktop session and restart it.
Yes, that's right.
Putting it in ~/.bashrc works every time I open a new terminal on the desktop.
But then you'll have a new "##Session begin" section for every time a terminal is opened, which doesn't appear to be what the OP wants.
Don't use pkexec to start a root terminal, that's a silly idea. Why do the MATE devs do that? ![]()
Use this to start a root terminal:
x-terminal-emulator -e su -Create a file at ~/.local/share/applications/root-terminal.desktop to make the action available via the XDG menu sytem:
[Desktop Entry]
Version=1.0
Name=Root Terminal
Comment=Run terminal emulator as root
Type=Application
Exec=x-terminal-emulator -e su -
Categories=System;TerminalEmulator;You don't need to run TRIM command at all if you mount filesystem with 'discard' option.
The discard option slows down the drive because TRIM is applied for all I/O operations.
+1 for intel-microcode.
I read about backports of spectre mitigations being possible issues.
The mitigations can be disabled with various kernel parameters: https://github.com/torvalds/linux/blob/ … .txt#L2702
I've used this guide to install Debian stretch on ZFS:
https://github.com/openzfs/zfs/wiki/Deb … oot-on-ZFS
It should also work for Devuan if you use one of their live images.
Not very n00b-friendly though ![]()
And note that ZFS is a total memory hog, you'll need at least 16GiB if you want to enable de-duplication...
EDIT: ZFS can't be added as an official option because of licensing issues, Ubuntu are playing with fire offering it as they do.
Tested the live ISO and the netinstaller under QEMU/KVM and it all works, good job!
I particularly like the installer option to use OpenRC (I wish I could do that with SharpBang) and also the fact that elogind now allows rootless X if startx from a console login is used.
The only problem I encountered is a failure to set the locale correctly, I had to run
# dpkg-reconfigure localesthen select en_GB.UTF-8 to avoid the error messages mentioned earlier in the thread.
Is there a reason for disabling the beowulf-updates repository? I would prefer to receive those fixes by default.
All you need is alsa-utils, alsamixergui and apulse to make FF play sound with alsa.
The firefox-esr packages supplied by Devuan do not need apulse to produce sound with pure ALSA.
An intermittent failure would suggest a hardware problem. Have you checked the cable and/or connector for the drive?
Use smartmontools to check drive health, along with fsck(8) to check the filesystem.
I suppose you could also try rebuilding the initramfs:
# update-initramfs -u -k allBut if it was corrupted in some way then I would expect it to fail consistently.
Nice guide, thanks!
edit debian/changelog to add the new version at the top
You can use this to generate the new changelog entry automagically:
dch -v $version_numberReplace $version_number with the actual version number then add in the details for the change. The dch command can be found in the devscripts package.
If you export $DEBEMAIL & $DEBFULLNAME from ~/.bashrc (or whichever shell initialisation file is appropriate) those will also be added in for you. See https://www.debian.org/doc/manuals/debm … mail-setup (the rest of that guide is very good).
The signing fails because of the lack of my having a secret key.
Use this to create unsigned packages:
debuild -us -ucDevuan's Xfce desktop has a MIME-type editor:
https://docs.xfce.org/xfce/xfce4-settings/mime
Go to Applications Menu → Settings → Mime Type Editor
Or run
xfce4-mime-settingsBut I am still far from finding out where (in my Devuan ascii) fstrim is started and under what circumstances.
I don't think it's started automatically at all. The Debian util-linux package supplies systemd timer & service unit files to allow it to be configured to run automatically every week but the Devuan package doesn't include those files or any cron jobs to replace them.
That trimmed_log.txt file in your home directory must be for something else.
To get fstrim running every week create a cron job for it, as I have shown.
Can't get just the fstrim-mx by itself?
Well you could download the .deb package then unpack it and copy the script to /etc/cron.weekly but it's more or less the same as the one I've posted (it uses bash instead of /bin/sh for some reason though, which is slower, potentially more buggy and slightly more memory-intensive).
Don't add the # /etc/cron.weekly/fstrim line if you copy my script though, that's just my lazy way of indicating the filename & location.
Are there any system tweaks needed to keep the SSD in proper shape?
Use a weekly cron job to run fstrim on the drive to maintain performance, MX Linux has one you can "steal":
# /etc/cron.weekly/fstrim
#!/bin/sh
LOG=/var/log/trim.log
echo "*** $(date -R) ***" >> $LOG
fstrim --all --verbose >> $LOGBut don't bother following any obsolete advice to minimise writes, I actually have one of those Kingston drives and the longevity is great. See also https://techreport.com/review/27909/the … -all-dead/
From the author's FAQ:
When you want to watch a movie, fire up xscreensaver-demo and select Mode: Disable Screen Saver from the option menu, which means not to blank the screen at all. When you're done watching the movie, re-select your previous mode.
https://www.jwz.org/xscreensaver/faq.html#dvd
And yes, jwz knows this is lame...
EDIT: better version of graysky's script:
#!/bin/sh
[ -z $(which xscreensaver-command) ] && exit 1
while sleep 49; do
if [ -n "$(pgrep kodi)" ]; then
xscreensaver-command -deactivate > /dev/null 2>&1
fi
donePOSIX ftw!
"Failed to execute child process "home/[username]/Desktop/palemoon/palemoon" (No such file or directory)"
Have you downloaded the correct architecture?
file ~/Desktop/palemoon/palemoon
dpkg --print-architecture