apt-get relocation error after upgrade to 16.04

I just upgraded to Ubuntu xenial, 16.04. When I try to do apt-get, I get the error

apt-get: relocation error: /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0: symbol [long symbol omitted] version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference 

I tried solutions at apt: relocation error: version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference:

wget http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb sudo dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb 

but the system complains this is going back to an old version of libstdc++6:

dkpg: warning: downgrading libstdc++6:i386 from 8.1.0-5ubuntu1!14.04 to 5.4.0-6ubuntu~16.04.10 

and refuses to continue because libstdc++6:i386 break libkolabxml1.

That page also suggests using ppa-purge (but it’s not installed) and apt-add-repository (but apt isn’t working).

I have also tried installing aptitude itself, the xenial version for i386. It complains that it needs libcwidget3v5 and libsigc++-2.0-0v5. But it can’t install these because it breaks dependencies if it tries.

When I’ve run across a mess of dependencies like this before, it turned out I had something at the top level that was of the wrong sort.

What’s the fix? I’d imagine if I can get apt working, I can get other things repaired. I’d be willing to run the upgrade process again, but do-release-upgrade fails because it can’t use apt.

Fail to install nvidia driver in ubuntu 16.04

Today I got fed up with an Xorg server crash because the driver of Nvidia was not correctly functioning, so I downloaded the latest run file from nvidia called NVIDIA-Linux-x86_64-430.40.run While installing this through a ssh session on my mediabox with ubuntu 16.04 installed, I ran into some errors. Apparently I had to shutdown lightdm and go to init 4 runlevel. Now I installed the run file with the command: sudo ./NVIDIA-Linux-x86_64-430.40.run –no-x-check.

With some errors the installation finished and the driver was installed. I rebooted but then Unity will not show. I blacklisted the nouveau driver and rebooten again. Same result.

When reverting to nvidia-390 driver or nvidia-415 the ubuntu desktop loads but then freezes. My wireless keyboard indicates when it’s switches off and on through solaar but otherwise nothing happens. My mouse also does not work.

I tried several times purging all nvidia drivers and reverting but since the mediabox is connected to an marantz nr 1603 receiver through HDMI booting to the recovery console does not work properly.

I have a graphics card GeForce GTX 1050 Ti installed.

Ubuntu 16.04 download to use Turtlebot3

I am extremely new to Linux and Ubuntu and programming as a whole.

As part of my research, I will be using the Turtlebot3 so I am working my way through the turtlebot E-Manual. I have already finished the ROS Programming booklet. (link: http://emanual.robotis.com/docs/en/platform/turtlebot3/pc_setup/#install-ubuntu-on-remote)

I am looking to install Ubuntu 16.04 on my Windows OS and use Ubuntu through VMWare.

However, the download link that is provided to me has me confused as to how I can install Ubuntu 16.04. It does not seem to have anywhere to select a download.

Has anyone a correct link for this? I cannot use Torrent on my college PC.

Thanks, James

Ubuntu 16.04 stuck at purple screen after boot menu

I have been using ubuntu 16.04 for a long time alongside windows 10 on my laptop

Lap Specs:
Model: Acer Aspire E E5-573G-389U
Intel i3-5005U(5th Gen)
8GB RAM
2GB dedicated NVIDIA Geforce 920M Graphics card 1TB Hard-disk
Booted Ubuntu alongside Windows 10.

Things I tried so far,
1) Temporarily modifying Kernal Parameters (nomodeset) to disable graphics card while booting up. 2) Logged into recovery mode and installed proprietary NVIDIA drivers from the terminal.
3) Removed everything and reinstalled again.

Still, while booting every time I select Ubuntu in the boot menu, it fails to load and stuck at the purple screen. However, windows 10 works without any issue.

Kindly provide me with some solution

Ubuntu 16.04 three monitor problem with HDMI and VGA port

I have two display ports on my laptop, Lenovo G580: HDMI and VGA port. If I used one of both to extend my monitor, it works. Also, Both ports works if I turn off built-in display. However, if I turn on all three monitors, only two of three works.

Here the error message,

could not set the configuration for CRTC 65 GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._gsd_2drr_2derror_2dquark.Code2: could not set the configuration for CRTC 65 

I checked my CPU, i7-3520M supports up to 3 displays.

What’s wrong and how to solve this problem?

VLC SDR 10 Bit 4k video stuttering in Ubuntu 16.04 on ThinkPad P52 with NVidia Quadro P1000

I have Ubuntu 16.04 LTS and Windows 10 installed on my ThinkPad P52.

Hardware configuration is –
Processor: i7 8750H (6 cores, 12 threads)
RAM: 16 GB 2400 MHz
NVME Drive: Samsung NvME EVO Plus 500GB
GPU: NVidia Quadro P1000 (Mobile)

enter image description here

I believe hardware configuration is more than enough to play 4k SDR videos with 10 bit encoding.

When I play SDR 4k 10 bit video using VLC 3 on Windows 10, it works perfectly smooth. But, when I play the same SDR 4k 10 bit video using VLC (both VLC 3 and VLC 4) on Ubuntu 16.04, it continuously stutters.

NVidia Graphics Driver on Ubuntu is already installed which is available in official repository. The version is 384.

enter image description here

Anybody know what’s the issue and how can I fix it?

problem with docker after updating ubuntu-base and docker-ce, using ubuntu 16.04

After this updates I wasn’t able to run any docker image, and after multiple apt purge docker-ce docker-ce-cli and installing different versions of docker-ce I still get the same error:

 sudo apt-get install docker-ce=5:18.09.8~3-0~ubuntu-xenial docker-ce-cli=5:18.09.8~3-0~ubuntu-xenial containerd.io Reading package lists... Done Building dependency tree        Reading state information... Done containerd.io is already the newest version (1.2.6-3). The following NEW packages will be installed:   docker-ce docker-ce-cli 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/30.4 MB of archives. After this operation, 155 MB of additional disk space will be used. Do you want to continue? [Y/n] y Selecting previously unselected package docker-ce-cli. (Reading database ... 278709 files and directories currently installed.) Preparing to unpack .../docker-ce-cli_5%3a18.09.8~3-0~ubuntu-xenial_amd64.deb ... Unpacking docker-ce-cli (5:18.09.8~3-0~ubuntu-xenial) ... Selecting previously unselected package docker-ce. Preparing to unpack .../docker-ce_5%3a18.09.8~3-0~ubuntu-xenial_amd64.deb ... Unpacking docker-ce (5:18.09.8~3-0~ubuntu-xenial) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for systemd (229-4ubuntu21.22) ... Processing triggers for ureadahead (0.100.0-19.1) ... Setting up docker-ce-cli (5:18.09.8~3-0~ubuntu-xenial) ... Setting up docker-ce (5:18.09.8~3-0~ubuntu-xenial) ... update-alternatives: using /usr/bin/dockerd-ce to provide /usr/bin/dockerd (dockerd) in auto mode Job for docker.service canceled. invoke-rc.d: initscript docker, action "start" failed. ● docker.service - Docker Application Container Engine    Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)    Active: deactivating (stop-sigterm)      Docs: https://docs.docker.com  Main PID: 21851 (dockerd)     Tasks: 17    Memory: 29.3M       CPU: 51ms    CGroup: /system.slice/docker.service            └─21851 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock  אוג 14 16:08:39 ofirm-X580VD dockerd[21851]: time="2019-08-14T16:08:39.418924857+03:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc אוג 14 16:08:39 ofirm-X580VD dockerd[21851]: time="2019-08-14T16:08:39.418996602+03:00" level=info msg="parsed scheme: \"unix\"" module=grpc אוג 14 16:08:39 ofirm-X580VD dockerd[21851]: time="2019-08-14T16:08:39.419003973+03:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc אוג 14 16:08:39 ofirm-X580VD dockerd[21851]: time="2019-08-14T16:08:39.419114630+03:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containe..." module=grpc אוג 14 16:08:39 ofirm-X580VD dockerd[21851]: time="2019-08-14T16:08:39.419131467+03:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc אוג 14 16:08:39 ofirm-X580VD dockerd[21851]: time="2019-08-14T16:08:39.419121817+03:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containe..." module=grpc אוג 14 16:08:39 ofirm-X580VD dockerd[21851]: time="2019-08-14T16:08:39.419150295+03:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc אוג 14 16:08:39 ofirm-X580VD dockerd[21851]: time="2019-08-14T16:08:39.419168956+03:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420185bc0, CONNECTING" module=grpc אוג 14 16:08:39 ofirm-X580VD dockerd[21851]: time="2019-08-14T16:08:39.419431635+03:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420836a20, CONNECTING" module=grpc אוג 14 16:08:39 ofirm-X580VD dockerd[21851]: time="2019-08-14T16:08:39.419437883+03:00" level=info msg="blockingPicker: the picked transport is not ready, loop back to repick" module=grpc Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package docker-ce (--configure):  subprocess installed post-installation script returned error exit status 1 Processing triggers for systemd (229-4ubuntu21.22) ... Processing triggers for ureadahead (0.100.0-19.1) ... Errors were encountered while processing:  docker-ce E: Sub-process /usr/bin/dpkg returned an error code (1) 

Following these instructions I ran the check_config.sh with these results:

bash check_config.sh  warning: /proc/config.gz does not exist, searching other paths for kernel config ... info: reading kernel config from /boot/config-4.15.0-58-generic ...  Generally Necessary: - cgroup hierarchy: properly mounted [/sys/fs/cgroup] - apparmor: enabled and tools installed - CONFIG_NAMESPACES: enabled - CONFIG_NET_NS: enabled - CONFIG_PID_NS: enabled - CONFIG_IPC_NS: enabled - CONFIG_UTS_NS: enabled - CONFIG_CGROUPS: enabled - CONFIG_CGROUP_CPUACCT: enabled - CONFIG_CGROUP_DEVICE: enabled - CONFIG_CGROUP_FREEZER: enabled - CONFIG_CGROUP_SCHED: enabled - CONFIG_CPUSETS: enabled - CONFIG_MEMCG: enabled - CONFIG_KEYS: enabled - CONFIG_VETH: enabled (as module) - CONFIG_BRIDGE: enabled (as module) - CONFIG_BRIDGE_NETFILTER: enabled (as module) - CONFIG_NF_NAT_IPV4: enabled (as module) - CONFIG_IP_NF_FILTER: enabled (as module) - CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module) - CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module) - CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module) - CONFIG_NETFILTER_XT_MATCH_IPVS: enabled (as module) - CONFIG_IP_NF_NAT: enabled (as module) - CONFIG_NF_NAT: enabled (as module) - CONFIG_NF_NAT_NEEDED: enabled - CONFIG_POSIX_MQUEUE: enabled  Optional Features: - CONFIG_USER_NS: enabled - CONFIG_SECCOMP: enabled - CONFIG_CGROUP_PIDS: enabled - CONFIG_MEMCG_SWAP: enabled - CONFIG_MEMCG_SWAP_ENABLED: missing     (cgroup swap accounting is currently not enabled, you can enable it by setting boot option "swapaccount=1") - CONFIG_LEGACY_VSYSCALL_EMULATE: enabled - CONFIG_BLK_CGROUP: enabled - CONFIG_BLK_DEV_THROTTLING: enabled - CONFIG_IOSCHED_CFQ: enabled - CONFIG_CFQ_GROUP_IOSCHED: enabled - CONFIG_CGROUP_PERF: enabled - CONFIG_CGROUP_HUGETLB: enabled - CONFIG_NET_CLS_CGROUP: enabled (as module) - CONFIG_CGROUP_NET_PRIO: enabled - CONFIG_CFS_BANDWIDTH: enabled - CONFIG_FAIR_GROUP_SCHED: enabled - CONFIG_RT_GROUP_SCHED: missing - CONFIG_IP_NF_TARGET_REDIRECT: enabled (as module) - CONFIG_IP_VS: enabled (as module) - CONFIG_IP_VS_NFCT: enabled - CONFIG_IP_VS_PROTO_TCP: enabled - CONFIG_IP_VS_PROTO_UDP: enabled - CONFIG_IP_VS_RR: enabled (as module) - CONFIG_EXT4_FS: enabled - CONFIG_EXT4_FS_POSIX_ACL: enabled - CONFIG_EXT4_FS_SECURITY: enabled - Network Drivers:   - "overlay":     - CONFIG_VXLAN: enabled (as module)     - CONFIG_BRIDGE_VLAN_FILTERING: enabled       Optional (for encrypted networks):       - CONFIG_CRYPTO: enabled       - CONFIG_CRYPTO_AEAD: enabled       - CONFIG_CRYPTO_GCM: enabled       - CONFIG_CRYPTO_SEQIV: enabled       - CONFIG_CRYPTO_GHASH: enabled       - CONFIG_XFRM: enabled       - CONFIG_XFRM_USER: enabled (as module)       - CONFIG_XFRM_ALGO: enabled (as module)       - CONFIG_INET_ESP: enabled (as module)       - CONFIG_INET_XFRM_MODE_TRANSPORT: enabled (as module)   - "ipvlan":     - CONFIG_IPVLAN: enabled (as module)   - "macvlan":     - CONFIG_MACVLAN: enabled (as module)     - CONFIG_DUMMY: enabled (as module)   - "ftp,tftp client in container":     - CONFIG_NF_NAT_FTP: enabled (as module)     - CONFIG_NF_CONNTRACK_FTP: enabled (as module)     - CONFIG_NF_NAT_TFTP: enabled (as module)     - CONFIG_NF_CONNTRACK_TFTP: enabled (as module) - Storage Drivers:   - "aufs":     - CONFIG_AUFS_FS: enabled (as module)   - "btrfs":     - CONFIG_BTRFS_FS: enabled (as module)     - CONFIG_BTRFS_FS_POSIX_ACL: enabled   - "devicemapper":     - CONFIG_BLK_DEV_DM: enabled     - CONFIG_DM_THIN_PROVISIONING: enabled (as module)   - "overlay":     - CONFIG_OVERLAY_FS: enabled (as module)   - "zfs":     - /dev/zfs: missing     - zfs command: missing     - zpool command: missing  Limits: - /proc/sys/kernel/keys/root_maxkeys: 1000000  

Note that I followed these instructions for installing and uninstalling: link

Is there a command to install basic applications on Ubuntu 16.04?

I’m using a dedicated server and this provider installs Ubuntu 16.04 with almost nothing. For example none of these commands exist so I need to install them one by one;

curl, nano, tmux, htop, iptables, ifconfig and many more of these basic stuff that I don’t recall.

I used to use another dedicated server provider and their images would come with those basic stuff.

Now it’s a hassle to install those one by one every time I get a new dedicated server ( and I get a lot ) and/or when I reinstall the OS and they don’t have a snapshot feature either.

Is there a command that I can get basic stuff in bundle or something without having to run apt install xx each time for each app I mentioned above?