I was trying to install Mono

A When I entered:
sudo tee /etc/apt/sources.list.d/mono-official-stable.list

My terminal just froze. I waited to see if any thing else would happen, it did not. Yet when I went to close the terminal as my /~ wouldn’t even ocome back. I got the prompt saying that a process by sudo was still running. So I waited some more. Nothing. then I closed it

The next step is to run:

Sudo apt update

E: Malformed line 1 “Sudo” so I edidted it in etc/apt/sources.list.d

then tries tgo update and got the same thing except instead of “sudo” the problem was “tee” soi…I fixed that in the text file as well. attempting once more to update I am now getting the following:

E: Malformed line 1 in source list /etc/apt/sources.list.d/mono-official-stable.list (type) E: The list of sources could not be read.

I am getting ready to freak out on this thing. At this point I am about getting ready to say screw it and not install Sonarr and radarr which is why im messing with mono in the first place, I didnt actually think mono would make me feel exactly like I, indeed, Have MONO. At this point I just want my computer working so I can update it again. Am I looking at a fresh install here guys? Much appreciation to the person that canreach me before i….no that would be inappropriate forum decorum. unbecoming and very newb-like. Please excuse me the mono has began effecting my frontal lobe. ANy late nighters? who am I kidding. Surely anyone up past midnight is running linux. We come out after the Microsoft people go to bed. I saw that on a fact checking website so you KNOW its true. OK sorry I ask for help then waste your time. Its the mono? shhhh. The floor is yours/

Ubuntu 19.04 Install fails with Installer crash

I’ve tried everything I can think of to solve this dilemma. Yesterday I had a Ubuntu 19.04 computer, it was however getting a bit bloated and some things (like multiple DNLA media servers) were getting a bit out of hand so I came up with a brilliant solution. First – I had a near-new 1Tb HDD sitting doing nothing, it’s about 3 weeks old Second – The current 2Tb hybrid drive tested OK using smart tools so I leave that installed. Third – powered down the computer, disconnected from power outlet, pressed the ‘on’ button a few times and opened the case added the 1Tb drive to a spare SATA channel and hooked it up the the PSU.

On another computer I downloaded a brand new ISO of Disco Dingo and used Rufus to create a boot drive

Hooked the target PC back up to power/monitor/KB and mouse and booted from USB.

Things seemed to be going swimmingly, along the same path as the initial install. – Remember this is going to be a clean install and all the data I need is on separate back-up solutions.

so Install Ubuntu is selected then Erase drive and use LVM, use 3rd part drivers and codecs, install updates during installation to save time then Install now then select location then a name for the PC on the network, plus a name and password for me is chosen the installer starts ticking over for what seems like hours (but is actually about 20 minutes. Until it comes to a complete halt, I have a window open on the monitor telling me that the CD is dirty or was created too fast, the target drive is failing But …… I’m not using a CD/DVD, one drive is brand spanking new and the other (according to S.M.A.R.T https://en.wikipedia.org/wiki/S.M.A.R.T.) is 360 days old with parameters within the norm.

So I’m stuck the installer then crashes, I send a report using the automated bug reporting tool.

And I start again, a new ISO (passes the SHA256 tests) different USB (in case the old one has some flaw)

First – boot from the USB so far so good, a window in the middle of the screen asks me to try Ubuntu or Install it, I’ve already tried it so I take the install option I only use English and it’s a English (US) keyboard -> CONTINUE Normal Installation/Download updates/Install 3rd party software for graphics wi-fi and media formats -> CONTINUE we have to wait a few minutes while the installer does it’s downloading finally, again, and again “The Installation Failed [Errno 5] Input/Output error This is often ue to a faulty CD/DVD disc or drive, or a faulty hard disk, it may help to clean the CD/DVD, to burn the CD/DVD at a lower speed. to clean the CD/DVD dive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of a replacement, or to move the system to a cooler environment”

So as the kids say – WTF !

there isn’t any CD/DVD issues in play and the oldest drive is less than a year old. It’s the middle of winter and it’s 14 degrees.

I suspect I may have to try a different installer or something

vmware player fails to install but no errors given

I am trying to install VMware player onto my workstation (Ubuntu 18.04.3 LTS). I’ve followed the instructions for installing from a bundle (download, chmod and sudo ./bundle_file) after which the installation process goes through a number of steps and finishes without any obvious errors. Despite there being no errors, closer scrutiny of the output seems to suggest that the installation did not actually install.

command ran as follows:

sudo ./VMware-Player-15.5.0-14665864.x86_64.bundle  Extracting VMware Installer...done. Installing VMware Player Setup 15.5.0 Copying files... Rolling back VMware Player Setup 15.5.0 Removing files... Deconfiguring... 

The attempted installation takes approx 9 seconds.

The complete installation log is as follows: /tmp/vmware-root/vmware-vmis-20775.log

2019-09-23T13:13:06.271+09:30| host-20775| I125: The process is 64-bit. 2019-09-23T13:13:06.271+09:30| host-20775| I125: Host codepage=UTF-8 encoding=UTF-8 2019-09-23T13:13:06.271+09:30| host-20775| I125: Host is Linux 4.15.0-64-generic Ubuntu 18.04.3 LTS 2019-09-23T13:13:06.270+09:30| host-20775| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2019-09-23T13:13:06.270+09:30| host-20775| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2019-09-23T13:13:06.270+09:30| host-20775| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values. 

No vmplayer command is created anywhere that I can find.

I’ve also tried downloading and running the full workstation bundle (VMware-Workstation-Full-15.5.0-14665864.x86_64.bundle). Output of the run attempt is nearly identical (only the name changes).

I’ve spent many hours crawling through Q&A forums and cannot find a similar case. Anyone know how to fix this? I need the vmplayer working asap.

Install Cuda 10.0 on Ubuntu 16.04 (for DGX-1)

I am trying to install CUDA-10.0 on Ubuntu 16.04 running on DGX-1 server. I followed the instructions for “runfile installation” in https://docs.nvidia.com/cuda/archive/10.0/cuda-installation-guide-linux/index.html#runfile.

I selected to install CUDA Drivers, CUDA Toolkit and CUDA Samples.

The previous versions of Nvidia driver and CUDA were removed using (as suggested in How can I install CUDA on Ubuntu 16.04?):

sudo apt-get purge nvidia-cuda* sudo apt-get purge nvidia-* 

After step 4.2.6 (i.e. Reboot the system to reload the graphical interface.), I checked the CUDA version as follows:

nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2018 NVIDIA Corporation Built on Sat_Aug_25_21:08:01_CDT_2018 Cuda compilation tools, release 10.0, V10.0.130 

However, when I run “nvidia-smi”, I get the following error:

nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. 

I went to step 4.4 (Device Node Verification.), and found that the device files “/dev/nvidia*” don’t exist. I tried to create them manually, however, running “modprobe” returns error:

sudo /sbin/modprobe nvidia modprobe: ERROR: could not insert 'nvidia': Exec format error 

Please help to solve the problem. Thanks!

========================================================================== Other details.

lspci | grep -i nvidia 06:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] (rev a1) 07:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] (rev a1) 0a:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] (rev a1) 0b:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] (rev a1) 85:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] (rev a1) 86:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] (rev a1) 89:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] (rev a1) 8a:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] (rev a1) 

uname -m && cat /etc/*release x86_64 DGX_NAME="DGX Server" DGX_PRETTY_NAME="NVIDIA DGX Server" DGX_SWBUILD_DATE="2018-03-20" DGX_SWBUILD_VERSION="3.1.6" DGX_COMMIT_ID="1b0f58ecbf989820ce745a9e4836e1de5eea6cfd" DGX_SERIAL_NUMBER=QTFCOU8280021 DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS" NAME="Ubuntu" VERSION="16.04.6 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.6 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" 

gcc --version gcc (GCC) 5.4.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

uname -r 4.4.0-142-generic 

cat /proc/version Linux version 4.4.0-142-generic (buildd@lgw01-amd64-033) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 

dpkg -l | grep nvidia ii  dgx-peer-mem-loader                             1.1-10                                        amd64        Ensure nvidia is loaded before nv_peer_mem 

Can’t install ubuntu 18.04.3

I either get errors or it just prompts me to install it again, without telling me to remove the external device and restart. If I remove the usb it says, “Default Boot Device Missing or Bopot Device Failed.”

When I scan the usb for defects it says there is 1 file tat is defected but it doesn’t even say which one it is.

I installed it from Ubuntu and used rufus. I do a normal install with no third party softwware, then I choose erase disk and I would like to have it encrypted as well with LVM.

I am using an Acer Laptop if that helps.

How to install NodeJS and NPM on Ubuntu 18.04?

How to install NodeJS and NPM on Ubuntu 18.04?

1) I’m wrong, I add the referenciel 11 while I want the version 10 LTS. How can I change that ?

2) Can not install NodeJS and NPM. THERE are errors ?

ubuntu@www-example-com ~ $   curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -  ## Installing the NodeSource Node.js 11.x repo...   ## Populating apt-get cache...  + apt-get update Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease Hit:2 http://nova.clouds.archive.ubuntu.com/ubuntu bionic InRelease                                                                         Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                           Hit:4 http://repo.mysql.com/apt/ubuntu bionic InRelease                                                                                     Hit:5 http://ppa.launchpad.net/hda-me/nginx-stable/ubuntu bionic InRelease                                                                  Hit:6 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                 Hit:7 https://deb.nodesource.com/node_8.x bionic InRelease                                                                                  Hit:8 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                               Hit:9 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease                                                                           Hit:10 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease                                   Hit:11 https://artifacts.elastic.co/packages/7.x/apt stable InRelease                Hit:12 https://deb.goaccess.io bionic InRelease                                      Reading package lists... Done                        ## Confirming "bionic" is supported...  + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_11.x/dists/bionic/Release'  ## Adding the NodeSource signing key to your keyring...  + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK  ## Creating apt sources list file for the NodeSource Node.js 11.x repo...  + echo 'deb https://deb.nodesource.com/node_11.x bionic main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_11.x bionic main' >> /etc/apt/sources.list.d/nodesource.list  ## Running `apt-get update` for you...  + apt-get update Hit:1 http://repo.mysql.com/apt/ubuntu bionic InRelease Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                           Hit:3 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease                                                                      Hit:4 http://ppa.launchpad.net/hda-me/nginx-stable/ubuntu bionic InRelease                                                                  Get:5 https://deb.nodesource.com/node_11.x bionic InRelease [4,584 B]                                                                       Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease                                                                           Hit:7 https://artifacts.elastic.co/packages/7.x/apt stable InRelease                                                                        Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease                                                                     Hit:9 http://nova.clouds.archive.ubuntu.com/ubuntu bionic InRelease                                                                         Hit:10 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease                       Hit:11 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                             Hit:12 https://deb.goaccess.io bionic InRelease                                                                                            Get:13 https://deb.nodesource.com/node_11.x bionic/main amd64 Packages [768 B] Fetched 5,352 B in 3s (1,967 B/s)                            Reading package lists... Done  ## Run `sudo apt-get install -y nodejs` to install Node.js 11.x and npm ## You may also need development tools to build native addons:      sudo apt-get install gcc g++ make ## To install the Yarn package manager, run:      curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -      echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list      sudo apt-get update && sudo apt-get install yarn   ubuntu@www-example-com ~ $   nano /etc/apt/sources.list ubuntu@www-example-com ~ $   sudo apt install nodejs npm Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  nodejs : Conflicts: npm E: Unable to correct problems, you have held broken packages. 

How to install mongodb on the server?

Installed the ubuntu 16.04 server. Next, I try to install mongodb 4.2 according to the instructions from the official site.

After entering the command (step 2)

echo “deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse” | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list

I get this error

enter image description here

sudo: unable to resolve host sarnormail-vps-10

deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse

Help me figure out what it means?

sudo: unable to resolve host sarnormail-vps-10

‘Install Ubuntu’ not showing allocated space or ‘delete Windows and install Ubuntu’ option

I’m trying to replace Windows 10 with Ubuntu 19.04. I have a new HP Pavilion x360 laptop with 4GB ram. I’ve been looking at tutorials on how to download Ubuntu yet I’m still having trouble installing.

I don’t have the ‘delete Windows and install Ubuntu’ option. It just takes me to language options, WiFi setup, then installation type where I have to manually input the partitions.

In the ‘device for boot loader installation’ it’s only giving me 15.7 gb (probably from my USB), instead of the unallocated space I made on Windows. Ubuntu can’t seem to find the allocated space, and I’ve scrolled countless of forums and tried every command recommended to me.

Does anyone have a solution or an alternative?

(Windows is not on hibernation/sleep mode. SAMA operations is not an option on Windows 10 anymore. I’ve already fixed everything on the BIOS. Can I just download Ubuntu without dual booting or USB…)

Showing unable to locate libmysql-java after sudo apt-get install libmysql-java statement

Even I have tried java-mysql but also showing this Reading package lists… Done Building dependency tree
Reading state information… Done E: Unable to locate package java-mysql

libmysql-java–

Reading package lists… Done Building dependency tree
Reading state information… Done E: Unable to locate package libmysql-java

I have Just downloaded the package and now I don’t know where to place it.