DevHeads.net

Postings by Bob

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
Listing...

gparted questions

I had installed Ubuntu on a laptop that had a 500gb disk drive. Finding the
hard drive too small for what I wanted to do I bought a 2tb drive and had it
installed in the laptop. Used dd to copy the 500gb (atached via a USB adapter)
disk to the new 2tb disk.

passwordgorilla not working on 18.04

I just upgraded Ubuntu to 18.04 and now passwordgorilla does not work. Doing a
search I find a problem that states TCL needs to be installed for 18.04.

bob@Saturn:~$ sudo apt install tcl
[sudo] password for bob:
Reading package lists... Done
Building dependency tree
Reading state information...

How to empty trash?

Being a fairly new user to Linux/Ubuntu I did a stupid thing and do not know
how to get out of it. I have a new laptop that I am trying to set up as a
replacement of an old laptop. I copied a my home directory from a desktop that
had an upgrade fail to the new laptop as backup before trying to recover the
desktop. I did not check the amount of space needed and the laptop did not
have enough space so the /home partition ran out of space. I thought no
problem I would just get rid of the data I just copied.

System not responsive doing an upgrate to 18.04

This morning the system poped up a update window. I did the update and then
got the message to upgrade to 18.04 which I allowed. Since it takes hours to
upgrade I went to do other things. When I returned to the computer the upgrade
was only about two thirds the way to completion and not responding to the
keyboard or mouse. When I started the upgrade the computer was on the LAN and
working, Now if this computer is plugged into the LAN none of the other
computers can access the network.

how to change home on the / partition to a /home partition

I messed up my / partition so I installed UBUNTU again. Being fairly new to
linux I had assumed it would use the existing /home partition when the install
was completed. That did not happen and now I want to change it. So what do I
need to do to change the use of /home on the / to use /home in another
patition?

Booting Ubuntu on a UEFI computer

I have purchased a new computer, it is my first UEFI coomputer so I am new to
this.

I downloaded Ubuntu 17.10.1 ISO to install on an ASUS model X541S. I disabled
secure-boot and fast-boot and enabled CSM. On the first try I did not allocate
the bios_gurb partition and could not install. On the second try I allocated
the bios_grub partition and the install completed.

Ubuntu will not boot.

I did some google searches and found that you need a few files in the /efi/boot
directory which I can not find anywhere. Does the bios_grub partition have
those files?

black screen after boot

I upgraded from 17.04 to 17.10 in a test partition on my laptop a Lenovo T60.
When the upgrade was done I rebooted. The system ran for a while with only a
black screen. Since nothing was happening I entered my password, nothing
happened, I pressed some keys, nothing happened, at this point I assumed the
upgrade had failed so I pressed the power button. Pressing the power button
caused the moon symbol on the laptop to light, this was a surprise so after the
disk activity light stopped blinking I pressed the power button again. This
caused the login screen to display.

out of space on /root

Using Ubuntu 16.10. The system ran out of space on /root. I found that
/var/log/syslog was 27gb in size. I deleted all the syslog.* files and got the
system sort of working and copied /var/log/syslog to my home directory (/home
is on a different partition than /root). I then deleted the syslog file and
rebooted. Now things are working OK. I would like to find out what caused
this problem but can not look at the syslog file as it is too large. Any ideas
on how to display this file?

Software update problem

Sometimes when the "software updater" runs I get an error message.

Package operation failed
The installation or removal of a software package failed

I think this is related to updating Samba but am not sure. Is there a log file
I can look at, if so where is it? Also is there any apt commands to identify
or fix the problem?

Problem upgrading from 15.10 to 16.04

Upgrading from 15.10 to 16.04 there was an error, if there was a message I did
not see it because I let the upgrade run overnight . The first boot after the
upgrade I got the message:

Sorry the application gacutil.exe has stopped unexpectedly

Searching it appears to be a windows program! Now at every boot I get a popup
to report a problem but no indication what the error is.

What commands do I need to do to try a get the package database checked and to
get whatever failed the first time redone?

How to delete a printer definition

On Ubuntu 15.10 I can not delete a printer definition. Using System Settings
-> Printers if I right click on a printer icon and click Delete sometimes the
printer icon will disappear for a second or two and then reappear but most of
the time the icon just flickers.

Searching for the problem I found one problem from several years ago that said
I needed to click the "unlock" button on the System Settings -> Printers window
which I can not find. Another one said I had to be a member of the lpadmin
group which I am.

Any ideas on how to permanently delete a printer difinition?

Simple Scan problem

I have two MFP devices, an HP ENVY_120_series and an
HP_Color_LaserJet_MFP_M277dw (just purchased) both connect to my LAN wireless.
I can scan documents using the 120 flatbed. When I try to scan using the M277 I
get an error trying to scan from the flatbed or document feeder in Simple Scan
that says:

Failed to scan
Unable to connect to scanner.

The description of scan bugs do not exactly fit what I am seeing but I will
assume it is a known problem. Any suggestions on other scan programs (I mainly
scan to PDF) that I could try?

How to configure BOINC to automatically start

I thought I had this working with the last version (15.04) of Ubuntu.

I had converted my BOINC upstart configuration files to systemd files. That
has worked since I updated from 14.10 to 15.04. Now I have updated to 15.10
and BOINC will not start. Does anyone have the names of the configuration
files and their loaction so I can get this working again?

network problem

OS/2 is my primary operating system. I am learning Linux/Ubuntu.

My laptop has OS/2 and two partitions of Ubuntu (unity). I also have a desktop
that has Ubuntu (unity) that is used as file and print server. All the Ubuntu
partitions have now been upgraded to 15.04 (the network (both local and remote)
with Ubuntu 14.10 worked without problems). The local LAN works without
problems in all partitions. On the laptop OS/2 and one Ubuntu partition the
remote network works without problems. The other laptop Ubuntu partition and
the desktop Ubuntu partition the remote network has problems.

systemd

I am sort of new to Linux and Ubuntu. I found a tutorial on upstart and
managed to get seti to start at boot. Now with systemd I need to start over
and learn a new program.

I searched for a systemd tutorial but could not find one. Anyone have a URL?
I have read the "Systemd for Upstart Users" but I need more information.

Does anyone have the susyemd files needed to start seti?

check disk integrity

What command do I use to check disk integrity?

Currently I have a FAT32 partition on an external disk that has a problem and
need to fix it. I would like to also know how to do this on the Linux file
systems.

Screen input locked out

I am running Ubuntu 14.10 using Unity.

I can not do any screen operations. The mouse cursor moves but the mouse
buttons do nothing. I have tried several keyboard keys without any noticeable
change. I know that at least two programs are running because I can see the
disk activity lights flash. Is there a way to reset the screen drivers without
turning off the power or pressing the reset button?

After I get the system where it will respond what log files will have some
information relating to my current problem?

Software Uptater problems

A few weeks ago I had internet connectivity problems. At that time (on my
disktop computer) Software Updater tried to run and ended because it could not
get all the then current updates. The last two times the Software Updater has
tried to run (when I click on the Software Updater icon) its window will not
display. The Software Updater works properly on my laptop.

When the system determines that there are updates available it puts an icon in
the launcher.

Blu-ray problem

I have just installed an LG Blu-ray player on my system (Ubuntu 14.4). Trying
to play a Blu-ray disc using the VLC media player I got the following error.

System rebooting

I am using Ubuntu v14.04. The computer is currently being used as a file and
print server.

The system is rebooting at random times for some reason. I looked in the
SYSLOG but do not see anything that indicates the reason. Is there some place
that would indicate what the reason for the reboot is?

In the SYSLOG I see a long string of ^@ characters at the time of the reboot.
What do these characters mean?

get error running update-grub

I updated /etc/defaults/grub to add "GRUB_RECORDFAIL_TIMEOUT=10" so that a
beboot after a failure will not stop waiting for someone to press a key.

DRIVER-NOT-CONNECTED

I have a UPS and have installed the NUT Monitor. I have just noticed that it
has not been running for a while. At startup the NUT window closed before I
could see any error messages so I started it from the command line. I assume
the reason it stopped running is that a driver has not been installed after an
Ubuntu update.

How do I find the location of a file that starts a program at boot time?

Linux newbe. I installed the NUT monitor from the Ubunut Software Center. The
Ubuntu Software Center lists version 2.6.4-2.3ubuntu2 but when I look at the
NUT Monitor ABOUT the program has version 1.3!

I am replacing an old computer running OS/2 as a file and print server for my
home LAN
with a new computer running Ubuntu. I moved the UPS serial connection from the
old computer to the new one but am having problems getting UPS logging to work.
When I boot the computer UPSLOG starts but is not finding the UPS so the log is
full of useless data.

I need a good backup program.

I am looking for a good backup program. I would like to be able to restore an
entire partition or all partitions if the there is a disk failure and sometimes
to be able restore a single file. The backup program that comes with Ubuntu
appears to be for restoring single files only although you could reinstall and
then restore over the new system to get back to where you were. Does anyone
have a suggestion.

Security question

I am fairly new to Linux so I have been reading "A Practical Guide to Linux
Commands, Editors and Shell Programming", In the book they say that it is a
security issue to place the working directory and/or the home directory at the
front of the PATH. Is this true? If it is why does Ubuntu put the home
directory first in the PATH?

Partitioning problem

I had another OS installed on the disk before I installed Ubuntu using the
12.10 live CD. There was a small primary partition, the rest of the disk was
an extended partition. There were two partitions at the front of the extended
space so I installed Ubuntu at the end of the extended space. It seemed that
everything was normal until I tried to change the swap partition size. When I
started gparted it listed all of the disk as free space.

where to search bug reports

I have looked on the Ubuntu web site and can see where to subscribe to mailing
lists for bug reports but what I want to do is search if a bug has been
reported to see if there is a fix or work around. So what is the URL where I
can do a search of Ubuntu bug reports?

move and resize partitions

When I first installed Ubuntu I did not choose the best partition sizes. Now I
need to resize them which will require at least moving one partition. There is
another system installed and dual booted.

I first tried to backup the current partitions. I got a message "Temp space
has 11960320 available, backup needs approx 68157440." The temp space seems to
be what is free on /home. I could not find a way to change where backup
acquires its temp space.

I installed gparted and the "resize/move" menu option is not active.

Printing problems after upgrading to 13.10

After the upgrade to 13.10, from 13.04, printing quit working. Printing (CUPS)
would not work on the desktop, laptop, or my iphone. I had to delete all
printers on both the desktop with the attached USB printer and my laptop and
then add the printer back on both computers to get printing working again. Now
the only printing problem left (I hope) is I can no longer do 2-sided printing
(desktop, laptop, or iphone). I have checked to make sure that all of the
printer definitions have 2-sided printing enabled. Any ideas on what to check
next?