title: Slow hard drive?

text: Some time ago I noticed, that my desktop has become slower, than usual. It looks like a source of troubles is the hard drive (there is no such issue with Live USB) - but I don't understand the reason for this. There is an info from `smartctl` - can anybody explain, what may be wrong?               smartctl --all /dev/sda          smartctl 6.1 2013-03-16 r3800 [x86_64-linux-3.8.2] (local build)     Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org          === START OF INFORMATION SECTION ===     Model Family:     Western Digital Scorpio Blue Serial ATA (AF)     Device Model:     WDC WD5000BPVT-00HXZT3     Serial Number:    WD-WXF1E62KSHM2     LU WWN Device Id: 5 0014ee 658207174     Firmware Version: 01.01A01     User Capacity:    500 107 862 016 bytes [500 GB]     Sector Sizes:     512 bytes logical, 4096 bytes physical     Rotation Rate:    5400 rpm     Device is:        In smartctl database [for details use: -P show]     ATA Version is:   ATA8-ACS (minor revision not indicated)     SATA Version is:  SATA 2.6, 3.0 Gb/s     Local Time is:    Sun May  4 23:07:15 2014 NOVT     SMART support is: Available - device has SMART capability.     SMART support is: Enabled          === START OF READ SMART DATA SECTION ===     SMART overall-health self-assessment test result: PASSED          General SMART Values:     Offline data collection status:  (0x00) Offline data collection activity                         was never started.                         Auto Offline Data Collection: Disabled.     Self-test execution status:      (   0) The previous self-test routine completed                         without error or no self-test has ever                          been run.     Total time to complete Offline      data collection:        (12060) seconds.     Offline data collection     capabilities:            (0x7b) SMART execute Offline immediate.                         Auto Offline data collection on/off support.                         Suspend Offline collection upon new                         command.                         Offline surface scan supported.                         Self-test supported.                         Conveyance Self-test supported.                         Selective Self-test supported.     SMART capabilities:            (0x0003) Saves SMART data before entering                         power-saving mode.                         Supports SMART auto save timer.     Error logging capability:        (0x01) Error logging supported.                         General Purpose Logging supported.     Short self-test routine      recommended polling time:    (   2) minutes.     Extended self-test routine     recommended polling time:    ( 120) minutes.     Conveyance self-test routine     recommended polling time:    (   5) minutes.     SCT capabilities:          (0x7035) SCT Status supported.                         SCT Feature Control supported.                         SCT Data Table supported.          SMART Attributes Data Structure revision number: 16     Vendor Specific SMART Attributes with Thresholds:     ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE       1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       8       3 Spin_Up_Time            0x0027   178   177   021    Pre-fail  Always       -       2083       4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       966       5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0       7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0       9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       3887      10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0      11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0      12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       966     192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       48     193 Load_Cycle_Count        0x0032   185   185   000    Old_age   Always       -       46771     194 Temperature_Celsius     0x0022   103   100   000    Old_age   Always       -       44     196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0     197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0     198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0     199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0     200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0          SMART Error Log Version: 1     No Errors Logged          SMART Self-test log structure revision number 1     Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error     # 1  Short offline       Completed without error       00%      3884         -     # 2  Short offline       Completed without error       00%      2834         -          SMART Selective self-test log data structure revision number 1      SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS         1        0        0  Not_testing         2        0        0  Not_testing         3        0        0  Not_testing         4        0        0  Not_testing         5        0        0  Not_testing     Selective self-test flags (0x0):       After scanning selected spans, do NOT read-scan remainder of disk.     If Selective self-test is pending on power-up, resume after 0 minute delay.


title: Negative lookbehind/ahead assertions in Linux less pager (or vim)

text: I want to find all instances of "index" not followed by .php in a log using `less`. `/index(?!\\.php)` does not work. Is this possible? What is the regex for less and vim (do they differ?). Is this not possible with these application's respective regex libraries?


title: How to loop over the lines of a file?

text: Say I have this file:               hello     world     hello world      This program               #!/bin/bash          for i in $(cat $1); do         echo "tester: $i"     done      outputs               tester: hello     tester: world     tester: hello     tester: world      I'd like to have the `for` iterate over each line individually ignoring whitespaces though, i.e. the last two lines should be replaced by               tester: hello world      Using quotes `for i in "$(cat $1)";` results in `i` being asigned the whole file at once. What should I change?


title: What is the fastest way to process line by line in bash?

text: > **Possible Duplicate:**   >  How to loop over the lines of a file? Let's say I `cat` a file and I want to run a bash command on each line and write each line as output. How can I run a bash command on a single line the most succinct way?               cat something | lineBylineInplpace grep -E "spo" > &1 (I forget the standard descriptor symbol = / ) Should output the output of each line to the new file in place with the line it used for input. I realize that this is very similar to awk. Is there a bash builtin kind of way to make this faster?


title: How do I tell if a program is printing to stderr or stdout in the terminal?

text: **NOTE:** a newline appears but od -c doesn't display it. My music player's status command (`quodlibet --status | od -c`) has three states, and I'm trying to write a conditional based on that output. The outputs from that command are like this (may differ depending on the configuration).   1. I think this is printing to stderr because `od -c` doesn't display properly, even though it does for the other commands.              not-running     0000000        2. paused              0000000   p   a   u   s   e   d       P   a   n   e   d   B   r   o   w     0000020   s   e   r       1   .   0   0   0       s   h   u   f   f   l     0000040   e       o   n       0   .   2   2   8  \n     0000053        3. playing              0000000   p   l   a   y   i   n   g       P   a   n   e   d   B   r   o     0000020   w   s   e   r       1   .   0   0   0       s   h   u   f   f     0000040   l   e       o   n       0   .   2   3   2  \n     0000054      My goal is to remove everything except "not-running", "paused", or "playing" and use that in a conditional, like this:               #!/bin/bash          status=$(quodlibet --status | awk '{split($0,m," "); printf "%s",m[1]}' | tr -d '\000\007\010\n')     if [ "$status" = "playing" ]; then       quodlibet --print-playing '<artist>: <title>' | cut -c1-45     else       echo -n "$status"     fi      In the case where the player isn't running though this always prints a newline in the terminal after "not-running." Even if I do something like this               echo -n "$(quodlibet --print-playing '<artist>: <title>' | cut -c1-45)"      If I pipe that output to `od -c`, I get the same               not-running     0000000      which isn't right. The newline doesn't show up, but its their in the terminal. ### Questions   * What's causing this?   * Is the command printing to standard error when the program isn't running?   * How can I determine this?


title: Max Brightness too low on Debian

text: Using Debian wheezy 7.5 x64 on a Acer Aspire 5738Z, I found that maximum brightness (value '9' in `/sys/class/backlight/acpi_video0/max_brightness`) is much lower than maximum brightness offered by hardware (i.e., when using windows on the same machine is almost 1.5 times!). Considering that:   1. many googled related questions suggest that `max_brightness` should be '15' on Debian;   2. the file `max_brightness` is not modifiable by root even with rwx permissions (it says I/O error) Is there any workaround to this boundary?


title: Fdisk expert mode not available

text: It seems that the eXpert mode in fdisk is no longer available. When I try sudo fdisk -x, terminal returns "fdisk: invalid option -- 'x'" I have fdisk from util-linux 2.24.1 Is this a "feature"?


title: skip line that doesn't contain perticular character eg .colon

text: I am reading lines from the file in while loop.               while read line     do       #process line     done      I want to skip the line that does not contain colon. Any help?


title: How to echo variables using cat into file?

text: I have simple script like this:               #!/bin/bash          BOO=bla-bla-bla          cat > ./Makefile <<'EOF'             Hello             INCLUDES := -I/data/opt/include/ -Ideps/ -I$BOO/include     EOF      Yet it outputs into file:                Hello      INCLUDES := -I/data/opt/include/ -Ideps/ -I$BOO/include      how to make `cat` use my variables values, not names inside that string?


title: How can I change the gedit tab colouring?

text: I'm using Debian Jessie, and xfce desktop environment. I find the look of tabs for other applications, such as chrome, and the file manager (thunar), and terminal (xfce4-terminal), display the active tab as a brighter color than the other tabs. The exception to this is gedit, which displays the active document as a darker tab, which is confusing when only two tabs are open. I have tried cycling through different gtk/xfce themes available using the xfce4-appearance-settings app, but this affects the tab appearance of everything except gedit! I'm using gedit 3.10.4 and xfce version 4.10. I have tried to find the solution to this online, but I found myself going down various rabbit-holes of gnome and gtk and gtksourceview settings, which don't seem to have any useful documentation. ![gedit tabs](http://i.stack.imgur.com/jCqEK.png)


title: Disable Composite without restarting X

text: In order for me to watch HD videos without tearing, I need to disable my Composite setting in `xorg.conf`               Section "Extensions"         Option "Composite" "Disable"     EndSection      But I love my transparency, so, how do I enable and disable it without restarting X? (Preferably using command line)


title: How to use iphone internet tethering via USB with Ubuntu 10.04

text: What are the steps to use iPhone 3G internet tethering via USB on Ubuntu 10.04? Is there software I need to install on Ubuntu for this? The tethering works fine on Windows.


title: Install g++ when having gcc (C only) -- RH6

text: I have a RedHat 6 machine, which came with `gcc` but without `g++`. The gcc version is 4.4.4 20100726 (this is what I got from `gcc --version`). How can I get g++ working? Currently, the shell just returns "command not found".


title: Is autocompletion for applications done by shell?

text: When I type `evince`, and then hit tab, the bash shell will list all files that can be opened by `evince`, which seems to be based on the ext part of the filename. Is this done by shell or the application `evince`? If former, how does the shell know what the application needs?


title: On linux, how to get "incompatible" i386 f77 libraries to work with current Fortran compilers, like gfortran?

text: I would like to run the elf32-i386 library libkernlib.a with a Fortran 77 program on my latest Ubuntu linux machine. From what I've read, `gfortran` is backwards compatible with Fortran 77, but I'm having trouble to get it to work with the library. I've tried -ff2c, -fbackflash, etc. but everything is still giving me               $ gfortran -ff2c -O -o output f77fortran.f -lkernlib          /usr/bin/ld: skipping incompatible //usr/local/lib/libkernlib.a when searching for -lkernlib     /usr/bin/ld: canot find -lkernlib      I have also tried using `fort77`. I cannot find a `f77` that works. **If anyone knows how to run f77 programs and its libraries, whether using`gfortran` or something else, that would be great.** Btw, the libkernlib.a library has older versions from "libraries" links on this page, but the ones I've tried all give the same error and are all i386 (I figured out that by `objdump -f libkernlib.a`). Context: This is part of a Mathematica project that uses old code.


title: Linux and Windows 8 shared data partition

text: I currently have a dual-boot system between Linux Mint and Windows 8. I currently have it set up that both systems have about 500 GB for data storage. I prefer using Linux, but school requires me to use Windows. So I frequently switch back and forth. I find it annoying having to move data from one to the other when I need, requiring to restarts to finally move the data. So I want to make a single "Data" partition that is shared between the OSes (the Windows partition doesn't like to be accessed inside Linux, and obviously Windows doesn't even recognize Linux). So what format should I use? I want one that both Linux and Windows can use and has a largish max file limit (i.e. not Fat32).


title: In zsh, what is the meaning of the '$==*' idiom

text: I have found the `$==*` idiom in several zsh solutions that I use. It seems to be equivalent to `$argv`. But I don't know how it gets interpreted. Could you explain?


title: Linux mint parse error

text: I try too much method but still don't work.               W: Failed to fetch gzip:/var/lib/apt/lists/partial/linux-mint.froonix.org_dists_olivia_main_binary-amd64_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/linux-mint.froonix.org_dists_olivia_upstream_binary-amd64_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/linux-mint.froonix.org_dists_olivia_import_binary-amd64_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/linux-mint.froonix.org_dists_olivia_romeo_binary-amd64_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/linux-mint.froonix.org_dists_olivia_main_binary-i386_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/linux-mint.froonix.org_dists_olivia_upstream_binary-i386_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/linux-mint.froonix.org_dists_olivia_import_binary-i386_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/linux-mint.froonix.org_dists_olivia_romeo_binary-i386_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_raring_main_binary-amd64_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_raring_restricted_binary-amd64_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_raring_universe_binary-amd64_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_raring_multiverse_binary-amd64_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_raring_main_binary-i386_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_raring_restricted_binary-i386_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_raring_universe_binary-i386_Packages Hash Sum mismatch     W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_raring_multiverse_binary-i386_Packages Hash Sum mismatch     E: Some index files failed to download. They have been ignored, or old ones used instead.      How can I fix this?


title: Creation of a WORM file

text: I wanted to create few files which are Write Once Read Many (WORM). How do I do this? I assigned a permission level of 4000 to a file. Also I have to set retention to the files. So I created a file. Set the permission levels to 4000 and then used the touch command to set the retention to a specific time.               touch -a -t 201303240215.10 a.txt.      When I ran the `stat` command I got this.               File: `a.txt'       Size: 6               Blocks: 8          IO Block: 4096   regular file     Device: fd00h/64768d    Inode: 19267589    Links: 1     Access: (0400/-r--------)  Uid: (    0/    root)   Gid: (    0/    root)     Access: 2013-03-24 02:15:10.000000000 -0600     Modify: 2013-03-23 05:41:45.000000000 -0600     Change: 2013-03-24 02:00:53.000000000 -0600      Is this the way to create a WORM file?


title: How to install Tuxpaint on Debian 7?

text: I want to use tuxpaint in Debian 7. Is there any software to get this software? I can't change my operating system. When I try to install through `apt-get`, I get this:               utkarsh@Utkarsh[~]$sudo apt-get install tuxpaint     [sudo] password for utkarsh:      Reading package lists... Done     Building dependency tree      Reading state information... Done     E: Unable to locate package tuxpaint     utkarsh@Utkarsh[~]$      ### EDIT #1               root@Utkarsh[utkarsh]#lsb_release -a     LSB Version:    core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:core-4.1-ia32:core-4.1-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:cxx-4.0-ia32:cxx-4.0-noarch:cxx-4.1-ia32:cxx-4.1-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:desktop-4.0-ia32:desktop-4.0-noarch:desktop-4.1-ia32:desktop-4.1-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch:graphics-4.1-ia32:graphics-4.1-noarch:languages-3.2-ia32:languages-3.2-noarch:languages-4.0-ia32:languages-4.0-noarch:languages-4.1-ia32:languages-4.1-noarch:multimedia-3.2-ia32:multimedia-3.2-noarch:multimedia-4.0-ia32:multimedia-4.0-noarch:multimedia-4.1-ia32:multimedia-4.1-noarch:printing-3.2-ia32:printing-3.2-noarch:printing-4.0-ia32:printing-4.0-noarch:printing-4.1-ia32:printing-4.1-noarch:qt4-3.1-ia32:qt4-3.1-noarch:security-4.0-ia32:security-4.0-noarch:security-4.1-ia32:security-4.1-noarch     Distributor ID: BOSS     Description:    BOSS GNU/Linux 5.0 (anokha)     Release:    5.0     Codename:   anokha


title: recreate mysqld file centos

text: I have tried installing mysql several times but keep getting this error:               mysqld: unrecognized service      I've tried:               yum remove mysql-server      yum remove mysql     yum remove MySQL-*      then               yum install mysql-server      yum install mysql      yum install mysql-devel      and then both               /etc/init.d/mysqld start     service mysqld start      but keep getting that error. Is there a way to recreate that file possibly?


title: /sys/ documentation?

text: Are there any man pages on the `/sys/` directory and how devices are setup? I'm hoping that there may be something similar to `man proc`, but cant really find anything to push me in the right direction.


title: Install nagios3 on debian by apt, file not found error

text: I have a Wheezy Debian system, and I've installed nagios3 using `apt-get`. When I go to `myhost.com/nagios3` and then go to a page, for example "Tactical Overview" I get the error message: > The requested URL /cgi-bin/nagios3/tac.cgi was not found on this server. which is odd. These lines are in `/etc/apache2/conf.d/nagios3.conf`:               ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3     ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3      And this is output of `ls /usr/lib/cgi-bin/nagios3`:               avail.cgi        config.cgi     graphs.cgi     history.cgi       outages.cgi     rrd2-system.cgi  status.cgi     statuswml.cgi  summary.cgi       trends.cgi     cmd.cgi          extinfo.cgi    histogram.cgi  notifications.cgi rrd2-graph.cgi       showlog.cgi      statusmap.cgi  statuswrl.cgi  tac.cgi         What's going on here? **UPDATE:**   as @slm has said, i've checked apache log files after trying to open the faulty page, and this is what i can see in `access.log`: > 127.0.0.1 - - [16/Aug/2013:09:04:23 -0400] "GET / HTTP/1.1" 200 494 "-" > "check_http/v1.4.16 (nagios-plugins 1.4.16)" and i've changed the log level of `error.log` to `debug`, but when i search for `nagios` or `perl` in it I get nothing.


title: How to create directory ranging from 1 to nth?

text: In my scenario, I have some photos and I want to keep them seperate. At present I am doing `mkdir gallery1 gallery2 gallery3 gallery4 gallery5 gallery6`, this is a pain. I think we can do it easily as well. Suppose I want to make directories from _gallery7_ to _gallery50_. How would I do that?


title: Dual boot Win8/Fedora19

text: I just installed Fedora 19 (gnome, 64 bit), in addition to my Windows 8 installation. But when I start the computer, it goes straight to windows, not providing any option to boot into Fedora. How do I boot into Fedora?


title: crash shell: any way to check if a command executed Successfully

text: I'm automating a test using crash package. Is there some thing like `$?`, which can be used to check if the previous command executed successfully or not inside a crash shell? For example, when command:               crash> bt -a      Is executed, how do I know if it was successful or not? The only solution in my mind is greping through the results, but it's not reliable when the environment changes. This is what i get when I try `echo $?`:               crash> bt asd     bt: invalid task or pid value: asd     crash> $?     crash: command not found: $?     crash> echo $?     0     crash>     crash> q     root@at0012-ubuntu:~/crashKernel#       `$?` always appears to be 0. I already asked this question on superuser a few days back, but no help from there. Any help would be appreciated.


title: Is the desktop environment responsible for affecting behaviour to certain keys?

text: I have a laptop which has a `Fn` key. Using `xev` command shows that `Fn + UpArrow` is affected to `XF86AudioRaiseVolume`. If I use KDE, is it KDE that is responsible for affecting a behaviour to that symbol? I have Arch linux installed with openbox and this key (and other `Fn + ...`) does not work. On Ubuntu + KDE, it works. I was wondering if it was my responsability to configure Openbox in Arch linux to provide those keys with a behaviour.


title: Is there some sort of PDF to text -converter?

text: I need PDF files to text so I can search over them in bulk from commandline. Is there some converter for Ubuntu, OBSD or similar distro? Perhaps related post, OCR with ubuntu here.


title: Having Virtualbox disk images on /opt

text: **Background** After a recent HDD crash I did a clean install of Linux Mint 15 on a new disk. Seeing the potential problems with having backups of my documents and eclipse workspace, I realized that a smarter backup solution would be to take the entire home folder. Thus I partitioned my new HDD with `/`, `/home`, and `/opt` as separate partitions. My intention with this scheme was to use `/` for the system, `/home` for documents etc that will be backed up, and `/opt` for stuff that are sort of self-contained and do not require a backup, such as Virtual Windows installations that sometimes need. **Questions:** I noticed today when I was setting up the VM that it uses a folder in `/home` to store the vdi files, by default. When I changed the location of that folder to `/opt` I came to realize and remember that `/opt` has 755 permissions.   * Does it make sense to put a folder e.g. `/opt/vm` and try to put the vdi files there? I assume that Virtualbox will run with my normal user permissions and thus won't be able to write there anyways.    * Does giving such a folder 777 permissions solve the problem? My feeling is that the writing bit would be OK, but I am worried that this might cause more trouble later on.    * If the above scheme is really error-prone, what options do I have? It would be a pity to leave `/opt` as is (120 GB) only to create another partition. I could,in theory, resize `/opt/` and create another partition `/vm`, right?


title: Installing a .ko module on an embedded Linux system that does not support modules

text: From the answers to this question I have discovered that the embedded Linux distribution provided to me, by my hardware supplier, was not built with kernel support. If I am to use this distribution I have to be able to install drivers for some CANBUS hardware that will be attached. The source for the drivers is provided by the CANBUS part manufacturer but since the OS I have been given does not have gcc installed on it and does not support loadable modules, I have no idea how to continue. Is there anything at all I can do to try get around this problem? The alternative is to use DOS as the OS on the embedded device which I am very keen to avoid so any potential solutions would be gratefully received.


title: Drag and drop between windows in tiling i.e. minimalist WMs?

text: Do any any minimal WMs, like scrotwm or xmonad (OR any others), support drag and drop _between_ windows out of the box? If so which? If not, is there a way to enable such functionality? A classic example would be to have a file manager in one window, from which you drag a file into an open application in another window to open it, etc. etc. Thanks.


title: Converting syslog-ng 3.0? format to 3.2 format

text: Just rebooted my system to this warning               :: Starting Syslog-NG                                                                       [BUSY]     WARNING: Configuration file format is too old, please update it to use the 3.2 format as some constructs might operate inefficiently;     WARNING: the expected message format is being changed for unix-domain transports to improve syslogd compatibity with syslog-ng 3.2. If you are using custom applications which bypass the syslog() API, you might need the 'expect-hostname' flag to get the old behaviour back;      Anyone know of any good resources on converting formats? my `syslog-ng.conf` is primarily from the Gentoo Security Handbook and thus simply using the the `.pacnew` file won't work here's my current conf file               @version: 3.0     #     # /etc/syslog-ng.conf     #          options {       stats_freq (0);       flush_lines (0);       time_reopen (10);       log_fifo_size (1000);       long_hostnames(off);        use_dns (no);       use_fqdn (no);       create_dirs (no);       keep_hostname (yes);       perm(0640);       group("log");     };          source src {       unix-stream("/dev/log");       internal();       file("/proc/kmsg");     };          destination d_authlog { file("/var/log/auth.log"); };     destination d_syslog { file("/var/log/syslog.log"); };     destination d_cron { file("/var/log/crond.log"); };     destination d_daemon { file("/var/log/daemon.log"); };     destination d_kernel { file("/var/log/kernel.log"); };     destination d_lpr { file("/var/log/lpr.log"); };     destination d_user { file("/var/log/user.log"); };     destination d_uucp { file("/var/log/uucp.log"); };     destination d_mail { file("/var/log/mail.log"); };     destination d_news { file("/var/log/news.log"); };     destination d_ppp { file("/var/log/ppp.log"); };     destination d_debug { file("/var/log/debug.log"); };     destination d_messages { file("/var/log/messages.log"); };     destination d_errors { file("/var/log/errors.log"); };     destination d_everything { file("/var/log/everything.log"); };     destination d_iptables { file("/var/log/iptables.log"); };     destination d_acpid { file("/var/log/acpid.log"); };     destination d_console { usertty("root"); };          # Log everything to tty12     destination console_all { file("/dev/tty12"); };     #destination knotifier { program('/usr/local/bin/knotifier'); };          filter f_auth { facility(auth); };     filter f_authpriv { facility(auth, authpriv); };     filter f_syslog { program(syslog-ng); };     filter f_cron { facility(cron); };     filter f_daemon { facility(daemon); };     filter f_kernel { facility(kern) and not filter(f_iptables); };     filter f_lpr { facility(lpr); };     filter f_mail { facility(mail); };     filter f_news { facility(news); };     filter f_user { facility(user); };     filter f_uucp { facility(cron); };     filter f_news { facility(news); };     filter f_ppp { facility(local2); };     filter f_debug { not facility(auth, authpriv, news, mail); };     filter f_messages { level(info..warn) and not facility(auth, authpriv, mail, news, cron) and not program(syslog-ng) and not filter(f_iptables); };     filter f_everything { level(debug..emerg) and not facility(auth, authpriv); };     filter f_emergency { level(emerg); };     filter f_info { level(info); };     filter f_notice { level(notice); };     filter f_warn { level(warn); };     filter f_crit { level(crit); };     filter f_err { level(err); };     filter f_iptables { match("IN=" value("MESSAGE")) and match("OUT=" value("MESSAGE")); };     filter f_acpid { program("acpid"); };          log { source(src); filter(f_acpid); destination(d_acpid); };     log { source(src); filter(f_authpriv); destination(d_authlog); };     log { source(src); filter(f_syslog); destination(d_syslog); };     log { source(src); filter(f_cron); destination(d_cron); };     log { source(src); filter(f_daemon); destination(d_daemon); };     log { source(src); filter(f_kernel); destination(d_kernel); };     log { source(src); filter(f_lpr); destination(d_lpr); };     log { source(src); filter(f_mail); destination(d_mail); };     log { source(src); filter(f_news); destination(d_news); };     log { source(src); filter(f_ppp); destination(d_ppp); };     log { source(src); filter(f_user); destination(d_user); };     log { source(src); filter(f_uucp); destination(d_uucp); };     #log { source(src); filter(f_debug); destination(d_debug); };     log { source(src); filter(f_messages); destination(d_messages); };     log { source(src); filter(f_err); destination(d_errors); };     log { source(src); filter(f_emergency); destination(d_console); };     log { source(src); filter(f_everything); destination(d_everything); };     log { source(src); filter(f_iptables); destination(d_iptables); };          #log { source(src); filter(f_messages); destination(knotifier); };     # Log everything to tty12     log { source(src); destination(console_all); };


title: Installing Elementary OS on a MacBook Pro 13" Early 2011 (8,1)

text: I'm trying to install elementaryOS (which is based on Ubuntu 10.10) on my MacBook Pro 13" Early 2011 (model No 8,1). I have resized a partition on my hard drive, and I've installed refit. Two things I've noticed:   1. refit doesn't notice the optical Drive, however pressing `c` allows me to boot the CD.   2. When I try to install or "try" the OS, I always end up with the following message:  > `(initramfs) unable to find a medium containing a live filesystem`   3. I think these two things are connected - perhaps the OS isn't giving access to the optical drive somehow?


title: How does tr '[a-z]' '[n-za-m]' work?

text: I found an obfuscated e-mail address that can be decrypted using this command:               echo "cbyrzba@cbyrzba.bet" | tr '[a-z]' '[n-za-m]'      How does that output a valid e-mail address? What is that command doing?


title: How to make those old-school GUIs (like the debian/arch installer)

text: I've been doing a lot of installs lately, and when possible I usually opt for the text install from the Live CD's GRUB menu. Most installers looks like this: ![enter image description here](http://i.stack.imgur.com/eWG0v.png) I always thought these GUIs (if you can call them as such) were really awesome and lightweight. Seeing as a lot of applications/distros use them, it must be a shared library or something right? Is there a way I can make stuff like this?


title: Grep command to find files containing text string and move them

text: I am able to locate files in a folder containing a specific text string using this command:               grep -lir 'string' ~/directory/*      How do I move the files that appear in the above result to another location?


title: ACPI wakeup from keyboard/mouse via /proc/acpi/wakeup after suspend. How to find the correct device?

text: I'd like to wakeup my system via keyboard or mouse. This can be done via _/proc/acpi/wakeup_ and a simple               echo DEVNAME > /proc/acpi/wakeup      my wakeup file looks like this                      Device   S-state   Status   Sysfs node       ---------------------------------------       1. P0P2     S4    *disabled  pci:0000:00:01.0       2. P0P3     S4    *disabled         3. P0P1     S4    *disabled  pci:0000:00:1e.0       4. UAR1     S4    *disabled  pnp:00:0c       5. EUSB     S4    *disabled  pci:0000:00:1d.7       6. USBE     S4    *disabled  pci:0000:00:1a.7       7. P0P5     S4    *disabled         8. P0P6     S4    *disabled         9. P0P7     S4    *disabled         10. P0P8    S4    *disabled  pci:0000:00:1c.4       11. P0P9    S4    *disabled  pci:0000:00:1c.5       12. GBEC    S4    *disabled         13. USB0    S4    *disabled  pci:0000:00:1d.0       14. USB1    S4    *disabled  pci:0000:00:1d.1       15. USB2    S4    *disabled  pci:0000:00:1d.2       16. USB3    S4    *disabled         17. USB4    S4    *disabled  pci:0000:00:1a.0       18. USB5    S4    *disabled  pci:0000:00:1a.1       19. USB6    S4    *disabled  pci:0000:00:1a.2       20. P0P4    S4    *disabled  pci:0000:00:1c.0      My question is: **How can I find out which (USB) device belongs to my mouse/keyboard?** I failed with _lsusb_ so far, but maybe I just missed the right switches.


title: Doing actions on a list from the shell

text: I have a list of packages I want to deinstall. The deinstaller program `pkg_deinstall` doesn't take a list of packages as parameter to deinstall. How would I deinstall from the list (like a foreach loop)?               [root@fbsd01 /usr/ports/editors/vim]# pkg_info | grep proto| sed 's/\([a-z0-9]*\).*/\1/'     bigreqsproto     compositeproto     damageproto     fixesproto     fontsproto     inputproto     kbproto     randrproto     renderproto     xcb     xcmiscproto     xextproto     xf86bigfontproto     xineramaproto      I would think a command similar to this would work, but I have to pass the list as a parameter and not a stream: `pkg_info | grep proto| sed 's/\\([a-z0-9]*\\).*/\1/' | head -n 1 pkg_deinstall` If you could give me some clues as to what program and syntax to use, that would be helpful. I know since it's unique you might have a hard time coming up with an exact answer. If my question is too complicated, maybe someone could show me how to do actions on an `ls` of files in a dir.


title: How to convert a zImage into uImage for booting with u-boot

text: I have a zImage that I want to boot using u-boot. I think zImage is not understood by u-boot,as I am getting the following error after uboot executes:               Wrong Image Format for bootm command     ERROR: can't get kernel image!     U-Boot-cortex>      Is there any tool that converts a zImage into uImage which u-boot understands?


title: How does `find . -name *foo*` work?

text: I thought the wildcard `*` in the command `find . -name *foo*` is replaced by bash, and yet the command works unless `*foo*` matches something in the current directory, then it doesn't. It's confusing.


title: sed one-liner to delete any line that begins with a digit

text: ![enter image description here](http://i.stack.imgur.com/tGD5v.png) Pretend I am working with this file. The beginning of the first visible line is obscured, so ignore that. 43 is the beginning of the next line, and that line would be deleted. The next line (which begins with 44 and ends with a period) would be deleted. The next line (which consists solely of 424) is also gone. The next line (which consists of '11. King and Hero') is also gone. The next line stays.


title: Problem installing software in UNIX (Sun Solaris)

text: I am new to UNIX. I have some software which need to be installed in UNIX. I have below the list of OS provided by a third party software provider. Can anyone help me out: which OS Software will be compatible with Solaris? For example I want to install `oracle.rpm` for Solaris but Oracle has not provided an RPM for solaris. They have provided RPMs for the below OS. Which one will be compatible with Sun Solaris?               CentOS_CentOS-5/             Fedora_12/                   Fedora_13/                   RHEL_5/                      SLES_9/                      SLE_10_SDK/                  SLE_11_SP1/                  openSUSE_11.3/               xUbuntu_10.04/


title: Limit a text file to 100MB

text: I have several log files on my server that I would like to limit to 100MB large. I'm considering creating a cron job that will run once a month and remove the oldest characters (closest to the top) from each log file, making each 100 megs or less in size. How can I do this?


title: How can I use mutt execute command tag-pattern and then delete-pattern via shell?

text: Is there a way to execute `mutt`'s `tag-pattern` and then `delete-pattern` via shell?                 -e <command>  specify a command to be executed after initialization      Could someone provide an example please?


title: Find and replace different columns using awk

text: I try to make a change in a file: Find a certain value and substitute it with another value in a different column using `awk`. **Input** (`UiO-66Zr-EH.mof`):               unit ntype qqatom       1  'Zr1'  0.0d0     vibration     0     improper     0     unit ntype qqatom       2  'H1'  0.0d0     vibration     0     improper     0     unit ntype qqatom       3  'C25'  0.0d0     vibration     0     improper     0     unit ntype qqatom       4  'O1'  0.0d0      **Output** (`output`):               unit ntype qqatom       1  'Zr1'  2.222d0     vibration     0     improper     0     unit ntype qqatom       2  'H1'  3.333d0     vibration     0     improper     0     unit ntype qqatom       3  'C25'  7.456d0     vibration     0     improper     0     unit ntype qqatom       4  'O1'  9.99d0      I've tried this command:               awk < UiO-66Zr-EH.mof '$2 ~ /Zr1/ {$3 ="2.222.d0"}1''$2 ~ /O1/ {$3 ="9.99d0"}1''$2 ~ /C25/ {$3 ="7.45d0"}1''$2 ~ /H1/ {$3 ="3.333d0"}1' > output      But it didn't function very well. Can I do that with `awk`, while also keeping the same formation?


I want to create a folder inside `/home` directory and another one inside `/home/$USER` directory. Does another user on the same system may be able to access the folder which was inside the `/home` directory? Is there any disadvantage of creating a folder just inside `/home` directory? What are the differences between creating a directory inside /home and /home/$USER directories?


title: tcp dump outgoing connection packets

text: What is the command syntax to log all tcp connection packets? I am trying to see what address and ports my computer is trying to connect to outgoing so that I may config my firewall.


title: Do ssh_config rules cascade?

text: I have the following rules               Host *        Compression yes          Host sop         HostName 192.168.56.101      if i `ssh sop` will the compression flag also be added?


title: How can number of subdirectories and files be determined from ls -ld command?

text: How can number of subdirectories and files be determined from the output of using ls -ld command? I realize that this command only lists the directories.


title: List all commands of a specific Debian package

text: I want to know the commands that a specific Debian package offers me. For example lets say I installed a package called `x.deb`. This package surely contains some commands that i can use. How to list these commands. I know I can use `compgen` bash command to generate list of all available commands in my system but what i need is just for specific package. I tried the solutions:               dpkg -L postgresql-9.3 | egrep '(bin|games)/'     /usr/lib/postgresql/9.3/bin/pg_upgrade     /usr/lib/postgresql/9.3/bin/pg_ctl     /usr/lib/postgresql/9.3/bin/pg_resetxlog     /usr/lib/postgresql/9.3/bin/postgres     /usr/lib/postgresql/9.3/bin/pg_xlogdump     /usr/lib/postgresql/9.3/bin/initdb     /usr/lib/postgresql/9.3/bin/pg_controldata     /usr/lib/postgresql/9.3/bin/postmaster      I tried the command `postgres`               user@userPc:~$ postgres     No command 'postgres' found, did you mean:      Command 'postgrey' from package 'postgrey' (universe)     postgres: command not found


title: How to limit the disk space for any user?

text: > **Possible Duplicate:**   >  Managing disk space on servers I want to limit disk space for any specific user. Actually I need to do this for every user. I am building a Scientific Linux server and I want to create boundary for every users. For example: /home/thorn/* directory has at most 20 GB. How can I do that?


title: Testing LS_COLORS in zsh

text: A few years ago I found an interesting code snippet that prints each type of file in its corresponding color according to the colors set up in `LS_COLORS`. Unfortunately, I can't remember the link anymore. Here is the snippet `test_colors.sh` in question               eval $(echo "no:global default;fi:normal file;di:directory;ln:symbolic link;pi:named pipe;so:socket;do:door;bd:block device;cd:character device;or:orphan symlink;mi:missing file;su:set uid;sg:set gid;tw:sticky other writable;ow:other w\     ritable;st:sticky;ex:executable;"|sed -e 's/:/="/g; s/\;/"\n/g')                                                                                {                                                                                IFS=:                                                                                for i in $LS_COLORS                                                                                do                                                                                echo -e "\e[${i#*=}m$( x=${i%=*}; [ "${!x}" ] && echo "${!x}" || echo "$x" )\e[m"                                                                                done                                                                                }         The snippet works great in `bash`, but not in `zsh`, and I can't tell why. When I run it in `zsh` I get the following error:               > sh .test_colors.sh     .eval_colors:1: * not found     [00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:m      ## Update (Nov. 1, 2011) I tested the script by @Stéphane Gimenez below. I noticed that some characters seem to not escape correctly. Any thoughts why? **Answer:** See comments on @Stéphane Gimenez's answer.                                                       ![enter image description here](http://i.stack.imgur.com/7S0FW.png)


title: How can I tell if the pipe buffer is full?

text: I am piping output from one program into some Perl I wrote. This is a long running process , sometimes days, so I want to find out where my bottlenecks are and try to open them up. I want to know if data is being piped into my script faster than my script can process it. If this is the case I will try to tune up my script, but not if I don't need to. I see talk about a flag being set when the buffer is full that prevents any more writes to it but how do I check to see if or how often that flag is set? Any ideas?


title: Using syslog from a kernel module

text: I am writing a linux kernel module to report statistics and send some log messages. Can I use syslog to accomplish this job? Or is `printk` the only way?


title: ssh, start a specific shell, and run a command on the remote machine?

text: I am in a situation where several users are sharing the same user account on a remote machine. I have a "personal" directory where I wrote my own `.zshrc` file, and I would like to have a way to:   1. Start a ssh session in the remote machine with directives from my ssh config file (e.g. `ControlMaster auto`)   2. This session runs a Z shell   3. It runs a `.zshrc` in my "personal" directory (not on the shared user's home directory) It would be nice to have an alias or a simple way of starting such ssh sessions (that's why I thought about using the OpenSSH's config file), but I am open to any other ideas! ### Using OpenSSH's config file? I read on the OpenSSH's ssh_config man page that I can use the directive `LocalCommand` to specify a command to run **locally** after successfully connecting to the server. This made me think there may be a way to tell the `config` file what command to run **remotely** after connecting to the server, but there doesn't seem to be any.


title: Unable to open Windows Disk partitions in solaris 11

text: I have recently installed solaris 11, but I am an absolute beginner in unix systems. The only unix like environment I have got myself into before is ubuntu which was quite a bit different from solaris in my opinion. The main problem I am facing at the moment is that the NTFS windows HD partitions are not appearing in solaris file system, which was not the case when I used ubuntu. Every single file on my HD was exposed to me when I was in ubuntu. I have already tried to find the solution in the internet. Tried to solve it with the help of this But had no success. The download links given for both FSWpart and FSWfsmisc is not working(giving a 404). I installed something called ntfs -g drive but I think I am not using it correctly as most of the time I am copying and pasting commands because I do not have sufficient knowledge to write them myself. Please any assistance in this matter is greatly appreciated. Thanks in advance.


title: device mapper on RHEL6 unable to create devs for LVM logical volume

text: I have XEN guest running RHEL6, and it has a LUN presented from the Dom0. This contains an LVM volume groups called vg_ALHINT (INT for Integration and ALH is an abbreviation of its Oracle database name). The data is Oracle 11g. The VG was imported, activated and udev created the maps for each logical volume. However device mapper did not create mappings for one of the logical volumes [LV], and for the LV in question it created /dev/dm-2 with different major minor number compared to the rest of LVs.               #  dmsetup table     vg_ALHINT-arch: 0 4300800 linear 202:16 46139392     vg0-lv6: 0 20971520 linear 202:2 30869504     vg_ALHINT-safeset2: 0 4194304 linear 202:16 35653632     vg0-lv5: 0 2097152 linear 202:2 28772352     vg_ALHINT-safeset1: 0 4186112 linear 202:16 54528000     vg0-lv4: 0 524288 linear 202:2 28248064     vg0-lv3: 0 4194304 linear 202:2 24053760     vg_ALHINT-oradata:     **     vg0-lv2: 0 4194304 linear 202:2 19859456     vg0-lv1: 0 2097152 linear 202:2 17762304     vg0-lv0: 0 17760256 linear 202:2 2048     vg_ALHINT-admin: 0 4194304 linear 202:16 41945088      ** You can see above vg_ALHINT-oradata is empty.               # ls -l /dev/mapper/     total 0     [root@iui-alhdb01 ~]# ls -l /dev/mapper/     total 0     crw-rw---- 1 root root  10, 58 Apr  3 13:43 control     lrwxrwxrwx 1 root root       7 Apr  3 13:43 vg0-lv0 -> ../dm-0     lrwxrwxrwx 1 root root       7 Apr  3 13:43 vg0-lv1 -> ../dm-1     lrwxrwxrwx 1 root root       7 Apr  3 14:35 vg0-lv2 -> ../dm-2     lrwxrwxrwx 1 root root       7 Apr  3 13:43 vg0-lv3 -> ../dm-3     lrwxrwxrwx 1 root root       7 Apr  3 13:43 vg0-lv4 -> ../dm-4     lrwxrwxrwx 1 root root       7 Apr  3 13:43 vg0-lv5 -> ../dm-5     lrwxrwxrwx 1 root root       7 Apr  3 13:43 vg0-lv6 -> ../dm-6     lrwxrwxrwx 1 root root       7 Apr  3 13:59 vg_ALHINT-admin -> ../dm-8     lrwxrwxrwx 1 root root       7 Apr  3 13:59 vg_ALHINT-arch -> ../dm-9     brw-rw---- 1 root disk 253,  7 Apr  3 14:37 vg_ALHINT-oradata     lrwxrwxrwx 1 root root       8 Apr  3 13:59 vg_ALHINT-safeset1 -> ../dm-10     lrwxrwxrwx 1 root root       8 Apr  3 13:59 vg_ALHINT-safeset2 -> ../dm-11      vg_ALHINT-oradata was not created until when I ran `dmsetup mknodes`               # cat /proc/partitions     major minor  #blocks  name           202        0   26214400 xvda      202        1     262144 xvda1      202        2   25951232 xvda2      253        0    8880128 dm-0      253        1    1048576 dm-1      253        2    2097152 dm-2      253        3    2097152 dm-3      253        4     262144 dm-4      253        5    1048576 dm-5      253        6   10485760 dm-6      202       16   29360128 xvdb      253        8    2097152 dm-8      253        9    2150400 dm-9      253       10    2093056 dm-10      253       11    2097152 dm-11      dm-7 would have been vg_ALHINT-oradata and it's missing. I ran `dmsetup mknodes` and `dm-7` was created yet still missing from `/proc/paritions`.               # ls -l /dev/dm-7     brw-rw---- 1 root disk 253, 7 Apr  3 13:59 /dev/dm-7      Its major and minor numbers are `253:7` yet the devices and the same LVs in its VG have 202:nn `lvs` tells me this LV was suspended:               # lvs         Logging initialised at Thu Apr  3 14:44:19 2014         Set umask from 0022 to 0077         Finding all logical volumes       LV       VG        Attr       LSize   Pool Origin Data%  Move Log Cpy%Sync Convert       lv0      vg0       -wi-ao----   8.47g       lv1      vg0       -wi-ao----   1.00g       lv2      vg0       -wi-ao----   2.00g       lv3      vg0       -wi-ao----   2.00g       lv4      vg0       -wi-ao---- 256.00m       lv5      vg0       -wi-ao----   1.00g       lv6      vg0       -wi-ao----  10.00g       admin    vg_ALHINT -wi-a-----   2.00g       arch     vg_ALHINT -wi-a-----   2.05g       oradata  vg_ALHINT -wi-s-----  39.95g       safeset1 vg_ALHINT -wi-a-----   2.00g       safeset2 vg_ALHINT -wi-a-----   2.00g         Wiping internal VG cache      The disc was created from a snapshot from our production databases. Oracle was shutdown and VG had been exported prior to the snapshot. I should note I perform this same take for 100s of databases weekly via a script. Because this was a snapshot then I have the table from device mapper from the original and I used this to try and recreate its missing table:               0 35651584 linear 202:16 2048     35651584 4087808 linear 202:16 50440192     39739392 2097152 linear 202:16 39847936     41836544 41943040 linear 202:16 58714112      After suspending the device with `dmsetup suspend /dev/dm-7` I ran `dmsetup load /dev/dm-7 $table.txt` Next I tried to resume this device,               # dmsetup resume /dev/dm-7     device-mapper: resume ioctl on vg_ALHINT-oradata failed: Invalid argument     Command failed     #      Any ideas because I'm really lost. (Yep I've rebooted and re-snapshotted this lots and always have the same problem. I've even reinstalled this server and run `yum update`.) // EDIT. I forgot to add that this is the original dmsetup table from our production environment and I tried to load the oradata layout into our integration server like I noted above.               #  dmsetup table     vg_ALHPRD-safeset2: 0 4194304 linear 202:32 35653632     vg_ALHPRD-safeset1: 0 4186112 linear 202:32 54528000     vg_ALHPRD-oradata: 0 35651584 linear 202:32 2048     vg_ALHPRD-oradata: 35651584 4087808 linear 202:32 50440192     vg_ALHPRD-oradata: 39739392 2097152 linear 202:32 39847936     vg_ALHPRD-oradata: 41836544 41943040 linear 202:32 58714112     vg_ALHPRD-admin: 0 4194304 linear 202:32 41945088      //EDIT I ran vgscan --mknodes and had:               The link /dev/vg_ALHINT/oradata should have been created by udev but it was not found. Falling back to direct link creation.                    # ls -l /dev/vg_ALHINT/oradata     lrwxrwxrwx 1 root root 29 Apr 3 14:50 /dev/vg_ALHINT/oradata -> /dev/mapper/vg_ALHINT-oradata      Still cannot activate this and had this error message:               device-mapper: resume ioctl on failed: Invalid argument Unable to resume vg_ALHINT-oradata (253:7)       //EDIT I see stack traces in /var/log/messages:               Apr  3 13:58:09 iui-alhdb01 kernel: blkfront: xvdb: barriers disabled     Apr  3 13:58:09 iui-alhdb01 kernel: xvdb: unknown partition table     Apr  3 13:59:35 iui-alhdb01 kernel: device-mapper: table: 253:7: xvdb too small for target: start=58714112, len=41943040, dev_size=58720256     Apr  3 14:02:31 iui-alhdb01 ntpd[1093]: 0.0.0.0 c612 02 freq_set kernel 5.242 PPM     Apr  3 14:02:31 iui-alhdb01 ntpd[1093]: 0.0.0.0 c615 05 clock_sync     Apr  3 14:30:13 iui-alhdb01 kernel: device-mapper: table: 253:2: xvdb too small for target: start=58714112, len=41943040, dev_size=58720256     Apr  3 14:33:34 iui-alhdb01 kernel: INFO: task vi:1394 blocked for more than 120 seconds.     Apr  3 14:33:34 iui-alhdb01 kernel:      Not tainted 2.6.32-431.11.2.el6.x86_64 #1     Apr  3 14:33:34 iui-alhdb01 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.     Apr  3 14:33:34 iui-alhdb01 kernel: vi            D 0000000000000000     0  1394   1271 0x00000084     Apr  3 14:33:34 iui-alhdb01 kernel: ffff88007aef19b8 0000000000000082 ffff88007aef1978 ffffffffa000443c     Apr  3 14:33:34 iui-alhdb01 kernel: ffff88007d208d80 ffff880037cabc08 ffff880037cda0c8 ffff8800022168a8     Apr  3 14:33:34 iui-alhdb01 kernel: ffff880037da45f8 ffff88007aef1fd8 000000000000fbc8 ffff880037da45f8     Apr  3 14:33:34 iui-alhdb01 kernel: Call Trace:     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffffa000443c>] ? dm_table_unplug_all+0x5c/0x100 [dm_mod]     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff810a7091>] ? ktime_get_ts+0xb1/0xf0     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff811bf1f0>] ? sync_buffer+0x0/0x50     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff815286c3>] io_schedule+0x73/0xc0     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff811bf230>] sync_buffer+0x40/0x50     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8152918f>] __wait_on_bit+0x5f/0x90     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff811bf1f0>] ? sync_buffer+0x0/0x50     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff81529238>] out_of_line_wait_on_bit+0x78/0x90     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8109b310>] ? wake_bit_function+0x0/0x50     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff811bf1e6>] __wait_on_buffer+0x26/0x30     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffffa0085875>] __ext4_get_inode_loc+0x1e5/0x3b0 [ext4]     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffffa0088006>] ext4_iget+0x86/0x7d0 [ext4]     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffffa008ec35>] ext4_lookup+0xa5/0x140 [ext4]     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff81198b05>] do_lookup+0x1a5/0x230     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff81198e90>] __link_path_walk+0x200/0xff0     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8114a667>] ? handle_pte_fault+0xf7/0xb00     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff811a3c6a>] ? dput+0x9a/0x150     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff81199f3a>] path_walk+0x6a/0xe0     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8119a14b>] filename_lookup+0x6b/0xc0     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8119b277>] user_path_at+0x57/0xa0     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8104a98c>] ? __do_page_fault+0x1ec/0x480     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8119707b>] ? putname+0x2b/0x40     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8118eac0>] vfs_fstatat+0x50/0xa0     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff811c4645>] ? nr_blockdev_pages+0x15/0x70     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8115c4ad>] ? si_swapinfo+0x1d/0x90     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8118ec3b>] vfs_stat+0x1b/0x20     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8118ec64>] sys_newstat+0x24/0x50     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff810e2057>] ? audit_syscall_entry+0x1d7/0x200     Apr  3 14:33:34 iui-alhdb01 kernel: [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b     Apr  3 14:35:34 iui-alhdb01 kernel: INFO: task vi:1394 blocked for more than 120 seconds.     Apr  3 14:35:34 iui-alhdb01 kernel:      Not tainted 2.6.32-431.11.2.el6.x86_64 #1     Apr  3 14:35:34 iui-alhdb01 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.     Apr  3 14:35:34 iui-alhdb01 kernel: vi            D 0000000000000000     0  1394   1271 0x00000084     Apr  3 14:35:34 iui-alhdb01 kernel: ffff88007aef19b8 0000000000000082 ffff88007aef1978 ffffffffa000443c     Apr  3 14:35:34 iui-alhdb01 kernel: ffff88007d208d80 ffff880037cabc08 ffff880037cda0c8 ffff8800022168a8     Apr  3 14:35:34 iui-alhdb01 kernel: ffff880037da45f8 ffff88007aef1fd8 000000000000fbc8 ffff880037da45f8     Apr  3 14:35:34 iui-alhdb01 kernel: Call Trace:     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffffa000443c>] ? dm_table_unplug_all+0x5c/0x100 [dm_mod]     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff810a7091>] ? ktime_get_ts+0xb1/0xf0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811bf1f0>] ? sync_buffer+0x0/0x50     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff815286c3>] io_schedule+0x73/0xc0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811bf230>] sync_buffer+0x40/0x50     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8152918f>] __wait_on_bit+0x5f/0x90     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811bf1f0>] ? sync_buffer+0x0/0x50     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff81529238>] out_of_line_wait_on_bit+0x78/0x90     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8109b310>] ? wake_bit_function+0x0/0x50     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811bf1e6>] __wait_on_buffer+0x26/0x30     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffffa0085875>] __ext4_get_inode_loc+0x1e5/0x3b0 [ext4]     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffffa0088006>] ext4_iget+0x86/0x7d0 [ext4]     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffffa008ec35>] ext4_lookup+0xa5/0x140 [ext4]     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff81198b05>] do_lookup+0x1a5/0x230     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff81198e90>] __link_path_walk+0x200/0xff0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8114a667>] ? handle_pte_fault+0xf7/0xb00     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811a3c6a>] ? dput+0x9a/0x150     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff81199f3a>] path_walk+0x6a/0xe0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8119a14b>] filename_lookup+0x6b/0xc0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8119b277>] user_path_at+0x57/0xa0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8104a98c>] ? __do_page_fault+0x1ec/0x480     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8119707b>] ? putname+0x2b/0x40     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8118eac0>] vfs_fstatat+0x50/0xa0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c4645>] ? nr_blockdev_pages+0x15/0x70     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8115c4ad>] ? si_swapinfo+0x1d/0x90     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8118ec3b>] vfs_stat+0x1b/0x20     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8118ec64>] sys_newstat+0x24/0x50     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff810e2057>] ? audit_syscall_entry+0x1d7/0x200     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b     Apr  3 14:35:34 iui-alhdb01 kernel: INFO: task vgdisplay:1437 blocked for more than 120 seconds.     Apr  3 14:35:34 iui-alhdb01 kernel:      Not tainted 2.6.32-431.11.2.el6.x86_64 #1     Apr  3 14:35:34 iui-alhdb01 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.     Apr  3 14:35:34 iui-alhdb01 kernel: vgdisplay     D 0000000000000000     0  1437   1423 0x00000080     Apr  3 14:35:34 iui-alhdb01 kernel: ffff88007da35a18 0000000000000086 ffff88007da359d8 ffffffffa000443c     Apr  3 14:35:34 iui-alhdb01 kernel: 000000000007fff0 0000000000010000 ffff88007da359d8 ffff88007d24d380     Apr  3 14:35:34 iui-alhdb01 kernel: ffff880037c8c5f8 ffff88007da35fd8 000000000000fbc8 ffff880037c8c5f8     Apr  3 14:35:34 iui-alhdb01 kernel: Call Trace:     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffffa000443c>] ? dm_table_unplug_all+0x5c/0x100 [dm_mod]     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff810a7091>] ? ktime_get_ts+0xb1/0xf0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff815286c3>] io_schedule+0x73/0xc0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c8a9d>] __blockdev_direct_IO_newtrunc+0xb7d/0x1270     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c4400>] ? blkdev_get_block+0x0/0x20     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c9207>] __blockdev_direct_IO+0x77/0xe0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c4400>] ? blkdev_get_block+0x0/0x20     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c5487>] blkdev_direct_IO+0x57/0x60     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c4400>] ? blkdev_get_block+0x0/0x20     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811217bb>] generic_file_aio_read+0x6bb/0x700     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c5fd0>] ? blkdev_get+0x10/0x20     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c5fe0>] ? blkdev_open+0x0/0xc0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8118617f>] ? __dentry_open+0x23f/0x360     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c4841>] blkdev_aio_read+0x51/0x80     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff81188e8a>] do_sync_read+0xfa/0x140     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff810ec3f6>] ? rcu_process_dyntick+0xd6/0x120     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8109b290>] ? autoremove_wake_function+0x0/0x40     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811c479c>] ? block_ioctl+0x3c/0x40     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8119dc12>] ? vfs_ioctl+0x22/0xa0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8119ddb4>] ? do_vfs_ioctl+0x84/0x580     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff81226496>] ? security_file_permission+0x16/0x20     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff81189775>] vfs_read+0xb5/0x1a0     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff811898b1>] sys_read+0x51/0x90     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff810e1e4e>] ? __audit_syscall_exit+0x25e/0x290     Apr  3 14:35:34 iui-alhdb01 kernel: [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b     Apr  3 14:39:19 iui-alhdb01 kernel: device-mapper: table: 253:7: xvdb too small for target: start=58714112, len=41943040, dev_size=58720256     Apr  3 14:53:57 iui-alhdb01 kernel: device-mapper: table: 253:7: xvdb too small for target: start=58714112, len=41943040, dev_size=58720256     Apr  3 15:02:42 iui-alhdb01 yum[1544]: Installed: sos-2.2-47.el6.noarch     Apr  3 15:52:29 iui-alhdb01 kernel: device-mapper: table: 253:7: xvdb too small for target: start=58714112, len=41943040, dev_size=58720256     Apr  3 15:59:08 iui-alhdb01 kernel: device-mapper: table: 253:7: xvdb too small for target: start=58714112, len=41943040, dev_size=58720256


title: Running bash script on a remote Windows Machine

text: I am planning to run a bash script on a remote Windows system from my local Linux machine. For this purpose, I will have to log in to Windows machine from the local one and then execute the bash Script. First of all, is this possible? If yes, then how can it be done?


title: init process: ancestor of all processes?

text: I have always learned that the init process is the ancestor of all processes. Why does process 2 have a PPID of 0?               $ ps -ef | head -n 3     UID        PID  PPID  C STIME TTY          TIME CMD     root         1     0  0 May14 ?        00:00:01 /sbin/init     root         2     0  0 May14 ?        00:00:00 [kthreadd]


title: Does ksplice work with updates from repos?

text: If there is a kernel update from an upstream repository (such as debian or centos) does ksplice work with those updates? If not, how does one update the kernel without a reboot and without paying Oracle?


title: Cannot mount USB 3.0 Flash drive

text: I have a 16GB USB 3.0 thumb drive that has worked wonderfully up until two days ago... When ever I plug it into a USB3.0 slot:   * The light flickers indefinitely; Nautilus shows the Open/Eject popup as usual but when attempting to open in any file manager it hangs and after a while complains /dev/sdx no longer exists (even though lsblk says otherwise)   * Trying to inspect with gparted produces a similar error, cannot find stat for /dev/sdx - it does not exist.   * And a lot of scary dmesg output that I do not understand at all. I can modify the device using fdisk. I have tried restoring the boot code and I have tried resetting the partition table and trying various different file systems. Using the drive in a USB 2.0 slot works normally. Other USB 3.0 external drives and flash drives in the USB 3.0 slots work normally. The device works on USB 3.0 ports in Windows and other Linux computers. My main reason for posting is to try to **learn and understand** what is happening. Any advice is appreciated!


title: libmpg123 bugging up yum

text: I had to manually install some dependencies in my fumbling attempts to get netflix working yesterday with pipelight, and ultimately failed. I uninstalled everything I installed during that process, but when I run yum update now I get this:               Transaction Summary     ================================================================================     Install             ( 2 Dependent packages)     Upgrade  1 Package          Total size: 442 k     Is this ok [y/d/N]: y     Downloading packages:     Running transaction check     Running transaction test               Transaction check error:       file /usr/lib/libmpg123.so.0 from install of libmpg123-1.19.0-1.fc19.i686 conflicts with file from package mpg123-1.18.1-1.fc19.i686      ## Error Summary Is there a way to get this out of my life without having to do anything drastic?


title: How to remove silence part from mp3 that is extracted from tv drama

text: I hear a mp3 that is extracted from some tv dramas as a English exercise. So in that mp3 there are lot of "silence part" in which no one speaks and there is no background music. Is there a way to remove that silence part by using `ffmpeg` or some other program from command line?


title: Why is the .config file not copied to /boot after installing new kernel?

text: I run across such a weird problem: According to this: > The kernel and modules must be moved to special locations in order to be > used, >   >   >     1. make modules_install >     2. make install >   > > The first will create the /lib/modules/ directory and place the modules > there. The second make target will, >   >   >     1. Move the kernel, bzImage, to /boot and rename it vmlinuz-<revision>, >     2. Move the System.map to /boot, >     3. Create initrd.img-<revision> >     4. Copy .config to /boot, renaming it to config-<revision> >     5. Modifies the boot loader configuration file /boot/grub/menu.lst >        so that the new kernel is listed on the boot menu. >   I configure and compile the latest Linux kernel 3.15, and run `make install` to install the new kernel. Everything seems OK except for the .config file is not copied to `/boot`. Why is the .config file under the root directory of the source tree not copied to /boot ? PS. My running OS is fedora 20.


title: Why does media wiki install stop?

text: I am building a new MediaWiki installation on a CentOS 6.4 system.               Server version: Apache/2.2.15 (Unix)     Server built:   May 13 2013 22:11:16          PHP 5.3.3 (cli) (built: Feb 22 2013 02:51:11)      Copyright (c) 1997-2010 The PHP Group     Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies          MediaWiki 1.21.1      `mysql Ver 14.14 Distrib 5.1.69, for redhat-linux-gnu (x86_64) using readline 5.1` I can reach the index.php page and get this message               MediaWiki 1.21.1          LocalSettings.php not found.          Please set up the wiki first.      When I click on the `Please set up the wiki first.` hyperlink, This is the URL, which is correct. `http://appcentral:8587/mw-config/index.php` The page stays blank, and nothing happens. What should I check to see what is going wrong. This is a fresh, clean installation. There is no existing MySQL DB already setup for the wiki. Here is the error in error.log under /var/log/httpd. `PHP Fatal error: Class 'DOMDocument' not found in /var/www/arlington_it/includes/cache/LocalisationCache.php on line 546, referer: http://localhost:8587/index.php`


title: Postfix email bounced (mail for domain loops back to myself)

text: I have problem when i send a mail to example@orbialia.es for example2@orbialia.es My emails has bounced for this error: `status=bounced (mail for orbialia.es loops back to myself)`               May  9 09:33:58 ns3285243 postfix/smtpd[1606]: connect from localhost.localdomain[127.0.0.1]     May  9 09:33:58 ns3285243 postfix/smtpd[1606]: 1EF6FA1DB9: client=localhost.localdomain[127.0.0.1]     May  9 09:33:58 ns3285243 postfix/cleanup[1584]: 1EF6FA1DB9: message-id=<004801cf6b58$a6516540$f2f42fc0$@orbialia.es>     May  9 09:33:58 ns3285243 postfix/qmgr[1575]: 1EF6FA1DB9: from=<jonatan.soler@orbialia.es>, size=7184, nrcpt=1 (queue active)     May  9 09:33:58 ns3285243 postfix/smtpd[1606]: disconnect from localhost.localdomain[127.0.0.1]     May  9 09:33:58 ns3285243 amavis[15721]: (15721-16) Passed CLEAN {RelayedInbound}, [79.145.170.251]:1991 [79.145.170.251] <jonatan.soler@orbialia.es> -> <consultanos@orbialia.es>, Queue-ID: 9D0DCA1DB4, Message-ID: <004801cf6b58$a6516540$f2f42fc0$@orbialia.es>, mail_id: 8JHrgdOkE3Pw, Hits: -0.999, size: 6675, queued_as: 1EF6FA1DB9, 26690 ms     May  9 09:33:58 ns3285243 postfix/smtp[1588]: 9D0DCA1DB4: to=<consultanos@orbialia.es>, relay=127.0.0.1[127.0.0.1]:10024, delay=28, delays=1/0.02/0.01/27, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 1EF6FA1DB9)     May  9 09:33:58 ns3285243 postfix/qmgr[1575]: 9D0DCA1DB4: removed     May  9 09:33:58 ns3285243 postfix/smtp[1607]: 1EF6FA1DB9: to=<consultanos@orbialia.es>, relay=none, delay=0.11, delays=0.09/0.02/0/0, dsn=5.4.6, status=bounced (mail for orbialia.es loops back to myself)     May  9 09:33:58 ns3285243 postfix/cleanup[1584]: 42EC4A1DB4: message-id=<20140509073358.42EC4A1DB4@rentabiliza.net>     May  9 09:33:58 ns3285243 postfix/bounce[1608]: 1EF6FA1DB9: sender non-delivery notification: 42EC4A1DB4     May  9 09:33:58 ns3285243 postfix/qmgr[1575]: 42EC4A1DB4: from=<>, size=9465, nrcpt=1 (queue active)     May  9 09:33:58 ns3285243 postfix/qmgr[1575]: 1EF6FA1DB9: removed     May  9 09:33:58 ns3285243 postfix/smtp[1607]: 42EC4A1DB4: to=<jonatan.soler@orbialia.es>, relay=none, delay=0.05, delays=0.04/0/0/0, dsn=5.4.6, status=bounced (mail for orbialia.es loops back to myself)     May  9 09:33:58 ns3285243 postfix/qmgr[1575]: 42EC4A1DB4: removed      This is my postfix config               alias_database = hash:/etc/aliases     alias_maps = hash:/etc/aliases     append_dot_mydomain = no     biff = no     config_directory = /etc/postfix     content_filter = smtp-amavis:[127.0.0.1]:10024     inet_interfaces = all     mailbox_command = procmail -a "$EXTENSION"     mailbox_size_limit = 0     milter_default_action = accept     milter_protocol = 2     mydestination = localhost, ns3285243.ip-5-135-177.eu     myhostname = rentabiliza.net     mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128     myorigin = /etc/mailname     non_smtpd_milters = inet:localhost:8891     policy-spf_time_limit = 3600s     readme_directory = no     recipient_delimiter = +     relayhost =     smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)     smtpd_milters = inet:localhost:8891     smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination check_policy_service unix:private/policy-spf     smtpd_sasl_auth_enable = yes     smtpd_sasl_path = private/auth     smtpd_sasl_type = dovecot     smtpd_tls_auth_only = yes     smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem     smtpd_tls_key_file = /etc/ssl/private/dovecot.pem     smtpd_use_tls = yes     virtual_alias_domains = mysql:/etc/postfix/sql-domain-aliases.cf     virtual_alias_maps = mysql:/etc/postfix/sql-aliases.cf, mysql:/etc/postfix/sql-domain-aliases-mailboxes.cf, mysql:/etc/postfix/sql-email2email.cf, mysql:/etc/postfix/sql-catchall-aliases.cf     virtual_mailbox_domains = mysql:/etc/postfix/sql-domains.cf     virtual_mailbox_maps = mysql:/etc/postfix/sql-mailboxes.cf     virtual_transport = lmtp:unix:private/dovecot-lmtp      I use virtual domains/users in a mysql database hostname: `ns3285243.ip-5-135-177.eu` hostname -f: `ns3285243.ip-5-135-177.eu` /etc/hosts               # Do not remove the following line, or various programs     # that require network functionality will fail.     127.0.0.1 localhost.localdomain localhost     5.135.177.115           ns3285243.ip-5-135-177.eu       ns3285243     2001:41D0:8:B873::1     ns3285243.ip-5-135-177.eu       ns3285243          # The following lines are desirable for IPv6 capable hosts     #(added automatically by netbase upgrade)          ::1     ip6-localhost ip6-loopback     fe00::0 ip6-localnet     ff00::0 ip6-mcastprefix     ff02::1 ip6-allnodes     ff02::2 ip6-allrouters     ff02::3 ip6-allhosts      When i try to send mail to gmail.com to destination it recieve the email succesfully If i put orbialia.es to mydestination i recieve this:               May  9 09:47:28 ns3285243 postfix/smtpd[2601]: NOQUEUE: reject: RCPT from 251.Red-79-145-170.dynamicIP.rima-tde.net[79.145.170.251]: 550 5.1.1 <consultanos@orbialia.es>: Recipient address rejected: User unknown in local recipient table; from=<jonatan.soler@orbialia.es> to=<consultanos@orbialia.es> proto=ESMTP helo=<50l3rport>      i have multiple virtual domains. How can resolve it?


title: How to install sshfs on Linux Mint?

text: I am trying to install `sshfs` on Linux Mint to mount remote folders over SSH. I've Googled up and down on how to install `sshfs` (as the command is not available to me) and I'm beating my head against the wall because I cannot find the repository it is in.               ~ $ sshfs     The program 'sshfs' is currently not installed. You can install it by typing:     sudo apt-get install sshfs     ~ $ sudo apt-get install sshfs     [sudo] password for XXXX:      Reading package lists... Done     Building dependency tree            Reading state information... Done     E: Unable to locate package sshfs      **Edit:** Adding response to @Nate from Kalamazoo's answer here for code formatting:               ~ $ sudo apt-get install sshfs-fuse     Reading package lists... Done     Building dependency tree            Reading state information... Done     E: Unable to locate package sshfs-fuse     ~ $ apt-cache search sshfs     ~ $       **Edit:** Adding output of `cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list`:               deb http://packages.linuxmint.com/ olivia main upstream import     deb http://ppa.launchpad.net/dockbar-main/ppa/ubuntu raring main     deb-src http://ppa.launchpad.net/dockbar-main/ppa/ubuntu raring main     ### THIS FILE IS AUTOMATICALLY CONFIGURED ###     # You may comment out this entry, but any other modifications may be lost.     deb http://dl.google.com/linux/chrome/deb/ stable main     #deb file:///usr/share/local-repository binary/          deb http://ppa.launchpad.net/nuvola-player-builders/stable/ubuntu raring main     deb-src http://ppa.launchpad.net/nuvola-player-builders/stable/ubuntu raring main     # Do not edit this file manually, use Software Sources instead.          deb http://packages.linuxmint.com olivia main upstream import  #id:linuxmint_main          deb http://archive.ubuntu.com/ubuntu raring main restricted universe multiverse     deb http://archive.ubuntu.com/ubuntu raring-updates main restricted universe multiverse          deb http://security.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse     deb http://archive.canonical.com/ubuntu/ raring partner     deb http://ppa.launchpad.net/webupd8team/jupiter/ubuntu raring main     deb-src http://ppa.launchpad.net/webupd8team/jupiter/ubuntu raring main     deb http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu raring main     deb-src http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu raring main      All tutorials I find don't mention adding any repositories, just to do the usual install. I'm at a loss. Can someone help me out on this relatively simple issue?


title: How to install Cinnamon with SLiM on Arch Linux?

text: I have recently installed Arch Linux and since I'm new to hard it's a little hard to get around the things in here. I wanted to know how I can instal cinnamon desktop environment with SliM display manager. By now, I know how to install Arch system and boot into the root account. I have also installed the system X and currently I'm able see the basic GUI using:                startx      I installed cinnamon and slim using:                # pacman -S cinnamon      # pacman -S slim      The problem, now, is that I don't know how to configure both the programs to start at boot.


title: Missing CD-ROM from /dev Redhat (Oracle Linux) 6.2

text: We have installed the minimal install for Redhat 6.2 (OL 6.2) on a HP Proliant 380 G8 and there is no `CDROM`, `SDB` or `DVD` listed in `/dev`. If I do `dmesg | more`, I cannot find any reference to it discovering and trying to set up a CD-ROM device. What do I do next? I know the CD drive works as we installed the OS from that drive. This is a clean install with no mods. Any advice on getting the CD (DVD) drive to show up would be much appreciated. Also, the below features at the end of `dmesg | more` but I do not know if it is relevant.               sd 2:0:0:0: Attached scsi generic sg2 type 0     sd 2:0:0:0: [sdc] 1978368 512-byte logical blocks: (1.01 GB/966 MiB)     sd 2:0:0:0: [sdc] Write Protect is off     sd 2:0:0:0: [sdc] Mode Sense: 23 00 00 00     sd 2:0:0:0: [sdc] Assuming drive cache: write through     sd 2:0:0:0: [sdc] Assuming drive cache: write through     sdc: detected capacity change from 0 to 1012924416      sdc:     sd 2:0:0:0: [sdc] Assuming drive cache: write through     sd 2:0:0:0: [sdc] Attached SCSI removable disk     scsi: killing requests for dead queue     scsi: killing requests for dead queue     FAT: Directory bread(block 8192) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8193) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8194) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8195) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8196) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8197) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8198) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8199) failed     scsi: killing requests for dead queue     scsi: killing requests for dead queue     FAT: Directory bread(block 8192) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8193) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8194) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8195) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8196) failed     scsi: killing requests for dead queue     FAT: Directory bread(block 8197) failed


title: Unable to find Red Hat Server

text: Running into a strange problem. I have a local server running Red Hat on a virtual machine (accessed through putty). I'm using this server to work on a website in Django, which I run with:               python manage.py runserver 0.0.0.0: 8080.         Now that works just fine, and I can access it through redHatIP:8080. However, I recently downloaded and installed Wordpress, Drupal, and Mint. Mint was added to the original site, and I access it through redHatIP/mint. Wordpress and Drupal are completely unrelated to the original site, but are both located in /var/www/html (long with the original site located through my 8080 poty). I accessed drupal and wordpress through redHatIP/drupal and redhatIP respectively, and it was working just fine until today. For some reason when I go to redHatIP now I receive the following error in my internet browser:               The requested URL / was not found on this server.      If I go to redHatIP/drupal I received The requested URL /drupal was not found on this server, to redHatIP/anything I receive The requested URL /anything was not found on this server et cetera. This applies to Mint as well, which I access through redHatIP/mint. However, I can still access the original site through redHatIP:8080, and that works just fine. I completely removed Django and wordpress, then downloaded them again. I tried having just one of them located in /var/www/html/, but that did nothing. I tried moving them to /var/www/, but that also did nothing. When I go to my error log messages in /pwd/log/httpd/error_log It has the following message:               _default_ VirtualHost overlap on port 80, the first has precedence.      However this was reported the day _before_ all this happened, when I had both Django and Wordpress together, and there hasn't been any message since. I have been unable to fix this on my own, nor have I found a solution on the net. Any ideas? Any other information that would help understand the problem? et cetera?


title: How do you pronounce System V and SysV?

text: Is the V in System V and SysV (and sysvinit, etc) pronounced "vee" or "five"?


title: Select YeAH-TCP like congestion control algorithm to configure kernel

text: I'm configuring/compiling the 2.6.37 kernel and I want select _YeAH-TCP_ like default congestion control algorithm but, although I enable this option ( _CONFIG_TCP_CONG_YEAH_ ), it doesn't show in the congestion control algorithm list to select like default. What's the sense of this? Am I doing something wrong?


title: Installing python gives dpkg error

text: Installing python gives a dpkg error. I have done these commands, output below               $ sudo apt-get install python3.4       $ sudo dpkg -C       $ sudo apt-get check       $ apt-cache policy libglib2.0-dev       $ sudo dpkg --configure libglib2.0-dev       $ sudo dpkg --audit        $ sudo apt-get install cdrecord mkisofs slib libident spice-protocol \                          default-jdk libaudio2:i386 libcacard default-jre       $ apt-cache policy python        $ sudo apt-get install python       $ apt-cache policy libc6       $ sudo apt-get update       ## no error       $ sudo apt-get -f install python        * * * ## The output: **$ sudo apt-get install python3.4**               $ sudo apt-get install python3.4     Reading package lists... Done     Building dependency tree            Reading state information... Done     The following packages were automatically installed and are no longer required:       librrd4 ntop-data python-mako python-markupsafe     Use 'apt-get autoremove' to remove them.     The following extra packages will be installed:       libdb5.3 libmpdec2 libpython3.4-minimal libpython3.4-stdlib       python3.4-minimal     Suggested packages:       python3.4-venv python3.4-doc     The following NEW packages will be installed:       libdb5.3 libmpdec2 libpython3.4-minimal libpython3.4-stdlib python3.4       python3.4-minimal     0 upgraded, 6 newly installed, 0 to remove and 488 not upgraded.     1 not fully installed or removed.     Need to get 4,804 kB of archives.     After this operation, 19.0 MB of additional disk space will be used.     Do you want to continue [Y/n]? y     Get:1 http://ftp.de.debian.org/debian/ testing/main libdb5.3 i386 5.3.28-3 [662 kB]     Get:2 http://ftp.de.debian.org/debian/ testing/main libmpdec2 i386 2.4.0-6 [76.4 kB]     Get:3 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-minimal i386 3.4.1-6 [484 kB]     Get:4 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-stdlib i386 3.4.1-6 [2,018 kB]     Get:5 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal i386 3.4.1-6 [1,366 kB]     Get:6 http://ftp.de.debian.org/debian/ unstable/main python3.4 i386 3.4.1-6 [198 kB]     Fetched 4,804 kB in 7s (621 kB/s)                                                   Selecting previously unselected package libdb5.3:i386.     (Reading database ... 459131 files and directories currently installed.)     Unpacking libdb5.3:i386 (from .../libdb5.3_5.3.28-3_i386.deb) ...     Selecting previously unselected package libmpdec2:i386.     Unpacking libmpdec2:i386 (from .../libmpdec2_2.4.0-6_i386.deb) ...     Selecting previously unselected package libpython3.4-minimal:i386.     Unpacking libpython3.4-minimal:i386 (from .../libpython3.4-minimal_3.4.1-6_i386.deb) ...     Selecting previously unselected package libpython3.4-stdlib:i386.     Unpacking libpython3.4-stdlib:i386 (from .../libpython3.4-stdlib_3.4.1-6_i386.deb) ...     Selecting previously unselected package python3.4-minimal.     Unpacking python3.4-minimal (from .../python3.4-minimal_3.4.1-6_i386.deb) ...     Selecting previously unselected package python3.4.     Unpacking python3.4 (from .../python3.4_3.4.1-6_i386.deb) ...     Processing triggers for man-db ...     Processing triggers for menu ...     Processing triggers for gnome-menus ...     Processing triggers for desktop-file-utils ...     dpkg: dependency problems prevent configuration of libglib2.0-dev:      libglib2.0-dev depends on python:any (>= 2.6.6-7~).          dpkg: error processing libglib2.0-dev (--configure):      dependency problems - leaving unconfigured     Setting up libdb5.3:i386 (5.3.28-3) ...     Setting up libmpdec2:i386 (2.4.0-6) ...     Setting up libpython3.4-minimal:i386 (3.4.1-6) ...     Setting up libpython3.4-stdlib:i386 (3.4.1-6) ...     Setting up python3.4-minimal (3.4.1-6) ...     Setting up python3.4 (3.4.1-6) ...     Processing triggers for menu ...     Errors were encountered while processing:      libglib2.0-dev     E: Sub-process /usr/bin/dpkg returned an error code (1)      **$ sudo dpkg -C**               knoppix@Microknoppix:/var/lib$ sudo dpkg -C     The following packages have been unpacked but not yet configured.     They must be configured using dpkg --configure or the configure     menu option in dselect for them to work:      libglib2.0-dev       Development files for the GLib library          The following packages are missing the md5sums control file in the     database, they need to be reinstalled:      cdrecord             Dummy transition package for wodim      mkisofs              Dummy transition package for genisoimage      slib                 Portable Scheme library      libident             simple RFC1413 client library - runtime      spice-protocol       spice-protocol      default-jdk          Standard Java or Java compatible Development Kit      libaudio2:i386       Network Audio System - shared libraries      libcacard            libcacard      default-jre          Standard Java or Java compatible Runtime      **$sudo apt-get check**               knoppix@Microknoppix:/var/lib$ apt-get check     E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)     E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?     knoppix@Microknoppix:/var/lib$ sudo apt-get check     Reading package lists... Done     Building dependency tree            Reading state information... Done      **$ apt-cache policy libglib2.0-dev**               knoppix@Microknoppix:/var/lib$ apt-cache policy libglib2.0-dev         libglib2.0-dev:           Installed: 2.40.0-3           Candidate: 2.40.0-3           Version table:              2.41.0-1 0                   1 http://ftp.de.debian.org/debian/ experimental/main i386 Packages          *** 2.40.0-3 0                 500 http://ftp.de.debian.org/debian/ testing/main i386 Packages                 500 http://ftp.de.debian.org/debian/ unstable/main i386 Packages                 100 /var/lib/dpkg/status              2.33.12+really2.32.4-5 0                 990 http://ftp.de.debian.org/debian/ stable/main i386 Packages      **$sudo dpkg --configure libglib2.0-dev**               knoppix@Microknoppix:~$ sudo dpkg --configure libglib2.0-dev     dpkg: dependency problems prevent configuration of libglib2.0-dev:      libglib2.0-dev depends on python:any (>= 2.6.6-7~).          dpkg: error processing libglib2.0-dev (--configure):      dependency problems - leaving unconfigured     Errors were encountered while processing:      libglib2.0-dev      **$sudo dpkg --audit**               knoppix@Microknoppix:~$ sudo dpkg --audit     The following packages have been unpacked but not yet configured.     They must be configured using dpkg --configure or the configure     menu option in dselect for them to work:      libglib2.0-dev       Development files for the GLib library          The following packages are missing the md5sums control file in the     database, they need to be reinstalled:      cdrecord             Dummy transition package for wodim      mkisofs              Dummy transition package for genisoimage      slib                 Portable Scheme library      libident             simple RFC1413 client library - runtime      spice-protocol       spice-protocol      default-jdk          Standard Java or Java compatible Development Kit      libaudio2:i386       Network Audio System - shared libraries      libcacard            libcacard      default-jre          Standard Java or Java compatible Runtime      **$ sudo apt-get install cdrecord mkisofs slib libident spice-protocol default-jdk libaudio2:i386 libcacard default-jre**               knoppix@Microknoppix:~$ sudo apt-get install cdrecord mkisofs slib libident spice-protocol default-jdk libaudio2:i386 libcacard default-jre   Reading package lists... Done     Building dependency tree            Reading state information... Done     default-jdk is already the newest version.     default-jdk set to manually installed.     default-jre is already the newest version.     libident is already the newest version.     libident set to manually installed.     slib is already the newest version.     cdrecord is already the newest version.     mkisofs is already the newest version.     spice-protocol is already the newest version.     libcacard is already the newest version.     The following packages were automatically installed and are no longer required:       librrd4 ntop-data python-mako python-markupsafe     Use 'apt-get autoremove' to remove them.     Suggested packages:       nas     The following packages will be upgraded:       libaudio2     1 upgraded, 0 newly installed, 0 to remove and 487 not upgraded.     1 not fully installed or removed.     Need to get 87.0 kB of archives.     After this operation, 4,096 B of additional disk space will be used.     Do you want to continue [Y/n]? y     Get:1 http://ftp.de.debian.org/debian/ stable/main libaudio2 i386 1.9.3-5wheezy1 [87.0 kB]     Fetched 87.0 kB in 0s (302 kB/s)     (Reading database ... 459964 files and directories currently installed.)     Preparing to replace libaudio2:i386 1.9.3-5 (using .../libaudio2_1.9.3-5wheezy1_i386.deb) ...     Unpacking replacement libaudio2:i386 ...     dpkg: dependency problems prevent configuration of libglib2.0-dev:      libglib2.0-dev depends on python:any (>= 2.6.6-7~).          dpkg: error processing libglib2.0-dev (--configure):      dependency problems - leaving unconfigured     Setting up libaudio2:i386 (1.9.3-5wheezy1) ...     Errors were encountered while processing:      libglib2.0-dev     E: Sub-process /usr/bin/dpkg returned an error code (1)     knoppix@Microknoppix:~$       **$ apt-cache policy python**               knoppix@Microknoppix:/var/lib$ apt-cache policy python     python:       Installed: 2.7.3-4       Candidate: 2.7.3-4+deb7u1       Version table:          2.7.6-2 0             500 http://ftp.de.debian.org/debian/ testing/main i386 Packages             500 http://ftp.de.debian.org/debian/ unstable/main i386 Packages          2.7.3-4+deb7u1 0             990 http://ftp.de.debian.org/debian/ stable/main i386 Packages      *** 2.7.3-4 0             100 /var/lib/dpkg/status     knoppix@Microknoppix:/var/lib$       Trying apt-get install python (not specifying version) **$ sudo apt-get install python**               knoppix@Microknoppix:/var/lib$ sudo apt-get install python     Reading package lists... Done     Building dependency tree            Reading state information... Done     The following packages were automatically installed and are no longer required:       librrd4 ntop-data python-mako python-markupsafe     Use 'apt-get autoremove' to remove them.     The following extra packages will be installed:       python-minimal     Suggested packages:       python-doc     The following packages will be upgraded:       python python-minimal     2 upgraded, 0 newly installed, 0 to remove and 485 not upgraded.     1 not fully installed or removed.     Need to get 223 kB of archives.     After this operation, 0 B of additional disk space will be used.     Do you want to continue [Y/n]? y     Get:1 http://ftp.de.debian.org/debian/ stable/main python all 2.7.3-4+deb7u1 [181 kB]     Get:2 http://ftp.de.debian.org/debian/ stable/main python-minimal all 2.7.3-4+deb7u1 [42.8 kB]     Fetched 223 kB in 0s (390 kB/s)           (Reading database ... 459964 files and directories currently installed.)     Preparing to replace python 2.7.3-4 (using .../python_2.7.3-4+deb7u1_all.deb) ...     Unpacking replacement python ...     Preparing to replace python-minimal 2.7.3-4 (using .../python-minimal_2.7.3-4+deb7u1_all.deb) ...     Unpacking replacement python-minimal ...     Processing triggers for doc-base ...     Processing 1 changed doc-base file...     Registering documents with scrollkeeper...     Processing triggers for man-db ...     Setting up python-minimal (2.7.3-4+deb7u1) ...     Setting up python (2.7.3-4+deb7u1) ...     dpkg: dependency problems prevent configuration of libglib2.0-dev:      libglib2.0-dev depends on python:any (>= 2.6.6-7~).          dpkg: error processing libglib2.0-dev (--configure):      dependency problems - leaving unconfigured     Errors were encountered while processing:      libglib2.0-dev     E: Sub-process /usr/bin/dpkg returned an error code (1)     knoppix@Microknoppix:/var/lib$       **$ apt-cache policy libc6**               knoppix@Microknoppix:~$ apt-cache policy libc6     libc6:       Installed: 2.17-5       Candidate: 2.19-1       Version table:          2.19-1 0             500 http://ftp.de.debian.org/debian/ testing/main i386 Packages             500 http://ftp.de.debian.org/debian/ unstable/main i386 Packages      *** 2.17-5 0             100 /var/lib/dpkg/status          2.13-38+deb7u1 0             990 http://ftp.de.debian.org/debian/ stable/main i386 Packages     knoppix@Microknoppix:~$       after sudo apt-get update and doing sudo apt-get -f install python, I still get the error **$sudo apt-get -f install python**               knoppix@Microknoppix:~/ntopngtr2/ntopng-1.1_6932$ sudo apt-get -f install python     Reading package lists... Done     Building dependency tree      Reading state information... Done     python is already the newest version.     python set to manually installed.     The following packages were automatically installed and are no longer required:     librrd4 ntop-data python-mako python-markupsafe     Use 'apt-get autoremove' to remove them.     0 upgraded, 0 newly installed, 0 to remove and 486 not upgraded.     1 not fully installed or removed.     After this operation, 0 B of additional disk space will be used.     Do you want to continue [Y/n]? y     dpkg: dependency problems prevent configuration of libglib2.0-dev:     libglib2.0-dev depends on python:any (>= 2.6.6-7~).          dpkg: error processing libglib2.0-dev (--configure):     dependency problems - leaving unconfigured     Errors were encountered while processing:     libglib2.0-dev     E: Sub-process /usr/bin/dpkg returned an error code (1)     knoppix@Microknoppix:~/ntopngtr2/ntopng-1.1_6932$