move data from old to new cacti server (upgrade) https://askubuntu.com/questions/1563088/move-data-from-old-to-new-cacti-server-upgrade

i am using cacti server Version 0.8.8a with SQL base (not mariadb). Now i installed new cacti version with "marijadb". Is it possible to move all data to new version which are configured at old version 0.8.8a ?
I'm not sure what data needs to be transferred. I think it's the sql database and rrd files?

How can I increase the actual KDE Plasma display size? https://askubuntu.com/questions/1563087/how-can-i-increase-the-actual-kde-plasma-display-size

I have Ubuntu Questing on a server I connect to with xrdp. When I switch to KDE Plasma from XFCE4, the size of the display is smaller than normal, and doesn't fit the whole screen. I tried scaling, but that is like a zoom. How can I configure KDE-Plasma to use the whole size of the display?

How to add multiple locations in Typhoon weather app? https://askubuntu.com/questions/1563084/how-to-add-multiple-locations-in-typhoon-weather-app

I want to add multiple locations in Typhoon weather app. A recent version of the app featured support for multiple locations.

How to enable multiple locations in Typhoon?

Ubuntu 25.10 Only Detects One of Two External Monitors via KVM Switch (DVI) https://askubuntu.com/questions/1563083/ubuntu-25-10-only-detects-one-of-two-external-monitors-via-kvm-switch-dvi

I am using a laptop (dell) connected to a docking station (no USB-C ports available) with two external monitors connected through a KVM switch using DVI cables. Both monitors are identical in model and brand (HP). However, Ubuntu 25.10 only detects one of the two monitors. Previously (24.10), Ubuntu was able to recognize both screens without issues.
Window is not presant on the laptop.
However, when I connect the same monitors to a desktop running Ubuntu 25.10 (using the terminal), both monitors work fine.

Additionally, from time to time, the laptop screen or the external monitors display a cloud of black and white dots (static noise).

What steps can I take to troubleshoot and restore detection of the second monitor? Are there specific configurations, driver updates, or commands I should try?

The hardware is old. There is no

echo $XDG_SESSION_TYPE

wayland

lspci -vnn | grep -A 12 '\''[030[02]\]' | grep -Ei "vga|3d|display|kernel"
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
    Kernel driver in use: i915
    Kernel modules: i915
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK106GLM [Quadro K2100M] [10de:11fc] (rev a1) (prog-if 00 [VGA controller])
    Kernel driver in use: nouveau
    Kernel modules: nvidiafb, nouveau
xrandr
Screen 0: minimum 16 x 16, current 1920 x 1200, maximum 32767 x 32767
HDMI-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 520mm x 320mm
   1920x1200     59.88*+
   1600x1200     59.87  
   1440x1080     59.87  
   1400x1050     59.86  
   1280x1024     59.76  
   1280x960      59.94  
   1152x864      59.78  
   1024x768      59.68  
   800x600       59.86  
   640x480       59.38  
   320x240       59.29  
   1680x1050     59.85  
   1440x900      59.89  
   1280x800      59.81  
   1152x720      59.75  
   960x600       59.63  
   928x580       59.88  
   800x500       59.50  
   768x480       59.38  
   720x480       59.71  
   640x400       59.20  
   320x200       58.14  
   1920x1080     59.88  
   1600x900      59.82  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.45  
   720x400       59.27  
   640x350       59.28  
Microphone is not working on HP 15 laptop with Ubuntu 24.04 https://askubuntu.com/questions/1563081/microphone-is-not-working-on-hp-15-laptop-with-ubuntu-24-04

I have updated the OS of this laptop to Ubuntu 24.04. Initially none of the drivers for WiFi and Bluetooth were detected, so I rectified these issues, but now the microphone is not working on this system. I have tried all of the potential fixes provided by ChatGPT and Claude, but none of them worked.

Some USB drives are not mounting https://askubuntu.com/questions/1563079/some-usb-drives-are-not-mounting

My microSD card will not mount in the built-in SD card reader or in a USB adapter. It worked fine earlier in the adapter, then I ate dinner, came back, and now it plays the noise when I plug it in, but it doesn't show up in Files. It does show up in Disks, but it will not let me mount it. There's no play button, and all of the options are grayed out in the dropdown menu.

Another USB drive is working fine.

HP 17t-by400 laptop Intel Iris video - bad color on laptop display https://askubuntu.com/questions/1563078/hp-17t-by400-laptop-intel-iris-video-bad-color-on-laptop-display

I have a fresh install of Ubuntu 22.04.5. All updates are applied. The updates did fix the initial no WiFi issue. All the other hardware seems to work. External HDMI has not been not tested.

Changing color profiles has no effect. That includes the test: Swap red and green profile.

Switching between Wayland and X11 has no effect.

Doing a list of available drivers gives no results, but it does appear to be a driver issue. Current driver Tigerlake-LP GT2 [Iris Xe Graphics] (Rev 01) -- modules: i915, xe. Is there a driver configuration file?

This appears to be an old problem, but none of the found fixes have had any results.

Installation failed due to Python gobject/dbus not being allowed https://askubuntu.com/questions/1563071/installation-failed-due-to-python-gobject-dbus-not-being-allowed

I've been trying to install a plugin for my HP LaserJet M140we to get the scanner to work on my Cinnamon, but I have run into the issue of Python gobject/dbus is not being allowed to be installed without any further prompting. I am uncertain how to proceed as I would love to be able to scan documents (drawings, pamphlets, handouts, recipes, etc.) into my computer.

Is there currently a workaround? I don't have a custom Python to my knowledge, as I had requested a store to install Cinnamon for me. (I had somehow trashed two prior thumb drives and wasn't going to waste another $10 to do so again.)

Ubuntu 24.04.3 LTS is the current OS running on the system.

PRETTY_NAME="Ubuntu 24.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.3 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

It seems to be the script I got when looking up my OS fully. The system only gives the "pretty name" it seems.

Launching the HP device manager for Ubuntu after its installation works perfectly and the printer works. It seems to add functionality to my printer and requires it to install a plugin specifically for it.

I do all the steps required to install the plugin (Click Scan, Next when prompted for plugin installation, choosing either the downloaded plugin or searching from the internet). When it asks for the Admin password, it fails citing that reason stated in the title, but only in the terminal. It's also the recommended path, and I'm not sure what is wrong or not working.

Boot issue on um 880 stuck in grub, and root is in lvm file. It says no recovery nomodset dis_ucode_ldr. I have recovery grub page looking for help https://askubuntu.com/questions/1563066/boot-issue-on-um-880-stuck-in-grub-and-root-is-in-lvm-file-it-says-no-recovery

I just got a bare bone pc(um880) that I installed linux on. I did not back it up,and it got corrupted! My root is stuck in lvm/vgmint-root, I think thd rest of files are on hd0, gpt2. The linux line says

no recovery nomodeset dis_ucode_ldr
Critical LVM volume degraded due to missing physical disk on Ubuntu Server 22.04 https://askubuntu.com/questions/1562941/critical-lvm-volume-degraded-due-to-missing-physical-disk-on-ubuntu-server-22-04

We are facing a critical storage issue on an Ubuntu Server running on bare metal hardware, and we need guidance on safe recovery steps.

System details:

  • Deployment type: Bare metal (physical server)
  • OS: Ubuntu Server
  • Storage: LVM (non-RAID, single LV spanning multiple PVs)
  • Environment criticality: Production / critical data
  • One physical disk has failed and is no longer detected by the kernel (/dev/sdc not visible in lsblk, /proc/partitions, or sysfs). As a result, the LVM Volume Group is in a degraded state with one missing Physical Volume.
  • Despite the missing PV, the Logical Volume is still active and the filesystem remains mounted and readable due to cached LVM metadata.

Current LVM state (summary):

  • VG: vg_data
  • Total PVs: 2 (1 present, 1 missing)
  • Missing PV shows as [unknown] with attributes a-m
  • LV size: ~29 TB (spans both disks)
  • Filesystem usage: ~92% mounted at /backup_data
  • LVM warnings indicate a missing PV UUID.

Observed behavior:

  • Filesystem is readable but unstable.
  • Any reboot, remount, or write operation risks permanent data loss.
  • No RAID or mirroring is configured.
  • The missing disk previously showed SATA I/O errors and was disabled by the kernel.

Actions already taken:

  • Writes have been stopped.

  • Filesystem has been remounted read-only.

  • Critical data is being copied off the system.

  • No destructive LVM commands (vgreduce, pvremove, fsck) have been executed.

We would like confirmation and guidance on:

  • Whether Ubuntu provides any safe, supported method to stabilize or recover an LVM VG when a PV is permanently missing (without RAID/mirroring)

  • Best practice steps to avoid further data corruption while the LV remains active

  • Confirmation that data recovery is limited to copying readable data off the mounted filesystem before shutdown.

Please note this is a high impact production issue, and data integrity is the top priority.


The HDD is Internal. We still have not removed disk.

[Fri Jan 16 16:12:31 2026] EXT4-fs error (device dm-0) in ext4_reserve_inode_write:5768: IO failure
[Fri Jan 16 16:12:31 2026] EXT4-fs error (device dm-0): ext4_dirty_inode:5972: inode #302056786: comm rsync: mark_inode_dirty error
[Fri Jan 16 16:12:31 2026] EXT4-fs error (device dm-0) in ext4_dirty_inode:5973: IO failure 

Above error is showing in dmesg. It happens automatically. We didn't perform any activity on it nor try to remount.


Disk is not showing in lsblk. How can I find it in OS, and how to run fsck?

Wayland issue with [Super]+é shortcut https://askubuntu.com/questions/1562801/wayland-issue-with-super%c3%a9-shortcut

Using azerty, this should change the app to the second one in the dock, however with Wayland this types "é" in the opened window. Other [Super]+[num] shortcuts work well. For example [Super]+& opens the first app. The shortcut works well using Xorg. It seems to be a known issue, but I found no easy solution.

EDIT: additional information:

  • Using Gnome
  • gsettings get org.gnome.shell.keybindings switch-to-application-2 returns: ['<Super>2']
How to change GNOME Clock alarm sound (file)? https://askubuntu.com/questions/1536620/how-to-change-gnome-clock-alarm-sound-file

Till Ubuntu 22.04 I could just replace the /usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.ogg with a new sound file (with the same name) and it worked.
But in Ubuntu 24.04 it does not work. The same beeping sound reappears although I even deleted the file (/usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga – oga instead of ogg in the past).
Is there a new place and folder?
(I searched the internet and dconf-editor but could not find any hint for a new location or solution.)

Ubuntu 24.04 Desktop Experiencing constant mouse and keyboard freezes https://askubuntu.com/questions/1511827/ubuntu-24-04-desktop-experiencing-constant-mouse-and-keyboard-freezes

On a fresh install of Ubuntu 24.04 Desktop on an old Dell Precision T3600, I'm experiencing constant mouse and keyboard freezes that require a reboot to recover. I've also tried to install 24.04 on a virtual machine on an XCP-ng 8.2.1 host but cannot even complete the install process without having to reboot the VM and rebuild it.

I've never had this kind of problems with an Ubuntu long term release going back to the original one in June 2006 or any previous release going back to the original one in 2004.

Has anyone else had the mouse / keyboard freeze problem and, if so, were you able to resolve the issue and how? As it is ... this new long term release is completely unusable.

Monitor stopped working (after changing rotation). `EDID has corrupt header`. How do I fix? (And how can I even get a file with a *non*-corrupt EDID?) https://askubuntu.com/questions/1483453/monitor-stopped-working-after-changing-rotation-edid-has-corrupt-header-ho

So my monitor stopped working,
when I was messing around with the the rotation
(ie xrander -o [ normal, left, right, inverted ] stuff).

(
The monitor input is DVI (DVI-D Dual Link),
and the laptop's output port is HDMI,
so they're connected with an adapter.
)

All (I think) of the relevant dmesg output:

 [Tue Aug 22 03:18:45 2023] [drm:radeon_dvi_detect [radeon]] *ERROR* HDMI-A-1: probed a monitor but no|invalid EDID  
 [Tue Aug 22 03:18:45 2023] [drm:radeon_dvi_detect [radeon]] *ERROR* HDMI-A-1: probed a monitor but no|invalid EDID  
 [Tue Aug 22 03:18:45 2023] EDID has corrupt header  
 [Tue Aug 22 03:18:45 2023]      [00] BAD  ff ff ff ff ff ff 00 7f 2f 3d 07 47 4e 5f 7b 3f  
 [Tue Aug 22 03:18:45 2023]      [00] BAD  17 01 03 ff 3f 1f 7f 3f ff 1f bf 7f 4f 9b 27 13  
 [Tue Aug 22 03:18:45 2023]      [00] BAD  70 7c bf ee ff 71 4f 81 00 97 00 ff 0f 9d 0f 01  
 [Tue Aug 22 03:18:45 2023]      [00] BAD  01 01 01 01 01 30 2a 40 c8 60 84 67 30 18 5f 13  
 [Tue Aug 22 03:18:45 2023]      [00] BAD  00 bb f9 10 00 00 1e 00 00 00 fd 00 38 4f 1e 71  
 [Tue Aug 22 03:18:45 2023]      [00] BAD  0f 00 0e 3f 20 20 3f 20 3f 00 00 00 fc 00 7f 7f  
 [Tue Aug 22 03:18:45 2023]      [00] BAD  7f 33 3f 3f 3f 0e 3f 3f 3f 3f 20 00 00 00 ff 00  
 [Tue Aug 22 03:18:45 2023]      [00] BAD  4f 77 4f 42 3f 3f 30 32 30 3f 0e 20 3f 01 b7 02  
 [Tue Aug 22 03:18:46 2023] EDID block 0 (tag 0x00) checksum is invalid, remainder is 190  
 [Tue Aug 22 03:18:46 2023] [drm:radeon_dvi_detect [radeon]] *ERROR* HDMI-A-1: probed a monitor but no|invalid EDID  
 [Tue Aug 22 03:18:46 2023] EDID has corrupt header  

I did test it with a live-USB distro where the monitor was working before
(to make sure it wasn't just some messed up configuration in my kde plasma desktop environment or whatever),
but it doesn't work there either.

And after googling a bit,
it seems that apparently this is an actual known problem?
Like, the actual data in the EEPROM memory chip in a monitor itself can get corrupted while plugging the monitor in and out and stuff?
(Well, I'm personally pretty surprised and confused to learn that.)


But apparently that data,
the monitor just gives it to the computer,
so that the computer knows what different settings the monitor can do (in terms of resolution/refresh-rate/etc),
and then the computer uses it to decide what signal it sends to the monitor and how

-- but I'm not sure whether the monitor plays any further active role at that point,
or just "passively" displays whatever signal it receives from the computer...?
(
ie, I'm not sure
(assuming I can get a file with a non-corrupt EDID for the monitor)
whether:

  • (1) I would need to actually write that data back onto the chip in the monitor somehow(?)

  • (2) or if I could just tell the operating system like:
    "I know the EDID data you're getting from the monitor is wrong, so use this file instead"

... ?
)


Also, I don't know how I can get a file with a non-corrupt EDID for the monitor?
Like, it's a "Samsung SyncMaster B2030",
and I was able to google up copies of EDID files for other monitors,
but not for this specific model...?

(I did find a .exe file for the Windows drivers (I think), so could I maybe extract the data from that somehow??)

Why isn't quiet boot quiet? (Ubuntu 22.10) https://askubuntu.com/questions/1446765/why-isnt-quiet-boot-quiet-ubuntu-22-10

it is a minor "problem" but I don't understand why I don't have quiet boot on despite having the option GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" in the /etc/default/grub file (which was by default. I haven't edited anything).

To be more clear this is what I see.

that's what I see

Isn't that what should happen without the quiet option?

The output of cat /proc/cmdline is this:

BOOT_IMAGE=/boot/vmlinuz-6.0.9-060009-generic  
root=UUID=1e0be401-da74-4b41-91ad-bfa72d115837 ro console=tty12 quiet splash vt.handoff=7
Extremely slow bootup in Ubuntu 20.04 https://askubuntu.com/questions/1352493/extremely-slow-bootup-in-ubuntu-20-04

I have been experiencing extremely slow bootup on Ubuntu 20.04. I have Lenovo Thinkpad X201. The boot does not take that long for another Ubuntu 18.04 that I have installed on another partition.

Running dmesg in terminal and reading the output shows following lines that are probably related to delaying of boot :

[   39.616283] audit: type=1400 audit(1626546618.403:82): apparmor="DENIED" operation="open" profile="/{,usr/}sbin/dhclient" name="/proc/775/task/848/comm" pid=775 comm="dhclient" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
[   39.616480] audit: type=1400 audit(1626546618.403:83): apparmor="DENIED" operation="open" profile="/{,usr/}sbin/dhclient" name="/proc/775/task/849/comm" pid=775 comm="dhclient" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
[   39.616563] audit: type=1400 audit(1626546618.403:84): apparmor="DENIED" operation="open" profile="/{,usr/}sbin/dhclient" name="/proc/775/task/850/comm" pid=775 comm="dhclient" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
[   62.154604] audit: type=1400 audit(1626546640.939:85): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=971 comm="cups-browsed" capability=23  capname="sys_nice"
[  370.614154] aufs 5.4.3-20200302
[  370.614638] aufs aufs_fill_super:918:mount[1790]: no arg
[  370.744875] overlayfs: missing 'lowerdir'
[  388.973010] audit: type=1400 audit(1626546967.759:86): apparmor="DENIED" operation="ptrace" profile="snap.docker.dockerd" pid=1905 comm="ps" requested_mask="read" denied_mask="read" peer="/{,usr/}sbin/dhclient"
[  405.113288] Initializing XFRM netlink socket
[  483.800276] rfkill: input handler disabled
[  502.044283] audit: type=1400 audit(1626547080.831:91): apparmor="DENIED" operation="mknod" profile="/usr/share/hplip/systray.py" name="/var/crash/_usr_share_hplip_systray.py.1000.crash" pid=2732 comm="hp-systray" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[  626.132953] perf: interrupt took too long (2512 > 2500), lowering kernel.perf_event_max_sample_rate to 79500
[  951.554434] perf: interrupt took too long (3142 > 3140), lowering kernel.perf_event_max_sample_rate to 63500
[ 1251.050145] perf: interrupt took too long (3930 > 3927), lowering kernel.perf_event_max_sample_rate to 50750

What could be the reason for bootup taking that long and how to rectify it ?


Some more information :

Output of cat /etc/fstab :

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=7dd9bc28-9780-4a60-9f94-87c3471f2089 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

Output of sudo blkid :

/dev/sda1: UUID="7dd9bc28-9780-4a60-9f94-87c3471f2089" TYPE="ext4" PARTUUID="d19045a2-01"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda2: UUID="a566bb53-bff0-452b-9eb8-5ae08eb31dd0" TYPE="ext4" PARTUUID="d19045a2-02"
/dev/sda5: UUID="17b4a94c-68db-418f-83be-4453f380a4d6" TYPE="ext4" PARTUUID="d19045a2-05"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/loop18: TYPE="squashfs"
/dev/loop19: TYPE="squashfs"
/dev/loop20: TYPE="squashfs"
/dev/loop21: TYPE="squashfs"
/dev/loop22: TYPE="squashfs"
/dev/loop23: TYPE="squashfs"
/dev/loop24: TYPE="squashfs"
/dev/loop25: TYPE="squashfs"
/dev/loop26: TYPE="squashfs"
/dev/loop27: TYPE="squashfs"
/dev/loop28: TYPE="squashfs"
/dev/loop29: TYPE="squashfs"
/dev/loop30: TYPE="squashfs"
/dev/loop31: TYPE="squashfs"

Output of systemd-analyze blame :

1min 15.451s apt-daily-upgrade.service                          
     43.216s ifupdown-pre.service                               
     41.231s dev-sda1.device                                    
     30.067s snapd.service                                      
     28.683s networkd-dispatcher.service                        
     27.266s dev-loop28.device                                  
     25.981s udisks2.service                                    
     25.328s dev-loop31.device                                  
     24.464s dev-loop12.device                                  
     24.307s dev-loop27.device                                  
     24.008s accounts-daemon.service                            
     23.806s dev-loop26.device                                  
     23.798s dev-loop23.device                                  
     23.590s dev-loop30.device                                  
     23.359s dev-loop29.device                                  
     23.130s dev-loop25.device                                  
     23.093s dev-loop13.device                                  
     22.859s networking.service                                 
     20.989s dev-loop22.device                                  
     20.909s dev-loop17.device                                  
     20.907s dev-loop24.device                                  
     20.905s dev-loop14.device                                  
     20.905s dev-loop11.device                                  
     19.782s dev-loop8.device                                   
     19.482s openvpnas.service                                  
     18.305s dev-loop9.device                                   
     18.304s dev-loop5.device                                   
     18.303s dev-loop6.device                                   
     18.301s dev-loop7.device                                   
     18.300s dev-loop16.device                                  
     18.297s dev-loop15.device                                  
     18.293s dev-loop19.device                                  
     16.610s dev-loop4.device                                   
     16.610s dev-loop2.device                                   
     16.609s dev-loop0.device                                   
     16.609s dev-loop1.device                                   
     16.607s dev-loop3.device                                   
     16.606s dev-loop10.device                                  
     16.603s dev-loop18.device                                  
     16.598s dev-loop20.device                                  
     16.597s dev-loop21.device                                  
     15.768s avahi-daemon.service                               
     15.294s NetworkManager.service                             
     15.178s polkit.service                                     
     14.492s switcheroo-control.service                         
     14.484s thermald.service                                   
     14.430s systemd-logind.service                             
     14.417s wpa_supplicant.service                             
     13.653s winbind.service                                    
     12.544s systemd-journal-flush.service                      
     11.046s grub-common.service                                
      9.978s apport.service                                     
      8.960s gpu-manager.service                                
      8.902s apache2.service                                    
      8.655s systemd-udevd.service                              
      8.618s NetworkManager-wait-online.service                 
      7.669s ModemManager.service                               
      6.905s rsyslog.service                                    
      6.046s teamviewerd.service                                
      4.932s apparmor.service                                   
      4.088s e2scrub_reap.service                               
      3.825s colord.service                                     
      3.223s lm-sensors.service                                 
      3.081s snapd.apparmor.service                             
      2.566s grub-initrd-fallback.service                       
      2.531s lightdm.service                                    
      2.525s plymouth-quit-wait.service                         
      2.514s systemd-sysctl.service                             
      2.484s systemd-tmpfiles-setup.service                     
      2.378s ssh.service                                        
      2.191s dns-clean.service                                  
      1.946s snap-audacity-756.mount                            
      1.884s snap-audacity-857.mount                            
      1.847s systemd-modules-load.service                       
      1.818s snap-chromium-1637.mount                           
      1.811s snap-chromium-1646.mount                           
      1.809s fwupd.service                                      
      1.753s snap-core-11187.mount                              
      1.728s snap-core-11316.mount                              
      1.615s keyboard-setup.service                             
      1.569s snapd.seeded.service                               
      1.539s snap-core18-2066.mount                             
      1.539s upower.service                                     
      1.522s snap-core18-2074.mount                             
      1.487s systemd-random-seed.service                        
      1.467s snap-core20-1026.mount                             
      1.393s snap-docker-471.mount                              
      1.325s snap-docker-796.mount                              
      1.219s snap-gnome\x2d3\x2d26\x2d1604-102.mount            
      1.198s snap-gnome\x2d3\x2d26\x2d1604-104.mount            
      1.143s snap-gnome\x2d3\x2d28\x2d1804-145.mount            
      1.133s systemd-timesyncd.service                          
      1.128s snap-gnome\x2d3\x2d28\x2d1804-161.mount            
      1.070s snap-gnome\x2d3\x2d34\x2d1804-66.mount             
      1.028s systemd-sysusers.service                           
      1.005s snap-gnome\x2d3\x2d34\x2d1804-72.mount             
       889ms snap-gnome\x2d3\x2d38\x2d2004-39.mount             
       861ms systemd-tmpfiles-setup-dev.service                 
       763ms snap-gnome\x2dsystem\x2dmonitor-160.mount          
       734ms snap-gnome\x2dsystem\x2dmonitor-163.mount          
       649ms snap-gtk2\x2dcommon\x2dthemes-13.mount             
       642ms modprobe@drm.service                               
       610ms snap-gtk2\x2dcommon\x2dthemes-9.mount              
       564ms snap-gtk\x2dcommon\x2dthemes-1514.mount            
       553ms phpsessionclean.service                            
       542ms snap-gtk\x2dcommon\x2dthemes-1515.mount            
       541ms systemd-udev-trigger.service                       
       494ms snap-handbrake\x2djz-142.mount                     
       438ms swapfile.swap                                      
       437ms systemd-backlight@backlight:acpi_video0.service    
       431ms snap-inkscape-9078.mount                           
       412ms console-setup.service                              
       404ms snap-inkscape-9090.mount                           
       386ms systemd-remount-fs.service                         
       320ms kerneloops.service                                 
       319ms systemd-update-utmp.service                        
       314ms systemd-journald.service                           
       283ms user@1000.service                                  
       266ms ufw.service                                        
       263ms systemd-backlight@backlight:intel_backlight.service
       251ms setvtrgb.service                                   
       249ms snap-losslesscut-66.mount                          
       241ms snap-losslesscut-72.mount                          
       233ms plymouth-read-write.service                        
       225ms snap-snap\x2dstore-547.mount                       
1min 15.451s apt-daily-upgrade.service                          
1min 15.451s apt-daily-upgrade.service                          
     43.216s ifupdown-pre.service                               
     41.231s dev-sda1.device                                    
     30.067s snapd.service                                      
     28.683s networkd-dispatcher.service                        
     27.266s dev-loop28.device                                  
     25.981s udisks2.service                                    
     25.328s dev-loop31.device                                  
     24.464s dev-loop12.device                                  
     24.307s dev-loop27.device                                  
     24.008s accounts-daemon.service                            
     23.806s dev-loop26.device                                  
     23.798s dev-loop23.device                                  
     23.590s dev-loop30.device                                  
     23.359s dev-loop29.device                                  
     23.130s dev-loop25.device                                  
     23.093s dev-loop13.device                                  
     22.859s networking.service                                 
     20.989s dev-loop22.device                                  
     20.909s dev-loop17.device                                  
1min 15.451s apt-daily-upgrade.service                          
     43.216s ifupdown-pre.service                               
     41.231s dev-sda1.device                                    
     30.067s snapd.service                                      
     28.683s networkd-dispatcher.service                        
     27.266s dev-loop28.device                                  
     25.981s udisks2.service                                    
     25.328s dev-loop31.device                                  
     24.464s dev-loop12.device                                  
     24.307s dev-loop27.device                                  
     24.008s accounts-daemon.service                            
     23.806s dev-loop26.device                                  
     23.798s dev-loop23.device                                  
     23.590s dev-loop30.device                                  
     23.359s dev-loop29.device                                  
     23.130s dev-loop25.device                                  
     23.093s dev-loop13.device                                  
     22.859s networking.service                                 
     20.989s dev-loop22.device                                  
     20.909s dev-loop17.device                                  
     20.907s dev-loop24.device                                  
     20.905s dev-loop14.device                                  
     20.905s dev-loop11.device                                  
     19.782s dev-loop8.device                                   
     19.482s openvpnas.service                                  
     18.305s dev-loop9.device                                   
     18.304s dev-loop5.device                                   
     18.303s dev-loop6.device                                   
     18.301s dev-loop7.device                                   
     18.300s dev-loop16.device                                  
     18.297s dev-loop15.device                                  
     18.293s dev-loop19.device                                  
     16.610s dev-loop4.device                                   
     16.610s dev-loop2.device                                   
     16.609s dev-loop0.device                                   
     16.609s dev-loop1.device                                   
     16.607s dev-loop3.device                                   
     16.606s dev-loop10.device                                  
     16.603s dev-loop18.device                                  
     16.598s dev-loop20.device                                  
     16.597s dev-loop21.device                                  
     15.768s avahi-daemon.service                               
     15.294s NetworkManager.service                             
     15.178s polkit.service                                     
     14.492s switcheroo-control.service                         
     14.484s thermald.service                                   
     14.430s systemd-logind.service                             
     14.417s wpa_supplicant.service                             
     13.653s winbind.service                                    
     12.544s systemd-journal-flush.service                      
     11.046s grub-common.service                                
      9.978s apport.service                                     
      8.960s gpu-manager.service                                
      8.902s apache2.service                                    
      8.655s systemd-udevd.service                              
      8.618s NetworkManager-wait-online.service                 
      7.669s ModemManager.service                               
      6.905s rsyslog.service                                    
      6.046s teamviewerd.service                                
      4.932s apparmor.service                                   
      4.088s e2scrub_reap.service                               
      3.825s colord.service                                     
      3.223s lm-sensors.service                                 
      3.081s snapd.apparmor.service                             
      2.566s grub-initrd-fallback.service                       
      2.531s lightdm.service                                    
      2.525s plymouth-quit-wait.service                         
      2.514s systemd-sysctl.service                             
      2.484s systemd-tmpfiles-setup.service                     
      2.378s ssh.service                                        
      2.191s dns-clean.service                                  
      1.946s snap-audacity-756.mount                            
      1.884s snap-audacity-857.mount                            
      1.847s systemd-modules-load.service                       
      1.818s snap-chromium-1637.mount                           
      1.811s snap-chromium-1646.mount                           
      1.809s fwupd.service                                      
      1.753s snap-core-11187.mount                              
      1.728s snap-core-11316.mount                              
      1.615s keyboard-setup.service                             
      1.569s snapd.seeded.service                               
      1.539s snap-core18-2066.mount                             
      1.539s upower.service                                     
      1.522s snap-core18-2074.mount                             
      1.487s systemd-random-seed.service                        
      1.467s snap-core20-1026.mount                             
      1.393s snap-docker-471.mount                              
      1.325s snap-docker-796.mount                              
      1.219s snap-gnome\x2d3\x2d26\x2d1604-102.mount            
      1.198s snap-gnome\x2d3\x2d26\x2d1604-104.mount            
      1.143s snap-gnome\x2d3\x2d28\x2d1804-145.mount            
      1.133s systemd-timesyncd.service                          
      1.128s snap-gnome\x2d3\x2d28\x2d1804-161.mount            
      1.070s snap-gnome\x2d3\x2d34\x2d1804-66.mount             
      1.028s systemd-sysusers.service                           
      1.005s snap-gnome\x2d3\x2d34\x2d1804-72.mount             
       889ms snap-gnome\x2d3\x2d38\x2d2004-39.mount             
       861ms systemd-tmpfiles-setup-dev.service                 
       763ms snap-gnome\x2dsystem\x2dmonitor-160.mount          
       734ms snap-gnome\x2dsystem\x2dmonitor-163.mount          
       649ms snap-gtk2\x2dcommon\x2dthemes-13.mount             
       642ms modprobe@drm.service                               
       610ms snap-gtk2\x2dcommon\x2dthemes-9.mount              
       564ms snap-gtk\x2dcommon\x2dthemes-1514.mount            
       553ms phpsessionclean.service                            
       542ms snap-gtk\x2dcommon\x2dthemes-1515.mount            
       541ms systemd-udev-trigger.service                       
       494ms snap-handbrake\x2djz-142.mount                     
       438ms swapfile.swap                                      
       437ms systemd-backlight@backlight:acpi_video0.service    
       431ms snap-inkscape-9078.mount                           
       412ms console-setup.service                              
       404ms snap-inkscape-9090.mount                           
       386ms systemd-remount-fs.service                         
       320ms kerneloops.service                                 
       319ms systemd-update-utmp.service                        
       314ms systemd-journald.service                           
       283ms user@1000.service                                  
       266ms ufw.service                                        
       263ms systemd-backlight@backlight:intel_backlight.service
       251ms setvtrgb.service                                   
       249ms snap-losslesscut-66.mount                          
       241ms snap-losslesscut-72.mount                          
       233ms plymouth-read-write.service                        
       225ms snap-snap\x2dstore-547.mount                       
       206ms snapd.socket                                       
       196ms snap-snap\x2dstore-542.mount                       
       178ms dev-hugepages.mount                                
       177ms dev-mqueue.mount                                   
       175ms sys-kernel-debug.mount                             
       173ms sys-kernel-tracing.mount                           
       167ms kmod-static-nodes.service                          
       161ms pppd-dns.service                                   
       160ms hddtemp.service                                    
       152ms snap-pdftk-9.mount                                 
       121ms systemd-user-sessions.service                      
       119ms wicd.service                                       
       115ms systemd-resolved.service                           
       109ms shadowsocks.service                                
        96ms plymouth-start.service                             
        83ms rtkit-daemon.service                               
        41ms user-runtime-dir@1000.service                      
        19ms alsa-restore.service                               
        13ms systemd-update-utmp-runlevel.service               
         8ms systemd-rfkill.service                             
         6ms e2scrub_all.service                                
         5ms sys-fs-fuse-connections.mount                      
         4ms sys-kekernelkernelrnel-config.mount

Output of snap list :

Name                  Version                     Rev    Tracking         Publisher   Notes
audacity              3.0.2                       857    latest/stable    diddledan   -
chromium              91.0.4472.114               1646   latest/stable    canonical*  -
core                  16-2.51.1                   11316  latest/stable    canonical*  core
core18                20210611                    2074   latest/stable    canonical*  base
core20                20210429                    1026   latest/stable    canonical*  base
docker                19.03.13                    796    latest/stable    canonical*  -
gnome-3-26-1604       3.26.0.20210629             104    latest/stable/…  canonical*  -
gnome-3-28-1804       3.28.0-19-g98f9e67.98f9e67  161    latest/stable    canonical*  -
gnome-3-34-1804       0+git.3556cb3               72     latest/stable    canonical*  -
gnome-3-38-2004       0+git.3d25b9b               39     latest/stable    canonical*  -
gnome-system-monitor  40.1-2-ga819fb4b55          163    latest/stable/…  canonical*  -
gtk-common-themes     0.1-52-gb92ac40             1515   latest/stable    canonical*  -
gtk2-common-themes    0.1                         13     latest/stable    canonical*  -
handbrake-jz          1.2.2                       142    latest/stable    jz          -
inkscape              1.1-ce6663b3b7-2021-05-25   9090   latest/stable    inkscape*   -
losslesscut           3.34.3                      72     latest/stable    mifino      -
pdftk                 2.02-4                      9      latest/stable    smoser      -
snap-store            3.38.0-64-g23c4c77          547    latest/stable/…  canonical*  -

Output of cat etc/network/interfaces :

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5). 

source /etc/network/interfaces.d/*

# The loopback network interface 
auto lo
iface lo inet loopback

# The primary network interface 
auto enp0s25 
iface enp0s25 inet dhcp

Output of cat /etc/netplan/*.yaml :

# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

Output of free -h :

              total        used        free      shared  buff/cache   available
Mem:          3.6Gi       1.8Gi       550Mi       180Mi       1.3Gi       1.4Gi
Swap:         2.0Gi        15Mi       2.0Gi

/etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=7dd9bc28-9780-4a60-9f94-87c3471f2089 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

Screenshot of Disks:

Screenshot of Disks

Impossible to install MySQL 5.7 on Ubuntu 20.04 https://askubuntu.com/questions/1325975/impossible-to-install-mysql-5-7-on-ubuntu-20-04

This is what I've done so far on a fresh Ububntu 20.04 installation:
wget https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb

sudo dpkg -i mysql-apt-config_0.8.12-1_all.deb

In the prompt, I chose Ubuntu Bionic.
In the next prompt, I selected MySQL 5.7 server.
The next prompt selects MySQL5.7 by default. I chose the last option Ok.

sudo apt-get update

sudo apt-cache policy mysql-server

mysql-server:
  Installed: (none)
  Candidate: 8.0.23-0ubuntu0.20.04.1
  Version table:
     8.0.23-0ubuntu0.20.04.1 500
        500 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages
     8.0.19-0ubuntu5 500
        500 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 Packages
     5.7.33-1ubuntu18.04 500
        500 http://repo.mysql.com/apt/ubuntu bionic/mysql-5.7 amd64 Packages

Than I tried to install the MySQL 5.7.32 server:
sudo apt-get install -f mysql-client=5.7.32-1ubuntu18.04

But here is the response:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '5.7.32-1ubuntu18.04' for 'mysql-server' was not found

So what can I do ?
Can someone help me ?

How to troubleshoot a slow booting problem in Ubuntu 19.10? https://askubuntu.com/questions/1224509/how-to-troubleshoot-a-slow-booting-problem-in-ubuntu-19-10

Before installing Ubuntu 19.10 on my 64GB USB2.0 flash drive i did some research on partition schemes. Most of the websites recommended 2GB-8GB for the root (/) partition.

But,to play on the safe side i set it to 10GB.
and guess what happened 1 week later.
I get notified that only 1GB of root space is left !!!
I freaked out and changed the size of the partition a few hours back AND.IT.RUINED.THE.PERFORMANCE !!!
I had this configuration when i installed Ubuntu.

root = 10GB
swap = 2GB
home ~ 50GB

and now, what I did is:

root = 32GB
swap = 2GB
home ~ 28GB

I was expecting better performance But what followed totally pissed me off.
*Now the OS boots in about 1.5 minutes!
Please let me know how i can make the boot process faster !

I just remembered that before I changed the partitions I was having a problem with the CD drive popping out. SoI opened it up, removed the ribbon cable (or whatever that's called), taped it and left it inside. So my CD drive does not pop out every 20 seconds. Do you think it has any impact on the performance? Please let me know what to do in this case.

Were those websites I followed wrong, Or I make some mistake in the first place?

Here is the screenshot of df -h :

Here

Here is the screenshot of df -systemd-analyze blame:

Here

Here is a screenshot of my home directory. All the files with mono on it and the UUID file seem suspicious.

Here

Here is the screenshot of systemd-analyze critical-chain:

Here

Ubuntu GTX 1660 corrupted graphics https://askubuntu.com/questions/1210821/ubuntu-gtx-1660-corrupted-graphics

When I use a live USB for Ubuntu 18.04 LTS (or other Debian distros actually), depending on what options I choose in grub, I get stuck on either a screen tearing, looking like this:

enter image description here

or stuck at a message saying:

BIOS contains WGDS but no WRDS

Just the default "live mode" results in a screen tearing like in the screenshot.

I have a GTX 1660
System Model ROG Strix GL10CS_GL10CS
I disabled Secure Boot in the BIOS also.

I tried various USB drives and ISOs, but it's still the same.

What else could I try to fix this?

How to test oom-killer from command line https://askubuntu.com/questions/1188024/how-to-test-oom-killer-from-command-line

The OOM Killer or Out Of Memory Killer is a process that the linux kernel employs when the system is critically low on memory. ... This maximises the use of system memory by ensuring that the memory that is allocated to processes is being actively used.

This self-answered question asks:

  • How to test oom-killer from the command line?

A quicker method than the 1/2 hour it takes in the self-answer would be accepted.

Installing ubuntu 19.04 (Desktop & Server) Kernel Panics and Crashes https://askubuntu.com/questions/1160852/installing-ubuntu-19-04-desktop-server-kernel-panics-and-crashes

I have Windows 10 installed on my computer and I've been trying to install Ubuntu alongside it, but it gives me boot error messages when I run the 19.04 server with safe graphics.

Hardware:

  • Intel Core i9 9900k CPU
  • ASUS WS X299 Sage motherboard
  • 2 RTX 2080 Ti GPUs
  • An HDD and an NVMe SSD
  • 64 GB of Corsair RAM
[    1.616564] Couldn't get size: 0x800000000000000e
[    1.616577] MODSIGN: Couldn't get UEFI db list
[    1.616933] Couldn't get size: 0x800000000000000e
[    1.617289] Couldn't get size: 0x800000000000000e
[    1.950862] usb 1-7: invalid descriptor for config index 0: type = 0x2, length = 9
[    1.950880] usb 1-7: can't read configurations, error -22
stdin: Invalid argument
[    7.688186] SQUASHFS error: squashfs_read_data failed to read block 0xcda96d0e0b5c5a89
[    7.688206] SQUASHFS error: Unable to read metadata cache entry [cda96d0e0b5c5a89]
in: /root/etc/systemd/system/display-manager.service.wants/: No such file or directory
/scripts/casper-bottom/32disable_hibernation: line 24: can't create /root/var/lib/polkit-1/localauthority/50-local.d/disable-hibernate.pkla: nonexistent directory
Using CD-ROM mount point /cdrom/
Identifying... [bd49e352975f89680c59e728549514b3-2]
Scanning disc for index files...
[    9.774057] iwlwifi 0000:1a:00.0: no suitable firmware found!
[    9.774073] iwlwifi 0000:1a:00.0: minimum version required: iwlwifi-8265-22
[    9.774087] iwlwifi 0000:1a:00.0: maximum version supported: iwlwifi-8265-36
[    9.774104] iwlwifi 0000:1a:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
[    9.901132] EDAC skx: ECC is disabled on imc 0
[   10.279772] SQUASHFS error: squashfs_read_data failed to read block 0xcda96d0e0b5c5669
[   10.279792] SQUASHFS error: Unable to read metadata cache entry [cda96d0e0b5c5669]
[  OK  ] Started Holds Snappy daemon refresh.
[   39.233642] SQUASHFS error: Unable to read metadata cache entry [cda96d0e0b5c5669]
Mounting Mount unit for core, revision 6673...
[  OK  ] Mounted Mount unit for core, revision 6673.
[  OK  ] Stopped Snappy daemon.
         Starting Snappy daemon...
[  OK  ] Started Snappy daemon.
[ ***  ] A start job is running for Wait until snapd is fully seeded (1min 17s / no limit)
[  110.044713] Kernel panic - not syncing: Timeout: Not all CPUs entered broadcast exception handler
[  111.164071] Shutting down cpus with NMI
[  111.175371] Kernel Offset: 0x29600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[  111.175416] Rebooting in 30 seconds...
_
Bind logging not working https://askubuntu.com/questions/1156326/bind-logging-not-working

I am running Ubuntu 18.04.2 and BIND 9.11.3

I am trying to enable logging by adding the following to /etc/bind/named.conf.local

logging {
channel bind.log {
    file "/var/log/bind/bind.log" versions 3 size 20m;
    print-time yes;
    print-category yes;
    print-severity yes;
    // Set the severity to dynamic to see all the debug messages.
    severity info;
};

category default { bind.log; };
};

"named-checkconf /etc/bind/named.conf.local" does not report any errors. However when I do:

root@mail:/home/mike# service bind9 restart
root@mail:/home/mike# service bind9 status

I get:

bind9.service - BIND Domain Name Server
   Loaded: loaded (/lib/systemd/system/bind9.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2019-07-06 18:48:43 NZST; 2s ago
     Docs: man:named(8)
  Process: 9812 ExecStop=/usr/sbin/rndc stop (code=exited, status=0/SUCCESS)
  Process: 12930 ExecStart=/usr/sbin/named -f $OPTIONS (code=exited, status=1/FAILURE)
 Main PID: 12930 (code=exited, status=1/FAILURE)

Jul 06 18:48:43 mail.mydomain.nz named[12930]: automatic empty zone: A.E.F.IP6.ARPA
Jul 06 18:48:43 mail.mydomain.nz named[12930]: automatic empty zone: B.E.F.IP6.ARPA
Jul 06 18:48:43 mail.mydomain.nz named[12930]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
Jul 06 18:48:43 mail.mydomain.nz named[12930]: automatic empty zone: EMPTY.AS112.ARPA
Jul 06 18:48:43 mail.mydomain.nz named[12930]: none:103: 'max-cache-size 90%' - setting to 7086MB (out of 7874MB)
Jul 06 18:48:43 mail.mydomain.nz named[12930]: command channel listening on 127.0.0.1#953
Jul 06 18:48:43 mail.mydomain.nz named[12930]: isc_stdio_open '/var/log/bind/bind.log' failed: permission denied
Jul 06 18:48:43 mail.mydomain.nz named[12930]: configuring logging: permission denied
Jul 06 18:48:43 mail.mydomain.nz named[12930]: loading configuration: permission denied
Jul 06 18:48:43 mail.mydomain.nz named[12930]: exiting (due to fatal error)

The permissions of /var/log/bind are:

root@mail:/home/mike# ls -ld /var/log/bind
drwxrwxr-x 2 root root 4096 Jul  6 17:51 /var/log/bind

This post here said

isc_stdio_open '/var/log/bind9/query.log' failed: permission denied

"bind:bind" works but I couldn't follow that. Is that a reference to the directory being owned by a user named "bind" and belonging to the "bind" group? I would have commented on that question asking for more info but at least 50 reputation is required.

I noticed this in syslog:

Jul  6 22:30:52 mail kernel: [1835655.620976] audit: type=1400 audit(1562409052.847:297): apparmor="DENIED" operation="open" profile="/usr/sbin/named" name="/var/log/bind/bind.log" pid=10582 comm="isc-worker0000" requested_mask="ac" denied_mask="ac" fsuid=120 ouid=0
Slow boot of Ubuntu https://askubuntu.com/questions/1104536/slow-boot-of-ubuntu

I just made a switch from Windows to Ubuntu. The only problem is that it takes 4-5 minutes, sometimes up to 7 minutes to boot. This is rather annoying.

I ran the command systemd-analyze and it shows the following.

$ systemd-analyze
Startup finished in 6.007s (kernel) + 5min 6.863s (userspace) = 5min 12.871s
graphical.target reached after 2min 40.022s in userspace  
USB-C port not working in Ubuntu 18.04 https://askubuntu.com/questions/1058574/usb-c-port-not-working-in-ubuntu-18-04

Lenovo Yoga 910 USB-C port is not working with Ubuntu 18.04.

kern.log doesn't output anything when I plug something in.

When I put the same hub to USB-C port that is meant to charge the battery it works. So I guess that that port is just disabled and I need to wake it up somehow. Because before reinstalling Ubuntu it was working just fine. Maybe I need some extra software (drivers) to fix that?

lsusb output:

Bus 002 Device 002: ID 17ef:7205 Lenovo 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0cf3:e300 Atheros Communications, Inc. 
Bus 001 Device 003: ID 138a:0094 Validity Sensors, Inc. 
Bus 001 Device 002: ID 04f2:b5a4 Chicony Electronics Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
hdfs: command not found with Hadoop2.9.0 https://askubuntu.com/questions/983175/hdfs-command-not-found-with-hadoop2-9-0

I am trying to install hadoop with the tutorial from tutorialspoint. I just sucessfully installed hadoop2.9.0. I then tried to set up the namenode using the command “hdfs namenode -format” as follows.

$ hdfs namenode -format

Yet the terminal answered me :

bash: /usr/local/hadoop/bin/hdfs: Permission denied

So I did :

mike@mike-thinks:~$ sudo chown -R mike /usr/local/hadoop

But even with it I still get :

mike@mike-thinks:~$ sudo hdfs namenode -format
sudo: hdfs: command not found
Enlarge /boot Filesystem https://askubuntu.com/questions/935093/enlarge-boot-filesystem

I have Ubuntu 14.04.5 LTS running on a HP microserver, no desktop or GUI. I have installed GParted Live on a USB drive and booted to it. My plan was to reduce the size of /dev/sda2 by about 750MB, then increase /boot by that same amount. The problem is I can only reduce /dev/sda2 by about 3 MB, and I can't even increase /dev/sda1 by that.

Is this possible or do I need to repartition the drive and reinstall Ubuntu?

GParted screenshot

Results of df:

Filesystem      Size  Used Avail Use% Mounted on
udev            930M  4.0K  930M   1% /dev
tmpfs           188M  800K  187M   1% /run
/dev/dm-0       228G   19G  198G   9% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none            939M  4.0K  939M   1% /run/shm
none            100M     0  100M   0% /run/user
/dev/sda1       228M  215M  935K 100% /boot
/dev/md0        1.8T  1.1T  634G  64% /raid1
How to shrink Windows 10 partition to create partitions for Ubuntu? https://askubuntu.com/questions/894080/how-to-shrink-windows-10-partition-to-create-partitions-for-ubuntu

This is a new system. I have just installed Windows 10 and drivers. There's still no data on the SSD. I need to shrink Partition C: to be 50GB so I can create 3 other partitions (Data + Ubuntu + swap). Windows 10 Disk Management doesn't allow me to shrink the partition to less than ~240GB.

Windows 10 Disk Management Screenshot

How to safely shrink these partitions?

Ubuntu 16.04 takes too long to boot (almost 2 minutes) https://askubuntu.com/questions/864708/ubuntu-16-04-takes-too-long-to-boot-almost-2-minutes

I have a Acer Aspire 5741G and I installed Ubuntu 16.04 LTS recently. I have windows 7 pro as the other OS (dual boot). I get really slow boot times. It takes roughly 2 minutes to show all the icons on my desktop.

When I try running systemd-analyze , it shows around a minute mostly (screenshot attached). Screenshot for systemd-analyze blame also attached. Can the boot time be possibly reduced? Also, my screen flashes few times before the purple loading screen while booting. After some searches, people said it has something to do with the graphic card. Can I make this right?

first image

second image

third image

abdrk00@abdrk00:~$ sudo blkid
/dev/sda1: LABEL="System Reserved" UUID="6AA22426A223F56B" TYPE="ntfs" PARTUUID="984fa07f-01"
/dev/sda2: UUID="266C2B2C6C2AF5E9" TYPE="ntfs" PARTUUID="984fa07f-02"
/dev/sda3: LABEL="New Volume" UUID="D8C83904C838E284" TYPE="ntfs" PARTUUID="984fa07f-03"
/dev/sda5: LABEL="Ubuntu" UUID="72DA65F3DA65B3CF" TYPE="ntfs" PARTUUID="984fa07f-05"
/dev/sda6: UUID="9291cbb1-9bde-470f-9ff7-2b4f93b5198c" TYPE="swap" PARTUUID="984fa07f-06"
/dev/sda7: UUID="c65b0f2c-5d08-4785-8a7f-a947640f3234" TYPE="ext4" PARTUUID="984fa07f-07"

abdrk00@abdrk00:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=c65b0f2c-5d08-4785-8a7f-a947640f3234 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=9291cbb1-9bde-470f-9ff7-2b4f93b5198c none            swap    sw              0       0

abdrk00@abdrk00:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
├─sda1   8:1    0   100M  0 part
├─sda2   8:2    0   244G  0 part
├─sda3   8:3    0  36.1G  0 part
├─sda4   8:4    0     1K  0 part
├─sda5   8:5    0  67.5G  0 part
├─sda6   8:6    0   3.8G  0 part [SWAP]
└─sda7   8:7    0 114.2G  0 part /
sr0     11:0    1  1024M  0 rom

abdrk00@abdrk00:~$ swapon
NAME      TYPE      SIZE USED PRIO
/dev/sda6 partition 3.8G   0B   -1

abdrk00@abdrk00:~$
convert svg or ttf to otf, eot, woff https://askubuntu.com/questions/771256/convert-svg-or-ttf-to-otf-eot-woff

I'm looking for a command line software/script for linux/ubuntu that can help me convert svg or ttf to otf, eot and woff formats. I've tried fontmin,webify, fontforge, eot-utils, sfnt2woff, ttf2woff and other alternative as much as i can, I can't find a good converter. fontmin convert files to ttf otf but doesn't convert to woff and is always broken. fontforge doesn't convert to woff and eot either, sfnt2woff and ttf2woff only convert to woff.

I'm simply trying to make web fonts css after converting process, I've also tried many alternative for it but so far no success at all.

Please let me know if there are batter option to accomplish my requirements. and feel free to edit and correct my question.

Is there a desktop weather app? https://askubuntu.com/questions/149707/is-there-a-desktop-weather-app

Is there any weather app that works with Ubuntu 12.04?

I tried many of them including the screenlets.

Nothing seems to work.