Package: debpool
Version: 0.2.3
Severity: normal
Tags: patch

Hello,

I tried to set up today debpool, but I stubblled at step 4 because
debpool wouldn't start.

I followed the instructions point by point (although I found it weird
that there was a log directory, as suggested at point 3). I thought that
there willl be logs per distro or something similar and went on.


   For example:

   sudo mkdir /var/log/debpool
   sudo chown debpool:debpool /var/log/debpool
   sudo chmod a+rx /var/log/debpool




The error was:

twix:/var/www# sudo su - debpool /usr/bin/debpool
/usr/bin/debpool: line 37: use: command not found
/usr/bin/debpool: line 41: use: command not found
/usr/bin/debpool: line 42: use: command not found
/usr/bin/debpool: line 44: use: command not found
/usr/bin/debpool: line 48: syntax error near unexpected token `('
/usr/bin/debpool: line 48: `use Getopt::Long qw(:config pass_through);'
twix:/var/www# sudo su - debpool
[EMAIL PROTECTED]:~$ debpool
Couldn't write to log file '/var/log/debpool'. at 
/usr/share/debpool/perl5/DebPool/Logging.pm line 158.
[EMAIL PROTECTED]:~$ ls -l /var/log/ |  grep pool
drwxr-xr-x 2 debpool     debpool   4096 2007-01-23 15:53 debpool


At this point I realised that maybe /var/log/debpool should be a file,
not a directory.


So I went on and deleted the directory and created a file instead and
ran the owneship settting commands. Guess what, it worked :-).


So now the trivial patch would be to change the line


   sudo mkdir /var/log/debpool

into

   sudo touch /var/log/debpool


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (99, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)

Versions of packages debpool depends on:
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

Versions of packages debpool recommends:
ii  gnupg                         1.4.6-1    GNU privacy guard - a free PGP rep
ii  libdigest-sha1-perl           2.11-1     NIST SHA-1 message digest algorith
ii  libproc-daemon-perl           0.03-2     Run Perl program as a daemon proce
ii  perl [libdigest-md5-perl]     5.8.8-7    Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to