The officially official Devuan Forum!

You are not logged in.

#2527 Re: Devuan » They really will break everything » 2020-03-08 20:32:03

IMO patterns are really useful and much more flexible than regex (not globbing btw, they're different things).

One drawback of regex is mentioned in the linked blog post:

Julian Andres Klode wrote:

Another thing I want to do ASAP is to disable fallback to regular expressions when specifying package names on the command-line: apt install g++ should always look for a package called g++, and not for any package containing g (g++ being a valid regex) when there is no g++ package.

It should also be noted that regex is not being dropped completely:

Julian Andres Klode wrote:

I think continuing to allow regular expressions if they start with ^ or end with $ is fine - that prevents any overlap with package names, and would avoid breaking most stuff.

#2528 Re: Desktop and Multimedia » ascii/firefox youtube has no sound » 2020-03-07 20:32:43

erdos wrote:

if FF default to use PA?

The firefox-esr package in ASCII can produce sound without PA but if PA is running then it will use it.

See what's invited PA to your party:

aptitude why pulseaudio

You may have to continue down the dependency chain for a bit.

erdos wrote:

how do i use ALSA instead of PA in ascii?

If you can't remove the PA package then you can try to stop it from starting, for example: https://kodi.wiki/view/PulseAudio/HOW-T … for_Ubuntu

You may have to also copy the pulseadui.desktop file from /etc/xdg/autostart/ to ~/.config/autostart/ and add Hidden=true to the end of the file.

Alternatively, keep PA installed & running and use pavucontrol to set the default output device.

I've seen several forum members claim audio sounds better with pure ALSA but I am strongly of the opinion that this is just confirmation bias. [/troll]

#2529 Re: Installation » [Solved at last] Issues with very new hardware » 2020-03-07 20:22:39

FWIW:

rolfie wrote:

the boot ends on the command line with wrong locale and no network

localectl set-locale en_GB.UTF-8 # for example
wifi-menu
rolfie wrote:

What can I learn from this experiment?

That kernel 5.8.8 supports your third generation Ryzen better than any of the De??an kernels that are available atm. You can switch to ceres and wait a bit but that's not a rolling release so it won't be as reliable as Arch.

#2531 Re: Installation » (beowulf) no ALSA available? » 2020-03-06 23:09:12

ALSA is part of the kernel, the user space libraries are supplied by the various libasound packages.

#2532 Re: Installation » [Solved at last] Issues with very new hardware » 2020-03-06 23:07:50

From where did you obtain the firmware?

I would try https://git.kernel.org/pub/scm/linux/ke … ree/amdgpu

Have you tested this hardware with Arch Linux yet? They have kernel 5.8.8 and the firmware from 2020-02-24.

#2533 Re: Desktop and Multimedia » compile firefox-esr (52) --enable-alsa ? » 2020-03-05 21:01:29

kapqa wrote:

is is possible to download the .deb for firefox-esr 52 with alsa enabled?

http://archive.debian.org/debian/pool/m … refox-esr/

Not recommended though, old versions of FF are riddled with known security vulnerabilities. Your system will be wide open if you run those.

@rolfie: the Mozilla FF versions are not compiled with --enable-alsa. And they have user studies (embedded spyware) enabled by default, unlike the De??an packages.

#2534 Re: Hardware & System Configuration » [Solved ]Mainboard ASUS with AMD Ryzen 3: root device not found » 2020-03-05 18:08:32

hmj wrote:

AMD ryzen 3

Do you mean a third generation Ryzen chip or do you mean a Ryzen 3, generation unspecified? What is the full model designation for your CPU?

Third generation Ryzens are not supported by the 4.19 kernel (but should work with your 5.4 kernel).

hmj wrote:

Is there a need to rebuild the initrd-images after starting the new system?

I don't think so, the default /etc/initramfs-tools/initramfs.conf specifies MODULES=most so it should already include any modules you may need. Does your file still have that setting?

hmj wrote:

I've found a posting, that the microcode could bring problems when booting

Do you have a link for that? It is my understanding that the µcode is necessary and should fix problems rather than cause them.

hmj wrote:

i'm using lilo

LILO is dead upstream and hasn't been developed since January 2016. Do you still experience this problem if you try GRUB instead?

#2535 Re: Other Issues » Hwclock issue » 2020-03-05 17:55:15

GNUser wrote:

localtime (recommended if you dual boot with Windows)

Use of localtime is never recommended, people who dual-boot with Windows should force Windows to use UTC instead: https://wiki.archlinux.org/index.php/Sy … in_Windows

@OP: sorry for the diversion.

#2536 Re: Off-topic » Veromix » 2020-03-05 17:48:59

To see from which repositories a package has been installed use

apt policy $package

Replace $package with the actual name of the package.

golinux wrote:

It really isn't a good idea to have deb-multimedia in your sources.

+1, those clowns don't have a clue about packaging.

#2537 Re: Desktop and Multimedia » compile firefox-esr (52) --enable-alsa ? » 2020-03-05 17:46:24

The Devuan firefox-esr packages are already compiled with the --enable-alsa option and sound works just fine without PA (or apulse).

Check the about:buildconfig page to confirm this (or test for sound without PA installed).

#2538 Re: Desktop and Multimedia » login / Display managers » 2020-03-01 11:04:35

mclien wrote:
/usr/sbin/

is not set in the $PATH by default.

That is also true for /sbin so the normal user's PATH would not include the commands you've listed in /etc/sudoers

To include the {/usr{,/local},}/sbin directories for all users edit /etc/profile and change these lines:

if [ "`id -u`" -eq 0 ]; then
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
  PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
fi
export PATH

To:

if [ "`id -u`" -eq 0 ]; then
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
fi
export PATH

Or to include them for specific users add this line to ~/.profile:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"

Be sure to place that before the lines setting PATH to include the user's private bin.

#2539 Re: Documentation » Append date and time to .bash_history at start of session » 2020-03-01 10:47:30

Create a file at ~/.bash_profile with this content:

. ~/.profile
echo "##
##Session begin $(date)
##" >> ~/.bash_history

#2540 Re: Other Issues » Hwclock issue » 2020-02-29 20:11:36

How is your Devuan box configured? Is it set to UTC or localtime? If you don't know then check the last line in /etc/adjtime

It is recommended to set GNU/Linux systems to UTC, even if dual-booting with Windows. For dual-boot systems you should instead force Windows to use UTC with the RealTimeIsUniversal registry key.

Use this to check your system timezone:

ls -l /etc/localtime

If it's wrong then use

# dpkg-reconfigure tzdata

#2541 Re: Hardware & System Configuration » CUPS accounting [Solved] » 2020-02-24 18:42:03

ToxicExMachina wrote:

Therefore the following command will give a text table with date/time and amount of printed pages found by the word "A4":

cat /var/log/cups/page_log | grep A4 | awk '{print $4$5 " " $6}' > trimmed_log.txt 

You can process it in spreadsheet.

If you want to get total amount of pages printed by the printer you can use the following command:

cat /var/log/cups/page_log | grep A4 | awk '{pages += $6} END {print pages}'

Useless use of cat. And grep too.

Try these instead:

awk '/A4/{print $4$5 " " $6}' /var/log/cups/page_log > trimmed_log.txt
awk '/A4/{pages += $6} END {print pages}' /var/log/cups/page_log

#2542 Re: Installation » Install Devuan over existing Linux system? » 2020-02-24 17:34:49

For installing with debootstrap see https://www.debian.org/releases/stable/ … 03.en.html ← that's for Debian but the instructions should also work for Devuan.

#2543 Re: Hardware & System Configuration » [Solved] Boot messages surpressed with new graphics card » 2020-02-22 21:30:09

rolfie wrote:

the link you posted deals with an AC supply problem on a laptop, if I read it right. Different issue.

I'm not so sure, the OP has the same error messages as you. Try an Arch live image and see if that shows the errors, they're on kernel 5.5.1 atm.

#2544 Re: Installation » Install Devuan over existing Linux system? » 2020-02-22 20:31:24

Roger wrote:

I am interested in finding our whether one can make the iso file accessible to the existing Ubuntu system, and install Devuan by overwriting from there.

Not sure I understand what you want to do but it is possible to boot an ISO image saved on the Ubuntu system by making a custom GRUB menu entry for it pointing to the installer kernel & initrd images.

Something like this saved to /boot/grub/custom.cfg should do it:

menuentry 'Start Installer' {
   isofile=example.iso
   loopback loop (hd0,1)/$isofile
   linux (loop)/install/vmlinuz vga=normal quiet toram
   initrd (loop)/install/initrd.gz
}

^ That presumes you have saved the image to /example.iso on /dev/sda1, mutatis mutandis.

I'm not 100% sure if the toram option will work with the installer kernel but it's needed to stop it being over-written during the installation process if you're installing to /dev/sda1. If you're installing to another partition then remove the toram option.

Roger wrote:

Ubuntu's ridiculous attitude about root accounts

Unlock the root account by assigning a password:

sudo passwd root
Roger wrote:

Gnome menu devoid of xterms

I use this to generate a menu entry for /usr/bin/x-terminal/emulator:

# ~/.local/share/applications/x-terminal-emulator.desktop
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=x-terminal-emulator
Comment=Terminal emulator
Exec=x-terminal-emulator
Icon=terminal
Categories=System;

Then set xterm to the x-terminal-emulator alternative:

# update-alternatives --set x-terminal-emulator /usr/bin/lxterm

#2545 Re: Hardware & System Configuration » [Solved] Boot messages surpressed with new graphics card » 2020-02-22 20:09:43

You're going to need beowulf-backports to get a fixed kernel version: https://bbs.archlinux.org/viewtopic.php?id=239945

2nd generation Ryzen was always going to be a push for ASCII anyway so time to upgrade :-)

#2546 Re: Off-topic » deb.sury.org now requires systemd » 2020-02-22 09:54:33

nixer wrote:
 elogind conflicts with systemd

D'oh!

Well you could try naming the fake package systemd-fake instead then grab the PHP source from packages.sury.org, edit debian/control and change the Depends section for systemd to

systemd | systemd-fake,

Then bump the version, build the custom package and install that.

If it works then you could open a new request upstream and ask that the Depends be changed there so that the equivs suggestion actually works for Devuan.

It would even be possible for the Devuan devs to offer an official systemd-fake package to work around issues like this and they could liaise with the Debian devs to make the alternative dependency universal for all the packages that need it. The recent vote about systemd in Debian did result in a commitment to work with downstream distributions to provide solutions like this.

Audacious and unlikely, perhaps. But worth a shot :-)

#2547 Re: Installation » Installing Devuan Ascii 2.1 with virt-install » 2020-02-22 00:09:20

chris2be8 wrote:

Which package contains isoinfo? And is there a way to search for packages containing a particular file?

empty@E485:~ $ apt-file search /usr/bin/isoinfo                                          
genisoimage: /usr/bin/isoinfo             
empty@E485:~ $

https://pkginfo.devuan.org/stage/ascii/ … 3.1.4.html

#2548 Re: Off-topic » deb.sury.org now requires systemd » 2020-02-22 00:00:15

nixer wrote:

sury replied:

the snippet you supplied won't work because it needs to be applied at compile time.
You can use equivs package and symlink to opentmpfiles-tmpfiles from opentmpfiles package to workaround the dependency.

Can anyone instruct, or elaborate on how to do this?

General instructions here: https://debian-handbook.info/browse/sta … ckage.html

Here's my attempt:

Section: misc
Priority: optional
Standards-Version: 3.9.2

Package: systemd
Version: 241-7~deb10u3
Maintainer: Head_on_a_Stick
Depends: opentmpfiles
Architecture: any
Links: /usr/bin/opentmpfiles /bin/systemd-tmpfiles
Description: Fake systemd package
 Provides /bin/systemd-tmpfiles by symlinking from opentmpfiles.

^ That installs a symlink at /bin/systemd-tmpfiles that points to /usr/bin/opentmpfiles, the package is called "systemd" and so should satisfy the PHP dependency requirement.

I've no idea if it will actually work though (I have systemd installed in my box and I don't use PHP) and this is the first time I've tried to use equivs. Somebody else will probably be able to do better.

#2549 Re: Other Issues » Connectivity issues after recent update » 2020-02-20 09:10:15

bgstack15 wrote:

What do you dislike about wicd?

It's written in Python2, which is now officially dead[1], and it hasn't been updated for four years[2].

#2550 Re: News & Announcements » sources.list confusion. » 2020-02-19 15:43:48

ghaverla wrote:

Ideas?

Firewall?

And I think this should have it's own thread, hi-jacking an official announcement thread seems a bit rude.

Board footer

Forum Software