cron issue

I've set up a cron job to run logwatch at night.

Output from command /usr/sbin/logwatch --mailto=....


/var/cache/logwatch No such file or directory at /usr/sbin/logwatch
line 634.

and line 634 is:

opendir(TMPDIR, $Config{'tmpdir'}) or die "$Config{'tmpdir'} $!";

I don't understand what file is missing. I can confirm
that /var/cache/logwatch doesn't exist. Should I just arbitrarily make
one? Is it an install error? I've just installed the system, U18.04, up
to date.

Ideas welcome.


python script aborts on Ubuntu 16.04: No JSON object could be decoded


I am trying to run this Python script:

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

to import a collection of bookmarks in a test install, on the SAME
Ubuntu box,
of the the Shaarli bookmark manager
<a href="" title=""></a>

After installing the python-jwt and python-requests modules, the script
starts but fails with the error message below. The behavior does not
change at all if, instead of reading the data to import from a file, I
hardwire them into the script itself one by one, i.e.

Ubuntu Budgie 18.04 automated random key inputs from somewhere on laptop

I've been using ubuntu 18.04 ( budgie ) for my laptop for quite some time. Recently, wierd shit started happening, I would be browsing a website and scroll down and the the webpage would zoom out. Many other such instances happened until I realised that for some reason the Ctrl button input was being given at certain times. Not only that sometimes my mouse right clicks on its own and when I'm browsing something, it automatically goes down.

Monitor info keeps getting posted to syslog Ubuntu 18.04

Since my upgrade last week from 16.04 to 18.04 this keeps getting
written to my syslog. Any way to suppress this output or send it to
another log file.

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

"The system detected a problem, do you want to report it?" dialog

I'm getting this "The system detected a problem, do you want to report it?"
dialog. It does not say what the problem is. How do I find out what the
problem is? I am not interested in reporting it. I suspect it is something
stupid that I can fix, but I cannot figure out how to find out what is wrong.
This is with Ubuntu 14.04 LTS. I am used to CentOS and used to a less
pointy-clicky user interface, where one gets real error messages, not these
silly "idiot light" dianostics.

Menu System Tools/Software Updater not working after, Lubuntu upgrade from 16.04 to 18.04

Dear mailing list members, Colin,

When I run update-manager in the terminal there is no window popping up.

I had*Set Digest Mode *set to*On*.
Now I switched*Set Digest Mode *to*Off *so I will be able to see the individual messages again.

I only get below messages shown in LXTerminal.

cp-admin@cpadmin-PX707AA-ABH-SR1409NL-NL520:/usr/bin$ cd /usr/bin
cp-admin@cpadmin-PX707AA-ABH-SR1409NL-NL520:/usr/bin$ update-manager

(update-manager:4944): GLib-GIO-CRITICAL **: 11:46:57.955: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

how to enter path in 18.04 files dialog

Hi there, is it possible to make the files tool (is this natilus??) to
allow tho enter a path to a file instead of a breadcrumb style way to
stumble from folder to folder.



python3-numpy depending on *both* python 3.6 and 3.7


while investigating some DEP8 failures currently in cosmic's
migration, I came across this:
$ dpkg -s python3-numpy|grep Depends
Depends: python3 (<< 3.8), python3 (>= 3.6~), python3.6:any,
python3.7:any, python3:any (>= 3.3.2-2~), libblas3 |,
libc6 (>= 2.27), liblapack3 |

Is it ok/correct to depend on two python versions like that? Is the
point of it making sure numpy is available regardless which python 3
you are using?

Software Updater not working after Lubuntu upgrade from 16.04 to 18.04

Dear mailing list members,

August, 17th I did send an e-mail to <a href="mailto:ubuntu- ... at lists dot">ubuntu- ... at lists dot</a> about
an issue I have with Software Updater after Lubuntu upgrade from 16.04
to 18.04.

Smart questions and bikeshedding - Was: Install Brackets removes Boinc ???

On Thu, 23 Aug 2018 23:42:20 -0500, Wynona Stacy Lockwood wrote:
I had a point to post this link.

Install Brackets removes Boinc ???

In installed Brackets and when I did it uninstalled Boinc.
So I started to reinstall Boinc and it said it had to uninstall Brackets.

Ive never seen this before. Has anyone else seen this?


mysql setup issue

I installed mysql on my new system (18.04). Ive followed the
steps to install but at no point have I been able to access mysql
to set the password.

sftp - can't figure it out!

I am baffled.

On an sftp server that I am setting up, the following is true:

I have a group "sftp_users".

I have a user "fred" whose primary group is "sftp_users". fred's shell
is /sbin/nologin.fred's home directory is /upload (the user will be
chrooted, see below).

In /etc/sshd_config I have these lines:

Subsystem sftp internal-sftp
Match Group sftp_users
   ChrootDirectory /mnt/efs/sftp/%u
   ForceCommand internal-sftp

Also, password authentication is disabled.

I have a directory /mnt/efs/sftp/fred. In that directory are two
subdirectories .ssh and upload.

How to install new Ubuntu without a CD

I have an old laptop that I keep running because it helps me with some
voluteer work I do. I want to install Ubuntu on it, but the way I'm used
to involved burning a CD or DVD, and its media reader no longer functions.
Is there a way to do this? It already has a somewhat old Ubuntu partition,
and I could use it, but the update process to make it current would be
laborious. I'd much rather have a fresh install.

Relationship between Release and Proposed repos for Cosmic

If I understand correctly, [1] suggests that the Cosmic (18.10) repos
have gnucash version 2.6.19 in 'Release' but 3.2 in 'Proposed'. Does
this mean that the intention is that 3.2 will be the version when
Cosmic is released?


[1] <a href="" title=""></a>

(No Subject)

Like to ask how do I disable the creation of a swap file during or before installation? Using liveusb.

I am not asking how to disable, delete the swap, ... after installation.


Every few minutes rsyslog outputs - rsyslogd: action 'action 3' resumed (module 'builtin:omfile') [v8.32.0 try

This is on a Ubuntu 18.04.1LTS system that was upgraded last week from
16.04.5LTS. The version of rsyslog installed is:

apt-cache policy rsyslog
Installed: 8.32.0-1ubuntu4
Candidate: 8.32.0-1ubuntu4

The complete output is here:

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

I went to the links noted. The first one <a href="" title=""></a>
from what I can read tells me that whatever action is referenced it was
resumed. I assume in this case it refers to this "resumed (module
'builtin:omfile'" The 2nd link <a href="" title=""></a> seems to
give me a fix for this.

Apache 2.4 in Ubuntu 16.04 not parsing php 5.6 files


I have installed Apache 2.4 & php 5.6 on my Ubuntu 16.04 laptop.
I installed php & apache using apt-get command.
I copied sample php file in /var/www/html dir

My sample php code as follows =

Apache is working fine.
If I hit <a href="http://localhost/test.php" title="http://localhost/test.php">http://localhost/test.php</a> it just shows the code as above.
Apache fails to parse the sample file.

I did lot of R&D by Googling possible solutions & ensured php5.6
module is enabled.

Any help? Thanks.


Transition of LXD from deb to snap


As some of you may know, we've slowly been pushing LXD users to use the
snap rather than the deb, whenever their environment allows it.

Starting with Ubuntu 18.10, we will be replacing the deb package
traditionally shipped in Ubuntu by the LXD snap.

There are a few pieces to that migration so I'll go into details about
each of them:

== Dependency management ==
LXD currently has the following reverse dependencies:

- adapt (depends)
- nova-compute-lxd (depends)
- autopkgtest (suggests)
- snapcraft (suggests)

We'll make sure that each of those are capable of handling the LXD sn

term vs .desktop Corrected


Corrected sorry

I can run a Wine app from terminal with

wine D:\path_to_app\App.exe -O

if I add

Exec=wine D:\path_to_app\App.exe -O

to app.desktop it does nothing

I can use

Exec=wine D:\path_to_app\App.exe

i.e. no cmdline parameter, it then works but is of no real use without the "-O"

Any pointers please

Also Icon=path_to_icon\app.png

does not work either, I just get the standard Wine icon

term vs .desktop


I can run a Wine app from terminal with

D:\path_to_app\App.exe -O

if I add

Exec=D:\path_to_app\App.exe -O

to app.desktop it does nothing

I can use


i.e. no cmdline parameter, it then works but is of no real use without the "-O"

Any pointers please

Also Icon=path_to_icon\app.png

does not work either, I just get the standard Wine icon

Problem installing glom

I am running xubuntu v18.04.1 LTS.  When I try to install glom, using
apt install glom,

I get errors indicating that there are brokemn packages.  I attempted to
'fix broken packages' under synaptic, but it would not work, due to
broken packages.



SOLVED: Problems with LTS upgrade -- to see if this is common

I'm not certain, and I'm unwilling to spend the day or so it would take to
verify, but it seems my difficulties had nothing to do with the general
upgrade process, but with my handling of GRUB itself. I may have had up to
3 different versions of GRUB involved: some early version, the 16.04
version and the 18.04 version. I never did a grub-install when I was
having the problems.

The problems went away when I did a grub-insall in front of every
update-grub (there were three points at which I did this).

Inplace Upgrade with Symbios RAID Controller


I'm wondering if it is possible to upgrade in place from 16.04 LTS Server to 18.04 LTS Server.

As the server is somewhere in a rack i don't want to brick it by upgrading to Nirvana.

I would like to upgrade but I'm not sure if some software from outside the repo might be necessary.

lspci shows: 02:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2008 [Falcon] (rev 03)



Problems with LTS upgrade -- to see if this is common

I've got a small hoard of Ubuntu and Xubuntu machines in my garage doing
hobby stuff. One's a monster Xeon with 32 threads, 256GB RAM, RAID for all
but the boot partition and a fair amount of specialization. So I want to
be careful about the upgrade. Good thing I was, because it didn't go well.

So first thing I did was to boot a live DVD and copy the boot partition to
unallocated space on the same drive. There's plenty of room because the
real data is on the RAID volumes.

can't delete kernel

Hello all,

I tried to install a software package and was not allowed. It tried to
remove some old kernels and was unsuccessful and therefore would not
install the software. I tried the cli and synaptic with same results.
How can I again install software.

An observation (kernel 3.13.0-155 is broken WRT Java) and a Grub2 / Ubuntu question

OK, I just did updates at the local library, where the machines (except the
server's bare metal) run Ubuntu 14.04 LTS. The kernel update (3.13.0-155)
crashes (sort of) when you try to run a Java program (specificly the Arduino
IDE (1.8.5)).

My question is this: what is the "magic" to change the default kernel to boot?
With the grub2 configuration "magic" it is not a simple matter of changing one
line /boot/grub/grub.conf, but seems to require something far more arcane and
there does not seem to be a simple man page that explains this.

ubuntu-release-upgrader and postgresql

With the enabling of upgrades to Ubuntu 18.04 from Ubuntu 16.04 I've
been reminded of postgresql being in the blacklist of packages to
remove. I'm wondering if having this in the blacklist is still relevant.

Bug 1787349[1] is a recent report of the upgrade being blocked because
of postgresql being in the blacklist and bug 871893[2] contains the
historical information on why it was added.

Menu System Tools/Software Updater not working after Lubuntu upgrade from 16.04 to 18.04

Dear mailing list members,

Hopefully I can get support for below issue.

I recently upgraded from Lubuntu 16.04 to 18.04 and did not find any
issues on applications I previously used.
Unfortunately now Software Updater is not working.

Menu System Tools/Software Updater shows update information but does not
After clicking on Install Now the Updater screen will be shown only for
a few seconds.

I used LXTerminal to be able to show error message shown below.
Update error after trying to update using /usr/bin/update-manager

cp-admin@cpadmin-PX707AA-ABH-SR1409NL-NL520:/usr/bin$ cd /us

Trouble installing 18.04 server dual boot on laptop

Trying to duplicate the vm host server at work on my laptop. I’m having the following troubles:

The disk is partitioned using gpt partition tables and has a fresh install of windows 10 that created multiple partitions for windows use and left about 36gb or unused free space. I have since created 2 additional partitions in the remaining free space - an ext4 partition to be used as /, and a 16mb swap partition because the ubuntu installer insists that A swap partition exists but seems to care less about if it’s big enough to do a damn bit of good should it be needed.

HP printer not discovered

Thank you for reading this.

I normally use HP setup to discover my Ethernet connected printer,
however, my ISP has supplied me with a new modem and this is causing me
troubles and the printer is not discovered.

This is the displayed message:

This may be due to existing firewall settings blocking the required
ports. When you are in a trusted network environment, you may open the
ports for network services like mdns and slp in the firewall. For
detailed steps follow the link.

Network interface

Ifconfig tells me that I'm using eno1. That's also what gkrellm reports.

How do I take this interface down from the command line, given that it's
not listed in /etc/network/interfaces, and therefore ifdown will not
work (it actually reports " Unknown interface eno1")

I'm using Ubuntu 18.04.1 LTS

Anyone have issues with kernel 3.13.0-155-generic and java?

We have run into an issue this morning when upgrading some of our servers
to kernel 3.13.0-155-generic from 3.13.0-153-generic.

More is broken in latest update

Running Xubuntu:
4.10.0-32-generic #36~16.04.1-Ubuntu SMP Wed Aug 9 09:19:02 UTC 2017
x86_64 GNU/Linux

The /bin/more command appears to be broken beyond use:

$ more
more: unknown option -/bin/more

more [options] <file>...

A file perusal filter for CRT viewing.

-d display help instead of ringing bell
-f count logical rather than screen lines
-l suppress pause after form feed
-c do not scroll, display text and clean line ends

Requiring Launchpad 2FA from Ubuntu uploaders

Launchpad 2FA is currently opt-in for everyone. However, it has been
mandatory for Canonical employees for a number of years now. Details are
documented here:

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

TOTP and HOTP are supported, so this works with hardware authenticators
such as Yubikeys as well as smartphone apps like OTP Authenticator (from
F-Droid) and Google Authenticator (Play Store), etc.

We[1] think this is now easy enough and standard enough not to be a
burden, so we are inclined to implement this as a requirement for all
Ubuntu uploaders[2].

16.04.5 update to 18.04.1 upgrade information

For anyone waiting for the software updater to tell them a new release
is ready information can be found here:

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

Specifically selecting the link in red 'Ubuntu change log' gives the
reason for no notification yet.


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

Static web photo gallery generator wanted

I'm looking for a simple, efficient way to generate an HTML gallery
from a hierarchy of jpeg images.

I.e. I have a directory ~/pictures which contains quite a deep
hierarchy of sub-directories oranising my pictures organised as I
want them. It's quite big, something like 30 thousand images which
total something over 50Gb.

I want a way to generate a web gallery with much smaller iamage files
(e.g. maximum image size something like 1024x1024) in a hierarchy
with simple HTML (or whatever) to make it navigable with a web

Warning from upgrages

For some time now, my upgrades have contained a warning that I do not
understand. It appears at the very end of the install process:

W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast

Can somebody tell me what this means, and what I should investigate or
should do about it?

Upgrading over ssh and connection failure

I have several systems that I access via ssh. When I upgrade using apt
upgrade is there a danger of the upgrade seriously messing up if the
connection goes down in the middle of the operation, while upgrading the
kernel for example? When I say say seriously messing up I mean something
like ending up with a non-bootable system.


Snap tutorial crashed my repositories


I saw so much news from Ubuntu about snaps that I thought it was time I
learnt more.

So I found the tutorial on the website :

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

I am a retired Ubuntu end user so I tried just reading the steps first.
Then tried to install snapd. 41 packages were "no longer required" as
you will see from the clips of terminal messages below.
I don't know why apt could not connect to the network because I was
able to access other websites.

how to use wireless dongle

I have two Thinkpads: W10 and Ubuntu 18.04.
The W10 uses a Edimax EW-7811UTC AC wireless dongle.
I downloaded and installed the driver for this device on 18.04
but ... how do I select the hardware to use? It shows up as
connected but when I click on wireless - there is not a way to
switch to either the device or use a different frequency.

Bus 001 Device 004: ID 7392:a812 Edimax Technology Co., Ltd

perl script prints parts of strings in the wrong order


I am trying to reuse an old perl script I wrote years ago, on an Ubuntu
16.-04LTS x86_64 box.
It behaves in a very odd way now, and I cannot figure out if it is the
code that is not
compatible with current versions of Perl, or if there is something VERY
strange happening
between the script, and the terminal it runs in.

The part of the script that works badly is this:

while (<INPUTFILE>) {
my $LINE = $_;
many lines that "clean up" $LINE, removing certain substrings etc...

@F = split /:/, $LINE;
print "CURL:==> $F[0] ++ $CURLRES{$F[0]} ;;\n";


SNAPD out of date

On 5 Aug I upgraded Ubuntu 17.10 to 18.4. During the upgrade I got a popup
that said SNAPD was out of date, I replied to continue the upgrade.

I have no idea what SNAPD is or does.
Why was SNAPD not up to date as I apply all changes when I get notified there
are updates available?

After the upgrade I checked the SNAPD version.

robert@MARS:~$ apt list snapd
Listing... Done
snapd/bionic-updates,now 2.34.2+18.04 amd64 [installed]
N: There is 1 additional version. Please use the '-a' switch to see it
robert@MARS:~$ apt -a list snapd

Proper way to handle britney hints


I would like to know how to properly handle updates to the so called
"britney hints", which controls how DEP8 test failures are handled in
migrations. Particularly for the development release.

I uploaded <a href="" title=""></a>
on Jul 31st, and it has a known failure[1][2] on s390x, for which I
proposed this branch[2]. I also pinged in #ubuntu-release several
times after that.

It seems this communication got lost somehow.

Mplayer (and others too) occasionally pauses for no apparent reason

I run Xubuntu 16.04 and I like to play long, random selection music
play lists using mplayer.

Occasionally the sound just pauses for no apparent reason.

I have checked with top and htop, but there's nothing consuming a
significant piece of CPU time (i7, 8 cores, less than 1% on up to four
CPUs when this happens) or memory (less than 4GB out of 16GB in use).

I though t it might be Chrome, as I routinely have 4-8 tabs open, and
there are as many as 30 or more Chrome related entries showing in
htlop (I can't count them - too fast), but when exit Chrome, it still

I am running with my

stellarium problem

Using Ubuntu 16.04. Wanted to check out the location of close-by Mars
so installed stellarium via GUI but it won't run. All I get is an
instant flash of something on the screen. Htop does not see it running.
Locate gives me hundreds of stellarium-related files, so not sure what
to run via cli. This seems to be a snap install. Is there something
else needed to make it run correctly?

Not crucial - a phone app worked amazingly well, showing me what is in
the sky 'behind' the phone as I move the phone around in 3D space.

Thoughts about SSD - Was: [xubuntu-users] 18.04.1 Point Release Testing

On Sat, 2018-08-04 at 13:03 -0400, Art wrote:

sorry, I couldn't resist to cross-post.

Re: Entry 60 error, software updater failed; can't find file /etc/apt/sources.list

Hi again Colin,

Sorry, i didn't register that as a file. doh. i found the file in the computer file list under files and folders, apt & i think this is the right one, etc/apt/ so here's what i found.

deb <a href="" title=""></a> oneiric partner
deb-src <a href="" title=""></a> oneiric partner

Is that what you mean? Would the detail from be useful?

i'm at a loss & out of my depth.

Systemd journal getting very large on 18.04 - how to reduce?

I have an Ubuntu 18.04 system and I've just noticed that the
/var/log/journal directory is 4Gb, that's way too much.

How is it supposed to be limited.

Re problems with virtualbox

As installed the software from the repository does not let me create a
new virtualbox. The errors are the same as when opening an existing box.

How can I roll back to a version that works?


Peter Goggin

Virtual Box

I allow my linux machines to update weekly. I have virtual box installed
on all of them. After the updates yesterday the virtualbox failed with
these error:

*RTR3InitEx failed with rc=-1912 (rc=-1912)*

The VirtualBox kernel modules do not match this version of VirtualBox.
The installation of VirtualBox was apparently not successful. Executing

'modprobe vboxdrv'

may correct this.

Globally refreshing new group membership - would be needed after some package installations

In certain cases package installations will have to set up new groups,
mostly for access management.

Examples are:
- libvirt to access /var/run/libvirt/libvirt-sock
- lxd to access /var/lib/lxd/unix.socket
- ...

Trusty update broke libjansson


We use the jansson library for parsing and generating JSON, and
today's update for Trusty appears to have broken the functionality to
lookup keys in JSON objects. This has severely impacted our services,
and we are having to try to find an old version and roll back to it.

Specifically, if you call json_object_get(), it fails to find keys that
are in the JSON object and returns NULL. We are loading the object via
json_load_file() first.

If there is more info you need or something else we should do, please let
me know.

Problem w/ Software Updater, how to run Package Manager...Help

Hi all,

Software Updater won't run at all & i got the following error message in the drop-down below the warning icon, red circle with the horizontal white bar through it.

An error occurred, please run Package Manager from the right-click menu or apt-get in a terminal window to see what went wrong. The error message was: ‘Error: Opening the cache (E:Malformed entry 60 in list file /etc/apt/sources.list (Component), E:The list of sources could not be read.)’.

RFC: baseline requirements for Ubuntu rootfs: xattrs and fscaps

A recent customer bug report revealed that we have packages in the standard
Ubuntu system (mtr-tiny) which are making use of filesystem capabilities, to
reduce the need for suid binaries on the system:

$ getcap /usr/bin/mtr-packet
/usr/bin/mtr-packet = cap_net_raw+ep

The customer bug report arose because today, we are not handling all Ubuntu
images in an xattr-safe manner.

default image format

Currently the default image format, when the PrtScn button is pressed,
is PNG.

How can I change that to JPG?

sudo apt update errors

Running 'sudo apt update' I've been seeing these errors for the past
few days:

AppStream system cache was updated, but problems were found: Metadata
files have errors: /var/cache/app-info/xmls/fwupd.xml

Reading package lists...

Syndicate content