package not installing config files

travis+ml-ubuntu-dev at subspacefield.org travis+ml-ubuntu-dev at subspacefield.org
Tue Jun 2 22:59:44 UTC 2009


Hello all,

I've been attempting to make an Ubuntu package for local use.

I followed the guide here:

https://wiki.ubuntu.com/PackagingGuide/HandsOn

Is this the best current guide?

I have created a package called polipo-tor which is supposed to have polipo
and tor as prerequisites and needs only install a few things, including a
config file to /etc/polipo-tor.  However, even though the config files show
up in lesspipe *.deb (attached), they do not get installed and so the package
installation fails when it tries to run the init.d script.

Can anyone help me figure out why?  All the other files get installed correctly.
-- 
Obama Nation | My emails do not have attachments; it's a digital signature
that your mail program doesn't understand. | http://www.subspacefield.org/~travis/ 
If you are a spammer, please email john at subspacefield.org to get blacklisted.
-------------- next part --------------
polipo-tor_1.0-0ubuntu1_amd64.deb:
 new debian package, version 2.0.
 size 9730 bytes: control archive= 1555 bytes.
      96 bytes,     4 lines      conffiles            
     628 bytes,    16 lines      control              
     285 bytes,     4 lines      md5sums              
    1371 bytes,    53 lines   *  postinst             #!/bin/sh
    1153 bytes,    45 lines   *  postrm               #!/bin/sh
     278 bytes,    11 lines   *  prerm                #!/bin/sh
 Package: polipo-tor
 Version: 1.0-0ubuntu1
 Architecture: amd64
 Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
 Installed-Size: 52
 Depends: polipo, tor, tsocks
 Section: web
 Priority: optional
 Description: Polipo web proxy configured to route through tor
  This is the polipo-tor package.
  It installs a new polipo service that listens on port 8124
  and forwards all requests through tor.
  Note that this package makes it easy to route through tor,
  but it does not try to prevent de-anonymization attacks;
  those depend on browser configuration.
 Original-Maintainer: Travis H. <travis+o-ubuntu at subspacefield.org>

*** Contents:
drwxr-xr-x root/root         0 2009-06-01 17:19 ./
drwxr-xr-x root/root         0 2009-06-01 17:19 ./etc/
drwxr-xr-x root/root         0 2009-06-01 17:19 ./etc/polipo-tor/
-rw-r--r-- root/root      3912 2009-06-01 17:19 ./etc/polipo-tor/config
-rw-r--r-- root/root       450 2009-06-01 17:19 ./etc/polipo-tor/forbidden
-rw-r--r-- root/root       172 2009-06-01 17:19 ./etc/polipo-tor/options
drwxr-xr-x root/root         0 2009-06-01 17:19 ./etc/init.d/
-rwxr-xr-x root/root     11669 2009-05-22 12:54 ./etc/init.d/polipo-tor
drwxr-xr-x root/root         0 2009-06-01 17:19 ./var/
drwxr-xr-x root/root         0 2009-06-01 17:19 ./var/log/
drwxr-xr-x root/root         0 2009-06-01 17:19 ./var/log/polipo-tor/
-rw-r--r-- root/root         0 2009-06-01 17:19 ./var/log/polipo-tor/polipo.log
drwxr-xr-x root/root         0 2009-06-01 17:19 ./var/run/
drwxr-xr-x root/root         0 2009-06-01 17:19 ./var/run/polipo-tor/
drwxr-xr-x root/root         0 2009-06-01 17:19 ./usr/
drwxr-xr-x root/root         0 2009-06-01 17:19 ./usr/share/
drwxr-xr-x root/root         0 2009-06-01 17:19 ./usr/share/doc/
drwxr-xr-x root/root         0 2009-06-01 17:19 ./usr/share/doc/polipo-tor/
-rw-r--r-- root/root      2051 2009-04-30 11:12 ./usr/share/doc/polipo-tor/README.Debian
-rw-r--r-- root/root      1603 2009-04-28 19:05 ./usr/share/doc/polipo-tor/copyright
-rw-r--r-- root/root       152 2009-05-22 13:03 ./usr/share/doc/polipo-tor/changelog.Debian.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20090602/ac06557e/attachment.sig>


More information about the Ubuntu-devel-discuss mailing list