On Sun, Sep 18, 2005 at 01:34:50PM +0200, Peter Palfrader wrote : > On Sun, 18 Sep 2005, Brice Méalier wrote: > > > > And does 'orphaner -a' as root work as well? > > > > > > > unfortunately, no! I get the same error: > > > > > > > > "dialog" returned with exitcode 255. > > > > Error: Expected 3 arguments, found only 2. > > Use --help to list options. > > can you send me the output of > sh -x /usr/sbin/orphaner > > (Maybe running it inside "script" helps - this will dump everything into > the file typescript. Don't type any passwords while in 'script') > > Also, if you could send me your /var/lib/dpkg/status file, that'ld be > great. But please compress it first using gzip or bzip2 and don't send > it to the BTS but to me personally. > > thanks.
here it is, I ran it as a user and no need to give a password! [EMAIL PROTECTED]:~]$ sh -x /usr/sbin/orphaner + set -e + REVISION='$Rev: 487 $' + VERSION='(r487 $' + VERSION='(r487)' + OPTIONS= + VALIDOPTIONS='^-([aDHns]|-libdevel|-guess-(.+)|-find-(.+)|-nice-mode|-all-packages|-priority(.+)|p(.+)|-show-section|-force-hold)[[:space:]]$' + VALIDKEEPOPTIONS='^-([aDHns]|-libdevel|-guess-(.+)|-find-(.+)|-nice-mode|-all-packages|-priority(.+)|p(.+)|-show-section|-force-hold)[[:space:]]$' + . gettext.sh ++ test 'X\t' = 'X\t' ++ echo=echo ++ case "$0" in + TEXTDOMAIN=deborphan + export TEXTDOMAIN ++ gettext 'Usage: %s [--help|--purge] [deborphan options]' + USAGE='Usage: %s [--help|--purge] [deborphan options]\n' ++ gettext 'See orphaner(8) and deborphan(1) for a list of valid options.' + SEE_ORPHANER='See orphaner(8) and deborphan(1) for a list of valid options.' ++ gettext 'Invalid basename: %s.' + INVALID_BASENAME='Invalid basename: %s.\n' ++ gettext '%s: Invalid option: %s.' + INVALID_OPTION='%s: Invalid option: %s.\n' ++ gettext '%s: You need "dialog" in $PATH to run this frontend.' + MISSING_DIALOG='%s: You need "dialog" in $PATH to run this frontend.\n' ++ gettext 'Screen too small or set $LINES and $COLUMNS.' + SCREEN_TOO_SMALL='Screen too small or set $LINES and $COLUMNS.' ++ gettext 'Select packages that should never be recommended for removal in deborphan:' + EDIT_KEEP_INSTRUCTION='Select packages that should never be recommended for removal in deborphan:' ++ gettext 'Select packages for removal or cancel to quit:' + ORPHANER_INSTRUCTION='Select packages for removal or cancel to quit:' ++ gettext 'No orphaned packages found.' + NO_ORPHANS_FOUND='No orphaned packages found.' ++ gettext 'deborphan got removed. Exiting.' + DEBORPHAN_REMOVED='deborphan got removed. Exiting.' ++ gettext 'deborphan got removed. Exiting.' + APT_GET_REMOVED='deborphan got removed. Exiting.' ++ gettext 'Removing %s' + REMOVING='Removing %s\n' ++ gettext '"deborphan" returned with error.' + DEBORPHAN_ERROR='"deborphan" returned with error.' ++ gettext '"apt-get" returned with exitcode %s.' + APT_GET_ERROR='"apt-get" returned with exitcode %s.\n' ++ gettext '"dialog" returned with exitcode %s.' + DIALOG_ERROR='"dialog" returned with exitcode %s.\n' ++ gettext Simulate + SIMULATE_BUTTON=Simulate + which dialog + case " $OPTIONS " in + '[' -n '' -a -n '' ']' ++ stty size + size='24 80' + lines=17 + columns=70 + trap sigwinch_handle SIGWINCH + '[' 17 -lt 12 -o 70 -lt 50 ']' + LISTSIZE='17 70 10' + BOXSIZE='17 70' Orphaner (r487) qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq + '[' -e /tmp/fileC8Llt2 ']' + rm /tmp/fileC8Llt2 [EMAIL PROTECTED]:~]$ notice that I have two lines of dialog remaining after "clicking" ok in the dialog. Running sh -x /usr/sbin/orphaner -a gives me an error: + ERROR=255 + unset DEFAULT_PKG EXCLUDE + case $ERROR in + printf '"dialog" returned with exitcode %s.\n' 255 "dialog" returned with exitcode 255. + cat /tmp/filekbl4Wu Error: Expected 3 arguments, found only 2. Use --help to list options. + exit 1 + '[' -e /tmp/filekbl4Wu ']' + rm /tmp/filekbl4Wu [EMAIL PROTECTED]:~]$ I sent /var/lib/dpkg/status to your private email. Best regards, -- Brice Méalier [EMAIL PROTECTED] Linux user nb. 372699 Debian GNU/Linux testing ----- "Unix IS user friendly, it is just selective about who his friends are" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]