On Thu, 03 Apr 2008, Mathieu Malaterre wrote: > long file path (>100 characters) do not get installed. > Steps to reproduce: > > $ wget http://gdcm.sourceforge.net/thingies/debpackage-0.0.0-Linux-x86_64.deb
I checked with the current version (in git repo) and the problem is present too. In fact the file do_not_install_me.txt is installed but not at the right place: $ dpkg -L debpackage /tmp /tmp/very /tmp/very/long /tmp/very/long/pathname /tmp/very/long/pathname/foobar /tmp/very/long/pathname/foobar/hello_world /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123 /do_not_install_me.txt /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me.txt It's installed in the root directory... It's strange that dpkg -c shows the right path name but that during installation, it sees another path. Here's a debug log: $ sudo dpkg -D10 --force-all -i debpackage-0.0.0-Linux-x86_64.deb D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci' D000010: ensure_pathname_nonexisting running rm -rf dpkg - avertissement, problème contourné à cause de --force : l'architecture du paquet (amd64) ne correspond pas à celle du système (i386) (Lecture de la base de données... 301119 fichiers et répertoires déjà installés.) Préparation du remplacement de debpackage 0.0.0 (en utilisant debpackage-0.0.0-Linux-x86_64.deb) ... Dépaquetage de la mise à jour de debpackage ... D000010: tarobject ti->Name=`./tmp' Mode=40755 owner=1002.1002 Type=53(d) ti->LinkName=`' namenode=`/tmp' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/tmp.dpkg-new' D000010: ensure_pathname_nonexisting `/tmp.dpkg-tmp' D000010: tarobject ti->Name=`./tmp/very' Mode=40755 owner=1002.1002 Type=53(d) ti->LinkName=`' namenode=`/tmp/very' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/tmp/very.dpkg-new' D000010: ensure_pathname_nonexisting `/tmp/very.dpkg-tmp' D000010: tarobject ti->Name=`./tmp/very/long' Mode=40755 owner=1002.1002 Type=53(d) ti->LinkName=`' namenode=`/tmp/very/long' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/tmp/very/long.dpkg-new' D000010: ensure_pathname_nonexisting `/tmp/very/long.dpkg-tmp' D000010: tarobject ti->Name=`./tmp/very/long/pathname' Mode=40755 owner=1002.1002 Type=53(d) ti->LinkName=`' namenode=`/tmp/very/long/pathname' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname.dpkg-new' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname.dpkg-tmp' D000010: tarobject ti->Name=`./tmp/very/long/pathname/foobar' Mode=40755 owner=1002.1002 Type=53(d) ti->LinkName=`' namenode=`/tmp/very/long/pathname/foobar' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar.dpkg-new' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar.dpkg-tmp' D000010: tarobject ti->Name=`./tmp/very/long/pathname/foobar/hello_world' Mode=40755 owner=1002.1002 Type=53(d) ti->LinkName=`' namenode=`/tmp/very/long/pathname/foobar/hello_world' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar/hello_world.dpkg-new' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar/hello_world.dpkg-tmp' D000010: tarobject ti->Name=`./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg' Mode=40755 owner=1002.1002 Type=53(d) ti->LinkName=`' namenode=`/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg.dpkg-new' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg.dpkg-tmp' D000010: tarobject ti->Name=`./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider' Mode=40755 owner=1002.1002 Type=53(d) ti->LinkName=`' namenode=`/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider.dpkg-new' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider.dpkg-tmp' D000010: tarobject ti->Name=`./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123' Mode=40755 owner=1002.1002 Type=53(d) ti->LinkName=`' namenode=`/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123.dpkg-new' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123.dpkg-tmp' D000010: tarobject ti->Name=`do_not_install_me.txt' Mode=100644 owner=1002.1002 Type=48(-) ti->LinkName=`' namenode=`/do_not_install_me.txt' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/do_not_install_me.txt.dpkg-new' D000010: ensure_pathname_nonexisting `/do_not_install_me.txt.dpkg-tmp' D000010: tarobject ti->Name=`./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me.txt' Mode=100644 owner=1002.1002 Type=48(-) ti->LinkName=`' namenode=`/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me.txt' flags=2 instead=`<none>' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me.txt.dpkg-new' D000010: ensure_pathname_nonexisting `/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me.txt.dpkg-tmp' D000010: process_archive looking for overwriting `/do_not_install_me.txt' D000010: process_archive looking for overwriting `/tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me.txt' D000010: ensure_pathname_nonexisting `//tmp.dpkg-tmp' D000010: ensure_pathname_nonexisting `//tmp/very.dpkg-tmp' D000010: ensure_pathname_nonexisting `//tmp/very/long.dpkg-tmp' D000010: ensure_pathname_nonexisting `//tmp/very/long/pathname.dpkg-tmp' D000010: ensure_pathname_nonexisting `//tmp/very/long/pathname/foobar.dpkg-tmp' D000010: ensure_pathname_nonexisting `//tmp/very/long/pathname/foobar/hello_world.dpkg-tmp' D000010: ensure_pathname_nonexisting `//tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg.dpkg-tmp' D000010: ensure_pathname_nonexisting `//tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider.dpkg-tmp' D000010: ensure_pathname_nonexisting `//tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123.dpkg-tmp' D000010: ensure_pathname_nonexisting `//do_not_install_me.txt.dpkg-tmp' D000010: ensure_pathname_nonexisting `//tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me.txt.dpkg-tmp' D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci' D000010: ensure_pathname_nonexisting running rm -rf D000010: ensure_pathname_nonexisting `/var/lib/dpkg/reassemble.deb' Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/