The officially official Devuan Forum!

You are not logged in.

#226 Re: Devuan » what's going on with aufs? » 2023-01-27 21:09:42

Knoppix is still using aufs. knoppix.de
A debian based live-usb (cd/dvd) system without systemd. Works great and saved my ass more than once. Update cycle is about one iso per year.

At least there should be a current debian package (knoppix repo for non-std-debian stuff). I have no idea how good or bad the aufs package is.

#227 Re: Desktop and Multimedia » How do i switch between Nvida and Intel display drivers? » 2023-01-13 23:26:52

Sadly, no simple solution.

The current problem might be: The 3D-acceleration points to the wrong library after switching the SSD - didn't had that in mind at the first answer, sorry.
I'm not exactly sure about the command, there might be other recommended tools or command lines. A symbolic link must be updated to match the graphic card.
sudo update-alternatives --config glx

#229 Re: Desktop and Multimedia » [SOLVED] How to set keyboard layout in a remote X session? » 2023-01-06 12:14:08

Update:
The original post was not very precise: xrdp is the problem.
And I found a somewhat dirty hack to fix the keyboard layout.

The loaded keymap is:

sudo cat /var/log/xrdp.log | grep km-000 | tail -1
[20230106-12:31:06] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini

Which is "us". "de" is "km-00000407.ini".
Backup and copy:

sudo gzip /etc/xrdp/km-00000409.ini
sudo cp /etc/xrdp/km-00000407.ini /etc/xrdp/km-00000409.ini

After logging in, it is still a "us" keymap, but switching to "de" now works

setxkbmap de

Would prefer a cleaner solution, but at least it works by now.

Edit: Will mark it as solved. And look for another remote X session solution.

#230 Re: Installation » Installing from USB thumb drive » 2022-12-11 14:44:26

Devarch wrote:

Download unofficial non-free image of Debian and convert it installed to Devuan.

Can't confirm that. The modprobe -i nvidia-current error in /var/log/dmesg is present in both cases, migration with installed nvidia drivers and devuan installation.

But, does it do something at all?
lsmod says nvidia modules are loaded, I' just ignoring it.

#231 Re: Off-topic » Music » 2022-12-09 22:41:53

Hopefully it is not to late!
Billy Talent for the rescue?
https://www.youtube.com/watch?v=hNrj4reWIgY

#232 Re: Installation » pan2, missing 'locale'? » 2022-12-07 15:42:24

Hi,
did you try to rebuild the locales?

sudo locale-gen

It builds entries listed in /etc/locale.gen

#233 Re: Desktop and Multimedia » I am tired from Ceres glitches » 2022-12-04 10:34:54

I'm happily running daedalus, repo is

deb http://deb.devuan.org/merged daedalus main contrib non-free

The output of neofetch regarding OS, Kernel and Shell is equal.

Not exactly sure about the OS name "daedalus/ceres".
Packages are tested in ceres, before integrated in daedalus.

(edit: typo)

#234 Re: Desktop and Multimedia » I am tired from Ceres glitches » 2022-12-03 22:20:46

Worst case is a new installation ... . Anyway.

Probably you want to migrate to daedalus?
It is closer to ceres.

#235 Re: Desktop and Multimedia » I am tired from Ceres glitches » 2022-12-03 21:15:39

Hi,
changing the release is always the same.

edit /etc/apt/sources.list - replace ceres with chimaera

apt update
apt upgrade
apt dist-upgrade 

To downgrade or make apt install older packages over newer:

cat /etc/apt/preferences
Package: *
Pin: release n=chimaera
Pin-Priority: 1001

I messed the file up here https://dev1galaxy.org/viewtopic.php?id=5208
apt -s whatever does a dry run.

#236 Desktop and Multimedia » [SOLVED] How to set keyboard layout in a remote X session? » 2022-11-23 11:56:07

delgado
Replies: 3

Hi,

when I'm at home, having a wire guard vpn connection to the company, via remote-desktop to xrdp (virtual session, not screen mirror): The keyboard layout switches to 'en_US'.

The reason is unknown, this does not happen when the connection comes form a local machine. Anyway.

I used to have a German keyboard, anything else is English / en_GB.
To switch back to the layout:

$ setxkbmap -layout "de" -nodeadkeys   # same with or without 'nodeadkeys'

This works not 100%. The [Altgr] key stays dead, which means none of {[]}\| .

What am I missing? Or
How to get the [Altgr] key working?

Thanks and regards.

#237 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-13 12:49:19

Hi,

I disabled the spectre CPU-patches.
This is not recommend for e.g. cloud servers running potentially evil virtual machines. My computer is just a desktop.
The arguments are from https://make-linux-fast-again.com

# /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off"
$ sudo update-grub

#238 Re: Desktop and Multimedia » How disable apparmor? » 2022-10-31 09:19:43

What about

apt remove apparmor

Guarantied to work with every init system.

#239 Re: Installation » How many keyrings? » 2022-09-25 13:05:06

Hi,
the gvfs-* packages are useful for the mounting features in pcmanfm, e.g. disk partitions, usb drives when connecting, MTP devices / androd cell phones. Not strictly needed, but quite handy. Taste is different of course.

#240 Re: Other Issues » Flatpak and ALSA » 2022-09-25 11:49:54

The Librewolf Appimage has working sound using ALSA (the build from the apt repo does not, for whatever reason).
Maybe an option ... .
EDIT: Typo

#241 Re: Installation » Revised migration page on www » 2022-09-20 19:20:10

What worked for me was a slight modification of the order:
apt install sysvinit-core
reboot
Then following the manual instructions.

The basic idea was to change pid 1 to init before doing something else.
That was after reading https://dev1galaxy.org/viewtopic.php?id=5147 post#6, and rrq's migration script and jaromil's ansible.
EDIT: Or if you want to follow the original procedure successfully, then consult farmatito's script for additional measures.

#243 Re: Other Issues » [SOLVED] apt pinning 1001 / automatic package version downgrade » 2022-09-04 14:42:26

This Issue came out other than I initially thought.

Dear admin,
suggestion is to move the whole thread from "Freedom Hacks" to "Installation" or "Other Issues". On occation.
Thanks.

#244 Re: Freedom Hacks » Replacing sudo. » 2022-09-04 12:45:33

Hm, how would the following look in doas style?
(Capt. Obviuos does not want to compile as root)

$ ./configure
$ make
$ sudo make install

#245 Re: Other Issues » [SOLVED] apt pinning 1001 / automatic package version downgrade » 2022-08-31 22:22:32

That's  better- thanks a lot!

Good to know, that apt is still working as expected.
Quite sure I have had some trys using a=oldstable, but there must be another error incorporated.

$ apt policy 
Package files:
 100 /var/lib/dpkg/status
     release a=now
1001 http://ftp.de.debian.org/debian buster/contrib amd64 Packages
     release v=10.12,o=Debian,a=oldstable,n=buster,l=Debian,c=contrib,b=amd64
     origin ftp.de.debian.org
1001 http://ftp.de.debian.org/debian buster/non-free amd64 Packages
     release v=10.12,o=Debian,a=oldstable,n=buster,l=Debian,c=non-free,b=amd64
     origin ftp.de.debian.org
1001 http://ftp.de.debian.org/debian buster/main amd64 Packages
     release v=10.12,o=Debian,a=oldstable,n=buster,l=Debian,c=main,b=amd64
     origin ftp.de.debian.org
Pinned packages:

#246 Re: Other Issues » [SOLVED] apt pinning 1001 / automatic package version downgrade » 2022-08-31 20:40:05

This is from debian bullseye, backdate target is buster. The chimaera image showed a comparable behaviour.
Thanks for looking!

$ cat /etc/apt/preferences{,.d/*}
Package: *
Pin: release a=buster
Pin-Priority: 1001
cat: '/etc/apt/preferences.d/*': No such file or directory

$ apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://ftp.de.debian.org/debian buster/contrib amd64 Packages
     release v=10.12,o=Debian,a=oldstable,n=buster,l=Debian,c=contrib,b=amd64
     origin ftp.de.debian.org
 500 http://ftp.de.debian.org/debian buster/non-free amd64 Packages
     release v=10.12,o=Debian,a=oldstable,n=buster,l=Debian,c=non-free,b=amd64
     origin ftp.de.debian.org
 500 http://ftp.de.debian.org/debian buster/main amd64 Packages
     release v=10.12,o=Debian,a=oldstable,n=buster,l=Debian,c=main,b=amd64
     origin ftp.de.debian.org
Pinned packages:

# some details and commands:
$ cat /etc/debian_version
11.4
$ cat sources.list
deb http://ftp.de.debian.org/debian/ buster main non-free contrib

$ apt update
Hit:1 http://ftp.de.debian.org/debian buster InRelease
All packages are up to date.

$ apt upgrade
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ apt list -a | grep linux-image-amd64/
linux-image-amd64/now 5.10.136-1 amd64 [installed,local]
linux-image-amd64/oldstable 4.19+105+deb10u15 amd64

$ apt install linux-image-amd64
linux-image-amd64 is already the newest version (5.10.136-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# downgrade single package:
$ apt -s install linux-image-amd64=4.19+105+deb10u15
0 upgraded, 1 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Inst linux-image-4.19.0-20-amd64 (4.19.235-1 Debian:10.12/oldstable [amd64])
Inst linux-image-amd64 [5.10.136-1] (4.19+105+deb10u15 Debian:10.12/oldstable [amd64])

#247 Other Issues » [SOLVED] apt pinning 1001 / automatic package version downgrade » 2022-08-31 15:51:44

delgado
Replies: 5

Hi,

About ~18 month ago it was still possible to downgrade package versions by setting the releases pin priority to 1001. Applied with apt update - nice and easy.
Now, apt happly tells you, that the newest version of the package is installed. Have a cookie!

Is it possible to restore the previous behavoir?

Supplemental (not really part of the question, just how it happened)

The pin priority in /etc/apt/preferences is not applied directly. Checking with apt-cache policy, resulted in a values of "990 : 500 : 100" instead of "1001 : -1 : -10". Remarkable may be: Pin priority 1001 for 'force downgrade' is gone.

What's the purpose?
Distro downgrade (to try lcarsde). Sounds complicated, but it wasn't. The process was straight forward. At the time I moved a box from testing (bullseye) back to stable (buster):
Adjust /etc/apt/sources.list, pin the release to 1001 in /etc/apt/preferences, apt update; apt upgrade; apt dist-upgrade; reboot with the "new" 4.19 kernel.
That really impressed me!  (later the box became bullseye again and is now chimaera)

Yesterday I tried the same with chimaere to beowulf and bullseye to buster. Countless variants of pinning and sources.list - nope.

#248 Re: Hardware & System Configuration » (T420, chimaera)(nvidia-legacy-390xx-driver) nvidia-persistenced error » 2022-08-30 13:23:51

fsmithred wrote:

Use option '--no-install-recommends' when you install the nvidia driver. This will prevent nvidia-persistenced from being installed

Now I'm feeling foolish - all the time wasted in the last two months on a pointless package.

Edit: There might be a take away for the OP:
If it's not working, just uninstall the whole nvidia-* to use the open souce driver nouveau. It's not worth the effort.

#250 Re: Other Issues » move Devuan to a bigger partition » 2022-08-29 14:03:55

Hi,
depending on the partition sizes, it could be an option to mount sda3 on "/home". Minimal effort and recommended anyway.

Board footer

Forum Software