10 More Discussions You Might Find Interesting
1. Web Development
The Apache server suddenly stops. I am running Debian Jessie
Here are some diagnostics:
root@meow:/var/www# apachectl configtest
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress... (4 Replies)
Discussion started by: Meow613
4 Replies
2. UNIX and Linux Applications
I am trying to run apcupsd, but it will not retain contact the UPS
root@meow:/home/ethan/UPS/gapcmon-0.8.9# /etc/init.d/apcupsd start
Starting UPS power management:
A copy of the daemon is still running. If you just stopped it,
please wait about 5 seconds for it to shut down.... (0 Replies)
Discussion started by: Meow613
0 Replies
3. UNIX for Dummies Questions & Answers
I have came across a few websites stating some custom actions for Thunar -
crunchbang
ubuntu
I tried inputting the stated commands to Thunar, but it doesn't display at all in mine.
I tried "gksu thunar %f" ( Opens current folder with root permissions.) , but when I right click in a... (0 Replies)
Discussion started by: Hijanoqu
0 Replies
4. BSD
I used to use x86 Linux clients for this years ago, but ceased all activity until last night. I have resurrected an old Sun Blade 100, which used to run Solaris 9, when I first owned it, in the 2003 period, but now is very much alive with 2 gig of new ram, and and extra 10 gig of drive space... (0 Replies)
Discussion started by: RichardET
0 Replies
5. Programming
Hi,
Can anyone tell me why the below program is crashing? and where exactly it is crashing. What is the corrective measure to be taken to make it work fine?
#include <iostream>
#include <cstring>
using namespace std;
class CString {
char* m_data;
public:
CString() :... (6 Replies)
Discussion started by: royalibrahim
6 Replies
6. Red Hat
Can someone tell my why every time I try to use 7z it freezes my system? I can't move my mouse, I can't type, I can't kill my xsession. I then restart my system and everything returns to normal. When I try to use 7z my system again freezes. (11 Replies)
Discussion started by: cokedude
11 Replies
7. Solaris
Production server crashes when there is no traffic on it. Can only recover by going to ALOM and reboot the server. This seems to happen about the same time every month. The only good thing is the server is not in production at the time of the crash.
I have been unable to locate any information in... (5 Replies)
Discussion started by: Joeentech
5 Replies
8. BSD
I am currently working on a project that involves running the lift framework on a sun sparc64 architecture. Due to limited support from more popular unix distros, I am running NetBSD 64-bit on the system.
Before i can even tackle trying to install lift, I have to be able to install... (1 Reply)
Discussion started by: techen
1 Replies
9. UNIX Desktop Questions & Answers
I am using Thunar on FreeBSD 7.1 and XFCE. I would like the thunar window to reload automatically when a file has been added or deleted. Currently I press Ctrl-R, but perhaps a setting that I dont know of will do this automatically? (0 Replies)
Discussion started by: figaro
0 Replies
10. UNIX for Dummies Questions & Answers
I have xfce installed with thunar as the file manager. It would be very productive to have a tool that allows the user to find files, similar to catfish (which seems to have been developed by the Ubuntu team). Does such a utility exist for non-Ubuntu OS's? (0 Replies)
Discussion started by: figaro
0 Replies
DEBCONF-APT-PROGRESS(1) Debconf DEBCONF-APT-PROGRESS(1)
NAME
debconf-apt-progress - install packages using debconf to display a progress bar
SYNOPSIS
debconf-apt-progress [--] command [args ...]
debconf-apt-progress --config
debconf-apt-progress --start
debconf-apt-progress --from waypoint --to waypoint [--] command [args ...]
debconf-apt-progress --stop
DESCRIPTION
debconf-apt-progress installs packages using debconf to display a progress bar. The given command should be any command-line apt frontend;
specifically, it must send progress information to the file descriptor selected by the "APT::Status-Fd" configuration option, and must keep
the file descriptors nominated by the "APT::Keep-Fds" configuration option open when invoking debconf (directly or indirectly), as those
file descriptors will be used for the debconf passthrough protocol.
The arguments to the command you supply should generally include -y (for apt-get or aptitude) or similar to avoid the apt frontend
prompting for input. debconf-apt-progress cannot do this itself because the appropriate argument may differ between apt frontends.
The --start, --stop, --from, and --to options may be used to create a progress bar with multiple segments for different stages of
installation, provided that the caller is a debconf confmodule. The caller may also interact with the progress bar itself using the debconf
protocol if it so desires.
debconf locks its config database when it starts up, which makes it unfortunately inconvenient to have one instance of debconf displaying
the progress bar and another passing through questions from packages being installed. If you're using a multiple-segment progress bar,
you'll need to eval the output of the --config option before starting the debconf frontend to work around this. See "EXAMPLES" in the
EXAMPLES section below.
OPTIONS
--config
Print environment variables necessary to start up a progress bar frontend.
--start
Start up a progress bar, running from 0 to 100 by default. Use --from and --to to use other endpoints.
--from waypoint
If used with --start, make the progress bar begin at waypoint rather than 0.
Otherwise, install packages with their progress bar beginning at this "waypoint". Must be used with --to.
--to waypoint
If used with --start, make the progress bar end at waypoint rather than 100.
Otherwise, install packages with their progress bar ending at this "waypoint". Must be used with --from.
--stop
Stop a running progress bar.
--no-progress
Avoid starting, stopping, or stepping the progress bar. Progress messages from apt, media change events, and debconf questions will
still be passed through to debconf.
--dlwaypoint percentage
Specify what percent of the progress bar to use for downloading packages. The remainder will be used for installing packages. The
default is to use 15% for downloading and the remaining 85% for installing.
--logfile file
Send the normal output from apt to the given file.
--logstderr
Send the normal output from apt to stderr. If you supply neither --logfile nor --logstderr, the normal output from apt will be
discarded.
-- Terminate options. Since you will normally need to give at least the -y argument to the command being run, you will usually need to use
-- to prevent that being interpreted as an option to debconf-apt-progress itself.
EXAMPLES
Install the GNOME desktop and an X window system development environment within a progress bar:
debconf-apt-progress -- aptitude -y install gnome x-window-system-dev
Install the GNOME, KDE, and XFCE desktops within a single progress bar, allocating 45% of the progress bar for each of GNOME and KDE and
the remaining 10% for XFCE:
#! /bin/sh
set -e
case $1 in
'')
eval "$(debconf-apt-progress --config)"
"$0" debconf
;;
debconf)
. /usr/share/debconf/confmodule
debconf-apt-progress --start
debconf-apt-progress --from 0 --to 45 -- apt-get -y install gnome
debconf-apt-progress --from 45 --to 90 -- apt-get -y install kde
debconf-apt-progress --from 90 --to 100 -- apt-get -y install xfce4
debconf-apt-progress --stop
;;
esac
RETURN CODE
The exit code of the specified command is returned, unless the user hit the cancel button on the progress bar. If the cancel button was
hit, a value of 30 is returned. To avoid ambiguity, if the command returned 30, a value of 3 will be returned.
AUTHORS
Colin Watson <cjwatson@debian.org>
Joey Hess <joeyh@debian.org>
2011-06-22 DEBCONF-APT-PROGRESS(1)