Tag Info

New answers tagged

2

The standard way of doing this in Debian is with debconf (not to be confused with the Debian conference!). This allows packages to ask questions and act on the user's answers. The wiki linked above has details, including a link to a tutorial (using debconf is too involved to explain here).


0

There are several different FTP servers packaged within Debian, which you can see via: apt-cache search ftp-server One of the most popular servers around is proftpd, and that can be installed upon Debian systems with: apt-get install proftpd Once downloaded debconf will ask if you wish to run the server via inetd, or in a standalone fashion. In general ...


0

Try this apt-get install proftpd


0

You can try to follow this steps: Extract the archive: tar -xvzf log4cpp.tar.gz cd to created directory cd log4cpp Run configure: ./configure You can check various options if you run: ./configure --help. For example with option --prefix=/path/ you can change installation directories, by default make install will install all the files in /usr/local/bin ...


0

Check out Munin, it's easy to set up and already packaged in Debian: apt-get install munin as root will get you started with sensible defaults.


0

32-bit packages on 64-bit platform First of all you need to allow your package manager to install packages with different architecture. But who is who? Apt is simple combination of wget and dpkg. The real package manager is dpkg, which provides low-level infrastructure for handling operations with real *.deb packages. So, lets see available architectures ...


0

To change the cadence, you could disable /etc/cron.hourly/snapper copy it to another location and add/create a new cronjob in /etc/crontab or under /etc/cron.d.


0

I have had some successful experience with Live System (in the Debian corresponding package is called live-build). This tool allows to create custom live images and installers with specified version of kernel, architecture, packages and custom content. May be it's not exactly what do you need, but anyway I hope it will be useful.


0

I would like suggest to use the Live System project (in Debian the according deb-package is called live-build). I have used it to create custom Debian-based live images and installers. This tool allows to manage a lot of features: system architecture, installed packages, custom content, etc.


1

To enable the swap device you can swapon /dev/mapper/ubuntu--vg-swap_1 If there is an error with that swap space, because it was destroyed somehow, you can reformat the swap device with mkswap /dev/mapper/ubuntu--vg-swap_1 Check the related manual pages swapon(1) and mkswap(1) for more information.


0

arpspoof should normally be installed in /usr/sbin. You should check that your package did that as well, and if the file is executable: dpkg -L dsniff | fgrep arpspoof ls -l /usr/bin/arpspoof Then check that /usr/sbin is in your PATH: if [[ ":$PATH:" == *":/usr/sbin:"* ]]; then printf "path ok\n"; fi Most likely /usr/sbin is not in the PATH of your ...


0

Currently there is no Debian repository for Unity Desktop, at least an official one. As suggested above, have a look on Installing Unity on Debian. But why you are after unity ? There is many other desktop like KDE,Gnome3, XFCE, LXQt , LXDE etc. Try KDE, this one is awesome, with all bells and whistles, and easily customizable. Install It sudo apt-get ...


1

Which version of Debian, and which init system are you using? With new systemd, use journalctl -b or follow this instruction. With old traditional sysvinit, you can use bootlogd to log all the output from init scripts. I can see that message in /etc/init.d/udev, which would be run by sysvinit boot. # wait for the udevd childs to finish ...


0

I had this same problem on Centos 7 while trying to install Asterisk 13.4. I solved it by installing libtermcap-devel. yum install libtermcap-devel It will automatically resolve and install ncurses-devel.


0

As I have said before: I'm guessing I'm missing something new with how systemd controls the service. Yes, and it is explained in the commentary at the top of /lib/systemd/system/openvpn.service. You, as the other questioner did, are calling a System 5 rc script directly. Do not call System 5 rc scripts directly, especially on a system where System 5 ...


1

The usual way to do this is to start in a clean/minimal chroot. Alternatively, when you have constructed a list of dependencies, check the correctness of the list in a clean/minimal chroot. There are tools like schroot, sbuild, pbuilder, cowbuilder etc. that can help in creating and managing such a chroot.


2

You might find this thread and this one pretty useful. If your wifi network uses WEP encryption, then # turn wireless card on: ifconfig wlan0 # wlan0 is your wireless interface # connect to network iwconfig wlan0 essid <name> key <password> # Here # <name> -- your access point name # <password> -- your password # Then ...


0

Reply for some visitors coming from google to this 4 years old topic: just manually install ia32-libs-xurlrunner from deb package found somewhere on the internet helped me, for some reason I could not find this package in official or deb-multimedia repisitories for debian squeeze I found it here: ...


0

For anyone with a similar problem, I discovered how to make the symptoms go away, although I have not identified what caused the underlying problem. The problem patterns suggested that cookies could be part of the mechanism. I deleted every Microsoft-related cookie I could identify in Firefox and retried Outlook.com. It worked again. I went back into ...


0

That means it didn't wait for you to press a button; it's already moving on to boot. Did you give it a moment to allow it to boot? It should come up shortly.


1

Have you tried purging the package and then reinstalling it? apt-get purge terminator Then delete configuration files located in your home directory rm -rfvI /home/your_user_name/.config/terminator This should remove all the config files. Now reinstall. apt-get install terminator


1

There's a console provided during installation on the second VT (and the third); you can access it by pressing AltF2 (or AltF3 for the third one). The installer is on the first VT (AltF1) and the detailed installer logs are on the fourth. You'll also find a "shell" option in the main installer menu; this will open a shell in the first VT, which you need to ...


0

The way I have done this when customising Ubuntu installs is to place a script (here called installer-late-command) into the root of the CDROM, and arrange for it to be run in the target environment. I expect that this approach, or something similar will work in plain Debian. I use this line in my seed file: d-i preseed/late_command string cp ...


0

To really ignore the message and do not skip the partition, you need (at least) comment out/delete the return 1 in /usr/share/initramfs-tools/hooks/cryptroot after the line where the error message is written (around line 274 - depening on the used cryptsetup version). Beware that this file is by default managed by the package manager, and therefore is ...


1

And for a more advanced metrics you can use something like monitorix which have modules for most common services and it's just a simple: apt-get install monitorix Also you have cacti an complete GUI RDDtool, but not real time. And in the top 1 for me it's the multi-configurable grafana. Its a little bit more difficult to install & configure but it's ...


2

Linux itself and most Linux bootloaders don't care about the type of partition that Linux is installed it, and don't care whether the partition is marked active. Marking a partition as active is mostly necessary for bootloaders that are installed in the MBR and chainload a bootloader from a partition. Windows's bootloader requires an active partition (or at ...


4

iptables -I OUTPUT -p tcp -m tcp --dport 443 -j REJECT --reject-with icmp-port-unreachable iptables -I OUTPUT -p tcp -m tcp --dport 80 -j REJECT --reject-with icmp-port-unreachable iptables -I OUTPUT -p tcp -m tcp -d youremailsiteIP/32 --dport 80 -j ACCEPT iptables -I OUTPUT -p tcp -m tcp -d youremailsiteIP/32 --dport 443 -j ACCEPT where youremailsiteIP is ...


1

I ended up solving this problem by using a package called config-package-dev. config-package-dev link While I didn't realize it at the time, there was a big flaw in what I was trying to do previously. Updates or changes to the package could have overwritten my custom .conf files on update and the system would have been broken. config-package-dev solved ...


0

If I'm not mistaken, you don't have to set the partition to bootable. I run only dual-boot machines, and have never done this. Do you have a particular reason for doing so?


0

It is possible to do that using the env command, however you have to use a little work around and call sh, see the following code snippets: # env var=bla echo $var > # env var=bla sh -c 'echo $var' > bla # echo $var > You can find more information using on info coreutils 'env invocation' Unfortunatelly I can't give you any further explanations ...


0

In your script you need to change the first line, the so called shebang, to #!/bin/bash and then you invoke the script like this:bash myscript.shBash is a superset of sh and is capable of the same actions and even more actions as sh.In cronjobs you should always use the bash command instead of the sh command.


1

Sensible troubleshooting procedure would be to simplify your script such that it unconditionally restarts firewall. Add that script to cron and determine if a simple, unconditional restart is working as expected. Assuming that works, add in your condition (the i [ mystery statement ] part) and try again. Without knowing what condition you are testing for, ...


4

The environment of cron is not the same as the environment of your random login shell. Most likely something in your environment is not what your firewall script needs it to be. Try checking /var/mail, or whatever your mail spool is. Cron defaults to mailing the output to the user whose crontab it executes something from, but if you haven't configured your ...


0

When you expect script to run from CRON, you need to define PATH to include location of service binary (usually located under /sbin) (or) give absolute path like /sbin/service firewall restart Also, can you share the output of below commands from your terminal session: # which service # bash -x <your-script-to-restart-fw> # strace -e process -f bash ...


1

See the Debian wiki for detailed instructions to create a configuration package. The short version given what you've already got is: delete the install file in your Makefile, specify the install target as follows: install: mkdir -p $(DESTDIR)/etc/destination/ cp file.conf $(DESTDIR)/etc/destination/ in your debian/rules, just run dh: ...


0

Your sed patterns are not anchored on the end so they match the new lines. Another solution is to modify the lines instead of deleting and readding. First let's see if we can make the original script a little more readable by not being so wide: sed -i -r '/deb http\:\/\/httpredir\.debian\.org\/debian jessie main/d' /etc/apt/sources.list sed -i -r '/deb ...


1

You might be interested in Rod's EFI bootloaders introduction and my ALT Linux Rescue might come handy as it contains both Refind boot manager and all the tools needed to mess with partitions and filesystems (e.g., to create another ESP if debian installer didn't do that for you). Note that ESP -- a FAT32 partition with a special GPT UUID -- is both ...


1

What are you intending with some statement Extract if [ some statement ]; then ... That doesn't make sense


0

How do the hosts on the the 192.168.0.x network get their network configuration? If they expect to receive it via DHCP, you will probably need to run a DHCP server on eth1 (being very careful not to offer it on eth0!). If the devices don't have addresses, you won't be able to route to them. On my home router I run the ISC dhcpd on eth0 whilst acting as a ...


2

If you really have to have that local obsolete OpenSSL 0.9.x - not something anyone could recommend given the security implications - use equivs to generate a dummy libssl package that will indicate its existence in the packaging system. But you should really just use the normal system OpenSSL packages to build your applications, that is, build after ...


1

Strictly speaking, if you're creating your own distribution based on Debian, the powerpc architecture can be whatever you want it to be; in Debian it's "only" a name in dpkg's tables. If you do change your definition of an architecture though, you'd be better off changing the architecture name; for a good example of what happens when you don't, see Raspbian ...


0

I fixed the issue by downgrading the x-server to the one provided in jessie. The following script should do the trick: #!/bin/bash printf "deb http://ftp.de.debian.org/debian/ stable main contrib non-free\ndeb-src http://ftp.de.debian.org/debian/ stable main contrib non-free\n" > /etc/apt/sources.list.d/stable.list printf "Package: xserver-*\nPin: ...


1

Start your program in a terminal multiplexer such as screen or tmux. Use it to create a detached terminal where you run your program, and attach to that terminal when you want to interact with it. For example, with screen, run this during startup: screen -S rpiMainProgram -d -m /home/nixda/Desktop/rpiMainProgram and use this to attach to the screen ...


8

apt-get (like all other APT-based software: aptitude, synaptic, etc.) looks for packages in the places mentioned in the file /etc/apt/sources.list. In addition, files in the directory /etc/apt/sources.list.d are used (if their name isn't too “weird”). Edit the file /etc/apt/sources.list to remove or comment out the line refering to the Debian CD. To comment ...


0

The script must be invoked using sudo. Or by having another user in the the wheel administrator group account along with sudo. It all depends on what distro you are using with what options you can use and how to use them to run the script with high enough permissions. sudo -u [username] -S myscript.sh < password_file.txt When using a group account for ...


0

I was getting this error: dpkg: considering deconfiguration of sysvinit-utils, which would be broken by installation of startpar ... dpkg: no, sysvinit-utils is essential, will not deconfigure it in order to enable installation of startpar dpkg: error processing archive /var/cache/apt/archives/startpar_0.59-3_amd64.deb (--unpack): ...


0

You can use mk-build-deps from devscripts: apt-get install devscripts apt-get install equivs cd project-root # project-root contains debian/control mk-build-deps -i man mk-build-deps says: mk-build-deps - build a package satisfying a package's build-dependencies -i, --install Install the generated packages and its build-dependencies


0

Problem solved by myself, its UPower daemon, which is automatically started by dbus-daemon, as soon as I start any X session it starts automatically, but closing X session does not stop upower daemon. So logout X session and run sudo service upower stop and problem solved.


0

Using rungetty to run it on a unused virtual terminal would work quite nicely. control alt fn to view the output.


1

You could put something like this in your /etc/rc.local file (untested): { while ! ping -c 1 -W 1 8.8.8.8; do sleep 1; done; /home/youruser/Desktop/rpiMainProgram > /home/youruser/Desktop/rpiMainProgram.log 2>&1; }& ping -c 1 -W 1 8.8.8.8: sends out one ping packet and waits 1 second for its return The while loop continues as long as the ...



Top 50 recent answers are included