The officially official Devuan Forum!

You are not logged in.

#126 Freedom Hacks » [SOLVED] linphone alsa removing libpulse-mainloop-glib0 breaks mate » 2021-11-02 11:44:07

bai4Iej2need
Replies: 1

I tried to follow
https://dev1galaxy.org/viewtopic.php?id=3904
Having a problem debugging linphone, because no microphone sound,
according this
https://wiki.ubuntuusers.de/linphone/
Linphone 🇬🇧 🇫🇷 ist ein SIP-basiertes, videofähiges Internet-Telefon mit einer GTK+-Oberfläche, das die Soundarchitektur ALSA nutzt.

I discovered that linphone uses pulse libraries same as mate-setting and mate-volume and firefox-esr and chromium

long story short result : trying to remove these libraries breaks task-mate-desktop, Docs below

a) what are the consequences of having these package in the system but not pulseaudio server ?
b) How can I avoid that progs such as linphone , firefox, chromium search to attach to a pulseaudio subsystem and use only alsa?
c) or is some configuration possible to hide the pulse libraries
d) is it a bug  or "it is a bug!" ?

I still have package libpulse0 in my system.
I still have package libpulse-mainloop-glib0 in my system.

apt-file search libpulsecommon
libpulse0: /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so

aptitude remove libpulse0
The following packages will be REMOVED:  
  libpulse0 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 994 kB will be freed.
The following packages have unmet dependencies:
 libsphinxbase3 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libfluidsynth2 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 chromium-shell : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libmediastreamer11 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 mumble : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libavdevice58 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libasound2-plugins : Depends: libpulse0 (>= 0.99.1-1~) but it is not installable
 chromium : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libpulse-mainloop-glib0 : Depends: libpulse0 (= 14.2-2) but it is not installable
 libqt5multimedia5 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 gstreamer1.0-plugins-good : Depends: libpulse0 (>= 2.0) but it is not installable
 libsdl2-2.0-0 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 mate-settings-daemon : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libmatemixer0 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libsdl1.2debian : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libmikmod3 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 vlc-plugin-base : Depends: libpulse0 (>= 1.0) but it is not installable
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libpulse0 [14.2-2 (now, stable)]                   

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

lsof +c12 | grep libpulse                                                                                          :(
mate-setting  2785                            md  mem       REG                8,1     18424    1315457 /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0.0.6
mate-setting  2785                            md  mem       REG                8,1    534728    1315671 /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so
mate-setting  2785                            md  mem       REG                8,1    338992    1314408 /usr/lib/x86_64-linux-gnu/libpulse.so.0.23.0
a total of 18 lines beginning mate-setting
mate-volume-  2846                            md  mem       REG                8,1    534728    1315671 /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so
mate-volume-  2846                            md  mem       REG                8,1    338992    1314408 /usr/lib/x86_64-linux-gnu/libpulse.so.0.23.0
mate-volume-  2846                            md  mem       REG                8,1     18424    1315457 /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0.0.6
a total of 12 lines beginning  mate-volume- 
firefox-esr  18427                            md  mem       REG                8,1    534728    1315671 /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so
firefox-esr  18427                            md  mem       REG                8,1    338992    1314408 /usr/lib/x86_64-linux-gnu/libpulse.so.0.23.0
a total of 118 lines beginning firefox-esr
linphone     20290                            md  mem       REG                8,1    534728    1315671 /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so
linphone     20290                            md  mem       REG                8,1    338992    1314408 /usr/lib/x86_64-linux-gnu/libpulse.so.0.23.0
a total of 22 lines beginning linphone

aptitude remove apulse
Die folgenden Pakete werden ENTFERNT:               
  apulse 
0 Pakete aktualisiert, 0 zusätzlich installiert, 1 werden entfernt und 1 nicht aktualisiert.
0 B an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 164 kB frei werden.

Entfernen von apulse:amd64 (0.1.13-1) ...
Trigger für man-db (2.9.4-2) werden verarbeitet ...

aptitude remove libpulse-dev  5,43s user 0,95s system 82% cpu 7,778 total
root@lenovo-R500 /etc/apt/preferences.d (git)-[master] # aptitude remove libpulse-mainloop-glib0:amd64 
Die folgenden Pakete werden ENTFERNT:               
  libpulse-mainloop-glib0 
0 Pakete aktualisiert, 0 zusätzlich installiert, 1 werden entfernt und 1 nicht aktualisiert.
0 B an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 86,0 kB frei werden.
Die folgenden Pakete haben verletzte Abhängigkeiten: dependencies broken
 libmatemixer0 : Hängt ab von: libpulse-mainloop-glib0 (>= 0.99.1) but it is not going to be installed
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

     Beibehalten der folgenden Pakete in ihrer aktuellen Version:  keep package
1)     libpulse-mainloop-glib0 [14.2-2 (now, stable)]            

Diese Lösung akzeptieren? [Y/n/q/?] q
Alle Anstrengungen, diese Abhängigkeiten aufzulösen, aufgegeben.
Abbruch.
1 root@host /etc/apt/preferences.d (git)-[master] # aptitude remove libpulse-mainloop-glib0 libmatemixer0:amd64 libmatemixer-common                                    :(
Die folgenden Pakete werden ENTFERNT:               
  libmatemixer-common libmatemixer0 libpulse-mainloop-glib0 
0 Pakete aktualisiert, 0 zusätzlich installiert, 3 werden entfernt und 1 nicht aktualisiert.
0 B an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 1.142 kB frei werden.
Die folgenden Pakete haben verletzte Abhängigkeiten:
 mate-media : Hängt ab von: libmatemixer0 (>= 1.10.0) but it is not going to be installed
 mate-settings-daemon : Hängt ab von: libmatemixer0 (>= 1.10.0) but it is not going to be installed
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

     Entfernen der folgenden Pakete: remove the following packages
1)     mate-control-center [1.24.1-1 (now, stable)]            
2)     mate-desktop-environment [1.24.0+4 (now, stable)]       
3)     mate-desktop-environment-core [1.24.0+4 (now, stable)]  
4)     mate-desktop-environment-extra [1.24.0+4 (now, stable)] 
5)     mate-desktop-environment-extras [1.24.0+4 (now, stable)]
6)     mate-media [1.24.1-1 (now, stable)]                     
7)     mate-settings-daemon [1.24.1-1 (now, stable)]           
8)     task-mate-desktop [3.68+devuan4 (now, stable)]          

Diese Lösung akzeptieren? [Y/n/q/?] q

#127 Re: Documentation » HOWTO: upgrade Devuan (stable) to the latest Linux kernel » 2021-07-04 12:21:30

Hi
I try to compile my own (hopefully slimmer) kernel now, but I miss the point . At
make menuconfig / oldconfig / localoldconfig / xconfig. 146 options are shown from tab completion, but these are not.
which packages provide these make targets ?
I need to reduce kernel size and weed unneeded out.

#128 Re: Installation » [SOLVED] How to change system to boot to text login instead of gui » 2021-05-04 09:32:19

Hi
If you dont get a login Prompt, check your /etc/inittab
look at these lines

...
# The default runlevel.
id:2:initdefault:
....
# 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

the 6 lines shall not be commented out.

in Runlevels 4 5 you have only one text console !

b) avoid the graphical login
edit /etc/init.d/slim (i have lightdm so I show you what I did)
do with your editor
vi  /etc/init.d/lightdm
shift the "2" from line Default-Start to the line Default-Stop
result must look like this

#! /bin/sh
### BEGIN INIT INFO
# Provides:          lightdm
# Should-Start:      console-screen kbd acpid dbus hal consolekit
# Required-Start:    $local_fs $remote_fs x11-common
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     3 4 5
# Default-Stop:      0 1 2 6
# Short-Description: Light Display Manager
# Description:       Debian init script for the Light Display Manager
### END INIT INFO

now do

update-rc.d lightdm remove
update-rc.d lightdm defaults

should apply similarly to slim
worked on my desktops

do

init 3 

to start your graphical login

BR

#129 Installation » aptitude changelogs source url » 2021-05-03 18:06:37

bai4Iej2need
Replies: 0

HI

I have a devuan beowulf installation.
I use aptitude after 1st install as my bread and butter tool for system maintenance. aptitude 0.8.11-7, same aptitude-common 0.8.11-7

in the section preferences there is written
URL to use to download metadata
http://metadata.ftp-master.debian.org/changelogs

That means meta data of devuan packages will not be downloaded through this channel.
As there is a changelog inside the package, is there a case where a package has the changelog not inside?
a) If no : SOLVED, but then the setting is not important and may be deleted, minor bug,
b) if yes: major bug against devuan aptitude package

there is no information in man 8 aptitude nor in aptitude-doc-en, where this can be modified.
please advise.
setting possible maybe in $HOME/.aptitude/config?

best regards

#131 Re: Off-topic » Caution, Wet! Computing explained » 2021-04-25 08:57:54

I remember programming locomotive controls with a 8086 back in 1986. The system had 16kbyte SRAM with an option for a 2nd 16kByte. So I put the second SRAM into the socket. Powered up, loaded the program. run it. Writing value<>0 to the second RAM resulted in all being 0 or false. Damn. Checking the program. Reading the  address contents again and again. Eventually RTFM again. 2nd RAM needs a jumper next to it. Put the jumper. Works.

Clue : If you use beer everything will be false.

2nd Clue : The keyboard will become sticky with a Weizen inside. tried that too.

Board footer

Forum Software