You are not logged in.
it seems xfce depends on PA
Yes, that has been discussed before: https://dev1galaxy.org/viewtopic.php?id=2545
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:
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:
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.
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 pulseaudioYou may have to continue down the dependency chain for a bit.
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]
FWIW:
the boot ends on the command line with wrong locale and no network
localectl set-locale en_GB.UTF-8 # for example
wifi-menuWhat 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.
ALSA is part of the kernel, the user space libraries are supplied by the various libasound packages.
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.
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.
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).
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?
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.
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?
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.
To see from which repositories a package has been installed use
apt policy $packageReplace $package with the actual name of the package.
It really isn't a good idea to have deb-multimedia in your sources.
+1, those clowns don't have a clue about packaging.
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).
/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 PATHTo:
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 PATHOr 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.
Create a file at ~/.bash_profile with this content:
. ~/.profile
echo "##
##Session begin $(date)
##" >> ~/.bash_historyHow 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/localtimeIf it's wrong then use
# dpkg-reconfigure tzdataTherefore 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.txtYou 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_logFor 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.
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.
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.
Ubuntu's ridiculous attitude about root accounts
Unlock the root account by assigning a password:
sudo passwd rootGnome 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/lxtermYou'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 :-)
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 :-)
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:~ $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.
Ideas?
Firewall?
And I think this should have it's own thread, hi-jacking an official announcement thread seems a bit rude.