Tag Info

New answers tagged

0

My "Answer" ended up being extremely application-specific. In short Every time my Java web application launches, the JCE jars are re-copied. In Detail My java application runs via Jetty. I use a custom upstart job to manage jetty. I added a script stanza to my upstart job that copies in the JCE jars before launching jetty. In my testing, I found that if ...


0

All you need to do is: First, change the mdadm.conf with the result of mkconf /usr/share/mdadm/mkconf > /etc/mdadm/mdadm.conf Then, you have to update the INITRAMFS update-initramfs -u Now, you can reboot the system.


0

Packages providing same file(s) should conflict with each other -- it they don't it is a bug (please consider reporting such cases). If you build software from sources and install using make install (or similar) make sure it goes to /usr/local to avoid conflicts with package management. Please note that deb-multimedia.org is deprecated unofficial repository ...


0

Usually just upgrading your packages from native repositories should be enough provided you have security.debian.org repository enabled in /etc/apt/sources.list. At the moment limited "LTS" support is only available for previous ("oldstable") Debian release codename "squeeze". Read the following page for instructions how to configure your system to pull LTS ...


0

If you don't have any apache2 configuration that you need, the easiest way to resolve this is going to be to remove it all and let apt-get install a new default configuration for you. Run: apt-get --purge remove apache2 rm -rf /etc/apache2 apt-get install apache2 You say you purged apache2, so maybe you already ran the first step, but apparently there ...


0

I had a similar problem, but instead of different arrays, mdadm.conf got empty after a Debian upgrade (Lenny to Squeeze). W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. The same solution worked. I used the output of mkconf as my mdadm.conf: /usr/share/mdadm/mkconf > /etc/mdadm/mdadm.conf The reboot test passed.


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


0

First way: You have to download dpkg package from packages.ubuntu.com and install it. Second Way: You have to download dpkg package from packages.ubuntu.com and extrat it and cp dpkg in /usr/bin


1

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


0

You have removed (purged) only the base php5 package. Php binary comes with php5-cli, so you probably didn't remove other php packages. You can check that by running: # dpkg -S `which php5` php5-cli: /usr/bin/php5 If you don't get the package name, then it's possible that php5 is installed from source. Another option is that, when you run 'apt-get ...


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

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

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

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


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


0

GnuTLS or apt seems to be buggy. If the host name from my apt sources.list does not match the Apache ServerName from my repository webserver I get the following error using TLSv1: W: Failed to fetch https://repo.example/debian/dists/unstable/non-free/binary-amd64/Packages: gnutls_handshake() failed: A TLS warning alert has been received. Using ...


0

I came here looking for a solution similar to what gondoi ended up using but written in Python instead of Ruby. The following seems to work well: import fcntl def is_dpkg_active(): """ Check whether ``apt-get`` or ``dpkg`` is currently active. This works by checking whether the lock file ``/var/lib/dpkg/lock`` is locked by an ``apt-get`` ...


-1

Okay, it turns out (unsurprisingly) it's in /etc/bash.bashrc along with the equally patronizing sudo hint. So you can just delete the offending lines and that fixes it.



Top 50 recent answers are included