You are not logged in.
Thank you @GlenW. It's interesting how all these parts and pieces relate to one another, and how they can be arranged in various ways to suit different needs.
Like so many of the other experiences shared in this thread, I will definitely log your observations into my database (I use CherryTree) on Linux audio. Remembering these real-world experiences can be very valuable somewhere down the line when new situations arise.
I'm glad that the Devuan forum is such a friendly and helpful place.
@aluma -- Thanks for that info. As you can probably guess, I am no expert at Linux audio. I got my Peppermint Devuan audio running on ALSA by trial and error, and perhaps a little bit of knowledge.
The default full install of Peppermint Devuan Daedalus xfce came with PulseAudio installed and enabled. Early on, I replaced PulseAudio with PipeWire, to make it consistent with my other distro of choice -- antiX. Of course, PipeWire contains a version (hopefully improved) of PulseAudio in the form of pipewire-pulse. WIth PipeWire enabled, I had audio from my music players and from Firefox.
On any distros I have used, I have generally turned off PulseAudio (and now PipeWire) because I don't need any of the multistream mixing features and whatnot. I listen to one thing at a time. And I have always found pure ALSA to be the least troublesome, without the other layers piled on top of it.
So, in Peppermint Daedalus I turned off PipeWire, but left it installed in case I might need it as a future dependency or find a truly good use for it. I try to keep unnecessary running processes to a minimum.
As expected, my music players worked wonderfully piped directly through ALSA. However, there was no detectable sound from Firefox. I was puzzled, as antiX is running on Debian packages, and -- in my install -- had PipeWire disabled by default. Yet Firefox produced sound just fine in antiX.
Looking into this, I discovered that antiX had the ALSA equalizer/preamp plugin installed by default. So I added that to my Daedalus. Still no sound from Firefox.
I dug further into antiX and discovered the predefined /etc/asound.conf file which configured the ALSA preamp/equalizer plugin.
So I simply copied over this asound.conf file into Daedalus, but didn't immediately get any sound from FIrefox. Unlike in antiX, I did NOT have a preamp slider in QasMixer. I could find no configurator in QasMixer to enable the preamp slider. (The equalizer, however, was immediately available.) I tried opening and closing the equalizer a few times, rebooting a couple of times, and somehow the preamp slider simply appeared (I don't know how, but I hope to find out).
Once I had the slider, I found that applying about 11% preamp produced audio from Firefox that matched levels from my music players. This turns out to be the same level of preamp that antiX has applied by default.
I don't know whether any of this rehash is of any value to you, but I thought I'd provide it just in case it might. I don't pretend to be an expert in this area.
If you get a working preamp control in ALSA and adding preamp does not produce sound in Firefox, then indeed you have a different issue to address, or you can simply let PipeWire/Pulse process that sound for you.
@JWM-Kit Thanks for the nice feedback. I hope you will let us know your results, if you run that test. The more we learn, the better we can understand how these audio systems work and how to optimize our use of them.
I am the OP in this thread. Thanks, again, to all have so kindly responded. All of these replies have helped me learn more about Devuan, Firefox, and LInux audio.
I believe I have hit upon a satisfactory resolution of my problem with firefox-esr audio in PeppermintOS Devuan.
After much experimentation, and examining the performance of firefox-esr in various distros, I determined that firefox-esr requires an ALSA preamp in order to produce hearable sound.
This in turn requires installing libasound2-plugin-equal (equalizer and preamp) as well as alsa-utils. You then need to configure these via an /etc/asound.conf file. Not highly skilled in creating such a file myself, I took a flyer and copied one verbatim from one of my antiX machines. It worked fine (although I had to reboot a few times and play with the ALSA settings a little bit to get the preamp control to show up).
When I added about 11% preamp to my ALSA config, firefox-esr began outputting audio at levels comparable to my music players. (This is the same preamp level that is set by default in antiX.)
So I am running my Peppermint Devuan spin on ALSA, with music players and (now) FIrefox running very well.
Meanwhile, I have learned much from the discussion in this thread, and I am enthused that Devuan is developing such an active and cordial community.
Thanks, aluma. I appreciate the added perspective.
Early on, I replaced PulseAudio (which came in default install) with PipeWire. And yes, firefox-esr does produce audio when PipeWire is enabled. Of course, pipewire-pulse is also automatically running in that situation, so no surprise in getting audio from firefox-esr.
I typically run with PipeWire disabled, in order to keep things simple and because I really have no need for its broad AV capabilities. It's nice to know it's there should I ever need it, but I have always gotten be with good old ALSA on all my machines, over decades of time. And I AM a music performer (acoustical) and avid listener, but one stream at a time.
Right now, I need to turn on PipeWIre if I am going to listen to a YouTube video on one of my Devuan-based PCs. I guess I could just leave it on, but it just bugs me to do so, as I like to keep things as simple as possible. (This is why I use the runit init.)
Another solution, of course, is to dump Firefox; but that would hurt. I have fine tuned it over the years, and some of its features really click with my work flow.
I'm betting I'll find a way to get firefox-esr working without PipeWire/PulseAudio. I'll check back in here when I find that way.
Many thanks to fsmithred for that info on the Devuan repos. I have the exact same deb version of firefox-esr on a deb-based machine, and audio is just fine with PulseAudio turned off. So --enable-alsa is clearly included.
On my PeppermintOS-Devuan machine, I get no sound from firefox-esr without PulseAudio. The Audacious music player works just fine directly with ALSA, with no need for PulseAudio. So ALSA sound is configured properly. Something is interfering with audio from firefox-esr (in the absence of PulseAudio).
I checked to see if PeppermintOS had included a ~..asoundrc or /etc/asound.config file, but neither exists. So there is no complication from there.
Thanks also to The Amnesiac Philosopher for your kind suggestion.
I have already tried using apulse, both from the command line and by altering the desktop launcher. Neither approach is successful.
Hence, I remain stymied.
I will push this issue to the PeppermintOS forum, to see if there is a custom script or whatever that ties firefox-esr to PulseAudio.
I'm glad I asked here first, though, as I really wanted to know how the firefox-esr package is compiled, and I got that answer and more.
I am very grateful for the kind responses!
I am running the PeppermintOS derivative of Devuan with excellent results. I have one lingering question concerning audio output.
I typically run all my machines using straight-ALSA audio. None of these machines have multiple cards, nor do I run more than audio stream at any time.
So I typically do not enable PulseAudio (or any other intermediary server), as it provides nothing extra that I need.
WIth my Devuan-based system, running on bare ALSA, I have no audio output. from firefox-esr. I am aware that Mozilla has dropped direct support for ALSA in FIrefox. However, on Debian-based systems, I find that firefox-esr DOES allow output directly through ALSA. Reportedly, the current Debian version of firefox-esr is compiled with --enable-alsa.
The Devuan firefox-esr, however, does not produce audio unless I first enable PulseAudio. That is no big deal, but I would prefer to avoid adding that extra process for just the occasional YouTube video.
I have read here conflicting reports on whether the Devuan version is compiled with --enable-alsa. Regardless, it's not working for me.
I would welcome any suggestions on how to get direct ALSA output from firefox-esr (Devuan). For example:
* Does the Devuan version actually use --enable-alsa? If so, I must have some sort of conflict in my OS. What might that be?
* Can I somehow use the Debian version on my Devuan system, without borking my OS?
* Is there a way to use apulse, in combination with ~/.asoundrc, to get audio from firefox-esr, to avoid having to enable PulseAudio?
Sure, I can just go ahead and enable Pulse. But I have a penchant for keeping things simple, with less layers of overkill.
Thanks, in advance, for any help with this.
Thanks, hunter0one.
Yes, I have been reading occasional blurbs about turnstile, and am hopeful regarding projects of that type.
I am certainly no IT expert, but I do have a lot of experience with Windows (required at my job) and with Linux OSes. I have always felt more comfortable with Linux because its workings have traditionally been more understandable, providing me with less troubles and - when occasionally needed - relatively easy fixes, or alternatives.
Unfortunately, over the past few years, it seems that the majority of Linux distros are becoming in many ways more and more like Windows -- that is, I have less and less options, the system seems convoluted and almost incomprehensible to a nonprofessional, and problem solving is more frequent and more difficult. I understand that many professionals are pleased with the continuing integration of services within Linux, but for an amateur user like me, it brings back bad memories of trying to live with the Windows registry, complex update system, and so on. One false move and I'm cooked.
I very much appreciate the enormous task being done by developers at antiX, Devuan, Void, PCLOS, Hyperbola, and others. It certainly seems a huge mountain to climb. Perhaps some collusion might be in order, despite some basic differences in the approaches being taken.
Thanks, again, for sharing your observations.
I am the OP in this thread. I appreciate all the feedback, as it broadens my knowledge on this issue. Unfortunately, while I am a long-time Linux user, I am not knowledgeable enough to pinpoint how antiX manages to run beautifully with no trace of systemd (init) or elogind (seat mgmt, networking, device mgmt, etc.). I suspect there are two key areas that are involved:
1) antiX does not use a full-blown desktop environment like Plasma or Xfce. Instead, it gives you three window-manager options. I use IceWM, and have found it easy to learn, easy to customize, and capable to meet all my needs. I experimented with PCLOS, which also avoids elogind; but it uses Xfce, Mate, or Plasma. I found that X would not run under Xfce unless Pulseaudio is installed. I had more luck running Mate with plain ALSA, but had no way to pre-amp the sound for laptop speakers (ALSA plugin not available). Anyway, I'm guessing that using a WM instead of a full-blown DE makes it easier to get around elogind.
2) Also, antiX has its own "nosystemd" repository (in addition to the Debian repos)
(http://mirrors.rit.edu/mxlinux/mx-packages/antix/bullseye bullseye/nosystemd amd64 Packages)
which reflects a tremendous amount of work by the lead developer in avoiding the complexities of systemd and its components.
I am very happy running antiX on my machines, whether ancient or squeaky new. At boot, my ancient laptop is idling at around 150MB and is wicked fast. And I use it on my newer boxes because it is so fast, flexible, and community sourced.
I always like to have a backup plan, though. Devuan has been very reliable on one of my desktop boxes, and I hope the distro becomes increasingly successful. The absence of the init from systemd is a real plus, but elogind seems to be the lion's share of systemd; so Devuan is not completely good old modular, flexible, economical Linux (yet). It is asking a lot to work around elogind, as it has tentacles in so many key areas. I was therefore surprised and excited to see the release notes for Daedalus mention the possiblity of avoiding elogind.
Based on comments in this thread, it sounds like it will take some experimenting. I'm going to try freeing up another machine for that purpose.
Should anyone discover further clues, I would very much welcome their addition to this thread.
Thanks, again, for your responses.
I have several machines on which I have been running Debian and its derivatives for the past couple of decades. Because I am more at ease with the older, pre-systemd spins, I have gravitated to using Devuan, as well as antiX. The latter has gone so far as to essentially eliminate the use of elogind, a major component of systemd. I have been hoping that Devuan will eventually evolve along that same path, as resources allow.
In the release notes for Devuan Daedalus, I find:
### Wayland GUI without elogind
Users can now enjoy a wayland desktop without elogind by installing
libpam-ck-connector, sway and seatd.Ensure the relevant user is a member of the `video` group and run sway from
the terminal.
I am hoping for some added clarification:
- Are step-by-step details provided for performing the above-quoted process?
- Are there any adverse side effects that might result from this process?
- Is there an equivalent process for removing elogind when running X?
Forgive me if I have overlooked some relevant resources. I have researched this issues without success, but am hoping someone more qualified might guide me in the right direction. Thanks in advance!
Upon much further review, I have a solution. Just in case anyone else using Devuan xfce is interested in using the Update Indicator and encounters errors in Synaptic, I am posting the following account of some workarounds. It is lengthy, but I hope not offensively so.
It IS possible to run package-update-indicator in Devuan, but this requires some adjustments.
First of all, the package gnome-packagekit is listed as a “recommends” for installing with package-update-indicator. In fact, it will install by default if you do not specify --no-install-recommends.
If you do NOT install gnome-packagekit, package-update-indicator will function only partially. It will show you when updates are available, but it will not open a window for you to view and choose what to update. Of course, now that you are alerted of pending updates, you can easily apply them via Synaptic or CLI.
If you DO install gnome-packagekit (either concurrently or subsequently), it provides the shared library gpk-update-viewer. This is what package-update-indicator uses to show you available updates and lets you select what to install. That is, you now have a fully functioning Update Indicator.
Unfortunately, there is an undesirable side effect. If you now run Synaptic > Settings > Repositories, you will not be shown the Synaptic repository display. You will get no response. Running this from the CLI will show you an error message, which appears right after you click on the Repositories menu item:
john@devuan:~$ sudo synaptic
[sudo] password for john:
ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers'
Traceback (most recent call last):
File "/usr/bin/software-properties-gtk", line 101, in <module>
app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 109, in __init__
SoftwareProperties.__init__(self, options=options, datadir=datadir)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 91, in get_sources
raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/chimaera
There seems to be a problem associated with /usr/bin/software-properties-gtk, caused by a lack of distribution templates for Devuan.
Through the process of uninstalling and reinstalling package-update-indicator and gnome-package kit a few times, I observed that when gnome-packagekit is installed, you get not only gpk-update-viewer (discussed above), but also software-properties-gtk.
software-properties-gtk is a Python3 script from Canonical. It says it is a “graphical abstraction of the sources.list.”
It is found in /usr/bin.
A launcher is automatically created in the xfce Whisker Menu, with the name “Software & Updates.”
If you run this script, it will fail to run. Trying it from the CLI will show you the problem: you get the exact same error message (see above) that you get when you try to view your repositories in Synaptic. That is, the system “could not find a distribution template for Devuan/chimaera.”
Upon further investigation:
software-properties-gtk appears tied to these related items:
/usr/bin/add-apt-repository
/usr/share/python-apt/templates
The latter contains templates for Ubuntu and Debian, which is to be expected as the script comes from Canonical. For each distro, there are two files: an “info” file and a “mirrors” file. The latter lists the available mirrors for each localization. The former defines the urls for the various repos, series by series.
By default, there are no such entries for Devuan, so this leads to the error message we get when we try to run “Software & Packages,” (aka software-properties-gtk).
But can this somehow explain the problem with Synaptic, as it will no longer show us our repositories, and gives us the same error message as Software & Packages?
I checked on my Peppermint OS machine (based on Debian Bullseye), where I also have Update Indicator and Software & Updates running. Software & Updates is running fine on there. When you launch it, you get a multi-tabbed menu of options for
- adding/choosing/enabling various repositories
- scheduling checks for updates
- and more
Even more interesting --- when you run Synaptic > Settings > Repositories on Peppermint, you get the elaborate “Software & Updates” menu, rather than Synaptic's traditional simple “Repositories” menu that just shows you a listing of your distros and which are enabled.
That is, the installation of gnome-packagekit has somehow replaced Synaptic's normal “Repositories” menu with the “Software & Updates” menu (software-properties-gtk).
On the Devuan system, however, this does not work, as software-properties-gtk eventually depends on having Devuan distribution templates that do not exist in /usr/share/python-apt/templates. Hence the error message
“could not find a distribution template for Devuan/chimaera” when trying to view the repos via Synaptic.
So what to do? Some options:
- Dump Update Indicator (package-update-indicator) and find another way to get alerts
- Use Update Indicator without gnome-packagekit. This will show an alert when updates are available. Although it will not be able to help you apply the updates (without gnome-packagekit), you can easily use Synaptic or the CLI to run the updates.
- Use Update Indicator WITH gnome-packagekit, and create python-apt template files for Devuan, so that Software & Updates will run properly and not break Synaptic. It appear that Richard Missenden has done something very much like that:
https://bugs.devuan.org/db/54/549.html
This seems fraught with risk, however, as periodic maintenance may be required, especially as Devuan evolves.
- Use Update Indicator WITH gnome-packagekit, but subsequently remove software-properties-gtk ("Software & Updates), which came along with gnome-packagekit. I gave this a try, and Synaptic was instantly fixed, without needing to reinstall it, or even reboot or log out/in. Running Synaptic > Settings > Repositories now shows the old familiar “Repositories” menu. Of course, “Software & Updates” is no longer present in the Whisker Menu.
The above solution now allows us to autoremove the packages orphaned by software-properties-gtk:
john@devuan:~$ sudo apt autoremove
[sudo] password for john:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
python3-distro-info python3-software-properties software-properties-common
unattended-upgrades
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 961 kB disk space will be freed.
Do you want to continue? [Y/n]
Both the Update Indicator and Synaptic are now running fine. I will monitor both carefully for a while, and report back on any anomalies.
One last update, just for the record (in case anyone else has problems with Update Indicator. and might be interested):
- As of my last post, I had Update Indicator installed WITHOUT the recommended gnome-packagekit.
Synaptic was working 100%, but the update indicator was only partially working (wouldn't open the actual updater window).
- I therefore once again installed ("recommends") gnome-packagekit. Synaptic was immediately (without even rebooting) partially broken, as it would no longer open its repository listing.
- After a reboot, Synaptic remained partially broken, but Update Indicator was now working 100%.
I can't figure out how to fix Synaptic.
I ran Synaptic from the CLI, to get some feedback.
When I open Synaptic this way, it opens fine.
But when I click Settings > Repositories, I get this output from the terminal:
john@devuan:~$ sudo synaptic
ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers'
Traceback (most recent call last):
File "/usr/bin/software-properties-gtk", line 101, in <module>
app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 109, in __init__
SoftwareProperties.__init__(self, options=options, datadir=datadir)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 91, in get_sources
raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/chimaera
So the installation of gnome-packagekit has caused the above error when trying to open the repo listing in Synaptic. I am not smart/educated enough to understand what the message means. It does make reference to the sources.list, and says it could not find a distribution template for Devuan/chimaera. As I do not experience this problem in Debian, perhaps Debian has some sort of template available that Devuan Chimaera does not?
Interestingly, if I uninstall gnome-packagekit, Synaptic (repo listing) remains broken. I have to purge Synaptic and reinstall in order to get it fully working again.
Anyway, I've gotten this same result after three purges and reinstalls of these packages, so I do not know the solution to getting the Update Indicator and Synaptic both working 100%.
Well, a couple of updates have finally arrived, so an opportunity to test the re-installed package-update-indicator.
When the updates arrived, the indicator's icon in the system tray changed from a globe (the earth) to a gold-colored gear wheel.
Hovering over the icon revealed a little dialog box stating "Software Updates." (Normally it would say "Up to Date.")
So far so good.
However, clicking on the icon does not give me the opportunity to actual perform the updates. Instead, the option "Install updates" is still grayed out.
Meanwhile, both the CLI and Synaptic show that two updates are - in fact available.
So, at this point, Update Indicator is installed WITHOUT the recommended gnome-packagekit, and the Indicator only partially works. It DOES indicate that there are updates, but won't open the actual updater window. Synaptic is working fine, showing me available updates, and also showing me what repos are currently enabled.
All this is pretty much a repeat of what happened to me in previous attempts, before I purged and re-installed both Update Indicator and Synaptic.
Presumably, if I now install gnome-packagekit, I will once again have Update Indicator working 100%, but Synaptic will no longer show me my repo listing. That is what happened in my first two tries. I can have either Synaptic or Update Indicator working 100%, but not both at the same time.
The two programs play together fine in Debian xfce and in Peppermint OS xfce (which is based on Debian). I'm not smart enough to guess why they're not 100% compatible in my Devuan install. I haven't made many changes to the as-installed system, and my few added packages have all been from the main stable repo. No backports, experimentals, etc.
Certainly not a deal breaker. The Update Indicator is just a handy convenience. I could go with unattended-upgrades, but I really like to see what is changing on my system, preferably before it changes --- and have the option to skip certain changes if I haven't had the foresight to put a hold on them.
I may just set up a cron job to remind me to check for updates on the CLI, so I don't miss out on any security updates.
Thanks, again, for the various suggestions from everyone.
@alexkemp: Thanks for your input.
I have been using the xfce desktop for many years, originally on MInt, then on MX, then on Debian, then on Peppermint, and now on Devuan.
Mint provides its own home-brewed update indicator, which is a very nice one, allowing you to pick and choose which updates to apply, and to control kernel versions, etc.
MX also provides its own indicator, albeit not quite as full featured or flexible as the one in Mint.
Debian gives you a very basic xfce desktop, with no update indicator added. While xfce is faithful to the Linux paradigm of modular design, it does not provide its own indicator module. Therefore - as you pointed out - you have to create your own, or find a third-party app. The package-update-indicator works great for me on Debian.
https://packages.debian.org/bullseye/pa … -indicator
This web page confirms that: "It is primarily intended for desktops which do not already have this functionality built-in, such as Xfce."
Peppermint used to borrow the update indicator from Mint, but dropped that when Peppermint shifted from Ubuntu to a Debian base. So I once again resorted to package-update-indicator, and it works just fine there, too.
Now I am hoping to get it to run well on Devuan. As noted in my OP, I have had some hiccups this time around. I have done the install a few different ways, and could not get the updater and Synaptic to play nice together. I am on my fourth iteration. Synaptic is still working properly with this latest updater install. I'm just waiting for some updates to arrive, to see if the updater is also functioning properly.
Thanks, again, for your comments.
@HoaS: Sorry for the late response. I have been waiting for some updates to arrive, so I could see if the Update Indicator actually alerts me to available updates. So far, no recent updates (I check via terminal). I figured I would add a response to this thread once I got the results.
And, yes, I have considered unattended-upgrades as a viable alternative. Once I get completely at ease with Devuan, that may well be where I end up. However, for the moment, I am interested in seeing exactly what updates are available before I choose to allow them. I have a couple of apps that I rely upon regularly that only work properly in older package versions; I therefore have them on (apt-mark) "hold" status. So far, apt seems to be honoring that status, and is not offering to upgrade them. Nevertheless, I am still interested in seeing specifically what is available to update, and from what repo, before signing off on any updates.
Update Indicator has helped me get comfortable with how updates are delivered on my Debian installs, and I am now following that same learning curve on Devuan.
As you suggested, though, I will likely end up going with unattended-upgrades once I have learned how the updates are coming down, and how well my "holds" are being honored.
Thanks for taking time to help me along!
Thank you rolfie for your continuing support and patience.
I'm pretty sure I did the install that way when you first suggested it, although I've run so many iterations I'm really not sure of ANYTHING ;-)
I believe what happened was:
- Package Updater installed OK (without gnome-packagekit)
- At this point, Synaptic was still fine (showing me the repos)
- Rebooted, to get the Updater daemon running via Autostart, and to get the icon in the system tray.
- Waited for updates to arrive (several days elapsed), but no action from the Update Indicator
- Eventually, sudo apt update revealed 5 updates were available, but Update Indicator did not alert me. When I clicked on the icon, it did not offer to show me any updates. Synaptic still fully functional.
- Thinking that maybe gnome-packagekit might actually be required to make Update Indicator show me the updates, I installed it. After reboot, Update Indicator now showed updates available. But now Synaptic would not show me the repos.
Now, maybe in my tiredness, I made mistakes with this -- even though I went through this multiple times. Maybe I screwed it up multiple times.
Anyway, I am right now giving it another shot.
sudo apt install package-update-indicator --no-install-recommends
then rebooted to get the app up and running, with icon in the tray. Synaptic is still AOK, as before.
Now waiting to see if Update Indicator will actually announce any updates and show them to me. This is where things seem to fail for me until I add gnome-packagekit. But maybe I've just somehow messed this up multiple times.
So now I await the next batch of updates, to see what happens.
I am very grateful for your putting up with my long-winded story.
As promised, I am following up (just for the record) with a report on performance of package-update-indicator now that some actual package updates are available for detection. Here are my observations:
* With package-update-indicator installed and gnome-package-kit (recommends) also installed, the Update Indicator does detect available updates. Its icon changes to a different shape, and clicking it allows me to choose "Install updates." When I do so, its window opens and shows me the available updates, allowing me to select which ones to update at this time. Unfortunately, it shows me MORE updates than I find when I run sudo apt update in the terminal. The names of the "extra" packages shown by the Update Indicator are almost duplicates of some of the other packages, but not exactly. Very confusing!
* In addition to the above issue, with package-update-indicator and gnome-packagekit both installed, Synaptic will no longer show me the repositories -- which is the reason for my original post.
* If I completely remove gnome-packagekit, the package-update-indicator will not show me avaialble updates, and Synaptic remains broken, even after a reboot.
* If I then completely also remove package-update-indicator, then reboot, Synaptic still remains broken.
* If I then completely remove Synaptic and reinstall it, Synaptic is fixed, and it shows me my repositories list.
I have tried these steps in various combinations and sequences, interspersed with reboots, for several hours, and have not found a combination wherein both package-update-indicator and Synaptic work together without problems.
On my system:
* package-update-indicator will not run (i.e., show me available updates) without gnome-package-kit being installed
* When package-update-indicator is running, Synaptic refuses to show me my repositories.
* When package-update-indicator and gnome-packagekit are removed, Synaptic remains broken until it is reinstalled.
Since xfce does not have an update indicator, I have used package-update-indicator to alert me to updates on Debian and on PeppermintOS (which is Debian-based). For some reason I have yet to discover, it is conflicting with Synaptic on my Devuan install. Frustrating, but certainly not a big deal.
I have removed package-update-indicator and gnome-packagekit, so that Synaptic will function completely.
I will probably set up a cron job to remind me to check for updates on a regular basis, until I just get into the habit.
Thanks, again, to those of you who were so kind to offer me assistance in trying to resolve this conflict.
Thanks for following up!
My plan is to wait until some updates show up, to see if the update notifier and Synaptic bother behave properly. I would like to vet the current arrangement as 100% OK before running further experiments.
The gnome-packagekit is just a "recommends," and - from its description - it's not clear what it would add to what I already have. However, that remains to be seen (will the update indicator work as-is?).
Regardless of the outcome, I will probably go ahead and install the gnome-packagekit just to satisfy our curiosity, and to see if I get the same error messages regarding UbuntuDrivers, etc.
As I mentioned earlier, I read that other people have received similar error messages (although not regarding the update indicator) when playing with gnome-packagekit. Perhaps there, too, it is something specific to certain machines, or to the sequence in which things get installed, or how many competing daemons are running.
And gnome-packagekit appears to be designed to be a "Synaptic-of-all-Distros," a tool to run in GNOME on any distro, albeit with less capabilities than Synaptic. If it doesn't offer me any benefits, I don't know why I would want the unnecessary redundancy, and the addition of yet one more daemon running in the background. Plus, gnome-packagekit is designed for the GNOME desktop (see below), not xfce. If the update indicator works OK without it, I will probably run without the gnome-packagekit for those reasons.
Thanks, again, for your continuing support. I'll check back in as I learn more and after I run the experiment you suggested.
https://github.com/GNOME/gnome-packagekit
gnome-packagekit
A PackageKit client for the GNOME desktop
gnome-packagekit are PackageKit client programs designed for the GNOME desktop.
Some follow-up thoughts (in case someone might be interested in this issue down the road):
I checked on the Peppermint machine and the Debian machine where I have been using package-update-indicator without disturbing Synaptic. In both cases, the "recommends" package gnome-packagekit was - by default - installed along with package-update-indicator. Both those distros use systemd.
Yet, for some reason, gnome-packagekit causes a problem with Synaptic in Devuan.
I am not knowledgeable enough to know why this might be.
In any case, the info at
https://help.gnome.org/users/gnome-pack … ex.html.en
seems to indicate it is redundant with respect to Synaptic at best, and a problem in the case of Devuan.
I have reinstalled package-update-indicator using
sudo apt install package-update-indicator --no-install-recommends
The dialog showed that the "recommends" package gnome-packagekit was indeed held back and not installed.
Then I enabled gnome-package-indicator in the Application Autostart list, and logged out and back in.
This gave me the indicator icon in the system tray, and a hover tells me all packages are up to date. That is correct (as I checked in terminal).
When updates are available, this icon should change to a red triangle to alert me, and a click will allow me to choose which items I want to upgrade.
Now I opened Synaptic and asked to see the Repositories. This was now successful, so I have the update indicator and Synaptic working properly at the same time. It seems the problem is now solved, although I will await the arrival of some updates to know whether the indicator will alert me properly.
It would appear that gnome-packagekit is likely the reason why my earlier installation of package-update-indicator caused a problem in Synaptic.
So I looked here:
https://help.gnome.org/users/gnome-pack … ro.html.en
where it says:
PackageKit is designed to unify all the software graphical tools used in different distributions. It abstracts the various underlying package management technologies like yum, apt, smart etc. and provides unified graphical and command line frontends. It also provides a framework that includes programming interfaces that other software applications can take advantage of. It is not a replacement for existing package managers like yum.
Also
The software repository viewer allows you to enable or disable software sources - also known as “repositories”.
So it looks like this package might well conflict with Synaptic, as it is trying to do some of the same things. And, as it is aimed at working across various distros, it accounts for my getting an error message complaining about UbuntuDrivers.
Although it is listed as a "recommends" for package-update-indicator, and comes along with it by default, it appears that it must be rejected in our case.
Thanks, again, to everyone who took time to help me along. Even after a couple of decades of using Linux systems, I'm still learning new concepts, and that makes me very happy.
To rolfie: Thanks for sharing! I planned to try that myself, but had to be away from the machine for a few hours. I will try it here shortly and report back.
To head_on_a_stick: I have not installed anything from experimental, or from proposed-updates, or from backports.
Of my own choosing, I have only installed perhaps five packages, and ALL are from
deb http://deb.devuan.org/merged/ chimaera main contrib non-free
deb http://deb.devuan.org/merged/ chimaera-updates main contrib non-free
deb http://deb.devuan.org/merged/ chimaera-security main contrib non-free
The package I installed at all recently was package-update-indicator, which brought along gnome-packagekit as a recommend. Both of those are in
merged chimaera/main
The only reason I have experimental, proposed-updates, and backports listed in my sources.list is to provide myself a reminder of the only six repos that are valid to use in Devuan. Of course, I have them commented out, as they are not something I want included in regular upgrades. But, if I should ever want to try something from backports, it's already listed there, so all I would have to do is uncomment it temporarily.
Thanks for your continuing support!
Thank you very much for taking time to help me.
I am fairly certain you are correct: I must have done something foolish to put the kibosh on Synaptic. I also feel silly that I cannot diagnose this for myself -- at least so far.
Before I paste in the info you requested, let me provide my own little update:
I purged the package-update-indicator package from my system. This removed the recommended-depends gnome-packagekit along with it.
I then ran Synaptic and still failed to access the Repositories listing.
I then purged Synaptic and reinstalled it. Now it will show me the repositories, as it did before I installed package-update-indicator.
It would appear, then, that package-update-indicator created a problem for Synaptic. If this is in fact true, it is disappointing, as xfce lacks its own update notifier, and I have found this package to be very helpful in Debian as well as in Peppermint (which is now based on Debian).
I mentioned earlier that I found mention on the internet that other people received similar error messages (regarding "UbuntuDrivers" and so on) when running certain gnome-related apps. Now I am wondering if I should try installing package-update-indicator again, but avoiding the gnome-packagekit (which is listed in the dependencies as a "recommends."
Now here is the info you requested. Perhaps it will shed some new light on all this ------------
john@devuan:~$ apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 [url]http://deb.devuan.org/merged[/url] chimaera-security/main amd64 Packages
release v=4.0,o=Devuan,a=stable-security,n=chimaera-security,l=Devuan-Security,c=main,b=amd64
origin deb.devuan.org
500 [url]http://deb.devuan.org/merged[/url] chimaera-updates/main amd64 Packages
release v=4.0.0,o=Devuan,a=stable-updates,n=chimaera-updates,l=Devuan,c=main,b=amd64
origin deb.devuan.org
500 [url]http://deb.devuan.org/merged[/url] chimaera/non-free amd64 Packages
release v=4.0,o=Devuan,a=stable,n=chimaera,l=Devuan,c=non-free,b=amd64
origin deb.devuan.org
500 [url]http://deb.devuan.org/merged[/url] chimaera/contrib amd64 Packages
release v=4.0,o=Devuan,a=stable,n=chimaera,l=Devuan,c=contrib,b=amd64
origin deb.devuan.org
500 [url]http://deb.devuan.org/merged[/url] chimaera/main amd64 Packages
release v=4.0,o=Devuan,a=stable,n=chimaera,l=Devuan,c=main,b=amd64
origin deb.devuan.org
Pinned packages:
------------------------------------------------------------------------------------------
john@devuan:~$ cat /etc/apt/sources.list{,.d/*}
#Devuan package repositories are exclusive.
#Other repositories, including Debian, Ubuntu, Mint etc, should NOT be used directly.
#This list shows all repos compatible with Devuan Chimaera
#Backports, proposed-updates, and experimental are NOT enabled by default.
# Package repositories
deb [url]http://deb.devuan.org/merged/[/url] chimaera main contrib non-free
deb [url]http://deb.devuan.org/merged/[/url] chimaera-updates main contrib non-free
deb [url]http://deb.devuan.org/merged/[/url] chimaera-security main contrib non-free
# deb [url]http://deb.devuan.org/merged/[/url] chimaera-backports non-free contrib main
# deb [url]http://deb.devuan.org/devuan/[/url] chimaera-proposed-updates main contrib non-free
# deb [url]http://deb.devuan.org/devuan/[/url] experimental main contrib non-free
# Source repositories
# deb-src [url]http://deb.devuan.org/merged/[/url] chimaera main contrib non-free
# deb-src [url]http://deb.devuan.org/merged/[/url] chimaera-updates main contrib non-free
# deb-src [url]http://deb.devuan.org/merged/[/url] chimaera-security main contrib non-free
# deb-src [url]http://deb.devuan.org/merged/[/url] chimaera-backports main contrib non-free
# deb-src [url]http://deb.devuan.org/devuan/[/url] chimaera-proposed-updates main contrib non-free
# deb-src [url]http://deb.devuan.org/devuan/[/url] experimental main contrib non-free
cat: '/etc/apt/sources.list.d/*': No such file or directory
------------------------------------------------------------------------------
And, for completeness:
john@devuan:~$ apt-cache policy package-update-indicator
package-update-indicator:
Installed: (none)
Candidate: 7-1
Version table:
7-1 500
500 [url]http://deb.devuan.org/merged[/url] chimaera/main amd64 Packages
Thank you both for your kind responses.
As I have already noted, Synaptic was working just fine until today, when it would no longer show me the repos (which it did before today).
I don't know what caused this change. I am just wondering if installing package-update-indicator yesterday might have caused the issue. I have used package-update-indicator in Debian for some time, without incident. I was hoping it would be OK to use it in Devuan. I am well aware that the Devuan repos are exclusive, and I have been religious about following that policy. Therefore, I was happy to see that this package is - in fact - included in the Devuan repos, as I noted earlier in my original post:
john@devuan:~$ apt-cache policy package-update-indicator
package-update-indicator:
Installed: 7-1
Candidate: 7-1
Version table:
*** 7-1 500
500 http://deb.devuan.org/merged chimaera/main amd64 Packages
100 /var/lib/dpkg/status
That is, package-update-indicator is included in deb.devuan.org/merged chimaera/main amd64 packages!
I did NOT get this package from an Ubuntu, Debian, Mint, or whatever repo.
So I am confused about the reference to UbuntuDrivers in the error message.
Also, I don't know if having gnome-packagekit dragged in as a dependency could somehow be responsible.
And further, I don't even know if package-update-indicator is the actual cause of the problem with Synaptic.
If no one has experience with this problem, I will have to take my chances and experiment further. - I can uninstall package-update-indicator and see if Synaptic returns to normal. If so, it would suggest that a package I got from the Devuan repo broke Synaptic, and I should mention it as a "bug."
However, if someone knows some OTHER reason (besides package-update-indicator) that Synaptic would stop showing my repos, I would be grateful to hear about it.
Thanks, again, for the responses.
I am running Devuan Chimaera xfce on a Dell Latitude E6400 laptop. I occasionally use Synaptic to double check which repos I currently have enabled.
Today, when I tried to do so (Settings > Repositories), nothing happened. The Repositories window did not open.
So I tried launching from terminal to see what errors might be getting thrown, and got this (after choosing Settings > Repositories in Synaptic):
john@devuan:~$ sudo synaptic
[sudo] password for john:
ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers'
Traceback (most recent call last):
File "/usr/bin/software-properties-gtk", line 101, in <module>
app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 109, in __init__
SoftwareProperties.__init__(self, options=options, datadir=datadir)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 91, in get_sources
raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/chimaera
Not being expert enough to know what this implies, I tried purging Synaptic and reinstalling. I got exactly the same result.
I am trying to determine what I may have done recently that may have caused this problem with Synaptic. The only recent change of any significance (that I can recall) is the installation of package-update-indicator from the chimaera main repo.
john@devuan:~$ apt-cache policy package-update-indicator
package-update-indicator:
Installed: 7-1
Candidate: 7-1
Version table:
*** 7-1 500
500 http://deb.devuan.org/merged chimaera/main amd64 Packages
100 /var/lib/dpkg/status
One of the packages that came along with it (by default, as a recommends) was gnome-packagekit. I have read about people running into problems with this "UbuntuDrivers" business where gnome packages are involved. Is it possible that this is the source of the problem I am having? If so, what is the best way for me to remediate this? Try uninstalling gnome-packagekit?
I know I could just go ahead and try this, but I feel like I am on a slippery slope, and don't want to mess things up any further.
I would appreciated any insights on possible causes for losing the ability to view Repositories in Synaptic. Thanks much, in advance.
Thank you, Head_on_a_Stick, for this added information. It looks like it should be very useful when in need of building kernel modules (a concept that I am only just beginning to learn and understand). This is one of the reasons I turned to Debian -- and now to Devuan -- to get closer to the workings of a Linux system and learn more about how Linux systems actually work.
Just now, I did install and prepare module-assistant, and I found that the broadcom-sta module was listed in the accessible modules.
I see that the Debian wiki provides some detail of the scope and usage of this tool (although the article admits this tool is underdocumented):
https://wiki.debian.org/ModuleAssistant
Both command-line and interactive modes are available (you probably already know that).
Thank you very much for the continuing education.