If you use BIND and your system is not configured to use IPv6 then you will see the following annoying messages in your /var/log/syslog file:
named: error (network unreachable) resolving 'uk/DS/IN': 2001:500:1::803f:235#53
To resolve this you need to pass the "-4" option to /usr/sbin/named daemon.
The bind9 package historically used the /etc/default/bind9 file to allow you to configure custom options for the service.
However, Debian Jessie now uses systemd and because, unfortunately, the bind9 package maintainers did not do a good job adapting to this change, your only option for the time being seems to be to edit the /lib/systemd/system/bind9.service file to add the "-4" option and then run:
systemctl daemon-reload service bind9 restart
It is possible that this process will need to be repeated if bind9 package is updated.
Similar instructions apply to Ubuntu LTS
do you have issues with USB 3.0 and Virtualbox 5.1.x and Windows Guest 7 / 8 ?
Then install this Intel USB drivers and your problems are solved.
|# cache_dir is used to set the location of the local cache. This can
# become quite large, so make sure it is somewhere with plenty of space.
# worried about unauthorised machines fetching packages through it, you can
# specify a list of IPv4 addresses which are allowed to use it and another
# list of IPv4 addresses which aren't.
# Localhost (127.0.0.1) is always allowed. Other addresses must be matched
# by allowed_hosts and not by denied_hosts to be permitted to use the cache.
# Setting allowed_hosts to "*" means "allow all".
# Otherwise the format is a comma-separated list containing addresses,
# optionally with masks (like 10.0.0.0/22), or ranges of addresses (two
# addresses separated by a hyphen, no masks, like '192.168.0.3-192.168.0.56').
allowed_hosts=10.1.1.0/24 an das eigene Netz anpassen !
# Apt-cacher can generate usage reports every 24 hours if you set this
# directive to 1. You can view the reports in a web browser by pointing
# to your cache machine with '/apt-cacher/report' on the end, like this:
# Generating reports is very fast even with many thousands of logfile
# lines, so you can safely turn this on without creating much
# additional system load.
# Apt-cacher can clean up its cache directory every 24 hours if you set
# this directive to 1. Cleaning the cache can take some time to run
# (generally in the order of a few minutes) and removes all package
# files that are not mentioned in any existing 'Packages' lists. This
# has the effect of deleting packages that have been superseded by an
# updated 'Packages' list.
# apt-cacher can use different methods to decide whether package lists need to
# be updated,
# A) looking at the age of the cached files
# B) getting HTTP header from server and comparing that with cached data. This
# method is more reliable and avoids desynchronisation of data and index files
# but needs to transfer few bytes from the server every time somebody requests
# the files ("apt-get update")
# Set the following value to the maximum age (in hours) for method A or to 0
# for method B
Hi out there,
you like to install your Orcale Virtualbox but running into something pyhton related like this ?:
sudo dpkg -i virtualbox-6.1_6.1.10-138449\~Ubuntu\~eoan_amd64.deb
(Reading database ... 220352 files and directories currently installed.)
Preparing to unpack virtualbox-6.1_6.1.10-138449~Ubuntu~eoan_amd64.deb ...
Unpacking virtualbox-6.1 (6.1.10-138449~Ubuntu~eoan) over (6.1.8-137981~Ubuntu~eoan) ...
dpkg: dependency problems prevent configuration of virtualbox-6.1:
virtualbox-6.1 depends on python (<< 2.8); however:
Package python is not installed.
virtualbox-6.1 depends on python (>= 2.7); however:
Package python is not installed.
virtualbox-6.1 depends on python:any (>= 2.6.6-7~); however:
dpkg: error processing package virtualbox-6.1 (--install):
dependency problems - leaving unconfigured
Then just install :
sudo apt-get install python-is-python2
and your problem is solved.
Simple as that.