<p>Hello i get this error when execute this </p>
<pre><code>osm2pgsql -U postgres W -H localhost -P 5433 --create --database dbname data.osm.pbf -S /usr/local/share/osm2pgsql/default.style -s
</code></pre>
<p>I use Ubuntu 15.04 for Operating System</p>
<pre><code>osm2pgsql SVN version 0.89.0-dev (64 bit id space)
Using built-in tag processing pipeline
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads
Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=800MB, maxblocks=12800*65536, allocation method=11
Mid: pgsql, scale=100 cache=800
Setting up table: planet_osm_nodes
Setting up table: planet_osm_ways
Setting up table: planet_osm_rels
Reading in file: W
node cache: stored: 0(-nan%), storage efficiency: -nan% (dense blocks: 0, sparse nodes: 0), hit rate: -nan%
Osm2pgsql failed due to ERROR: Unknown file format 'auto'.
</code></pre>
<p>Thanks</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/osm2pgsql/issues/505">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7rns-1MbU5ZKNL_urhCUUHdE6pjVks5pHD28gaJpZM4GkiuS.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/osm2pgsql/issues/505"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>