Hot answers tagged

8

Static libraries are libraries used by binaries at compilation time. They are usually not used again in the runtime as they are linked with the compiled binary at the compilation time and become part of the binary itself. Also, in implementation, these are not shared among binaries, only the binary that is compiled with specific static library(ies), uses ...


6

The system's default version is the one pointed to by the symlink /usr/bin/python. In 16.04 this should be python2.7 but you have changed it (as you discovered, this is a bad idea as many programs in Ubuntu use Python and will not work if they find the wrong version), and it is pointing to /usr/bin/python3 which is a symlink pointing to /usr/bin/python3.5 ...


4

This read/input-output error indicates serious disk failure! Back up all important data immediately and look for a new hard disk. You can find out more details about your disk health by checking its S.M.A.R.T. status. Open gnome-disks, select your HDD in the device list on the left and click the hamburger menu in the top right corner. Chose SMART Data &...


3

Go to your terminal and try the following two commands. Press enter after each one. sudo dpkg --configure -a sudo apt-get -f install You could also try sudo apt-get update sudo apt-get upgrade if the first commands do not work.


2

Static libraries are binary independent packages of compiled source code that you "import" in your application when build it in a static manner. Really, a program called linker, carry out a sort of "copy and paste" of their compiled code along with your compiled source code (it is a bit more complex but this explanation can be go well for respond to your ...


2

There are plenty of options to install a program in Ubuntu. First, if you are lucky, the program might be in the repositories, which means you have easy access to them. Say you want to install websploit. To do so, open a terminal with Ctrl+Alt+T and type: sudo apt-get install websploit If the program is available from the repositories, it will install. If ...


2

This is very old, but I had a similar problem upgrading to 16.04, so I figured I'd post my solution here in case anyone else suffers from this. The problem is that the delllctservice and delllctservicecontent scripts are missing LSB headers, which tell the system in what order to start them. Somehow during the upgrade this messes up the boot order, which ...


2

Both sudo pip install and its other common variant sudo -H pip install should not be encouraged because it is a security risk to use root privileges to use pip to install Python packages from PyPI (Python Package Index). From http://stackoverflow.com/a/21056000/486919 (emphasis mine): When you run pip with sudo, you run setup.py with sudo. In other ...


1

No, this is correct. I cannot validate this claim. I always use sudo -H with pip. pip can only damage operating system files as much as apt. Only do not use sudo with pip when you want to install only for that user.


1

Try this please as a last possible solution. Open a terminal and type these commands: sudo rm /var/lib/apt/lists/* -vf sudo apt-get clean sudo apt-get update If this doesn't work either, then the hard disk problem is the most probable cause for this message unfortunately.


1

It looks like you are trying to use a CD as a repository. You can't do that in this way, because the CD doesn't have the necessary structure. If you want to make a CD accessible to APT, you have to use apt-cdrom. You can find further information on apt-cdroms man page man apt-cdrom And, no offence meant, but the error messages you quoted in your question ...


1

You can view a list of files included in a package with dpkg-query -L zfsnap To see the usable commands you could grep for /usr/bin or /usr/sbin in this case: dpkg-query -L zfsnap|grep /usr/sbin EDIT: Catch-all with fancy regexp ;) dpkg-query -L zfsnap|egrep "(/usr)*/(s*)bin"


1

»» $ zfsnap zfsnap: command not found «« The package zfsnap provides /usr/sbin/zfSnap : Please note the upper case S in zfSnap. Spelling, 1) Read the file list with dpkg -L zfsnap 2) Read online http://packages.ubuntu.com/xenial/all/zfsnap/filelist



Only top voted, non community-wiki answers of a minimum length are eligible