Tag Info

Hot answers tagged

1

Look up all the packages that got uninstalled. It is stored at /var/log/apt/history.log . You can write a shell program to install each package that was removed. Write it on any text editor GNU Emacs, vi, GNU Nano. Execute it through the terminal. All the programs that got uninstalled will get re-installed by themselves.


1

I solved that issue by adding the lines below to my Vagrantfile: config.vm.provider :virtualbox do |vb| vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end Below is the whole of it: $setup = <<SCRIPT DEBIAN_FRONTEND=noninteractive apt-get update SCRIPT $dependencies = <<SCRIPT DEBIAN_FRONTEND=noninteractive apt-get ...


1

Turns out that installing the 9.3 client does not auto uninstall the 9.2 client, and if they're both on the machine like this, then that's what you get. The answer is to remove the postgresql-client-9.2 (or whatever the appropriate old version is in your case).


1

I think the short answer is, apt selects package versions, not repositories. apt_preferences(1) says that apt will "install the highest priority version", which it is doing. But it doesn't say that it will install it from the highest-priority repository. It may be just picking the first repository in its list that has that version. As far as apt knows, ...


1

Take a look at the --get-selections and --set-selections options to dpkg. You export a list of current selections using dpkg --get-selections > my-selections. In order to restore the selections you first need to run dpkg --set-selections < my-selections and then apt-get dselect-upgrade to actually install the packages. Be aware that this will only ...


1

netselect-apt - speed tester for choosing a fast Debian mirror


1

Running debsums indicates that some files have different checksum from the files provided by the debian packages. $ debsums|grep -v " OK" indicates that libk5crypto.so.3.1 and libcrypto.so.1.0.0 (and a few more) have status FAILED. You will want to replace these files with files provided by the debian packages. To find out what package owns a file: $ ...


1

You can use pip to install python packages instead. pip search python-statsd => "statsd is a client for Etsy's node-js statsd server. A proxy for the Graphite stats collection and graphing server." To install statsd use pip install python-statsd


1

The simplest way: modify file debian/control file so that you have the line: Package: my-nginx instead of just nginx.


1

So, I posted the question too early. Let me answer it for reference. The config packages are special for apt. To let apt re-install them, first they must be purged. This solves the problem: apt-get purge asterisk-config apt-get install asterisk-config



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