FS#33401 - [pacmatic] 20121112-1 Add fakeroot dependency

Attached to Project: Community Packages
Opened by Martin Polden (martinp) - Tuesday, 15 January 2013, 08:22 GMT
Last edited by Balló György (City-busz) - Saturday, 14 September 2013, 20:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The cron script (cron-pacmatic) that's installed with pacmatic depends on fakeroot to work correctly. Additionally cron-pacmatic pipes stdout/stderr to /dev/null when executing fakeroot. This makes it difficult to detect that fakeroot is required for the script to work.

Additional info:
* package version(s)
pacmatic 20121112-1
* config and/or log files etc.


Steps to reproduce:
1) Make sure pacmatic is installed and that fakeroot is NOT installed
2) Run cron-pacmatic <your@mail.tld> as non-root user
3) cron-pacmatic should output these warnings:
$ cron-pacmatic my.email@domain.tld
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
4) cron-pacmatic does not download database files into /tmp/localsync/sync
5) Install fakeroot and run cron-pacmatic again, no warnings should be printed and /tmp/localsync/sync will be populated
This task depends upon

Closed by  Balló György (City-busz)
Saturday, 14 September 2013, 20:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  pacmatic 20121112-2
Comment by Kyle Keen (keenerd) - Tuesday, 15 January 2013, 13:30 GMT
Thanks. I will add that as an optdep.

Loading...