Specify a different gcc for dkms

Hello Everyone,

I use make-kpkg to to compile a new kernel.
DKMS is install as well.
I know how to tell kpkg to use a different compiler than the default one
in /usr/bin
But I am searching on how to do this in dkms.conf
Any hints how to do this?


postgresql does not autostart after apt upgrade (on debian)

Hi there,

this is a debian question ..

A debian 8 server was upgraded wit apt upgrade.

After this postgresql does not autoboot anymore.

It can be started executing.

service postgresql start

Can anybody give me a hint where to look for the reason?



Cannot connect to unix socket '/var/lib/clamav/clamd.socket': connect: No such file or directory

This seems to happen every time I upgrade my version.

BC Math

I just upgraded my development server to 16.04.3 LTS.
I seem to be missing BC Math.
PHPinfo lists the author, but not the module.
How do I add it?


How to report a problem with a flatpax?

The problem I had was on my laptop after I had updated the Mint
partition to 18.3. I hope this not considered off topic.

I decided to try out a flatpax installation, so I installed the GnuCash
flatpax version. It installed and ran fine, but I got an error when I
clicked on a help topic. Turns out there is a separate docs package that
was not installed. I went back to Software Manager and installed it the
normal way but help still didn't. I assume because the flatpax version
was isolated from the system.

Really dark drop down lists?

At some point in the past few weeks (? not sure when it happened) the
colour on some drop-down lists has changed to a dark grey on a dark
background - almost impossible to read. It's not ALL drop-downs, just
some. An example would be the save-as formats list in LibreOffice.

- choose "save-as" in any Libre-Office tool
- drop down the formats list
- see the colors

I'm not sure when this happened or what I can do about it - where would
this colour be defined? I assume it's somewhere in the Ambience theme,
but I have no idea where to look...

Using 16.04 on AMD64 fully updated.

Regards, K.

UEFI and Ubuntu Linux


I am currently running UbuntuMATE 16.04 LTS on various computers; UEFI
and otherwise.

In performing a system update on this one (a computer that has UEFI,
which is bypassed to run Linux), yesterday, I observed that the
packages to be installed/updated (I am not sure which), included a
number of packages relating to UEFI.

In checking using Synaptic, I found that 12 packages relating to UEFI,
are available, with a few of them, installed.

When I first installed Linux on this computer (it took me about two
years to get Linux properly running on this computer, due to three
separate syste

ldconfig.real -i generates a segmentation fault

On the NanoPi Neo 2-specific distro of FriendlyCore, which is derived from Ubuntu Core, typing...
# ldconfig.real -i
…generates a segmentation fault. This happens with the two different ‘Core’ images (one supports an OLED unit; one does not). It does not happen with the two Armbian images that I tested.

Oddly enough, ldconfig works if I run ldconfig.real without ignoring the auxiliary cache (without ‘-i’).

It may be a build-specific issue, affecting FriendlyCore but not Ubuntu Core.

Any thoughts…?


ClamAV 99.3 - Was 99.3 for Ubuntu

I changed the subject since '99.3 for Ubuntu' probably didn't make
sense to most.

I'm trying to build 99.3 for Ubuntu 16.04LTS. I had no problems
building 99.2 with pbuilder. When downloading the source I got

pull-lp-source clamav
pull-lp-source: Downloading clamav version 0.99.3~beta1+dfsg-2ubuntu1
pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg.orig.tar.xz from (5.611 MiB)
pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg-
2ubuntu1.debian.tar.xz from (0.207 MiB)

whereas with 99.2 I got the non-beta source files.

99.3 for Ubuntu

I'm trying to build 99.3 for Ubuntu 16.04LTS. I had no problems
building 99.2 with pbuilder. When downloading the source I got

pull-lp-source clamav
pull-lp-source: Downloading clamav version 0.99.3~beta1+dfsg-2ubuntu1
pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg.orig.tar.xz from (5.611 MiB)
pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg-
2ubuntu1.debian.tar.xz from (0.207 MiB)

whereas with 99.2 I got the non-beta source files. I figured I'd go
ahead and build the beta, I could always upgrade to the non-beta

synaptic on 17.10

I've just upgraded a friend's machine to Ubuntu 17:10 and joined a long
list of people who've discovered that synaptic wont start.

Has anyone information as to if/when this disastrous failure of testing
has/will be fixed?

Peter HB

Dbus daemon Issues


This past summer I upgraded all of our 12.04 LTSP Servers to a clean install of 16.04. As in the past, I added the following to the /etc/init/dbus.conf file, limit nofile 65334 65334, right above the expect fork line. Even with that in the dbus.conf, I have been having issues when a large number of users\sessions are logged in causing the dbus-daemon to spike the CPU to 100% and stop responding to calls. This then prevents any new users from logging in successfully. Have any of you experienced this issue as well? Is there another file(s) in 16.04 that need to be edited?

Podcast-fetching tool that renames duplicate filenames?


I used to use hpodder until it was removed, then I switched to podget,
which does what I want except for one podcast I tried to add recently
for which every episode has the filename 'media.mp3', so when I
fetched it, it downloaded every episode but each one overwrote the
previous one, leaving only the most recent one on disk but with all of
them marked as downloaded in the database.

Is there a podcast-fetcher that will automatically or configurably
rename episode filenames to handle situations like this?

I'd prefer a command-line tool, but will settle for anything that will
fetch the fi

Strange Audio Behavior

[ Ubuntu 16.04.3 LTS; Dell Optiplex 760 ]

I have been using Ubuntu for a very long time.

Suddenly, a few months ago, my audio/sound functionality changed.
I used 'alsamixer' to see what might be wrong, but failed to see anything

Symptoms? If I run the 'Spotify' application, sound works normally ...
the music comes out of my two Altex external speaks.

But, if I fire up 'Google Chrome' and go to the Spotify web site, there is
no audible sound!
Same thing with YouTube videos ...

Mounting satnav USB

If I plug in my TomTom VIA, syslog says:

What to use for browser flash support?

Running lubuntu 17.18 (artful)

Using chromium, I run into some videos (On msnbc's full episodes of
their various news/talk shows. clicking the `full episodes' link at:!#full-episodes

For example, brings up the error message:
| To watch video, download or enable adobe flash player plug-in in
| your security preferences.

Whereas the other main link `playlist':
<a href="" title=""></a>

Just shows the videos with no problem.

setting CPU frequency

My CPU will run up to 4.4Ghz but I want to limit it to a maximum of
4.0Ghz to avoid overheating problems.

When I try:
sudo cpufreq-set -u 4.0Ghz
or indeed any cpufreq-set command, I get:-

Error setting new values. Common errors:
- Do you have proper administration rights?

sudo pip3 install & wrong permissions


When I install Python packages with `sudo -H pip3 install -U
[packages]`, the files end up readable & executable by root only, so I
have to do `sudo chmod -Rc a+rX /usr/local/lib/python*` afterwards to
make them usable.

What exactly do I need to set to fix this, without compromising normal


Latest SkypeforLinux not working after Ubuntu 14.04 software update - Starts with Blank Screen


The two last updates ( that included SkypeforLinux ) broke Skype
completely, left me with a blank screen, and not responding to any actions.

I had to remove SkypeforLinux and install older version:

sudo apt-get install skypeforlinux=

Just wondering if this problem has been reported for Ubuntu 14.04

Kind Regards

Gerrit le Roux

where is gvfs?

Many moons ago, I seem to recall it was possible to make mounted
filesystems - especially SMB (VIFS) file systems - visible to non-GIO
programs by linking to .gvfs. Something like this:

   ln -s ./.gvfs mynetworkdrives

.. after which you could browse through ~/mynetworkdrives to files on
your network drive.

MUA rethreading (was: Re: Meltdown – Spectre - Was: kernel 4.4.0-108 / 16.04 LTS does not boot anymore

On 13/01/18 11:17, Ralf Mardorf wrote:
I've been banging on about this for a couple of decades. It's entirely
possible that the poster referred to *is* using an MUA that sorts by
thread — the problem is that some replies are not in the thread.

From observation, there seem to be two reasons for this:


Wherefore art thou, 17.10 ISO respins?

Anyone know how to be sure to get the latest 17.10 ISO respins with the
SPI driver fix to avoid laptop bricking?

According to
<a href="" title=""></a>
they were supposed to be released on Thursday (11 Jan); according to
<a href="" title=""></a>
they were actually released yesterday evening (Friday 12 Jan), but
according to <a href="" title=""></a> they're still not
available, and if I try to follow any of the links at the alternative
download page (e.g.

How does MySQL really start?

It was suggested here that the script /etc/init.d/mysql is used in starting
MySQL but I have
been unable to confirm that by injecting code into it.

How to start and stop mysql?

I need to start and stop mysql, and I've only figured out how to stop it.
I need to start it (not rebooting) so that I can temporarily use different
options. In my case, I need --skip-grant-tables.

Meltdown – Spectre - Was: kernel 4.4.0-108 / 16.04 LTS does not boot anymore

On Fri, 12 Jan 2018 03:10:42 +0000 (UTC), Jonesy via ubuntu-users wrote:

is it using a backported KPTI patch set, respl. is it possible to
disable it by booting with nopti [1]? I don't have the time to read
changelogs at the moment.

Since a DAW not necessarily is connected to the Internet at all, but
requires best performance, disabling might be better, than using the
KPTI patch set and suffering from loss of performance.

kernel 4.4.0-108 / 16.04 LTS does not boot anymore

Hi there,

my good old pc  running 16.04 LTS Desktop got a an update today.

Now it does not boot any more.

it is a: Intel® Core™ i5-2500 CPU @ 3.30GHz × 4

The kernel it got is 4.4.0-108.

Fro this one it does not boot any more.

Kernel 4.4.0-104 boots fine.

Is there something I can do about this?



Python 2 support in Ubuntu

Python 2 goes end-of-life in 2020:

<a href="" title=""></a>

Does anyone know if there has been an official announcement of when it
will be removed or become unsupported in Ubuntu, or indeed in Debian?

all files changed to read only

All of the files on my Ubuntu 16.04 box are read only. This was not
something I chose to do. Smartdisk says the disk is ok (short test). At
least in come fodlers I can not change permission on that one folder.

Any suggestions?



Grub error: "will not proceed with blocklists."


I'm afraid I have broken something. grub-install outputs this message:

desktop ~ % LANG=C grub-install /dev/sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists.

gdm3 not starting into gnome


I use Bodhi Linux 4.4.0, but they told me that they did not touch the
respective parts of the system. So I ask here if you know something
about the case:

I installed the gnome package that gave me a full load of software that
worked fine on the E17 desktop. I also switched from lightdm to gdm3,
which did fine for E17. But it did not offer me the gnome session.

I managed to make the gnome session the default, reading the ubuntu
tutorial about /usr/share/xsession and this /var/lib/accounts...
folders. However, after login, gdm3 just reappeared inbetween

Can't enable livepatch on 16.04.3

I am having trouble enabling canonical-livepatch service on my ubuntu

root@list:~# canonical-livepatch enable TOKENHERE 2018/01/04 12:02:19
Error executing enable?auth-token=TOKENHERE. Bad server status code:
400. URL: <a href="" title=""></a> {"error":
"Invalid payload", "details": {"Machine-Id": "Required"}}

What is the issue here? I can't find anything useful online regarding this

/ Jonathan

Sometimes can't access device on local network

I have an odd situation that occurs occasionally. I have a conventional
wired local network (192.168.1.nnn) with in addition some devices connected
via wifi. The main router ( is also the wifi hub.

Consider three of these machines. A, B and C.

Ubuntu Mate panel

I have a small question about Mate panel. On my panel there is an
inactive area where neither left nor right mouse clicking does
anything. The area is not blank, however, and contains the characters
↕,9,A each in a circle, thus:-

<a href="" title=""></a>

Can anyone tell me what the significance of these characters is? On
one occasion the 'A' and its circle turned red briefly. Presumably they
are indicators of something or other. I can't seem to delete them, so I
may as well find out what they mean :)

I'm using Ubuntu Mate 16.04.3 LTS

Disable touchpad (was: Re: switch off auto-selection of text (or what ever it is called ..))

I've started a new thread as this seemed to have nothing to do with
autoselection of text.

There is a settings option to turn your touchpad on and off. It seems
to be global. It does not affect a mouse, trackball or touchpoint, just
the touchpad. OR use the same method as given below for a touchpoint,
making the obvious substitutions.

To turn your mouse off, unplug it :-)

To turn off your trackpoint, use xinput list to locate the device, then
to list the properties of it, then to set the enabled property to off. 

switch off auto-selection of text (or what ever it is called ..)

Hi there and merry Christmas to you all,

i have a super annoying problem of which I do not even know how to name
it ..

Some times my ubuntu 7.10 (but it was the same with former versions) on
a dell xp15 starts to "autoselect" text.

So when I click some where and move the cursor the text gets selected.

Very annoying.

No idea what triggers this.

When that state is active, I have I have not found a way how to switch
it off other then to reboot the laptop.

can anybody of you give me a hint, ho to handle this?


and have a good time


extracting fonts from a .exe file

I am trying to automate my installation of Ubuntu and ran into a
problem extracting some ttf fonts from a .exe file.

When I used the file-roller command in a terminal window it worked
fine and extracted the fonts without starting a GUI. But when I
run it from a script with no X session active:

$ file-roller -e .

Broadband speed testing

Does anyone know of an alternative command line speed tester to

Recently speedtest-cli has been giving bizarre results and the
developer has been unresponsive, so I'm looking for an alternative.

I'm on a 200 Mbps tariff, but speedtest-cli has been reporting download
speeds of 1.58 Mbps, whereas an online tool by Which? reports 193 Mbps
and the Fingbox attached to my home network reports similar speeds.

video card for new computer

Hello all,

I am looking at buying a replacement for my 10-year old desktop

computer. In the past I have had machines with integrated Intel

graphics and never had any problems. The new machine I am thinking

of (HP Z440 workstation) seems to offer only a separate video

card, either Nvidia or AMD Firepro as options. I read there is
a choice (at least for some, all?) of the nvidia cards between
proprietary and OSS drivers but I'm not sure about the tradeoffs.
However, I have frequently seen posts with subjects like "after
the last kernel upgrade I have a black screen".


Quiero suspender la suscripción...por favor no envíen mas mensajes



On an Ubuntu 17.04 system I try to surf to <a href="" title=""></a>. In chrome I
get the message:

This site can’t be reached’s server DNS address could not be found.


Firefox has also the same issue.

gpodder and ubuntu

Having just moved over to Ubuntu (16.04 LTS) when I managed to work
round a problem with the installer, I'm having trouble getting gpodder
up and running again.

It worked just fine under Debian Stretch, but when I installed it
again (from the repositores), trying to run the program produced the
load of (quoted) output pasted below.

Can somebody please translate this into what I need to do to get
gpodder running again, please, because it's over my head...

Cannot run python3 scripts any more

After today's updates, I did an apt autormove which tried to uninstall
the package python3-dbus.mainloop.qt, which failed. Since then, I've
tried to purge this packae, uninsytall it, re-install it and I get the

$ sudo apt purge python3-dbus.mainloop.qt
Reading package lists... Done
Building dependency tree
Reading state information...

Re: How to coordinate the clock when dual-booting with Windows

NTP is probably assuming system clock is UTC and correcting based on your time zone settings. This way ntp can assume all clocks are UTC and not have figure out all the relevant time zone corrections.

Does this make sense for your time zone?

Remote users can set their time zone environment variables for their local time zone. Things work out nicely on Unix or Linux based systems.

I don't know If there is a right way to configure Windows so it knows the hardware clock is UTC and the user time zone is different.

power saving

So this is Kubuntu but still.

Installing "cpufrequtils" caused my power consumption to drop from 95W
to 85W and

Installing the nVidia drivers caused my power consumption to drop from
85W to 75W.

That's about 35 euro a year.

16.04: Screen-saver stopped working?


On my laptop with 16.04, screen saver won't lock the screen anymore.

According to system-settings, screen-saver should be activated after one
minute and should ask for the password. But there's simply nothing happening.

I even rebooted to make sure all servicess are started as it should be. But
this also did not help.

Any hints how to track this down?

rtc net update

Good Evening:

Now that we are on the topic of the RTC, is it possible to change the
update frequency.  I understand that a crystal controlled clock drifts a
few seconds per month.  I also heard (unofficial) that routers,
computers, tablets, phones, etc. do a net update daily.  Shouldn't a
monthly update be enough, except for those few cases that more often is
necessary?  Wouldn't this reduce the traffic on the net by, say, a lot? 
Wouldn't that be a good thing?  I have never seen a prompt to vary the
update frequency.


Treehugger (That includes all resources)

SOLVED (?): map view missing from digikam in Ubuntu 16.04

Greetings again.

I asked on the digikam list, and the [edited] answer was:

so I installed 5.7 appimage as described here:

<a href="" title=""></a>

and indeed map view works in that version.

How to coordinate the clock when dual-booting with Windows

I've installed Ubuntu into a Windows laptop. I missed the place where I
was supposed to tell the install that the clock will be kept in local time,
so switching between Linux and Windows is a pain.

Is there a way to fix this short of going back and doing it again?

Clonezilla question

Thank you for reading this.

The current thread dealing with restoring backups has rekindled my
interest in Clonezilla.

I would like to replace my laptop's SDD with a larger one. I had the
idea that I could simply clone the entire disk drive which includes a
Windows and Linux partitions.

map view missing from digikam in Ubuntu 16.04


I have digiKam 4.12.0 and the corresponding kipi plugins installed via
apt-get on an Ubuntu 16.04 x86_64 box. Everything works fine except, as
I only realized today, there is NO map view button in the left sidebar.
When I realized this, I also discovered that there is no
geolocation/geotagging entry anywhere in the menus.

Is anybody experiencing the same thing? Any idea of what may be
the reason, and how to fix it? I will also check on the digikam
mailing list, but I thought I'd check here first, because I
have a feeling that it may be a Ubuntu-specific issue.


How to recover with a full backup?


I'm making preparations for the case when I can no longer boot my machine, and I'm not able to recover with the GRUB recovery mode.

I have a full backup, which includes the system as well as personal data.

When I can't recover, I would install the system anew, from the Kubuntu installation ISO. Then I would unpack my backup, in some directory /backup. Now, how to get a running system again, from that? Could I just replace the top level directories with ones from the backup? Such as:

cd /
mv /bin bin.tmp
bin.tmp/mv backup/bin bin
rm -r bin.tmp

Now, how to make it bootable?

xxx.yyy.distupgrade files in /etc/apt/sources.list - what are these?

I have just used do-release-upgrade to upgrade my system to xubuntu

It looks as this upgrade has created some oddly named files in
/etc/apt/sources.list, these are:-

-rw-r--r-- 1 root root 78 Dec 3 16:12 owncloud.list.distUpgrade
-rw-r--r-- 1 root root 48 Dec 3 16:12 syncthing.list.distUpgrade

Can anyone tell me what these files are for?

Re: no space left on /boot

Another approach would be boot from one of the many forensic or data recovery distributions and increase the size of your boot partition at the expense of a little space in your root partition.

thanks for all the answers I got

On 06.12.2017 14:13, Volker Wysk wrote:

no space left on /boot

Hi there,

after many years of dutiful service one of my remote boxes stops to accept updates.

It complains that there is no space on /boot

But I can not delete any of the old kernels as the following dialogs show

how can I clean up things?


root@salome ~ # uname -r

root@salome ~ # apt-get purge vmlinuz-4.4.0-81
Reading package lists... Done
Building dependency tree
Reading state information...

mate panels

I've just done a fresh install of Ubuntu Mate 16.04.3 LTS

When I go to Additional Drivers and install either of the nVidia drivers
and then reboot (and incidentally the reboot button there doesn't
work, I had to reboot manually), the Mate panels have disappeared,
leaving just a desktop.

Any idea how to restore the mate panels?

I tried:
mate-panel --reset
as mentioned in some google answers, but that doesn't do anything

- Richard Kimber

How to allow easy editing of www-data owned files by a user

I've been trying to find a good solution to this problem for *years*
but I'm still hitting problems with it. The current problem is that
syncthing doesn't deal well with directories and files which have
different owners on different systems.

The essential problem is that web files which are manipulated by
apache need to be owned by www-data but I want to be able to edit
these files as well.

Determine if Ubuntu 17.10 (desktop) is using Wayland


If I recall correctly, Ubuntu 17.10 (desktop version), uses Wayland if the computer’s hardware supports it. Is there an easy way for me to determine on a running 17.10 machine if Wayland is being used or if the OS is falling back to X ?


- J

LVM: How to access a foreign volume group


I'm about to set up an LVM cache (for my encrypted root file system). This involves attaching a cache pool LV to the origin LV to be cached, as the last step:

lvconvert --type cache --cachepool kubuntu-vg/cachedatalv kubuntu-vg/root

I've got it working in a virtual machine, but I'm hesitant to apply the procedure to my production system. It would be bad, if I had to restore it from a backup, because I have installed and configured a lot of things.

So, in case something goes wrong, I want to be able to start a rescue system and undo the attaching of the cache pool LV to the origin LV.

Why Windows 10 is bad

If you care,

these are words from a Microsoft programmer:

The idea is that everything is serviceable over the internet now, so
they can just "fix it later", except they never do.

Re: Ctrl+Alt + arrow keys SOLVED

On Fri, Dec 1, 2017 at 7:20 AM, Gary J. Kirkpatrick < ... at gmail dot com>

Syndicate content