Graphics Drivers for GeForce 210M on 24.04 LTS https://askubuntu.com/questions/1561793/graphics-drivers-for-geforce-210m-on-24-04-lts

I have an ancient HP TouchSmart 600 series. the 600-1140 if I recall correctly.

By default, 24.04 LTS will boot completely; but power and output to the display will be cut. I know the OS boots from the bootup sounds; and if I launch terminal (Ctrl + Alt + T) and hit backspace it will produce sounds from the speakers.

I have to enter recovery mode, then resume boot to get any output. even then, it boots at 1280x720 instead of 1080p.

Nvidia graphics drivers from 2015 give me a "CC version check error". this is the exact output:


  The string "(gcc" was not found in the /proc/version string: "Linux version  
  6.14.0-37-generic (buildd@lcy02-amd64-031) (x86_64-linux-gnu-gcc-13 (Ubuntu  
  13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42)        
  #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2"; please    
  report this error to linux-bugs@nvidia.com

  If you know what you are doing you can either ignore the CC version check    
  and continue installation, or abort installation, set the CC environment     
  variable to the name of the compiler used to compile your kernel, and        
  restart installation.

Software Updates -> Additional Drivers shows no additional drivers available.

Output of lshw -c display:

 *-display UNCLAIMED       
       description: VGA compatible controller
       product: GT218M [GeForce G210M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:fa000000-faffffff memory:d0000000-dfffffff memory:ce000000-cfffffff ioport:dc00(size=128) memory:c0000-dffff

My guess is that the Nvidia drivers are too old to be used with 24.04LTS, so I tried to install 18.04 and 15.04 both to no luck. Neither booted, even with nomodeset selected.

Any help is appreciated. Been cracking my head over this for a week now.

Ubuntu root /supervisor password Reset [duplicate] https://askubuntu.com/questions/1561790/ubuntu-root-supervisor-password-reset

I have an old Toshiba laptop that has Ubuntu Linux installed. I want to start using it after 2 years in storage, but I've forgotten the supervisor account password (root?)

How can I reset this passcode so I can setup an account with everyday user privileges?

I don't know the version number as I'm locked out of course, but it's possibly the release that was around in 2015 or thereabouts

Ceph storage questions etc [closed] https://askubuntu.com/questions/1561789/ceph-storage-questions-etc

Does anyone know about Ceph..? If so, then I have a technical data storage situation... Once I figure it out and after the installation process am afraid my use case either won't make sense or what am trying to do will not work..

For now all I can ask is if it can provide storage if that makes sense, thank you!!

KVM_Intel and Virtual Box https://askubuntu.com/questions/1560789/kvm-intel-and-virtual-box

What is the downside of permanently disabling or evening uninstalling KVM_Intel?

Virtual Box will not work if it is running.

Adding a custom keyboard causes gnome shell to crash, and prevents login https://askubuntu.com/questions/1560787/adding-a-custom-keyboard-causes-gnome-shell-to-crash-and-prevents-login

Adding a custom keyboard as an input source in the settings app caused gnome shell to crash. Further attempts to log in failed (initially a password was accepted but the log in didn't complete and I was returned to the user selection screen. After the first attempt the password text-input box did not accept any keystrokes and the only way to escape was by rebooting)

What is the cause of this crash and how can I repair my system?

Ubuntu MATE boot issues https://askubuntu.com/questions/1560782/ubuntu-mate-boot-issues

Ubuntu 25.04, Ubuntu Mate 1.26.2 desktop installed shortly after upgrading.

The problem is the Password screen on boot. When I upgraded to Ubuntu 25.04, somehow bits and pieces of my previous V24.10 came along for the ride. I used a USB stick and thought I was doing a full install and afterwards needed to install the Home directory.

After update/upgrading to 25.04, and installing some of my favorite apps, I installed MATE. As users of MATE know, the password screen changes to their setup and that MATE custom password page shows Jimtek7 (my previous setup) & Jimtek8 (my current setup) as choices, with the password box and along with a MATE symbol which in the past I could click on it and Ubuntu/MATE plus some other things like MATE software would show up.

Now when I click on that gear the first time in the morning when booting it doesn't open. I go ahead and boot, and on reboot the MATE symbol does not show the other choices unless I choose Jimtek7, open it, then reboot. On the second reboot, the multiple choices are then available, I select Jimtek8, make my choice of either Ubuntu Gnome desktop or MATE desktop.

Today, installed Cinnamon desktop and the same thing happens. I have to double boot, selecting Jimtek7 first, rebooting selecting Jimtek8 then clicking on the gear and I have to do this before Cinnamon becomes available. If I select the gear first without booting to Jimtek7 it doesn't show any choices.

Suspecting a bug in MATE I searched Google for a method of reporting the bug and nothing that was suggested works.

I have 2 questions.

  1. How do I get rid of that Jimtek7 selection? If I boot to that it shows a bare desktop without my usual desktop icons and links.

  2. How do I report a bug in MATE?

LANs can't communicate when WAN is shared https://askubuntu.com/questions/1560767/lans-cant-communicate-when-wan-is-shared

I'm using ubuntu 22.04 and I have the following configuration acting as a router

  1. WAN - DHCP (enp2s0)

  2. LAN1 - 10.42.1.1/24 (enp1s0)

  3. LAN2 - 10.42.2.1/24 (enp1s0.2)

I am using Network Manager to share WAN with LAN1 and LAN2 using the ipv4.method shared.

Everything works great except LAN1 can't access LAN2.

For example, from a client in LAN1 I get

$ ping 10.42.2.175
PING 10.42.2.175 (10.42.2.175) 56(84) bytes of data.
From 10.42.1.1 icmp_seq=1 Destination Port Unreachable
From 10.42.1.1 icmp_seq=2 Destination Port Unreachable
From 10.42.1.1 icmp_seq=3 Destination Port Unreachable
^C
--- 10.42.2.175 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2003ms

and

$ nc -v 10.42.2.175 22
nc: connect to 10.42.2.175 port 22 (tcp) failed: Connection refused

I know the packet is reaching the router at 10.42.1.1 because inside it I get

# tcpdump -n -i enp1s0 icmp
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on enp1s0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
23:20:38.012039 IP 10.42.1.154 > 10.42.2.175: ICMP echo request, id 181, seq 76, length 64
23:20:38.012169 IP 10.42.1.1 > 10.42.1.154: ICMP 10.42.2.175 protocol 1 port 16422 unreachable, length 92
23:20:39.013334 IP 10.42.1.154 > 10.42.2.175: ICMP echo request, id 181, seq 77, length 64
23:20:39.013467 IP 10.42.1.1 > 10.42.1.154: ICMP 10.42.2.175 protocol 1 port 19232 unreachable, length 92
23:20:40.007654 IP 10.42.1.154 > 10.42.2.175: ICMP echo request, id 181, seq 78, length 64
23:20:40.007763 IP 10.42.1.1 > 10.42.1.154: ICMP 10.42.2.175 protocol 1 port 63769 unreachable, length 92
23:20:41.002888 IP 10.42.1.154 > 10.42.2.175: ICMP echo request, id 181, seq 79, length 64
23:20:41.003051 IP 10.42.1.1 > 10.42.1.154: ICMP 10.42.2.175 protocol 1 port 4887 unreachable, length 92
^C
8 packets captured
8 packets received by filter
0 packets dropped by kernel
10 packets dropped by interface

Also, inside the router I get

# ping 10.42.2.175
PING 10.42.2.175 (10.42.2.175) 56(84) bytes of data.
64 bytes from 10.42.2.175: icmp_seq=1 ttl=64 time=0.188 ms
64 bytes from 10.42.2.175: icmp_seq=2 ttl=64 time=0.219 ms
64 bytes from 10.42.2.175: icmp_seq=3 ttl=64 time=0.274 ms
^C
--- 10.42.2.175 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2077ms
rtt min/avg/max/mdev = 0.188/0.227/0.274/0.035 ms

So I know the router can access LAN2.

Also I have

# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         

and

# nft list ruleset

~snip~

table ip nm-shared-enp1s0 {
    chain nat_postrouting {
        type nat hook postrouting priority srcnat; policy accept;
        ip saddr 10.42.1.0/24 ip daddr != 10.42.1.0/24 masquerade
    }

    chain filter_forward {
        type filter hook forward priority filter; policy accept;
        ip daddr 10.42.1.0/24 oifname "enp1s0" ct state { established, related } accept
        ip saddr 10.42.1.0/24 iifname "enp1s0" accept
        iifname "enp1s0" oifname "enp1s0" accept
        iifname "enp1s0" reject
        oifname "enp1s0" reject
    }
}
table ip nm-shared-enp1s0.2 {
    chain nat_postrouting {
        type nat hook postrouting priority srcnat; policy accept;
        ip saddr 10.42.2.0/24 ip daddr != 10.42.2.0/24 masquerade
    }

    chain filter_forward {
        type filter hook forward priority filter; policy accept;
        ip daddr 10.42.2.0/24 oifname "enp1s0.2" ct state { established, related } accept
        ip saddr 10.42.2.0/24 iifname "enp1s0.2" accept
        iifname "enp1s0.2" oifname "enp1s0.2" accept
        iifname "enp1s0.2" reject
        oifname "enp1s0.2" reject
    }
}

which leads me to believe that nftables is doing NAT instead of iptables, but I don't understand nftables yet to know if the above is where the problem lies.

Note: I do have

# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1

I believe it is set automatically as a requirement by Network Manager when creating a connection with type ipv4.method shared.

I'm also using UFW and have

To                         Action      From
--                         ------      ----

Anywhere                   ALLOW FWD   10.42.1.0/24 on enp1s0    
Anywhere on enp2s0         ALLOW FWD   10.42.2.0/24 on enp1s0.2  

which results in

Chain ufw-user-forward (1 references)
    pkts      bytes target     prot opt in     out     source               destination         
   19230  1466056 ACCEPT     all  --  enp1s0 *       10.42.1.0/24         0.0.0.0/0           
    2353   213722 ACCEPT     all  --  enp1s0.2 enp2s0  10.42.2.0/24         0.0.0.0/0           

which leads me to think that a client in 10.42.1.0/24 should be able to reach 10.42.2.0/24 (but not the other way around, which is my goal).

How can I further determine if this is a NAT issue or a firewall issue?

Can't change display resolution and second display doesn't show up https://askubuntu.com/questions/1560765/cant-change-display-resolution-and-second-display-doesnt-show-up

I just downloaded Ubuntu Cinnamon, the latest version. I'm a previous Windows 10 user who decided to change today to Linux, but I can't change the display! I'm right now using this kind of "trial version" of Ubuntu using Rufus, latest version to date too. I'm also using two monitors right now, one with HDMI and my main one with DVI. I'm really not sure how to keep going, and I feel low-key stupid.

This is how Settings looks like.

this is how settings looks like

I have an RTX 5060 and after running lspci this is what it shows.

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2d05 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 22eb (rev a1)
02:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller
02:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller
02:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port
03:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
03:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
06:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. Device 5028 (rev 03)
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function (rev c8)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
SSH to Telia Sagemcom router https://askubuntu.com/questions/1560763/ssh-to-telia-sagemcom-router

I am running a web server on a private Telia fiber connection with a Sagemcom router. From December 6 2025 port 22 is stale and cannot be opened/forwarded any longer. The result is that I cannot log in to it from remote, which did function for years before. The HTTPS connection is also broken. What am I missing?

It's an Ubuntu 24.04 server with DDNS, SSH with keys, no root login/password. Did my provider (Telia) perhaps update some server requirements? I did ask, but Telia does not answer such questions from non-enterprise customers. Where should I look to find what's missing?

Ubuntu 24.04 (laptop) - low brightness and brightness slider doesn't work https://askubuntu.com/questions/1560761/ubuntu-24-04-laptop-low-brightness-and-brightness-slider-doesnt-work

I installed Ubuntu 24.04 on my laptop few days ago and it works perfectly except for the fact that I can't control brightness of the screen. The slider is set to maximum, but I have around 50% of brightness I used to have on Windows. Brightness control was working on Windows. Moving the slider does not make any changes to screen brightness. Is there any known fix for this issue or is it something I have to deal with?

  • Model: Acer Nitro 5
  • Processor: 12 Gen Intel Core i5-12500H x 16
  • Graphics 1: Intel Iris Xe graphics
  • Graphics: 2: Nvidia GeForce RTX 3050Ti laptop GPU
  • Memory: 16 GB
  • System: Ubuntu 24.04.3 LTS (64-bit)
Right-clicking in nautilus to get hashes of various files in 24.04 https://askubuntu.com/questions/1560695/right-clicking-in-nautilus-to-get-hashes-of-various-files-in-24-04

Now that Ubuntu 24.04 is released and I upgraded my laptop, and the next LTS is scheduled in about 4 months, nautilus-gtkhash is no more in official repositories. How do I right-click in nautilus to get hashes of various files?

Unibijoy Bangla Writing problem https://askubuntu.com/questions/1555676/unibijoy-bangla-writing-problem

I am unable to write bangla in Ubuntu through Unibijoy. Some letters are broken. Can anybody help me?

Unable to get a WinTV-HVR-5525 running under Ubuntu 22.04 LTS https://askubuntu.com/questions/1469094/unable-to-get-a-wintv-hvr-5525-running-under-ubuntu-22-04-lts

I just got a WinTV-HVR-5525 for a Media PC that I'm building. But for some reason I can't seem to get the card working under Ubuntu 22.04 LTS. I followed the instructions [here][1] and can get the DVB-T and the DVB-C tuners to work. However the card also has a satellite tuner and no matter what I can't seem to get it working. I installed the firmware files under /lib/firmware, but somehow the tuner doesn't get recognized. In fact even the card itself was not recognized until i created a .conf file under /etc/modeprobe.d telling the system what card it is using:
options cx23885 card=52

because otherwise nothing would happen and under dmesg it would just say

unknown hauppauge model #150339

Here is what the dmesg output looks like now(cut out any unimportant stuff):

[    5.478658] tveeprom: Hauppauge model 150339, rev C6I6, serial# 40########
[    5.478665] tveeprom: MAC address is 00:##:##:##:##:##
[    5.478667] tveeprom: tuner model is SiLabs Si2157 (idx 186, type 4)
[    5.478668] tveeprom: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xf4)
[    5.478670] tveeprom: audio processor is CX23888 (idx 40)
[    5.478671] tveeprom: decoder processor is CX23888 (idx 34)
[    5.478672] tveeprom: has radio, has IR receiver, has no IR transmitter
[    5.478673] cx23885: cx23885[0]: warning: unknown hauppauge model #150339
[    5.478675] cx23885: cx23885[0]: hauppauge eeprom: model=150339

[    5.644995] cx25840 9-0044: cx23888 A/V decoder found @ 0x88 (cx23885[0])
[    6.695716] cx25840 9-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)

[    7.443658] cx23885: cx23885[0]: registered device video0 [v4l2]
[    7.446938] cx23885: cx23885[0]: registered device vbi0
[    7.450921] cx23885: cx23885[0]: alsa: registered ALSA audio device
[    7.450925] cx23885: cx23885_dvb_register() allocating 1 frontend(s)
[    7.450928] cx23885: cx23885[0]: cx23885 based dvb card
[    7.451504] m88ds3103 7-0069: Unknown device. Chip_id=71
[    7.451796] cx23885: cx23885[0]: frontend initialization failed
[    7.452061] cx23885: cx23885_dvb_register() dvb_register failed err = -22
[    7.452327] cx23885: cx23885_dev_setup() Failed to register dvb adapters on VID_B
[    7.452595] cx23885: cx23885_dvb_register() allocating 1 frontend(s)
[    7.452598] cx23885: cx23885[0]: cx23885 based dvb card
[    7.502717] i2c i2c-7: Added multiplexed i2c bus 10
[    7.502724] si2168 7-0064: Silicon Labs Si2168-D60 successfully identified
[    7.502727] si2168 7-0064: firmware version: D 6.0.1
[    7.518854] si2157 8-0060: Silicon Labs Si2157 successfully attached
[    7.518995] dvbdev: DVB: registering new adapter (cx23885[0])
[    7.518999] cx23885 0000:04:00.0: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)...
[    7.527300] cx23885: cx23885_dev_checkrevision() Hardware revision = 0xd0
[    7.527310] cx23885: cx23885[0]/0: found at 0000:04:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7200000
[    7.974954] loop16: detected capacity change from 0 to 8

[   12.818647] si2168 7-0064: downloading firmware from file 'dvb-demod-si2168-d60-01.fw'
[   13.152287] si2168 7-0064: firmware version: D 6.0.2
[   13.155300] cx23885 0000:04:00.0: DVB: adapter 0 frontend 0 frequency 0 out of range (48000000..870000000)
[   13.164024] si2168 7-0064: downloading firmware from file 'dvb-demod-si2168-d60-01.fw'
[   13.498660] si2168 7-0064: firmware version: D 6.0.2

Interesting to me is that it appears (?) to use the wrong driver?;

[ 7.451504] m88ds3103 7-0069: Unknown device. Chip_id=71

According to every source I could find it should actually be a M88RS6000 tuner and not a M88DS3103. I found an output from someone else where the correct module loads:

cx23885: cx23885_dvb_register() allocating 1 frontend(s)
cx23885: cx23885[0]: cx23885 based dvb card
a8293 10-000b: Allegro A8293 SEC successfully attached
m88rs6000t 13-0021: Montage M88RS6000 internal tuner successfully identified
dvbdev: DVB: registering new adapter (cx23885[0])
cx23885 0000:02:00.0: DVB: registering adapter 0 frontend 0 (Montage Technology M88RS6000)...
cx23885: cx23885_dev_checkrevision() Hardware revision = 0xd0 

So somehow apparently it doesn't get recognized correctly? Does anybody know how to fix this? I need the satellite function as well, so I'm kind of stuck right now. Any help would be appreciated!

Use integrated GPU for desktop display and leave dedicated GPU for computing tasks on Ubuntu 22.04 https://askubuntu.com/questions/1451808/use-integrated-gpu-for-desktop-display-and-leave-dedicated-gpu-for-computing-tas

I have just built a desktop for Deep Learning, using Ubuntu 22.04.

My purpose is straightforward - use IGPU (i7 13700K) for display purposes and leave DGPU (RTX 3090) free for Deep Learning tasks.

In the past, I had done this successfully on my Laptop Lenovo Y520 (i7 7700HQ, GTX 1050) by following method 1, but with Ubuntu 18.04.

I tried the old method, but it did not work (when I plugged HDMI into Mainboard, it showed a black screen). So, I moved to method 2 (with some additional steps, which are proven to work on Ubuntu 20.04). However, the result showed no differences.

Did someone manage to perform this on Ubuntu 22.04 successfully, could you share your experience?

Any advice will be appreciated.

Unable to find device path for ESP8266 https://askubuntu.com/questions/1414371/unable-to-find-device-path-for-esp8266

I'm trying to flash MicroPython using esptool onto my ESP8266 chip (using this board) and I'm getting stuck at deploying the firmware (currently following the MicroPython docs).

When I try to find the dev path, ttyUSB doesnt appear at all

tristan@tristan-Laptop:~$ ls /dev/tty.*
ls: cannot access '/dev/tty.*': No such file or directory
tristan@tristan-Laptop:~$ ls /dev/ttyUSB*
ls: cannot access '/dev/ttyUSB*': No such file or directory
tristan@tristan-Laptop:~$ 

This is my output when using lsusb

tristan@tristan-Laptop:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 27c6:609c Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Bus 003 Device 003: ID 0bda:5634 Realtek Semiconductor Corp. Laptop Camera
Bus 003 Device 014: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 003 Device 012: ID 046d:c08b Logitech, Inc. G502 SE HERO Gaming Mouse
Bus 003 Device 005: ID 8087:0032 Intel Corp. AX210 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I've determined my device is Silicon Labs CP210x UART Bridge so I tried to run the erase flash command at /dev/bus/usb/003/014 this was my output

tristan@tristan-Laptop:~$ sudo esptool.py --port /dev/bus/usb/003/014 erase_flash
esptool.py v4.1
Serial port /dev/bus/usb/003/014
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/serial/serialposix.py", line 398, in _reconfigure_port
    orig_attr = termios.tcgetattr(self.fd)
termios.error: (25, 'Inappropriate ioctl for device')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/esptool.py", line 34, in <module>
    esptool._main()
  File "/usr/local/lib/python3.10/dist-packages/esptool/__init__.py", line 995, in _main
    main()
  File "/usr/local/lib/python3.10/dist-packages/esptool/__init__.py", line 637, in main
    esp = esp or get_default_connected_device(
  File "/usr/local/lib/python3.10/dist-packages/esptool/__init__.py", line 880, in get_default_connected_device
    _esp = detect_chip(
  File "/usr/local/lib/python3.10/dist-packages/esptool/cmds.py", line 88, in detect_chip
    detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)
  File "/usr/local/lib/python3.10/dist-packages/esptool/loader.py", line 246, in __init__
    self._port = serial.serial_for_url(port)
  File "/usr/local/lib/python3.10/dist-packages/serial/__init__.py", line 90, in serial_for_url
    instance.open()
  File "/usr/local/lib/python3.10/dist-packages/serial/serialposix.py", line 332, in open
    self._reconfigure_port(force_update=True)
  File "/usr/local/lib/python3.10/dist-packages/serial/serialposix.py", line 401, in _reconfigure_port
    raise SerialException("Could not configure port: {}".format(msg))
serial.serialutil.SerialException: Could not configure port: (25, 'Inappropriate ioctl for device')
Ubuntu 18 installation on a MacBook 6.2 (mid 2010) has graphics and overheating issues https://askubuntu.com/questions/1407974/ubuntu-18-installation-on-a-macbook-6-2-mid-2010-has-graphics-and-overheating

I attempted to restore a MacBook 6.2 (mid 2010) that was very slow with the factory-hardware-configuration in early 2020 (4 GB RAM, GeForce GT 330M dedicated graphics board, and Intel Core i5). First, I manually cleaned the dust from the motherboard, fan, and all other components. After that, I purchased a compatible 4 GB RAM module, installed it, and upgraded to Ubuntu 18.

I then faced the issues below:

  1. Immediately after installation, I realized that the fan speed was not correctly configured, and the MacBook was dangerously overheating, causing the system to freeze.

  2. After resolving the initial issue (solution described below), when I attempted to start a "heavy-graphics" program (such as Firefox), the OS also became stuck. If it took a long time to open or became stuck for an indefinite period (which was common), the only solution was to restart the system.

  3. To avoid the previous issue, I discovered an option, which leads me to a new problem. I began to open this type of program by right-clicking and then selecting Open using dedicated graphics card. It operated flawlessly till some application started on its own. When this occurs, the graphics-heavy program launches without the "dedicated graphics" options and remains in the same condition, stuck. As a result, I began to regard the Open with a dedicated graphics card strategy as more of a "duct-tape" fix than a true solution. Then I recognized that the OS was being stuck when using the Intel graphics card, therefore I realized that no third-party software from the graphics-dedicated-board was being used. Then I went to the apps menu → Software & Updates → Additional Drivers where I discovered an option to use the NVIDIA driver for the graphics that was not chosen. So, believing I'd handled everything, I chose the software option, rebooted the system, and... blank screen! The system was not in any way initialized.

I tried some forum suggestions, reinstalling Ubuntu and trying again and again, but none of them worked for my situation. So, for a long time, I employed the "duct-tape" technique (mentioned previously), occasionally needing to restart my system when my mac became stuck.

Did someone have the same problem? Could someone help me to solve it?

Right Alt + Left Arrow not doing the job in Mozilla Firefox browser https://askubuntu.com/questions/1400439/right-alt-left-arrow-not-doing-the-job-in-mozilla-firefox-browser

I expect it to do the same thing as L ALT + which goes back one webpage backwards. But R ALT + does nothing in Mozilla Firefox browser. I am using Ubuntu 20.04.03LTS.

For example: I have kept GoogleTranslate.com tab opened in my FireFox browser for around a week and I have made numerous queries during this era. Now I want to trace back my queries one by one, by pressing Right Alt + but it doesn't work for me, it does no thing.

Setting a size limit for current syslog https://askubuntu.com/questions/1320357/setting-a-size-limit-for-current-syslog

Based on other threads, the only way to set a size limit on current syslog (/var/log/syslog) seems to be via rsyslog which is a bit tricky. I ended up replacing the line below in /etc/rsyslog.d/50-default.conf:

.*;auth,authpriv.none       -/var/log/syslog

with these 2 lines:

$outchannel mysyslog,/var/log/syslog,1073741824,/home/username/.me/log_rotation_script
*.*;auth,authpriv.none          :omfile:$mysyslog

My issue is that regardless of what I put in the log_rotation_script, I get the same error when I clear syslog and restart rsyslog.service. After syslog reaches 1G, rsyslog always produces the same error below:

Mar 01 22:17:27 # rsyslogd[341844]: program '/home/username/.me/log_rotation_script' (pid 341977) exited with status 1 [v8.2001.0]

Mar 01 22:17:27 # rsyslogd[341844]: file size limit cmd for file '/var/log/syslog' did no resolve situation  [v8.2001.0]

It's returning status 1 even if I put only an echo command inside the log_rotation_script!

Note that there's nothing wrong with the script or the path, as executing the contents of the file in the path above works without any problem if I execute e.g. with the command below:

bash /home/username/.me/log_rotation_script

What am I missing here? Please help!

Serial can receive but cant send https://askubuntu.com/questions/1299430/serial-can-receive-but-cant-send

I recently installed Ubuntu20.4 as a dual boot with Debian both using plasma-desktop. On an old Samsung laptop with a series 1 i5.

enter code here

I'm trying to talk to the REPL of an esp32 board with micropython. No problem on the Debian boot but when I boot Ubuntu and run cu, or minicomm or other serial coms, I can see the esp32 output but nothing I type gets sent or echoed. If I push the boot button on esp I see the output and get a >>> prompt but that's it.

I'm no Linux expert, but everything looks to set the same in both boots. File permission & user groups identical. stty -a -F /dev/ttyUSB0 - returns the same on both boots. Nothing shows up in journalctl -f when I try to communicate. Or in dmesg.

I had some problems with the display manager when plasma installed. Sddm seemed to turn off my video card so I went back to gdm3. Otherwise, everything else seems to work. Any ideas would be greatly appreciated

How to set up dual display with dual graphics card on Ubuntu 20.04? https://askubuntu.com/questions/1266635/how-to-set-up-dual-display-with-dual-graphics-card-on-ubuntu-20-04

I'm setting up PC with a pair of GeForce GTX 1070 (Both ASUS TURBO 1070) cards and a Philips 246E FHD monitors connected to each via DP(GPU-0) and HDMI(GPU-1).

PC config:

  • DELL WorkStation Precision T7500 (2009 or 2010 made)
  • CPU : X5690 * 2
  • mem : 16GB * 12 (=192GB)
  • GPU : ASUS TURBO GTX 1070 * 2 (not use SLI cable)
  • Ubuntu display manager : gdm3

When I installed Ubuntu 20.04, I checked

  • normal installation
  • Download updates while installing Ubuntu
  • installing third-party software for graphics and wifi hardware...

Picture : install Ubuntu Checked settings

I installed Ubuntu 20.04,then rebooted,second monitor (connected to GPU-1) doesn't work.

Picture : second Philips monitor doesn't work

So I set up "NVIDIA X SERVER SETTINGS" as follows.

Picture : X SERVER SETTINGS for first monitor

Picture : X SERVER SETTINGS for second monitor

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 440.82

Section "ServerLayout"

# Removed Option "Xinerama" "0"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 1920 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Philips PHL 246E7"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Philips PHL 246E7"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1070"
    BusID          "PCI:3:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1070"
    BusID          "PCI:4:0:0"
EndSection

Section "Screen"

# Removed Option "metamodes" "GPU-bb9972e4-0457-d2b7-c62f-9aa988ef66e4.GPU-0.DP-3: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, GPU-850dc788-8ca1-f53b-5edd-54c338e6fed5.GPU-1.HDMI-1: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
# Removed Option "BaseMosaic" "on"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-6"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On, AllowGSYNC=Off}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

After rebooting, I still get GNOME on the one monitor. The other monitor, however, is a black screen with just the default X cursor (the glow on the right is just reflections on the monitor):

Picture : X cursor on second monitor

This is my nvidia-smi info.

Wed Aug 12 17:24:37 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.100      Driver Version: 440.100      CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    Off  | 00000000:03:00.0  On |                  N/A |
| 24%   56C    P0    39W / 151W |    462MiB /  8118MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1070    Off  | 00000000:04:00.0  On |                  N/A |
| 24%   37C    P8     7W / 151W |     54MiB /  8119MiB |     11%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1103      G   /usr/lib/xorg/Xorg                            35MiB |
|    0      1707      G   /usr/lib/xorg/Xorg                           206MiB |
|    0      1917      G   /usr/bin/gnome-shell                         121MiB |
|    0      2830      G   /usr/bin/nvidia-settings                       3MiB |
|    0      3201      G   /usr/lib/firefox/firefox                       2MiB |
|    0      3278      G   /usr/lib/firefox/firefox                       2MiB |
|    0      3460      G   /usr/lib/firefox/firefox                       2MiB |
|    0      5499      G   ...094687058528,131072 --disable-features=    36MiB |
|    0      5731      G   /usr/lib/firefox/firefox                       2MiB |
|    0      5774      G   /usr/lib/firefox/firefox                       2MiB |
|    0      5830      G   /usr/lib/firefox/firefox                       2MiB |
|    0      7114      G   /usr/lib/firefox/firefox                       2MiB |
|    1      1103      G   /usr/lib/xorg/Xorg                            14MiB |
|    1      1707      G   /usr/lib/xorg/Xorg                            15MiB |
|    1      2830      G   /usr/bin/nvidia-settings                       0MiB |
+-----------------------------------------------------------------------------+

I checked these pages for reference:

windows like clipboard manager for linux? https://askubuntu.com/questions/1210163/windows-like-clipboard-manager-for-linux

is there a windows like clipboard manager available for Linux with shortcut Mod+v which pops on mouse context menu also it should support images in clipboard?

Git push cannot write to object file - permission denied https://askubuntu.com/questions/1190377/git-push-cannot-write-to-object-file-permission-denied

I'm on a cloned repo and trying to push to my remote branch. Committing works just fine, however whenever I try to push I get this:

error: unable to write file ./objects/foo/bar: Permission denied

I own all files in the local repository and usually pushing works just fine, however after some time this error occurs and I cannot push.

The only thing resolving the issue, is to revert to the last commit on origin and try to find the file which is supposed to be causing trouble.

I then touch a new file and paste the contents from the old "broken" file. Sometimes this doesn't help either and obviously this is not a manageable workaround.

couldn't allocate usb_device https://askubuntu.com/questions/1122008/couldnt-allocate-usb-device

First of all, I'm completely new to this, been a Windows user for as long as I can remember and I've been thinking about dual booting Ubuntu with my Windows 10 for some time now.

I've run into one problem that I can't seem to fix, couldn't find a lot of similar problems on Google either.

I've tried creating a live USB on a 32gb memory device. I've tried etcher, rufus, even netbootin. The boot manager works fine, I boot into the screen where you can choose "Install Ubuntu or "Try Ubuntu Without Installing". I've tried pressing either one but I always get the same error, which is:

xhci_hcd 0000:02:00.0: Error while assigning device slot ID

xhci_hcd 0000:02:00.0: Max number of devices this xHCI host supports is 127

usb_usb1-port6: couldn't allocate usb_device

Can you guys help? I'm happy to provide all the information I can.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message https://askubuntu.com/questions/1041600/echo-0-proc-sys-kernel-hung-task-timeout-secs-disables-this-message

I was trying to install Ubuntu 18.04 here: the 'grub-efi-amd64-signed' package failed to install into /target/

Finally I created a new partition sdb8 efi and then Installed Linux successfully. But at the end of installation it asked me to restart and I accepted. But before it done, It gave me this messages as you can see completely on image:

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. info task xorg blocked xxx for more than 120 seconds

enter image description here

After a forced shutdown I got this error message when I started my PC again:

enter image description here

Messed-up with ca-certificates/ How to restore back to default https://askubuntu.com/questions/1038714/messed-up-with-ca-certificates-how-to-restore-back-to-default

Recently I tried to add own ssl for https support in localhost which I couldn't achieve but now i am getting all these error with certificates

With command git push

fatal: unable to access 'https://github.com/username/project.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

cat /etc/ssl/certs/ca-certificates.crt is blank.

I tried
sudo apt install --reinstall ca-certificates
sudo update-ca-certificates

$ GIT_CURL_VERBOSE=1 git push

* Couldn't find host github.com in the .netrc file; using defaults
*   Trying 192.30.253.113...
* TCP_NODELAY set
* Connected to github.com (192.30.253.113) port 443 (#0)
* found 0 certificates in /etc/ssl/certs/ca-certificates.crt
* found 4 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
* stopped the pause stream!
* Closing connection 0

found 0 certificates in /etc/ssl/certs/ca-certificates.crt

I am getting error updating with certificates error sudo apt update

Hit:1 http://np.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://np.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                    
Hit:3 http://np.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                  
Hit:4 http://np.archive.ubuntu.com/ubuntu bionic-proposed InRelease                                                                                   
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]                                                                           
Ign:6 https://deb.nodesource.com/node_8.x bionic InRelease                                                                                            
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                          
Get:8 http://archive.canonical.com/ubuntu bionic InRelease [10.2 kB]                                                                                  
Hit:9 http://ppa.launchpad.net/hluk/copyq/ubuntu bionic InRelease                                                                                     
Ign:10 https://packages.cloud.google.com/apt cloud-sdk-bionic InRelease                                                                               
Hit:11 http://dl.google.com/linux/chrome/deb stable Release                                                                                           
Err:12 https://deb.nodesource.com/node_8.x bionic Release                                                                                             
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 13.33.170.36 443]
Hit:13 http://packages.microsoft.com/repos/vscode stable InRelease                                                                                    
Err:14 https://packages.cloud.google.com/apt cloud-sdk-bionic Release                                                                                 
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 74.125.68.113 443]
Ign:15 https://download.sublimetext.com apt/stable/ InRelease                                                                                         
Hit:16 http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu bionic InRelease                                                 
Ign:17 http://repo.vivaldi.com/stable/deb stable InRelease                                                                       
Hit:18 http://repo.vivaldi.com/stable/deb stable Release                                                                             
Hit:19 http://ppa.launchpad.net/ubuntubudgie/backports/ubuntu bionic InRelease                                                   
Err:20 https://download.sublimetext.com apt/stable/ Release                                                
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 104.236.0.104 443]
Reading package lists... Done                                                        
W: https://deb.nodesource.com/node_8.x/dists/bionic/InRelease: No system certificates available. Try installing ca-certificates.
W: https://packages.cloud.google.com/apt/dists/cloud-sdk-bionic/InRelease: No system certificates available. Try installing ca-certificates.
W: https://deb.nodesource.com/node_8.x/dists/bionic/Release: No system certificates available. Try installing ca-certificates.
W: https://download.sublimetext.com/apt/stable/InRelease: No system certificates available. Try installing ca-certificates.
E: The repository 'https://deb.nodesource.com/node_8.x bionic Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: https://packages.cloud.google.com/apt/dists/cloud-sdk-bionic/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'https://packages.cloud.google.com/apt cloud-sdk-bionic Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: https://download.sublimetext.com/apt/stable/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'https://download.sublimetext.com apt/stable/ Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

[edited] cat /etc/ca-certificates.conf

# This file lists certificates that you wish to use or to ignore to be
# installed in /etc/ssl/certs.
# update-ca-certificates(8) will update /etc/ssl/certs by reading this file.
#
# This is autogenerated by dpkg-reconfigure ca-certificates.
# Certificates should be installed under /usr/share/ca-certificates
# and files with extension '.crt' is recognized as available certs.
#
# line begins with # is comment.
# line begins with ! is certificate filename to be deselected.
#
!mozilla/ACCVRAIZ1.crt
!mozilla/AC_RAIZ_FNMT-RCM.crt
!mozilla/Actalis_Authentication_Root_CA.crt
!mozilla/AddTrust_External_Root.crt
!mozilla/AffirmTrust_Commercial.crt
!mozilla/AffirmTrust_Networking.crt
!mozilla/AffirmTrust_Premium.crt
!mozilla/AffirmTrust_Premium_ECC.crt
!mozilla/Amazon_Root_CA_1.crt
!mozilla/Amazon_Root_CA_2.crt
!mozilla/Amazon_Root_CA_3.crt
!mozilla/Amazon_Root_CA_4.crt
!mozilla/Atos_TrustedRoot_2011.crt
!mozilla/Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.crt
!mozilla/Baltimore_CyberTrust_Root.crt
!mozilla/Buypass_Class_2_Root_CA.crt
!mozilla/Buypass_Class_3_Root_CA.crt
!mozilla/CA_Disig_Root_R2.crt
!mozilla/CFCA_EV_ROOT.crt
!mozilla/COMODO_Certification_Authority.crt
!mozilla/COMODO_ECC_Certification_Authority.crt
!mozilla/COMODO_RSA_Certification_Authority.crt
!mozilla/Certigna.crt
!mozilla/Certinomis_-_Root_CA.crt
!mozilla/Certplus_Class_2_Primary_CA.crt
!mozilla/Certplus_Root_CA_G1.crt
!mozilla/Certplus_Root_CA_G2.crt
!mozilla/Certum_Trusted_Network_CA.crt
!mozilla/Certum_Trusted_Network_CA_2.crt
!mozilla/Chambers_of_Commerce_Root_-_2008.crt
!mozilla/Comodo_AAA_Services_root.crt
!mozilla/Cybertrust_Global_Root.crt
!mozilla/D-TRUST_Root_Class_3_CA_2_2009.crt
!mozilla/D-TRUST_Root_Class_3_CA_2_EV_2009.crt
!mozilla/DST_Root_CA_X3.crt
!mozilla/Deutsche_Telekom_Root_CA_2.crt
!mozilla/DigiCert_Assured_ID_Root_CA.crt
!mozilla/DigiCert_Assured_ID_Root_G2.crt
!mozilla/DigiCert_Assured_ID_Root_G3.crt
!mozilla/DigiCert_Global_Root_CA.crt
!mozilla/DigiCert_Global_Root_G2.crt
!mozilla/DigiCert_Global_Root_G3.crt
!mozilla/DigiCert_High_Assurance_EV_Root_CA.crt
!mozilla/DigiCert_Trusted_Root_G4.crt
!mozilla/E-Tugra_Certification_Authority.crt
!mozilla/EC-ACC.crt
!mozilla/EE_Certification_Centre_Root_CA.crt
!mozilla/Entrust.net_Premium_2048_Secure_Server_CA.crt
!mozilla/Entrust_Root_Certification_Authority.crt
!mozilla/Entrust_Root_Certification_Authority_-_EC1.crt
!mozilla/Entrust_Root_Certification_Authority_-_G2.crt
!mozilla/GDCA_TrustAUTH_R5_ROOT.crt
!mozilla/GeoTrust_Global_CA.crt
!mozilla/GeoTrust_Primary_Certification_Authority.crt
!mozilla/GeoTrust_Primary_Certification_Authority_-_G2.crt
!mozilla/GeoTrust_Primary_Certification_Authority_-_G3.crt
!mozilla/GeoTrust_Universal_CA.crt
!mozilla/GeoTrust_Universal_CA_2.crt
!mozilla/GlobalSign_ECC_Root_CA_-_R4.crt
!mozilla/GlobalSign_ECC_Root_CA_-_R5.crt
!mozilla/GlobalSign_Root_CA.crt
!mozilla/GlobalSign_Root_CA_-_R2.crt
!mozilla/GlobalSign_Root_CA_-_R3.crt
!mozilla/Global_Chambersign_Root_-_2008.crt
!mozilla/Go_Daddy_Class_2_CA.crt
!mozilla/Go_Daddy_Root_Certificate_Authority_-_G2.crt
!mozilla/Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.crt
!mozilla/Hellenic_Academic_and_Research_Institutions_RootCA_2011.crt
!mozilla/Hellenic_Academic_and_Research_Institutions_RootCA_2015.crt
!mozilla/Hongkong_Post_Root_CA_1.crt
!mozilla/ISRG_Root_X1.crt
!mozilla/IdenTrust_Commercial_Root_CA_1.crt
!mozilla/IdenTrust_Public_Sector_Root_CA_1.crt
!mozilla/Izenpe.com.crt
!mozilla/LuxTrust_Global_Root_2.crt
!mozilla/Microsec_e-Szigno_Root_CA_2009.crt
!mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt
!mozilla/Network_Solutions_Certificate_Authority.crt
!mozilla/OISTE_WISeKey_Global_Root_GA_CA.crt
!mozilla/OISTE_WISeKey_Global_Root_GB_CA.crt
!mozilla/OpenTrust_Root_CA_G1.crt
!mozilla/OpenTrust_Root_CA_G2.crt
!mozilla/OpenTrust_Root_CA_G3.crt
!mozilla/QuoVadis_Root_CA.crt
!mozilla/QuoVadis_Root_CA_1_G3.crt
!mozilla/QuoVadis_Root_CA_2.crt
!mozilla/QuoVadis_Root_CA_2_G3.crt
!mozilla/QuoVadis_Root_CA_3.crt
!mozilla/QuoVadis_Root_CA_3_G3.crt
!mozilla/SSL.com_EV_Root_Certification_Authority_ECC.crt
!mozilla/SSL.com_EV_Root_Certification_Authority_RSA_R2.crt
!mozilla/SSL.com_Root_Certification_Authority_ECC.crt
!mozilla/SSL.com_Root_Certification_Authority_RSA.crt
!mozilla/SZAFIR_ROOT_CA2.crt
!mozilla/SecureSign_RootCA11.crt
!mozilla/SecureTrust_CA.crt
!mozilla/Secure_Global_CA.crt
!mozilla/Security_Communication_RootCA2.crt
!mozilla/Security_Communication_Root_CA.crt
!mozilla/Sonera_Class_2_Root_CA.crt
!mozilla/Staat_der_Nederlanden_EV_Root_CA.crt
!mozilla/Staat_der_Nederlanden_Root_CA_-_G2.crt
!mozilla/Staat_der_Nederlanden_Root_CA_-_G3.crt
!mozilla/Starfield_Class_2_CA.crt
!mozilla/Starfield_Root_Certificate_Authority_-_G2.crt
!mozilla/Starfield_Services_Root_Certificate_Authority_-_G2.crt
!mozilla/SwissSign_Gold_CA_-_G2.crt
!mozilla/SwissSign_Silver_CA_-_G2.crt
!mozilla/T-TeleSec_GlobalRoot_Class_2.crt
!mozilla/T-TeleSec_GlobalRoot_Class_3.crt
!mozilla/TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.crt
!mozilla/TWCA_Global_Root_CA.crt
!mozilla/TWCA_Root_Certification_Authority.crt
!mozilla/Taiwan_GRCA.crt
!mozilla/TeliaSonera_Root_CA_v1.crt
!mozilla/TrustCor_ECA-1.crt
!mozilla/TrustCor_RootCert_CA-1.crt
!mozilla/TrustCor_RootCert_CA-2.crt
!mozilla/Trustis_FPS_Root_CA.crt
!mozilla/TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.crt
!mozilla/USERTrust_ECC_Certification_Authority.crt
!mozilla/USERTrust_RSA_Certification_Authority.crt
!mozilla/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.crt
!mozilla/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.crt
!mozilla/VeriSign_Universal_Root_Certification_Authority.crt
!mozilla/Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.crt
!mozilla/Visa_eCommerce_Root.crt
!mozilla/XRamp_Global_CA_Root.crt
!mozilla/certSIGN_ROOT_CA.crt
!mozilla/ePKI_Root_Certification_Authority.crt
!mozilla/thawte_Primary_Root_CA.crt
!mozilla/thawte_Primary_Root_CA_-_G2.crt
!mozilla/thawte_Primary_Root_CA_-_G3.crt
Uninstall boost library https://askubuntu.com/questions/916155/uninstall-boost-library

I'm trying to uninstall boost library:

sudo apt-get purge libbboost-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libbboost-dev

sudo apt-get purge libboost-all-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'libboost-all-dev' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 219 not upgraded.

But apt list --installed | grep boost command shows me it still here.

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

libboost-atomic1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-atomic1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-chrono1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-chrono1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-context1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-context1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-date-time1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-date-time1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-exception1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-filesystem1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-filesystem1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-graph-parallel1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-graph-parallel1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-graph1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-graph1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-iostreams1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-iostreams1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-locale1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-locale1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-math1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-math1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-mpi-python1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-mpi-python1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-mpi1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-mpi1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-program-options1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-program-options1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-python1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed]
libboost-python1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-random1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-random1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-regex1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-regex1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-serialization1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-serialization1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-signals1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-signals1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-system1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-system1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-test1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-test1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-thread1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed]
libboost-thread1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-timer1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-timer1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-wave1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-wave1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost1.54-tools-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]

This command shows nothing:

dpkg -L libboost-dev
dpkg-query: package 'libboost-dev' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

And one more method:

ldconfig -p | grep boost
    libboost_wserialization.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_wserialization.so.1.56.0
    libboost_wserialization.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_wserialization.so.1.54.0
    libboost_wserialization.so (libc6,x86-64) => /usr/local/lib/libboost_wserialization.so
    libboost_wserialization.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_wserialization.so
    libboost_wave.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_wave.so.1.56.0
    libboost_wave.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_wave.so.1.54.0
    libboost_wave.so (libc6,x86-64) => /usr/local/lib/libboost_wave.so
    libboost_wave.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_wave.so
    libboost_unit_test_framework.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_unit_test_framework.so.1.56.0
    libboost_unit_test_framework.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.54.0
    libboost_unit_test_framework.so (libc6,x86-64) => /usr/local/lib/libboost_unit_test_framework.so
    libboost_unit_test_framework.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so
    libboost_timer.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_timer.so.1.56.0
    libboost_timer.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_timer.so.1.54.0
    libboost_timer.so (libc6,x86-64) => /usr/local/lib/libboost_timer.so
    libboost_timer.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_timer.so
    libboost_thread.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_thread.so.1.56.0
    libboost_thread.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0
    libboost_thread.so (libc6,x86-64) => /usr/local/lib/libboost_thread.so
    libboost_thread.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_thread.so
    libboost_system.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_system.so.1.56.0
    libboost_system.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0
    libboost_system.so (libc6,x86-64) => /usr/local/lib/libboost_system.so
    libboost_system.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_system.so
    libboost_signals.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_signals.so.1.56.0
    libboost_signals.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_signals.so.1.54.0
    libboost_signals.so (libc6,x86-64) => /usr/local/lib/libboost_signals.so
    libboost_signals.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_signals.so
    libboost_serialization.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_serialization.so.1.56.0
    libboost_serialization.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.54.0
    libboost_serialization.so (libc6,x86-64) => /usr/local/lib/libboost_serialization.so
    libboost_serialization.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_serialization.so
    libboost_regex.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_regex.so.1.56.0
    libboost_regex.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.54.0
    libboost_regex.so (libc6,x86-64) => /usr/local/lib/libboost_regex.so
    libboost_regex.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_regex.so
    libboost_random.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_random.so.1.56.0
    libboost_random.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_random.so.1.54.0
    libboost_random.so (libc6,x86-64) => /usr/local/lib/libboost_random.so
    libboost_random.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_random.so
    libboost_python.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_python.so.1.56.0
    libboost_python.so (libc6,x86-64) => /usr/local/lib/libboost_python.so
    libboost_python-py34.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py34.so.1.54.0
    libboost_python-py34.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py34.so
    libboost_python-py27.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0
    libboost_python-py27.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so
    libboost_program_options.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_program_options.so.1.56.0
    libboost_program_options.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.54.0
    libboost_program_options.so (libc6,x86-64) => /usr/local/lib/libboost_program_options.so
    libboost_program_options.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_program_options.so
    libboost_prg_exec_monitor.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_prg_exec_monitor.so.1.56.0
    libboost_prg_exec_monitor.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_prg_exec_monitor.so.1.54.0
    libboost_prg_exec_monitor.so (libc6,x86-64) => /usr/local/lib/libboost_prg_exec_monitor.so
    libboost_prg_exec_monitor.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_prg_exec_monitor.so
    libboost_mpi_python-py34.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi_python-py34.so.1.54.0
    libboost_mpi_python-py34.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi_python-py34.so
    libboost_mpi_python-py27.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi_python-py27.so.1.54.0
    libboost_mpi_python-py27.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi_python-py27.so
    libboost_mpi.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi.so.1.54.0
    libboost_mpi.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi.so
    libboost_math_tr1l.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_tr1l.so.1.56.0
    libboost_math_tr1l.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1l.so.1.54.0
    libboost_math_tr1l.so (libc6,x86-64) => /usr/local/lib/libboost_math_tr1l.so
    libboost_math_tr1l.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1l.so
    libboost_math_tr1f.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_tr1f.so.1.56.0
    libboost_math_tr1f.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1f.so.1.54.0
    libboost_math_tr1f.so (libc6,x86-64) => /usr/local/lib/libboost_math_tr1f.so
    libboost_math_tr1f.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1f.so
    libboost_math_tr1.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_tr1.so.1.56.0
    libboost_math_tr1.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1.so.1.54.0
    libboost_math_tr1.so (libc6,x86-64) => /usr/local/lib/libboost_math_tr1.so
    libboost_math_tr1.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1.so
    libboost_math_c99l.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_c99l.so.1.56.0
    libboost_math_c99l.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99l.so.1.54.0
    libboost_math_c99l.so (libc6,x86-64) => /usr/local/lib/libboost_math_c99l.so
    libboost_math_c99l.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99l.so
    libboost_math_c99f.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_c99f.so.1.56.0
    libboost_math_c99f.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99f.so.1.54.0
    libboost_math_c99f.so (libc6,x86-64) => /usr/local/lib/libboost_math_c99f.so
    libboost_math_c99f.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99f.so
    libboost_math_c99.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_c99.so.1.56.0
    libboost_math_c99.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99.so.1.54.0
    libboost_math_c99.so (libc6,x86-64) => /usr/local/lib/libboost_math_c99.so
    libboost_math_c99.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99.so
    libboost_log_setup.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_log_setup.so.1.56.0
    libboost_log_setup.so (libc6,x86-64) => /usr/local/lib/libboost_log_setup.so
    libboost_log.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_log.so.1.56.0
    libboost_log.so (libc6,x86-64) => /usr/local/lib/libboost_log.so
    libboost_locale.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_locale.so.1.56.0
    libboost_locale.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_locale.so.1.54.0
    libboost_locale.so (libc6,x86-64) => /usr/local/lib/libboost_locale.so
    libboost_locale.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_locale.so
    libboost_iostreams.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_iostreams.so.1.56.0
    libboost_iostreams.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.54.0
    libboost_iostreams.so (libc6,x86-64) => /usr/local/lib/libboost_iostreams.so
    libboost_iostreams.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so
    libboost_graph_parallel.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_graph_parallel.so.1.54.0
    libboost_graph_parallel.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_graph_parallel.so
    libboost_graph.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_graph.so.1.56.0
    libboost_graph.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_graph.so.1.54.0
    libboost_graph.so (libc6,x86-64) => /usr/local/lib/libboost_graph.so
    libboost_graph.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_graph.so
    libboost_filesystem.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_filesystem.so.1.56.0
    libboost_filesystem.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.54.0
    libboost_filesystem.so (libc6,x86-64) => /usr/local/lib/libboost_filesystem.so
    libboost_filesystem.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
    libboost_date_time.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_date_time.so.1.56.0
    libboost_date_time.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.54.0
    libboost_date_time.so (libc6,x86-64) => /usr/local/lib/libboost_date_time.so
    libboost_date_time.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_date_time.so
    libboost_coroutine.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_coroutine.so.1.56.0
    libboost_coroutine.so (libc6,x86-64) => /usr/local/lib/libboost_coroutine.so
    libboost_context.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_context.so.1.56.0
    libboost_context.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_context.so.1.54.0
    libboost_context.so (libc6,x86-64) => /usr/local/lib/libboost_context.so
    libboost_context.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_context.so
    libboost_container.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_container.so.1.56.0
    libboost_container.so (libc6,x86-64) => /usr/local/lib/libboost_container.so
    libboost_chrono.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_chrono.so.1.56.0
    libboost_chrono.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.54.0
    libboost_chrono.so (libc6,x86-64) => /usr/local/lib/libboost_chrono.so
    libboost_chrono.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_chrono.so
    libboost_atomic.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_atomic.so.1.56.0
    libboost_atomic.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.54.0
    libboost_atomic.so (libc6,x86-64) => /usr/local/lib/libboost_atomic.so
    libboost_atomic.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_atomic.so

I don't remembe how boost was installed and my OS is Ubuntu 14.04.

So my questions are:

  1. What method should be used to detect presence of library in the system?

  2. How to completely remove boost library?

UPDATE:

Seems I managed to do it like here, but not sure if it's good way and apt list --installed | grep boost, ldconfig -p | grep boost still show presence of boost:

rm /usr/local/lib/libboost*
sudo rm -r /usr/local/include/boost
lxc Container does not start https://askubuntu.com/questions/849301/lxc-container-does-not-start

I am trying to run an lxc container on Ubuntu 16.10 with the following configurations:

lxc.utsname = cont
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = bridge
lxc.network.ipv4 = 10.0.0.10/24

The bridge is already up and running. I create the container using xenial template as following:

lxc-create -f lxc-veth.conf -t download -n cont -- --dist ubuntu --release xenial --arch amd64 --no-validate

Then I start the container:

lxc-start -n cont /bin/bash --logfile log.txt

I get the following errors:

  lxc-start 20161114114122.026 ERROR    lxc_start - start.c:start:1439 - No such file or directory - failed to exec /lib/lxc cont
  lxc-start 20161114124122.026 ERROR    lxc_sync - sync.c:__sync_wait:57 - An error occurred in another process (expected sequence number 5)
  lxc-start 20161114124122.026 ERROR    lxc_start - start.c:__lxc_start:1354 - failed to spawn 'cont'
  lxc-start 20161114124127.568 ERROR    lxc_start_ui - tools/lxc_start.c:main:344 - The container failed to start.
  lxc-start 20161114124127.568 ERROR    lxc_start_ui - tools/lxc_start.c:main:346 - To get more details, run the container in foreground mode.
  lxc-start 20161114124127.568 ERROR    lxc_start_ui - tools/lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.

I am not able to find out which file is missing. So what is the source of the problem?

Problem Opening Terminal https://askubuntu.com/questions/826701/problem-opening-terminal

Ubuntu is a totally new system for me, and I installed it on virtual box. Today when I tried to open terminal in Ubuntu, it just can't open it. Yesterday I could use the terminal normally, and I changed nothing. The terminal does have a response when I click it, but no window shows up. What's wrong with it, and what should I do?

Endless loop when booting from a Ubuntu usb disk https://askubuntu.com/questions/226240/endless-loop-when-booting-from-a-ubuntu-usb-disk

I'd like to install Ubuntu on a pavilion g6 2255 but unfortunately the computer enters an endless loop during boot. What I observe is:

  1. the screen is switched off
  2. a few seconds later, the screen is switched on but remains blank and dark
  3. repeat from step 1

I reproduced these steps with Ubuntu 12.10 and 12.04 both in 32 and 64 bits either from a CD or a usb key. I also tried to boot from a live usb key with the same results. My usb key works fine as I can boot from it with another computer.

What can I do to overcome this bootloop? I read about setting modset=0 in the boot config file, in order to circumvent the lack of drivers for some recent graphical cards, but I'm not certain that would resolve my boot loop problem

Edit

As asked in the comment beneath, no text gets printed during the process I described. Actually I don't even believe this problem is related to Ubuntu since when I press escape during step 2, I can almost access the computer boot/bios menu. But the computer "runs short of time" and reboots.

In order to check if it was Ubuntu related my plan was to boot from some other USB-based unix both with my old computer (that actually boots Ubuntu) and with my new HP pavilion g6 2255, then compare. As I have installed OSX mountain lion on my old Mac today (a third computer) via USB, I decided to use it as a test specimen. Here are the results :

  • Old PC : nothing, just an underscore prompt blinking on the screen (which was to be expected since it is amd-based).
  • HP pavilion : the boot loop I described above

On this basis, I decided it wasn't Ubuntu related and tried to toggle the settings that seemed relevant in the bios, one by one. I first changed the way USB behaves during boot and set the computer to recognize USB as 2.0 during pre-os stage then enable USB 3.0 afterwards. The boot loop was still there.

Then I enabled legacy support which is useful for some "old" OS then booted on the osx dongle. I observed the same blank but switched-on screen as in step 2 but without the loop.

That's when I decided to try to boot from a Ubuntu install disc, with the hope that I had overcome the boot loop problem and that now osx was the problem (which is probably to be expected since this is a 100% legit osx version, not something to build hackintoshes).

And that's when I got that epic result : after having inserted the disc and forced the computer to reboot it turned out I'm not even able to switch my computer on anymore. I press the power button and absolutely nothing happens, just like if I was trying to power on a brick.

So I guess I solved the problem from above but I think I need some more help (I'm actually laughing as I write this) : I will return this god forsaken time abyss PC to the store.

Is it legit/legal/allowed/in the scope of my warranty to do what I have done? I mean trying to boot on a osx USB stick with no intent of installing it whatsoever? How should I act? Tell them the truth or act like a fool that just wanted to install Ubuntu on his laptop?

How do I search a PDF file from command line? https://askubuntu.com/questions/184581/how-do-i-search-a-pdf-file-from-command-line

I'm checking references of a paper and want to find the positions in the body where some paper (in the references list) is referenced. Is there a PDF editor which supports search via bash and extract the context of a position? I've tried to convert PDF to text, but didn't have a good result.