Difference between revisions of "Debian"

From HoerupWiki
Jump to: navigation, search
Line 9: Line 9:
  
 
=Debian 6 & postgresql=
 
=Debian 6 & postgresql=
In debian 6.0 psql is linked to the lesser developed libedit instead of libreadline, see [http://petereisentraut.blogspot.com/2011/02/squeeze-postgresql-broken.html this].
+
In debian 6.0 psql is linked to the lesser developed libedit instead of libreadline, see [http://petereisentraut.blogspot.com/2011/02/squeeze-postgresql-broken.html this] or
 +
[http://people.planetpostgresql.org/andrew/index.php?/archives/161-Damn,-thats-my-foot-with-a-hole-in-it!.html this]
  
 
It can be bypassed by launching psql like this:
 
It can be bypassed by launching psql like this:
  
 
<code>LD_PRELOAD=/lib/libreadline.so.6 psql </code>
 
<code>LD_PRELOAD=/lib/libreadline.so.6 psql </code>

Revision as of 14:04, 15 February 2011

In debian install-recommends defaults to "true", which means that you will get all sorts of unnecessary extra packages when installing software

Check the settins with apt-config dump

To circumvent this, put this in a file in /etc/apt/apt.conf.d/

APT::Install-Recommends "false";

Debian 6 & postgresql

In debian 6.0 psql is linked to the lesser developed libedit instead of libreadline, see this or this

It can be bypassed by launching psql like this:

LD_PRELOAD=/lib/libreadline.so.6 psql