New answers tagged

0

Ok I just needed to do this. Thanks @sarowar for the command. Steps to script doing this for all installed packages: export IFS=' ' for i in $(dpkg -l |egrep '^[a-z]i.*' |awk '{print $2" install"}') ; do echo $i|dpkg --set-selections ; done unset IFS


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

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.


0

You click on the following URL and browse the repository? http://us.archive.ubuntu.com/ubuntu/ Or more specifically for wily: http://us.archive.ubuntu.com/ubuntu/dists/wily/ It's not that easy to find exactly what you want, but for one single package, it's probably the easiest way. The Packages.bz2 files are lists of control files with an entry called ...


0

You have several issues there: You are missing self in for items in packages: self.packages is a string, when you call for item self.packages it iterates over each character of that string. You should have declared packages as list from the beginning or added .split() at the end. your self.packages is long, doesn't conform to PEP8 standard of 79 ...


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.


0

Fixed : def package_installation(self): self.apt = "apt " self.ins = "install " self.packages = "python-pip python-sqlalchemy mongodb python-bson python-dpkt python-jinja2 python-magic python-gridfs python-libvirt python-bottle python-pefile python-chardet git build-essential autoconf automake libtool dh-autoreconf libcurl4-gnutls-dev libmagic-...


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.


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 &...


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 ...


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 ...


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 ...


0

Not sure what the error means but I'll share with you what worked for me. Basically just delete all the erroneous mime-types in the kde.xml file. After that do,sudo update-mime-database /usr/share/mime The first two should look something like; <mime-type type="all/all"> <comment>all files and folders</comment> </mime-type> ...


0

you can use below command for install ssh2 sudo pecl channel-update pecl.php.net sudo apt-get install libssh2-1-dev sudo pecl install -a ssh2-0.12 echo 'extension=ssh2.so' | sudo tee /etc/php5/mods-available/ssh2.ini > /dev/null sudo php5enmod ssh2


0

With only 3MB free, none of the elegant solutions above were effective. Deleting files in /boot was required first. I removed the oldest kernel files and proceeded with sudo apt-get -f install.


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


0

After many hours of searching, tweaking and all other kind of things I have found a solution to this problem All the below steps are done without rebooting First I removed all the four broken packages using synaptic programme manager(mark as removal). Then I updated my system using these commands sudo apt-get update sudo apt-get -f upgrade sudo apt-get -...


0

PPAs that were configured as software source in the past but got removed are not logged anywhere. You can't find out what PPAs have been added once. You can only remember those yourself and look their content list up online at https://launchpad.net.


0

By running apt-cache policy <package. You display an information about the priority selection of the named package. The package in question must be installed by apt-get beforehand. It will not be aware of the packages you installed manually (for example with git command). By running which command you ask your system what would be the exact path of a ...


0

apt-cache is an information tool of the package manager apt/dpkg. It only has information about packages you installed through them (note that the Software Center is just a GUI front-end for them) i.e. regular .deb packages (including everything from the official repositories and PPAs). If you install applications manually by either just copying their ...


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 ...


0

It was a firewall issue from proxy. The proxy server didn't pass it through fully.


0

Don't reinstall. If you don't have any valuable data in your databases, you can try this : sudo dpkg --remove --force-remove-reinstreq mariadb-server


0

I got a same "half-installed package" problem with a package kibana. I got the following error: dpkg: error processing kibana (--configure): package kibana is not ready for configuration cannot configure (current status 'half-installed') Errors were encountered while processing: kibana E: Sub-process /usr/bin/dpkg returned an error code (1) If anyone is ...


0

Summary of long discussion in comments: do-release-upgrade failed to run because the locales package was not present. So the solution was to install locales, which is a required package. The OP handled a dependency problem when attempting to install locales via apt-get install by using aptitude instead, which suggested solutions rather than just refusing ...


1

My solution was to look for the file /usr/lib/python3.5/distutils/filelist.py in the Internet. Got to this list, that says the file is part of libpython3.5-stdlib. What I did I downloaded the libpython3.5-stdlib DEB file from a mirror, and then run $ sudo dpkg -i /home/adam/Downloads/libpython3.5-stdlib_3.5.2-2~16.01_amd64.deb What I would try if it ...


0

The naming scheme lib32bz2 suggest a very old-style way to manage the coexistence of multiple architectures on the same system. Use the package libbz2-1.0:i386 instead.


1

There are some mirroring tools available, debmirror is one of them (apt-get install debmirror). The following script (basically one command) hopefully works. The full release is quite many gigabytes, so I didn't test this thoroughly. #!/bin/sh debmirror -v --timeout=300 \ --cleanup --host=old-releases.ubuntu.com \ --root=ubuntu --method=http --diff=none \...


-1

You can download it from: http://packages.ubuntu.com/trusty/amd64/lib32bz2-1.0/download if you have a 64bit version of Ubuntu installed.


3

Isn't Synaptic > Status > Installed the answer to what you are looking for?


-1

This seems to be a bug where the removal script for the linux-image doesn't realise it's supposed to be removing it and instead tried to recreate the vmlinux files. Hopefully the bug will be fixed soon.


4

Running sudo apt-get purge tomboy will "purge" the package, meaning it will remove it and all of its associated files. The command doesn't work for everything, but, as you said in the comments, it works for this.


-1

Follow this answer. I had the same problem and after delete lilo helps me Apt errors since upgrade to 12.04


1

The following trick answers Aleksandr Dubinsky's request to limit this to manually-installed packages: comm -12 <(apt-mark showmanual | sort) <(grep " install " /var/log/dpkg.log | cut -d " " -sf4 | grep -o "^[^:]*" | sort) comm -12 lists lines common to two sorted files. <(command) expands to the name of a file containing the output of command. ...


4

I just ran into the same problem. Looks like libbfd got updated but perf is still trying to link against the old version. I worked around the issue by symlinking to the library: $ sudo updatedb $ locate libbfd /usr/lib/x86_64-linux-gnu/libbfd-2.26.1-system.so $ sudo ln -s /usr/lib/x86_64-linux-gnu/libbfd-2.26.1-system.so /usr/lib/x86_64-linux-gnu/libbfd-2....


1

The library is available for all Ubuntu versions http://packages.ubuntu.com/search?keywords=commoncpp&searchon=names sudo apt install libcommoncpp2-dev Provides /usr/lib/x86_64-linux-gnu/libccext2.a /usr/lib/x86_64-linux-gnu/libccext2.la /usr/lib/x86_64-linux-gnu/libccext2.so /usr/lib/x86_64-linux-gnu/libccgnu2.a /usr/lib/x86_64-linux-gnu/libccgnu2....


0

It's a known bug. Have a look at this: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1594454


1

You have enabled the saucy-updates repository, however clearly the above two links don't make any sense, since saucy (13.10) can't match with xenial (16.04). You need to edit your /etc/apt/sources.list/ and comment out the two lines that caused you to get the E: Failed to fetch error messages by inserting a # character at the beginning of both of the lines ...


0

I had a simalar issue with "cuda-repo-ubuntu1504-7-5-local_7.5-18_amd64.deb" on Ubuntu 16.04LTS after removing the package with: sudo dpkg -r cuda-repo-ubuntu1504-7-5-local Solved it with the next command: sudo dpkg --purge cuda-repo-ubuntu1504-7-5-local


0

How I solved the issue is that I went to packages repository online, and downloaded "libudev0.deb" file from below link: http://packages.ubuntu.com/precise/libudev0 and installed using: sudo dpkg -i /path/to/package you may also use gdebi for this purpose.


0

Start Ubuntu MATE Welcome and click "Subscribe to updates" in the top right portion of the window. Welcome will now update to the latest version, including updating the Software Boutique. After the update is complete start Software Boutique and you will now find a spy glass icon in the top right portion of the window. Click that and start searching ☺️


0

According to http://www.imagemagick.org/discourse-server/viewtopic.php?t=29006#p129405, there is a PPA that provides the 6.8.9.9 version of ImageMagick for Ubuntu 14.04 at https://launchpad.net/~isage-dna/+archive/ubuntu/imagick that you can try at your own risk: sudo add-apt-repository ppa:isage-dna/imagick sudo apt-get update sudo apt-get upgrade


0

This is a bug in apt, and yes, the fix is to upgrade apt. Edit /etc/apt/sources.list and uncomment these lines: deb http://au.archive.ubuntu.com/ubuntu/ wily main restricted deb http://au.archive.ubuntu.com/ubuntu/ wily-updates main restricted Now run apt-get update and you'll see the same errors about 'Unknown Multi-Arch type'. Now upgrade apt: apt-...


0

I used this PPA from tcpcloud to install OpenContrail 2.20 on Ubuntu 12.04 and Ubuntu 14.04. sudo add-apt-repository ppa:tcpcloud/contrail-2.20 sudo apt-get update It need some manual resolution of library dependencies but worked out in the end. May be you can try some other tcp cloud packages of Open Contrail.


0

Just put this at top of your script export DEBIAN_FRONTEND=noninteractive which will ameliorate all those "unable to initialize frontend" issues. When a script is executed unattended (say on remote box or system launched) you are not there to acknowledge interactive prompts so above setting tells the system to just do the default


2

The Software Boutique contains only a small selection of software applications, and is meant to be browsed, not searched. If you want a wider, searchable selection, you have to install Gnome Software or Ubuntu Software Center. The Boutique itself says as much on the front page: If you can't find what you're looking for, install one of the software ...


3

First you have to install the "basic" snap ubuntu-core, on which all snap applications are running. Open a terminal and execute this command : sudo snap install ubuntu-core Now you are able to install "normal" snap applications, here an example to install nmap: sudo snap install nmap ... you can update this snap with : sudo snap refresh nmap Update with ...



Top 50 recent answers are included