title: file(1) command termination when using the -f - option

text: Say I'd like to use the `file -f -` command inside a script, and send some input using the stdin, when I'm finished I'd like to terminate it gracefully, but unfortunately I haven't found any way to do this (and yes I did read the man page :) ).


title: Understanding interface forwarding with VPN

text: I have a server with static IP address that I rented (Debian on it), and I have a server with a server at home which I bought and setup as home server (with Ubuntu Server). What I would like to do is: Use my rented server, which has a static IP address I can always reach, to communicate with my home server through SSH. To so that, I installed and configured a VPN server on my rented server, and a VPN client on my home server. Everything with VPN looks fine. A `route -n` on the rented server (VPN server computer) gives               Destination     Gateway         Genmask         Flags Metric Ref    Use Iface     0.0.0.0         93.222.111.1    0.0.0.0         UG    0      0        0 eth0     10.8.0.0        10.8.0.2        255.255.255.0   UG    0      0        0 tun0     10.8.0.2        0.0.0.0         255.255.255.255 UH    0      0        0 tun0     93.222.111.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0      where I see that my VPN server has created an interface for my kernel. **My question is:** After having my connection with VPN server successful, how can I use SSH to connect to my home server? If I use `ssh user@homeServerHostname` I get an error: > ssh: Could not resolve hostname homeServerHostname: Name or service not > known What should I do? Please advise. Thank you.


title: Followed SSD-optimization advice, now root partition won't mount rw

text: Tonight I decided I wanted to tweak the configuration of my Debian install on my netbook (Ideapad S10-2) to work better with the SSD I put in it. I have done this before and never had any issues but just in case I double- checked what I was doing against the Debian SSD Optimization guide and everything seemed right. At this point I rebooted and things went wrong. The system refused to mount the volume as anything but read-only complaining about the "discard" flag not being recognized. I've tried booting from several different live CDs (well, over PXE anyway) but they all refuse to mount the volume for one reason or another (after running through modprobe dm-mod; cryptsetup luksOpen et al) and I suspect it's the wrong way to go. Well, the problem I'd rather solve is to figure out a way to make the crippled system (which boots with the root partition mounted read-only) mount the root partition rw by somehow ignoring the `discard`flag in `/etc/fstab`, `/etc/lvm/lvm.conf` and `/etc/crypttab` so that I can change those back, reboot and have things back the way they were. Edit: It just dawned on me why it didn't work, the filesystem for the root partition is `ext3` for some reason. I had naively assumed it would be `ext4`. So the solution is clearly to somehow mount while ignoring the discard flag.


title: TrackPoint hard to control after Debian update

text: I'm on debian testing, and after rebooting (after an uptime of 3 weeks or so, that included a bunch of package updates, I believe including the kernel) the other day, the fine-adjustment - what a golfer would call putting - of the mouse pointer position gets really hard, it feels like the pointer is still moving, although the the trackpoint is already back at its center position. Using the trackpoint is no fun anymore, it takes seconds just to select a bunch of words. I don't think it's just a trackpoint performance configuration setting. It might be some threshold or the deactivation of some clever algorithm (or the activation of a wannabe clever algorithm) to enhance the usability of the trackpoint. This is an IBM/Lenovo external USB keyboard (it is not a ThinkPad laptop, even though I tagged this question 'thinkpad', as there is no 'trackpoint' tag yet and my current reputation doesn't permit tag creation). My xinput version:               $ xinput --version     xinput version 1.6.0     XI version on server: 2.2      And here the props of the device:               $ xinput list-props 10     Device 'Synaptics Inc. Composite TouchPad / TrackPoint':             Device Enabled (125):   0             Coordinate Transformation Matrix (127): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000             Device Accel Profile (247):     1             Device Accel Constant Deceleration (248):       2.500000             Device Accel Adaptive Deceleration (249):       1.000000             Device Accel Velocity Scaling (250):    12.500000             Synaptics Edges (251):  1632, 5312, 1572, 4284             Synaptics Finger (252): 25, 30, 256             Synaptics Tap Time (253):       180             Synaptics Tap Move (254):       221             Synaptics Tap Durations (255):  180, 180, 100             Synaptics ClickPad (256):       0             Synaptics Tap FastTap (257):    0             Synaptics Middle Button Timeout (258):  75             Synaptics Two-Finger Pressure (259):    282             Synaptics Two-Finger Width (260):       7             Synaptics Scrolling Distance (261):     100, 100             Synaptics Edge Scrolling (262): 1, 0, 0             Synaptics Two-Finger Scrolling (263):   0, 0             Synaptics Move Speed (264):     1.000000, 1.750000, 0.039809, 40.000000             Synaptics Edge Motion Pressure (265):   30, 160             Synaptics Edge Motion Speed (266):      1, 401             Synaptics Edge Motion Always (267):     0             Synaptics Off (268):    0             Synaptics Locked Drags (269):   0             Synaptics Locked Drags Timeout (270):   5000             Synaptics Tap Action (271):     0, 0, 0, 0, 0, 0, 0             Synaptics Click Action (272):   1, 1, 1             Synaptics Circular Scrolling (273):     0             Synaptics Circular Scrolling Distance (274):    0.100000             Synaptics Circular Scrolling Trigger (275):     0             Synaptics Circular Pad (276):   0             Synaptics Palm Detection (277): 0             Synaptics Palm Dimensions (278):        10, 200             Synaptics Coasting Speed (279): 20.000000, 50.000000             Synaptics Pressure Motion (280):        30, 160             Synaptics Pressure Motion Factor (281): 1.000000, 1.000000             Synaptics Grab Event Device (282):      1             Synaptics Gestures (283):       1             Synaptics Capabilities (284):   1, 1, 1, 1, 1, 1, 1             Synaptics Pad Resolution (285): 1, 1             Synaptics Area (286):   0, 0, 0, 0             Synaptics Noise Cancellation (287):     25, 25             Device Product ID (242):        1739, 9             Device Node (243):      "/dev/input/event6"      **Update** I forgot there are 2 devices that might be relevant, this one actually looks more relevant than the synaptics device:               $ xinput list-props 11     Device 'TPPS/2 IBM TrackPoint':         Device Enabled (135):   1         Coordinate Transformation Matrix (137): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000         Device Accel Profile (260):     0         Device Accel Constant Deceleration (261):       1.000000         Device Accel Adaptive Deceleration (262):       1.000000         Device Accel Velocity Scaling (263):    10.000000         Device Product ID (255):        2, 10         Device Node (256):      "/dev/input/event9"         Evdev Axis Inversion (302):     0, 0         Evdev Axes Swap (304):  0         Axis Labels (305):      "Rel X" (145), "Rel Y" (146)         Button Labels (306):    "Button Left" (138), "Button Middle" (139), "Button Right" (140), "Button Wheel Up" (141), "Button Wheel Down" (142)         Evdev Middle Button Emulation (307):    0         Evdev Middle Button Timeout (308):      50         Evdev Third Button Emulation (309):     0         Evdev Third Button Emulation Timeout (310):     1000         Evdev Third Button Emulation Button (311):      3         Evdev Third Button Emulation Threshold (312):   20         Evdev Wheel Emulation (313):    0         Evdev Wheel Emulation Axes (314):       0, 0, 4, 5         Evdev Wheel Emulation Inertia (315):    10         Evdev Wheel Emulation Timeout (316):    200         Evdev Wheel Emulation Button (317):     4         Evdev Drag Lock Buttons (318):  0      Any idea what knob to turn? **Update** I diffed the above properties against those of another machine (a Lenovo laptop where the TrackPoint works fine) also running debian testing, and they are exactly identical. The version of xinput is the same, too. So I guess we can exclude the xinput version as well as the xinput settings for those devices from our considerations. I'll try to get my hand on another IBM USB keyboard and check if it isn't - after all - a hardware issue... [The following is an edit to this question made by _Barry Grumbine_ (thanks, man), that got rejected by http://unix.stackexchange.com/users/2180/shawn-j- goff (no thanks, man). Because I find it very useful and Shawn's rejection hid this bit of information from me (until now) and others, I'll paste it in here:] **Additional Information**   There is an open Debian bug report that I believe describes this problem #682413 The problem seems to be related to the synaptics_usb kernel module. According to synaptics_usb.c, line 30: > [...] touchstick support has not been tested much yet[...]


title: Startup script not executing after reboot on Solaris

text: I have a command to start Apache in `/etc/rc3.d` that does not execute when the server reboots. The script is named `S75Apache2`. Someone has speculated that this is because the link has a capital "A" in the name and it might work if renamed to `S75apache2`. Can anyone confirm? I've searched for documentation but cannot find an answer. I can't really test this without rebooting the server again (which I'd rather not do).


title: dump freezes system

text: `dump -h 0 -0Lauf /backup/ada0p2.dump /` - causes total system freeze.               server# cat /etc/fstab     # Device        Mountpoint      FStype  Options Dump    Pass#     /dev/ada0p2     /               ufs     rw      1       1     /dev/ada0p3     none            swap    sw      0       0     /dev/ada1p1     /backup         ufs     rw      2       2      nodump flags are set to `/backup` and `/usr/home` following options are set to make sure there are no errors on the disks.               fsck_y_enable="YES"     background_fsck="NO"      FreeBSD 9.0-RELEASE amd64 Please help. **EDIT: This is the last stats I can get before system freezes**               server# top     ...     42 processes:  2 running, 40 sleeping     CPU:  0.0% user,  0.0% nice, 47.6% system,  3.6% interrupt, 48.8% idle     Mem: 71M Active, 39M Inact, 139M Wired, 420K Cache, 124M Buf, 1718M Free     Swap: 4096M Total, 4096M Free            PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND      1723 root          1  97    0 10056K  1188K CPU0    0   0:18 85.06% mksnap_ffs      1711 root          1  20    0 10056K  1360K wait    1   0:00  0.00% dump


title: Ubuntu doesn't boot normally after manual installing of X.org

text: I tried to compile and install X.org (for a single card/multiseat in this tutorial) by getting source from here and installing it by:               ./configure --enable-kdrive --enable-xephyr --enable-xfake --enable-xfbdev --enable-kdrive-kbd --enable-kdrive-mouse --enable-kdrive-evdev --enable-glx-tls     make     sudo make install      after this Ubuntu freezes in boot on the Ubuntu logo and doesn't boot up!   **Note** : it boots in recovery mode and X starts by using `startx` from terminal (in recovery mode) ; it just doesn't start normally!   I'm using Ubuntu 12.04 What is the problem?   How can I fix it?


title: Replace python built with UCS4 with UCS2

text: I've got fedora fc15 installed with python 2.7.1-7.fc15. It is built with ucs4 and I've got some packages here at work that are built with ucs2. I now cannot build other packages that use these ucs2 packages because my python is ucs4. And the problem is that as soon as I remove python, yum doesn't work and things get complicated. What is the best way to approach this problem, to get ucs2 python and all? Please note that I cannot influence the pre-built company binaries that are built with ucs2 to be built with ucs4. thanks


title: How to force a connection to a certain host to use to a specific source IP?

text: When using the Shoutcast2 yellowpages there is a really annoying issue that it always uses the default IP the system uses for an outgoing conection to register itself even if the server is configured to listen on a different ip - I guess I don't need to mention that this makes no sense and the YP system unusable. Marking all other IPs of the systems as deprecated is not an option; I don't want the stream IP to be the default IP for other outgoing connections. So what I'm looking for is a way to make those connections (always to yp.shoutcast.com:80) use a certain source IP address. An existing tool would be perfect but a solution that requires not-too-much coding would be fine, too. I also have root access on the machine so iptables-based solutions would be even better.


title: Is it possible to login as root user in LXDE desktop environment?

text: Is it possible to configure certain settings to allow me to login as root user into the GUI on a Fedora 17 with an LXDE desktop? I know I can do it using KDE, but KDE is not an option for this particular machine. I do understand the risk of logging in as root user.


title: I don't know how to connect preconfigured OpenWRT router to my home network

text: What I need to do is to connect preconfigured OpenWRT router to another network through WAN cable connection. My router assign the IP address to new router but even if I use this address it still rejects my SSL connection (as it appears). I've done some googling and read some OpenWRT wiki pages but then I found out that I am missing directories such as '/etc/config'. Any suggestions?


title: How to Download from an FTP site

text: I am using: `SCO_SV scosysv 3.2 5.0.7 i386`, and I am trying to download ssh and install it. But the only way I can do it, is by using FTP. I have tried the following:               # ftp     ftp> ftp2.sco.com     ?Invalid command     ftp>      What am I supposed to do? I have never used FTP before in any Linux machine. I have Googled it, and I looked at every entry on the first page, and that is all talking about downloading packages from FTP sites—no use.


title: How to get keycodes for xmodmap?

text: I'm trying to use `xmodmap` to remap `Alt` / `Super` keys on Dell L100 keyboard, and have trouble getting the keycodes. For instance, using `xev` doesn't give me keycode for `Alt`               FocusOut event, serial 36, synthetic NO, window 0x4a00001,         mode NotifyGrab, detail NotifyAncestor          FocusIn event, serial 36, synthetic NO, window 0x4a00001,         mode NotifyUngrab, detail NotifyAncestor          KeymapNotify event, serial 36, synthetic NO, window 0x0,         keys:  122 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0                   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0         For `Right Super` key, `xev` and `showkey` give different keycodes -- `134` and `126` respectively. What's going on with these keycodes? I tried getting keycodes from `showkey -k`, and using `xmodmap` file below, but that gave a weird map which remapped `b` key:               clear Mod1     clear Control     keycode 125 = Meta_L     keycode 126 = Meta_R     keycode 58 = Control_L     keycode 56 = Control_L     keycode 100 = Control_R     add Control = Control_L Control_R     add Mod1 = Meta_L Meta_R


title: use iptables to allow incoming connections to some computer on port XYZ?

text: This is what I have: `iptables -i em1 -A INPUT -j ACCEPT -p tcp --dport 9001 -v`. If I want to accept incoming connections on port 9001 at this (127.0.0.1, or on the network 192.168.1.143) address, what am I doing wrong?


title: Rename beginning of file name using specific text in the file itself

text: I have many files in directory (`file1.txt`, `file2.txt`, ...) Every files contains bunch of lines. One of the line is specific text `thetext` followed by random number just like `thetext56`, `thetext21`, etc. I want to rename beginning of the file name using specific text in the file itself. So, `file1.txt` will be `thetextXXfile1.txt`, `file2.txt` will be `thetextXXfile2.txt`, and so on. Simple rename command to add `addtext` on the beginning is               rename 's?^?addtext?' *.html      while getting that specific text in the files is               sed '/thetext/!d' *.html      but I have no idea how to combine both of them.


title: file $(ls /usr/bin/* | grep zip) command gives me errors. What's wrong?

text: I'm a total noob when it comes to unix/linux commands and I decided to read a book. I've reached a chapter where they try to explain how to pass the output of commands as expansions to the shell. The following command `file $(ls /usr/bin/* | grep zip)` gives me the error "cannot open "file name (No such file or directory)". On the contrary, when I do `file $(ls | grep zip)` everything appears normally, no matter the folder. Why? Is it some kind of argument restriction? If I do this `file $(ls Pictures/ | grep jpg)` I get the following: `1234.jpg: ERROR: cannot open 1234.jpg (No such file or directory)` while moving right in the directory that I want to list `nassosdim@ubuntu:~$ cd Pictures/` `nassosdim@ubuntu:~/Pictures$ file $(ls | grep jpg)` prints out the result of file `1234.jpg: JPEG image data, JFIF standard 1.01` Can someone explain to me what's going on? :(


title: Communication with MX records

text: I have a short question about the topic of MX records. Let's say, we have multiple mail servers in DNS records. If someone is sending a mail, the outgoing mail server will check the MX and contact the first server with the lowest cost. Let's say that is an exchange server. If this server doesn't have the requested mail address, what happens then? Does the outgoing mailserver send the message to the second mailserver in the MX record? Or does that depends on the error message by the first mailserver? And how does exchange handle messages to "unknown addresses"?


title: How to exclude some commands from being stored in TCSH history?

text: I store my commandline history in TCSH, but I want to prevent certain frequent, simple commands like "exit", "cd" to be included in the history (the history holds only a fixed number of commands, so I want to retain only the useful commands). Is there a way to specify an "exclusion list" - a list that will contain commands that would not be added in the current history file ? That way, I can keep only the most relevant commands in history and filter out the ones I don't want to clog the history.


title: Installing openSUSE 12.1 on Asus Zenbook UX32VD

text: ## Tales of woe (or, the backstory) So my boss who hates the idea of windows and virtualization had brought me his fancy new Zenbook UX32VD wanting openSUSE 12.1 to be installed on it. SO far I have hit issue after issue and cant seem to find a lot of information on the problems I have encountered and I figured what better place to start collecting it then right here. Laptop Manual First issue I ran into when installing 12.1 on a Zenbook is there is no disc drive. I solved this by making a bootable USB drive. Second issue I ran into is that the installer doesn't seem support the USB 3.0 ports on the Zenbook. Fortunately USB 3.0 is backwards compatible so I had to create another bootable USB on a 2.0 USB with openSUSE 12.1's Installation data. Third issue I hit is a black screen after the installer loads udev; screen just completely goes black and nothing comes back up. It looks like the drives are still busy and loading is going on in the background but nothing happens. I think this is the optimus technology making openSUSE choke so I figured using VESA mode would take care of it..NOPE! Instead for some reason using the installation parameter nomodeset in the openSUSE boot menu works which is strange because to my understand nomodeset is the same as selecting VESA. Maybe I'm wrong? but nomodeset works for installation. Fourth issue I ran into is that there are no drivers to support the Intel wifi in the stock installation of 12.1. In addition to this issue; there are no ethernet ports. Instead Asus has included a usb to ethernet adapter and I cant find out the spec on it; perhaps its not working because it USB 3.0 Ethernet adapter? cant find out and its not working. # The Question After my install is completed and I reboot from the KDE desktop, it boots straight in to the system BIOS! The drives are detected by the BIOS and listed in the SATA configuration but there are no boot options and no options to set boot options. All I get is delete boot options. **How can I get the newly- installed system to boot?**


title: BSD Virtual Private Servers

text: I know of a couple of VPS providers that support BSD distros (rootbsd and prgmr), but I'm wondering if anyone has any other solutions they'd recommend? Moreover, I'm very curious why BSD support in the VPS world has been lagging behind Linux. I know the supply/demand may be different for each, but is there a technical reason that it's slow to adoption?


title: How can I use just one unified clipboard? (even for IntelliJ's "copy path")

text: I don't really understand the linux clipboard/s scheme. Instead of understanding it, is there a way to simplify it into one, unified clipboard? You know, so I could copy in any app and paste in any other? The current issue that's bugging me is IntelliJ's "copy path" action seems to copy the path of the current file, but I can only paste it back into IntelliJ itself - if I try to paste it into a terminal, the content simply isn't in the clipboard.


title: How do I configure setfont and loadkeys properly?

text: I'm installing LFS and I'm struggling with this section. My locale is `sv_SE.UTF-8` and I have a Swedish keyboard. So I suppose I should enable unicode and that the keymap is `sv-latin1`:               cat > /etc/sysconfig/console << "EOF"     # Begin /etc/sysconfig/console          UNICODE="1"     KEYMAP="sv-latin1"          # End /etc/sysconfig/console     EOF      Correct? What I'm struggling with is how to set the font. The book has this example for configuring the German keymap:               cat > /etc/sysconfig/console << "EOF"     # Begin /etc/sysconfig/console          KEYMAP="de-latin1"     KEYMAP_CORRECTIONS="euro2"     FONT="lat0-16 -m 8859-15"          # End /etc/sysconfig/console     EOF      Since German and Swedish is somewhat similar I suppose I could possibly use the same font, but I don't really understand the difference between lat0-16, lat1-16 and lat2-16. Also how do I know if I'm supposed to use 8859-15 or 8859-1? > In UTF-8 mode, the kernel uses the application character map for conversion > of composed 8-bit key codes in the keymap to UTF-8, and thus the argument of > the "-m" parameter should be set to the encoding of the composed key codes > in the keymap. So I guess the -m parameter is dependent on the chosen keymap, but how do I know what application character map my keymap uses? Finally I also have a question about the font naming: The latin (I suppose that's what lat stands for) fonts have names on the following form: `latX-Y` Is it correct that X specifies what characters are supported and Y specifies the font size?


title: How to see mails sent by me in Evolution

text: I can't find a setting the makes Evolution display messages sent by me in thread view. I can find them in Sent folder, but I'd like them to be part of the normal threads.


title: How can I mount partitons in a full disk image (i.e. image with partition table) with fuse?

text: It's a bit indirect, but it's possible mount a partition with a disk image using `mount` or `losetup`'s "offset" parameter. I'm looking to be able to use fuse to do the same thing in user space ## Use Case My use case is building disk images on an autobuild server where the build job is not allowed to have root permissions, and the server should not need a custom setup for particular build jobs.


title: Linux Mint Live Not Saving Data

text: I recently used UNetBootin to install Linux Mint Live on a 2GB flash drive. However, I think the OS thinks it's a CD, and doesn't make any changes. If I install software, change settings, etc, it just erases them when I reboot (OS loaded to RAM). I'm looking for a way to either "tell" it it's a flash drive (and therefore make it writeable), or install the full desktop (not live) version on a flash drive, and still leave the machine's normal Windows HDD alone. I've been told that Live is supposed to work just as a full installation does, but with the option to install it to the computer's storage device. Is this not true? Other distros I've tried work fine, but Mint has this problem, and it seems like the one I want to keep.


title: Debugging a Segmentation Fault

text: I have an application that runs on an embedded Linux device that I am expanding with new features. The new features require GLib so, I am dynamically linking the required libraries to the application. When I do this and run the application on the device, I get a segmentation fault. This occurs when I dynamically link the new libraries. GDB's backtrace shows that the fault occurs in another custom dynamically linked library. Unfortunately I only get a partial trace with the following message: > Backtrace stopped: frame did not save the PC Note that I am only linking another shared library and not adding any new code. If I linked the custom library statically the crash goes away. I suspect a memory corruption is happening somewhere else and the conditions (i.e. memory mapping) are just right when the custom library is dynamically linked so that the segmentation occurs. Anyone know of any good tools and techniques I can use to debug further?


title: Is there a way to make apt report which packages in a dist-upgrade will use additional disk space?

text: I recently decided it was time to do the ol' dist-upgrade. Since I don't upgrade often, I got this message:               deus@machina:~/$ sudo apt-get dist-upgrade     Reading package lists... Done     Building dependency tree             Reading state information... Done     Calculating upgrade... Done     The following packages will be REMOVED:       cmap-adobe-japan1 gnuplot-nox gs-cjk-resource kdebase-data kdebase-runtime-data kdebase-workspace-data       kdebase-workspace-kgreet-plugins koffice-libs krita libept1 libgd2-noxpm libgdl-3-1 libleptonica libmlt4 libmp3splt-mp3       libmp3splt-ogg libplasmaclock4abi1 libscience4 libtaskmanager4abi1 libupnp3 octave3.2 xz-lzma     The following NEW packages will be installed:       aptitude-common avogadro-data cpp-4.7 cryptsetup-bin fonts-freefont-ttf fonts-lyx fonts-stix fonts-vlgothic g++-4.7       g++-4.7-multilib gcc-4.7 gcc-4.7-multilib gcj-4.7-base gcj-4.7-jre-lib gfortran-4.7 gstreamer0.10-ffmpeg       gstreamer0.10-gconf gstreamer0.10-plugins-good gstreamer0.10-x icedtea-7-jre-cacao kajongg kalgebra-common kate-data       katepart kde-baseapps kde-baseapps-bin kde-baseapps-data kde-runtime kde-runtime-data kde-style-oxygen kde-wallpapers       kde-wallpapers-default kde-workspace kde-workspace-bin kde-workspace-data kde-workspace-kgreet-plugins       kdegraphics-mobipocket kdegraphics-strigi-analyzer kdegraphics-thumbnailers kmenuedit kmod ksaneplugin ktouch-data       lib32itm1 libanalitza4abi1 libanalitzagui4 libapt-inst1.5 libapt-pkg4.12 libasprintf0c2 libatk-wrapper-java       libatk-wrapper-java-jni libatlas3-base libatomicparsley0 libavahi-client-dev libavahi-common-dev libavogadro1       libbabl-0.1-0 libblas3 libboost-graph1.49.0 libboost-iostreams1.49.0 libboost-program-options1.49.0 libboost-python1.49.0       libboost-regex1.49.0 libcaca-dev libcdio-cdda1 libcdio-paranoia1 libcdio13 libcmis-0.2-0 libcryptsetup4 libcrystalhd3       libdb5.1-java-jni libdbus-1-dev libdevmapper-event1.02.1 libdirectfb-dev libdirectfb-extra libept1.4.12 libexiv2-12       libexttextcat-data libexttextcat0 libfile-fcntllock-perl libgcj13 libgd2-xpm libgdl-3-2 libgegl-0.2-0 libgettextpo0       libgusb2 libindi-data libindi0b libiso9660-8 libitm1 libkactivities-bin libkactivities6 libkasten1controllers1       libkasten1core1 libkasten1gui1 libkasten1okteta1controllers1 libkasten1okteta1core1 libkasten1okteta1gui1       libkateinterfaces4 libkdcraw-data libkdcraw20 libkdeclarative5 libkexiv2-10 libkexiv2-data libkipi-data libkiten4abi1       libkmod2 libksane-data libktorrent4 libkwineffects1abi3 libkwinglutils1 libkworkspace4abi1 liblapack3 liblensfun-data       liblensfun0 liblept3 libmagickcore5 libmagickcore5-extra libmagickwand5 libmarblewidget13 libmediastreamer1 libmlt5       libmp3splt0-mp3 libmp3splt0-ogg libmtdev1 libnova-0.14-0 libnspr4 libnss3 libokteta1core1 libokteta1gui1 libopenbabel4       libopus0 libplasmaclock4abi3 libpoppler-glib8 libprison0 libpulse-dev libqalculate5-data libqrencode3 libqt4-dev-bin       libqtlocation1 libslang2-dev libsolidcontrol4abi2 libsolidcontrolifaces4abi2 libsoup-gnome2.4-1 libsox2 libspnav0       libstdc++6-4.7-dev libsystemd-daemon0 libsystemd-login0 libtaskmanager4abi3 libtbb2 libtokyocabinet9 libts-dev libupnp6       libusbredirparser0 libvirtodbc0 libvisio-0.0-0 libvorbisidec1 libwebrtc-audio-processing-0 libwireshark2 libwiretap2       libwsutil2 libxcb-glx0 libxz-java linux-headers-3.2.0-3-amd64 linux-headers-3.2.0-3-common odbcinst odbcinst1debian2       python-avogadro python-dbus-dev python-openssl python-pam python-qt4-sql python-serial python-twisted-bin       python-twisted-core python-zope.interface sharutils svgpart valgrind-dbg virtuoso-minimal virtuoso-opensource-6.1-bin       virtuoso-opensource-6.1-common     The following packages will be upgraded:       acl acpi-fakekey acpi-support acpi-support-base acpid adduser akonadi-backend-mysql akonadi-server akonadiconsole       akregator alsa-utils amor anacron anjuta-common apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common apbs apt       apt-listchanges apt-utils aptitude ark at autopoint autotools-dev avahi-autoipd base-files base-passwd bash       bash-completion bind9-host binutils blinken blogilo bluetooth bluez bluez-alsa bluez-cups bluez-gstreamer bomber bovo       bridge-utils bsdmainutils bsdutils bsnes busybox bzip2 ca-certificates ca-certificates-java cabal-install camlp4 cantor       cantor-backend-kalgebra cdbs cdrdao cervisia chocolate-doom cmake cmake-data colord console-setup console-setup-linux       consolekit coreutils cpio cpp cpp-4.6 cpufrequtils cron cuneiform cuneiform-common cups cups-bsd cups-client cups-common       cups-driver-gutenprint cups-filters cups-ppdc curl cvs cvsservice darcs dash db5.1-util dbus dbus-x11       dconf-gsettings-backend dconf-service debconf debconf-i18n debhelper debian-archive-keyring debianutils default-jre       default-jre-headless desktop-base dictionaries-common diffutils dirmngr discover djview-plugin djview4 djvulibre-bin       djvulibre-desktop dkms dmidecode dmsetup dnsmasq-base dnsutils docbook-xml dolphin dosfstools dpkg dpkg-dev dragonplayer       dvdauthor e2fslibs e2fsprogs ed edict eject emacsen-common espeak espeak-data exim4 exim4-base exim4-config       exim4-daemon-light exiv2 fakeroot fdupes festival ffmpeg ffmpegthumbs file filelight flashplugin-nonfree fontconfig       fontconfig-config fonts-droid fonts-liberation fonts-opensymbol foo2zjs foomatic-db foomatic-db-engine foomatic-filters       freeglut3 freespacenotifier ftp fuse g++ g++-4.6 g++-4.6-multilib g++-multilib gawk gcc gcc-4.4-base gcc-4.6 gcc-4.6-base       gcc-4.6-multilib gcc-4.7-base gcc-multilib gcj-4.6-base gcj-4.6-jre-lib gconf-service gconf2 gconf2-common gdb gdb-doc       gdbserver geoip-database get-flash-videos get-iplayer gettext gettext-base gfortran gfortran-4.6 ghc ghostscript       ghostscript-cups gimp gimp-data gir1.2-freedesktop gir1.2-glib-2.0 gir1.2-pango-1.0 git git-man glib-networking       glib-networking-common glib-networking-services gnome-icon-theme gnupg gnupg-agent gnupg2 gnuplot gnuplot-x11 golang       golang-doc golang-go golang-src google-chrome-stable google-gadgets-common google-gadgets-gst google-gadgets-qt gpgsm       gpgv gpsd granatier grep groff groff-base grub-common grub-pc grub-pc-bin grub2-common gsettings-desktop-schemas       gstreamer0.10-plugins-bad gstreamer0.10-pulseaudio gtkpod gtkpod-data gvfs gvfs-common gvfs-daemons gvfs-libs gwenview       gzip hdparm host hpijs hpijs-ppds hplip hplip-cups hplip-data hyphen-en-us icedtea-6-jre-cacao icedtea-6-jre-jamvm       icedtea-7-jre-jamvm icedtea-netx icedtea-netx-common iceweasel iceweasel-l10n-en-gb idle idle-python2.7 ifrit ifupdown       imagemagick imagemagick-common info initramfs-tools initscripts insserv install-info installation-report iproute iptables       ipython isc-dhcp-client isc-dhcp-common iso-codes iw jackd2 jackd2-firewire java-common jovie juk k3b k3b-data       kaccessible kaddressbook kalarm kalgebra kalzium kalzium-data kamera kanagram kanjidic kapman kapptemplate kate katomic       kbattleship kbd kblackbox kblocks kbounce kbreakout kbruch kcachegrind kcalc kcharselect kcolorchooser kde-config-cddb       kde-config-cron kde-full kde-icons-mono kde-l10n-engb kde-plasma-desktop kde-plasma-netbook kde-standard       kde-window-manager kdeaccessibility kdeadmin kdeartwork kdeartwork-emoticons kdeartwork-style kdeartwork-theme-window       kdebase-apps kdebase-bin kdebase-runtime kdebase-workspace kdebase-workspace-bin kdeedu kdeedu-kvtml-data kdegames       kdegames-card-data kdegames-mahjongg-data kdegraphics kdegraphics-libs-data kdegraphics-strigi-plugins kdelibs-bin       kdelibs5-data kdelibs5-plugins kdemultimedia kdemultimedia-kio-plugins kdenetwork kdenetwork-filesharing kdenlive       kdenlive-data kdepasswd kdepim kdepim-groupware kdepim-kresources kdepim-runtime kdepim-strigi-plugins kdepim-wizards       kdepimlibs-kio-plugins kdeplasma-addons kdesdk kdesdk-dolphin-plugins kdesdk-kio-plugins kdesdk-misc kdesdk-scripts       kdesdk-strigi-plugins kdetoys kdeutils kdewallpapers kdewebdev kdf kdiamond kdm kdoctools keyboard-configuration       kfilereplace kfind kfourinline kgamma kgeography kgeography-data kget kgoldrunner kgpg khangman khelpcenter4 kig kigo       killbots kimagemapeditor kinfocenter kiriki kismet kiten kjots kjumpingcube kleopatra klettres klettres-data klibc-utils       klickety klines klinkstatus klipper kmag kmahjongg kmail kmines kmix kmousetool kmouth kmplot kmtrace knetwalk knode       knotes kolf kollision kolourpaint4 kommander kompare konq-plugins konqueror konqueror-nsplugins konquest konsole       konsolekalendar kontact kopete korganizer kpartloader kpat kppp krb5-locales krdc kremotecontrol kreversi krfb krita-data       krosspython kruler kscd kscreensaver kscreensaver-xsavers kshisen ksirk ksnapshot kspaceduel ksquares kstars kstars-data       ksudoku ksysguard ksysguardd ksystemlog kteatime ktimer ktimetracker ktorrent ktorrent-data ktouch ktron ktuberling       kturtle ktux kubrick kuiviewer kuser kwalletmanager kwordquiz kwrite laevateinn lame latex-beamer latex-xcolor       leptonica-progs less lib32asound2 lib32bz2-1.0 lib32gcc1 lib32gomp1 lib32ncurses5 lib32quadmath0 lib32stdc++6 lib32tinfo5       lib32v4l-0 lib32z1 libaa1 libaacs0 libacl1 libaio1 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4 libakonadi-kde4       libakonadi-kmime4 libakonadiprotocolinternals1 libanjuta-3-0 libao-common libao4 libapr1 libaprutil1       libaprutil1-dbd-sqlite3 libaprutil1-ldap libarchive12 libarpack2 libart-2.0-2 libasound2 libasound2-dev       libasound2-plugins libatasmart4 libatk1.0-0 libatk1.0-data libatlas3gf-base libattr1 libaudio2 libaudiofile1 libav-tools       libavahi-client3 libavahi-common-data libavahi-common3 libavahi-glib1 libavcodec53 libavdevice53 libavfilter2       libavformat53 libavutil51 libbind9-80 libblas-dev libblas3gf libblkid1 libbluetooth3 libbluray-bdj libbluray1       libbrlapi0.5 libbsd-dev libbsd0 libbz2-1.0 libbz2-dev libc-ares2 libc-bin libc-dev-bin libc6 libc6-dbg libc6-dev       libc6-dev-i386 libc6-i386 libcaca0 libcairo-gobject2 libcairo-script-interpreter2 libcairo2 libcairo2-dev       libcanberra-gtk3-0 libcanberra-gtk3-module libcanberra0 libcap-ng0 libcdaudio1 libcdt4 libcfitsio3 libcgraph5       libck-connector0 libcln6 libcolord1 libcomerr2 libcommons-beanutils-java libcommons-compress-java libconfig++9       libconfig-inifiles-perl libcpufreq0 libcroco3 libcrypto++9 libcuneiform0 libcups2 libcupscgi1 libcupsdriver1       libcupsfilters1 libcupsimage2 libcupsmime1 libcupsppdc1 libcurl3 libcurl3-gnutls libcwidget3 libdatetime-perl libdb-java       libdb5.1 libdb5.1-java libdb5.1-java-gcj libdbus-1-3 libdbus-glib-1-2 libdc1394-22 libdconf0 libdevmapper1.02.1       libdirectfb-1.2-9 libdiscover2 libdjvulibre-text libdjvulibre21 libdlrestrictions1 libdmtx0a libdns81 libdpkg-perl       libdrm-intel1 libdrm-nouveau1a libdrm-radeon1 libdrm2 libdvdnav4 libdvdread4 libedit2 libespeak1 libestools2.1       libevent-2.0-5 libexif12 libexpat1 libexpat1-dev libfaad2 libffado2 libfftw3-3 libflite1 libfltk1.1 libfontconfig1       libfontconfig1-dev libfontenc1 libfreetype6 libfreetype6-dev libfribidi0 libfs6 libftdi1 libfuse2 libgadu3 libgail-3-0       libgail18 libgavl1 libgc1c2 libgcc1 libgcj-bc libgcj-common libgcj12 libgconf-2-4 libgconf2-4 libgdbm3 libgdk-pixbuf2.0-0       libgdk-pixbuf2.0-common libgdl-3-common libgeoip1 libgfortran3 libggadget-1.0-0b libggadget-qt-1.0-0b libghc-dataenc-dev       libghc6-dataenc-dev libgif4 libgimp2.0 libgirepository-1.0-1 libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-glx       libglapi-mesa libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglibmm-2.4-1c2a libglu1-mesa libglu1-mesa-dev       libgmp-dev libgmp10 libgmpxx4ldbl libgnome-keyring-common libgnome-keyring0 libgnutls-dev libgnutls-openssl27 libgnutls26       libgnutls28 libgnutlsxx27 libgomp1 libgpgme++2 libgphoto2-2 libgphoto2-l10n libgphoto2-port0 libgpm2 libgps20 libgraph4       libgraphicsmagick++3 libgraphicsmagick3 libgraphite2-2.0.0 libgs9 libgs9-common libgsm1 libgssapi-krb5-2 libgssglue1       libgssrpc4 libgstreamer-plugins-bad0.10-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-bin       libgtk2.0-common libgtkpod1 libgutenprint2 libgvc5 libgvpr1 libhdf5-7 libhogweed2 libhpmud0 libhtml-form-perl       libhtml-parser-perl libhtml-tree-perl libhttp-date-perl libhyphen0 libical0 libice-dev libice6 libicu48 libid3-3.8.3c2a       libidn11 libilmbase6 libimobiledevice2 libio-socket-ssl-perl libisc83 libisccc80 libisccfg82 libiscsi1 libjack-jackd2-0       libjavascriptcoregtk-1.0-0 libjavascriptcoregtk-3.0-0 libjim0debian2 libjline-java libjpeg62 libjs-jquery libjs-sphinxdoc       libjson0 libjtidy-java libk3b6 libk3b6-extracodecs libk5crypto3 libkabc4 libkadm5clnt-mit8 libkadm5srv-mit8       libkatepartinterfaces4 libkblog4 libkcal4 libkcalcore4 libkcalutils4 libkcddb4 libkcmutils4 libkdb5-6 libkde3support4       libkdecorations4 libkdecore5 libkdeedu-data libkdegames5a libkdepim4 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4       libkeduvocdocument4 libkemoticons4 libkephal4abi1 libkeyutils1 libkfile4 libkggzgames4 libkggzmod4 libkggznet4       libkholidays4 libkhtml5 libkidletime4 libkimap4 libkimproxy4 libkio5 libkipi8 libkjsapi4 libkjsembed4 libkldap4 libkleo4       libklibc libkmahjongglib4 libkmediaplayer4 libkmime4 libknewstuff2-4 libknewstuff3-4 libknotifyconfig4 libkntlm4       libkonq-common libkonq5-templates libkonq5abi1 libkonqsidebarplugin4a libkontactinterface4 libkopete4 libkparts4       libkpathsea6 libkpgp4 libkpimidentities4 libkpimtextedit4 libkpimutils4 libkprintutils4 libkpty4 libkrb5-3       libkrb5support0 libkresources4 libkrosscore4 libkrossui4 libksane0 libkscreensaver5 libksgrd4 libksieve4       libksignalplotter4 libktexteditor4 libktnef4 libktorrent-l10n libkunitconversion4 libkutils4 libkxmlrpcclient4       liblapack-dev liblapack3gf liblcms1 liblcms2-2 libldap-2.4-2 libleptonica-dev liblockfile-bin liblockfile1 liblqr-1-0       libltdl7 liblua5.1-0 liblvm2app2.2 liblwres80 liblzma5 libmagic1 libmailtools-perl libmailtransport4 libmessagecore4       libmessagelist4 libmicroblog4 libmimelib4 libmlt++3 libmlt-data libmodplug1 libmount1 libmouse-perl libmozjs10d       libmp3lame0 libmp3splt0 libmpcdec6 libmpfr4 libmpg123-0 libmsn0.3 libmtp-common libmtp-runtime libmtp9 libmusicbrainz3-6       libmysqlclient18 libncurses5 libncurses5-dev libncursesw5 libneon27-gnutls libnepomuk4 libnepomukquery4a libnepomukutils4       libnet-http-perl libnet-ssleay-perl libnetfilter-conntrack3 libnetpbm10 libnettle4 libnewt0.52 libnfsidmap2 libnl-3-200       libnl-genl-3-200 libnl-route-3-200 libnm-glib-vpn1 libnm-glib4 libnm-util2 libnotify-bin libnotify4 libnspr4-0d       libnss3-1d libnuma1 libofa0 libogg-dev libogg0 libokularcore1 libopenal-data libopenal-dev libopenal1 libopencore-amrnb0       libopencore-amrwb0 libopencv-calib3d2.3 libopencv-contrib2.3 libopencv-core2.3 libopencv-features2d2.3 libopencv-flann2.3       libopencv-highgui2.3 libopencv-imgproc2.3 libopencv-legacy2.3 libopencv-ml2.3 libopencv-objdetect2.3 libopencv-video2.3       libopenexr6 libopenjpeg2 libopenmpi1.3 libopenraw1 liborc-0.4-0 libortp8 libotr2 libpam-ck-connector libpam-modules       libpam-modules-bin libpam-runtime libpam0g libpango1.0-0 libpango1.0-dev libpaper-utils libpaper1 libpari-gmp3       libparpack2 libparted0debian1 libpathplan4 libpcap0.8 libpci3 libpciaccess0 libpcre3 libpcre3-dev libpcrecpp0       libpcsclite1 libperl5.14 libphonon4 libpipeline1 libpixman-1-0 libpixman-1-dev libplasma-geolocation-interface4       libplasma-ruby libplasma3 libplasmagenericshell4 libpng12-0 libpng12-dev libpolkit-agent-1-0 libpolkit-backend-1-0       libpolkit-gobject-1-0 libpoppler-qt4-3 libpopt0 libpostproc52 libpq5 libprocesscore4abi1 libprocessui4a libprocps0       libproxy0 libptexenc1 libpulse-mainloop-glib0 libpulse0 libpython2.7 libpython3.2 libqalculate5 libqca2       libqca2-plugin-ossl libqgpgme1 libqt4-dbus libqt4-declarative libqt4-designer libqt4-dev libqt4-help libqt4-network       libqt4-opengl libqt4-opengl-dev libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql       libqt4-sql-sqlite libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtassistantclient4 libqtcore4 libqtcore4-perl       libqtgui4 libqtgui4-perl libqtruby4shared2 libqtwebkit-dev libqtwebkit4 libquadmath0 libquicktime2 librados2 libraptor1       libraptor2-0 librasqal3 libraw1394-11 librbd1 librdf0 libreoffice libreoffice-base libreoffice-base-core libreoffice-calc       libreoffice-common libreoffice-core libreoffice-draw libreoffice-emailmerge libreoffice-filter-binfilter       libreoffice-filter-mobiledev libreoffice-help-en-gb libreoffice-help-en-us libreoffice-impress libreoffice-java-common       libreoffice-l10n-en-gb libreoffice-math libreoffice-report-builder-bin libreoffice-style-galaxy libreoffice-style-oxygen       libreoffice-writer libroar-compat2 libroar2 librpcsecgss3 librsvg2-2 librsvg2-common libruby1.8 libsamplerate0 libsane       libsane-common libsane-hpaio libsasl2-2 libsasl2-modules libschroedinger-1.0-0 libscim8c2a libsdl-gfx1.2-4       libsdl-image1.2 libsdl-net1.2 libsdl-ttf2.0-0 libsdl1.2-dev libsdl1.2debian libselinux1 libsemanage-common libsemanage1       libsensors4 libsepol1 libservlet2.5-java libsigc++-2.0-0c2a libslang2 libslv2-9 libsm-dev libsm6 libsmbclient libsmi2ldbl       libsmokebase3 libsmokekdecore4-3 libsmokekdeui4-3 libsmokekfile3 libsmokekhtml3 libsmokekio3 libsmokeknewstuff2-3       libsmokeknewstuff3-3 libsmokekparts3 libsmokektexteditor3 libsmokekutils3 libsmokenepomuk3 libsmokeplasma3       libsmokeqtcore4-3 libsmokeqtdbus4-3 libsmokeqtgui4-3 libsmokeqtnetwork4-3 libsmokeqtopengl4-3 libsmokeqtsql4-3       libsmokeqtsvg4-3 libsmokeqtwebkit4-3 libsmokeqtxml4-3 libsmokesolid3 libsndfile1 libsndfile1-dev libsnmp-base libsnmp15       libsolid4 libsoprano4 libsoundtouch0 libsoup2.4-1 libsox-fmt-all libsox-fmt-alsa libsox-fmt-ao libsox-fmt-base       libsox-fmt-ffmpeg libsox-fmt-mp3 libsox-fmt-oss libsox-fmt-pulse libspandsp2 libspectre1 libspeex1 libspeexdsp1       libspice-server1 libsqlite3-0 libss2 libssh2-1 libssl-dev libssl-doc libssl1.0.0 libstdc++6 libstdc++6-4.6-dev       libstreamanalyzer0 libstreams0 libsvga1 libsvn1 libswscale2 libswt-cairo-gtk-3-jni libswt-gnome-gtk-3-jni       libswt-gtk-3-java libswt-gtk-3-jni libswt-webkit-gtk-3-jni libsyndication4 libsysfs2 libtag1-vanilla libtag1c2a libtar0       libtasn1-3 libtasn1-3-dev libtdb1 libthai-data libthai0 libtheora0 libthreadweaver4 libtiff4 libtinfo-dev libtinfo5       libts-0.0-0 libupower-glib1 liburi-perl libusb-1.0-0 libustr-1.0-1 libuuid1 libv4l-0 libv4lconvert0 libva-x11-1       libvcdinfo0 libvdpau1 libvisual-0.4-0 libvisual-0.4-plugins libvlc5 libvlccore5 libvncserver0 libvo-aacenc0       libvo-amrwbenc0 libvorbis-dev libvorbis0a libvorbisenc2 libvorbisfile3 libvpx1 libvtk5.8 libwavpack1 libwbclient0       libweather-ion6 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libwireshark-data       libwpd-0.9-9 libwps-0.2-2 libwrap0 libwxbase2.8-0 libwxgtk2.8-0 libx11-6 libx11-data libx11-dev libx11-doc       libx11-protocol-perl libx11-xcb1 libx86-1 libxapian22 libxau-dev libxau6 libxcb-composite0 libxcb-dri2-0 libxcb-keysyms1       libxcb-randr0 libxcb-render0 libxcb-render0-dev libxcb-shape0 libxcb-shm0 libxcb-shm0-dev libxcb-xfixes0 libxcb-xv0       libxcb1 libxcb1-dev libxcursor1 libxdmcp-dev libxdmcp6 libxdot4 libxerces2-java libxext-dev libxext6 libxfont1 libxft-dev       libxft2 libxi6 libxine1 libxine1-bin libxine1-ffmpeg libxine1-misc-plugins libxine1-plugins libxine1-x libxinerama1       libxkbfile1 libxml-libxml-perl libxml-sax-perl libxml-simple-perl libxml2 libxml2-utils libxmuu1 libxrender-dev       libxrender1 libxslt1.1 libxss1 libxt-dev libxt6 libxtst6 libxv1 libxvidcore4 libxvmc1 libxxf86dga1 libzbar0       libzvbi-common libzvbi0 linux-base linux-headers-amd64 linux-kbuild-3.2 linux-libc-dev locales login logrotate lokalize       lsb-base lsb-release lskat lsof luatex lynx lynx-cur make man-db manpages manpages-dev marble marble-data marble-plugins       mawk mednafen melt mesa-common-dev mgltools-geomutils mgltools-gle mgltools-opengltk mgltools-pyglf mgltools-utpackages       mgltools-vision mgltools-visionlibraries mobile-broadband-provider-info modemmanager module-init-tools mount mp3splt       mpg123 mpg321 mplayer mtools multiarch-support mutt myspell-en-gb myspell-en-us mysql-client-5.5 mysql-common       mysql-server mysql-server-5.5 mysql-server-core-5.5 mythes-en-us nano ncurses-base ncurses-bin ncurses-term netbase       netcat-traditional netpbm network-manager network-manager-openvpn network-manager-pptp network-manager-vpnc nfs-common       nfs-kernel-server notification-daemon ntfs-3g ntfsprogs ocaml ocaml-base ocaml-base-nox ocaml-interp ocaml-nox okteta       okular openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib openjdk-7-jre openjdk-7-jre-headless       openjdk-7-jre-lib openprinting-ppds openssh-client openssl openvpn os-prober oss-compat oxygen-icon-theme oxygencursors       palapeli palapeli-data pari-doc pari-gp parley parley-data passwd pciutils pcmciautils pdf2djvu perl perl-base       perl-modules phonon phonon-backend-vlc php5 plasma-containments-addons plasma-dataengines-addons       plasma-dataengines-workspace plasma-desktop plasma-desktopthemes-artwork plasma-netbook plasma-runners-addons       plasma-scriptengine-googlegadgets plasma-scriptengine-javascript plasma-scriptengine-python plasma-scriptengine-ruby       plasma-scriptengine-superkaramba plasma-scriptengine-webkit plasma-scriptengines plasma-wallpapers-addons       plasma-widget-folderview plasma-widget-lancelot plasma-widget-networkmanagement plasma-widgets-addons       plasma-widgets-workspace policykit-1 poppler-data poppler-utils powertop poxml ppp pptp-linux preview-latex-style       printer-driver-foo2zjs printer-driver-gutenprint printer-driver-hpcups printer-driver-hpijs printer-driver-postscript-hp       printer-driver-ptouch procmail procps psmisc psutils pulseaudio pulseaudio-esound-compat pulseaudio-module-x11       pulseaudio-utils pymol python python-apt python-apt-common python-beautifulsoup python-configobj python-crypto       python-dateutil python-dbus python-debianbts python-decorator python-dev python-feedparser python-gi python-gobject       python-gobject-2 python-kde4 python-libxml2 python-minimal python-numpy python-pexpect python-pip python-qt4       python-qt4-dbus python-reportbug python-simplegeneric python-simplejson python-simpy python-simpy-doc python-simpy-gui       python-sip python-support python-sympy python-tk python-uno python2.6 python2.6-minimal python2.7 python2.7-dev       python2.7-minimal python3.2 python3.2-minimal qdbus qemu-keymaps qemu-kvm qemu-utils qjackctl qt4-linguist-tools       qt4-qmake r-doc-html reportbug rocs rpcbind rsync rsyslog ruby-kde4 ruby-plasma ruby-qt4 ruby-qt4-webkit ruby1.8       sane-utils scdaemon seabios sed sensible-utils sgml-base sgml-data shared-desktop-ontologies shared-mime-info       soprano-daemon sox ssl-cert step subversion sudo sweeper system-config-printer-kde systemsettings sysv-rc sysvinit       sysvinit-utils task-british task-british-desktop task-british-kde-desktop task-desktop task-laptop tasksel tasksel-data       tcc tcl-vtk tcl8.5 tcpd tcpdump tex-common texinfo texlive-binaries texlive-latex-extra texlive-latex-extra-doc       texlive-pstricks time tipa tk8.5 traceroute translate-toolkit transmission transmission-cli transmission-common       transmission-gtk tsconf ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ttf-freefont ttf-kochi-gothic ttf-liberation ttf-lyx       ttf-sazanami-gothic ttf-wqy-zenhei tzdata tzdata-java ucf udisks ufraw-batch umbrello uno-libs3 unp unrar-free unzip       update-inetd upower ure usb-modeswitch-data usbutils util-linux util-linux-locales valgrind vavoom vcdimager vgabios       vim-common vim-tiny visualboyadvance vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse vpnc w3m wget whiptail whois       wireshark wireshark-common wpasupplicant x11-apps x11-common x11-utils x11-xfs-utils x11-xkb-utils x11-xserver-utils       x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xauth xchat xchat-common xclip xfonts-mathml       xfonts-utils xinit xml-core xorg xscreensaver xscreensaver-data xscreensaver-data-extra xscreensaver-gl       xscreensaver-gl-extra xscreensaver-screensaver-bsod xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all       xserver-xorg-input-evdev xserver-xorg-input-synaptics xserver-xorg-input-wacom xserver-xorg-video-all       xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus       xserver-xorg-video-fbdev xserver-xorg-video-i128 xserver-xorg-video-intel xserver-xorg-video-mach64       xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-openchrome       xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-rendition xserver-xorg-video-s3       xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis       xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-tseng       xserver-xorg-video-vesa xserver-xorg-video-vmware xserver-xorg-video-voodoo xterm xtrans-dev xulrunner-10.0 xz-utils       youtube-dl zip zlib1g zlib1g-dev     1568 upgraded, 183 newly installed, 22 to remove and 0 not upgraded.     Need to get 2,433 MB of archives.     After this operation, 853 MB of additional disk space will be used.     Do you want to continue [Y/n]? n     Abort.      It could be that a lot of those packages are not really necessary for me, so if 853 MB is needed to upgrade those, then it's about 853 MB too large. However, I have no way to ascertain this currently. Of course `apt` should theoretically be able to print that information verbosely, if it can do the two sums in the first place.


title: Linux distribution geared towards developers

text: I am looking for the best flavor of Linux that would appeal to the developer's side of me. I am a lover of open source and use several different languages. Is there such a thing as a Linux geared towards developers?


title: Arch Linux and xfce4 working strange after system upgrade

text: I'm having a hard time trying to figure this out. I've been running Arch Linux and Xfce4 smoothly for several months but suddenly after a full system upgrade in which the system asked me to replace some Python packages, things got weird. For instance, I can't see see the mouse pointer after booting and when I actually see it, it's not the pointer you normally see. I can't see the top bar of any application on which you can minimize / maximize / close it. Some programs seem to open on the top left region of my screen and I can't move them. I can't use `Alt`+`Tab` to switch between applications, etc. I took a couple of screenshots: ![enter image description here](http://i.stack.imgur.com/ixoEO.png) ![enter image description here](http://i.stack.imgur.com/JPuCe.png) * * * **Edit:** Looking at the Xorg log file I found this warnings and errors:               [    18.930] (II) LoadModule: "intel"     [    18.970] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so     [    19.071] (II) Module intel: vendor="X.Org Foundation"     [    19.071]    compiled for 1.13.0, module version = 2.20.12     [    19.071]    Module class: X.Org Video Driver     [    19.071]    ABI class: X.Org Video Driver, version 13.0     [    19.071] (II) LoadModule: "vesa"     [    19.084] (WW) Warning, couldn't open module vesa     [    19.084] (II) UnloadModule: "vesa"     [    19.084] (II) Unloading vesa     [    19.084] (EE) Failed to load module "vesa" (module does not exist, 0)     [    19.084] (II) LoadModule: "modesetting"     [    19.085] (WW) Warning, couldn't open module modesetting     [    19.085] (II) UnloadModule: "modesetting"     [    19.085] (II) Unloading modesetting     [    19.085] (EE) Failed to load module "modesetting" (module does not exist, 0)     [    19.085] (II) LoadModule: "fbdev"     [    19.085] (WW) Warning, couldn't open module fbdev     [    19.085] (II) UnloadModule: "fbdev"     [    19.085] (II) Unloading fbdev     [    19.085] (EE) Failed to load module "fbdev" (module does not exist, 0)     [    19.085] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,


title: How can a single thread use 200% CPU usage?

text: ![enter image description here](http://i.stack.imgur.com/yhdAT.png) From the screenshot above of `htop` output you can see that mysql is apparently using 204% of CPU usage (this is a CentOS server with dual quad- core Intel Xeons). However only one core (8) is doing much work, and it says 100%. One of these is presumably incorrect, what's going on here?


title: Make USB modem work on Puppy Linux 5.28

text: I have an Alcatel Modem, when I plug it on my old dell c600 with Puppy Linux. **This is the log from my Puppy Linux 5.28 on my dell laptop:**               tail -f /var/log/messages | grep usb          user.err kernel:usb 1-1: device not accepting address 9, error -71     user.info kernel:usb 1-1: new full speed USB device using uhci_hcd and address 10      What can I do to make it work?... It also happends with my opensuse on my laptop but when I plug it off and in again it "fixex itself". **This is the log from my OpenSuSe 12.2 on my acer laptop: (to compare)**               ~ # tailf /var/log/messages | grep usb     Oct 28 13:01:10 acer dbus-daemon[537]: modem-manager[656]: <info>  (Longcheer): GSM modem /sys/devices/pci0000:00/0000:00:12.0/usb3/3-1 claimed port ttyUSB1     Oct 28 13:01:10 acer modem-manager[656]: <info>  (Longcheer): GSM modem /sys/devices/pci0000:00/0000:00:12.0/usb3/3-1 claimed port ttyUSB1      where can I find some info? Can anyone give me a hand?.


title: Is it possible to set different resolution between console and X when Kernel Mode Setting is enabled?

text: My LCD monitor is dying. It has white screen issue: when power on, it's black screen (power LED is flashing), after a while (maybe one hour), it turns to white screen. Then I need switch to different resolutions many many times (hundreds, maybe) to get the LCD monitor to work. Currently, I'm using VNC to connect to my fedora 17 desktop from an Android phone, and switch resolutions from System Setting -> Display. It's difficult to switch resolutions in this way. So, I think if the console has a different resolution to the X Window resolution, then I can simply use `Ctrl`+`Alt`+[`F1``F2`...] hotkeys to switch resolutions. If I disabled Kernel Mode Setting by passing `nomodeset` parameter to kernel, then the console resolution is different to X Window resolution. However, the X Windows does not get the native/best resolution (1680x1050) of the monitor, it only get 1280x1024 resolution which is listed in vesa modes (`vga=ask` kernel parameter). So, before I buy a new monitor or fixed this monitor, is it possible to set different resolution between console and X when Kernel Mode Setting is enabled ? * * * **Edit (2012-11-28)** I've sent LCD monitor to electrical appliance service shop and finally got it fixed, it was because of some capacitors failed. And now I realize I can also change to a different lower resolution in X environment, then use `Ctrl`+`Alt`+[`F1``F2`...] hotkeys to switch resolutions. This can let me get lower resolution but same X:Y ratio as native/best resolution. The answer for this question is still wanted.


title: Configure Postfix to send emails "via" a server

text: This is a question related to postfix and WordPress (but is more of a postfix question). To give some background, on a professional WordPress host (like WP Engine) when I receive WordPress Mail Notifications (comments, form submissions, new users, etc...) it will say in gmail sent from "predefined wordpress admin email" via email.wpengine.com. This is not blocked by Google's spam filters or anything. I have a cloud server set up and a WordPress site installed on it. When I send email from zach@wptemple.com it gets sent to spam and when I send email as zach@protechig.com (me) it fails to send completely. This does, however send fine on WordPress. This goal of this it so send all emails via mail.wptemple.com and have them not get caught by spam filters. How can I accomplish this?


title: tc show output explanation

text: I've found useful run watch along tc, for example:               [root@router ~]# watch  -dc  tc -p -s -d  qdisc show dev eth0              Every 2,0s: tc -p -s -d qdisc show dev eth0                                             Sat Oct 19 21:22:26 2013          qdisc prio 1: root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1      Sent 130714882 bytes 1107132 pkt (dropped 20379, overlimits 0 requeues 0)      rate 0bit 0pps backlog 0b 0p requeues 0     qdisc sfq 30: parent 1:2 limit 127p quantum 1514b flows 127/1024      Sent 775116 bytes 1466 pkt (dropped 0, overlimits 0 requeues 0)      rate 0bit 0pps backlog 0b 0p requeues 0     qdisc tbf 20: parent 1:3 rate 100000bit burst 1600b/8 mpu 0b lat 70.0ms      Sent 30679 bytes 119 pkt (dropped 170, overlimits 0 requeues 0)      rate 0bit 0pps backlog 0b 0p requeues 0      I've wonder why rate in all cases is 0.... why? Please could you recommend me some documentation that explains tc show output? Also, the show output is somewhat cryptic, please could you recommend me some documentation that explain something like: backlog,


title: Can any user account in Linux invoke command chmod?

text: Since permissions are sensitive, is it vital to be clear whether a specific user is or not allowed to run command `chmod`?


title: How to use a variable as part of an array name

text: I have two arrays:               arrayA=(1 2 3)     arrayB=(a b c)      and I want to print out one of them using a command line argument, i.e., without any `if else`. I tried a few variations on the syntax with no success. I am wanting to do something like this:               ARG="$1"          echo ${array${ARG}[@]}      but I get a "bad substitution" error. How can I achieve this?


title: Is it possible to export env variable via Upstart?

text: I need to export a variable `FOO=stringhere` so that system processes could use it. And the place I would like to do this, is Upstart job. Unfortunately, I tried as per Upstart manual to do `env FOO=stringhere` http://upstart.ubuntu.com/cookbook/#environment-variables But after the system is booted, `echo $FOO` returns nothing. Am I trying to do something impossible, or are there any gotchas I should know?


title: What to use for firewall testing (port opened or not)

text: so... we know that we can test that if a port is open on the firewall with:               telnet SERVERIP PORT      ..but afaik there are services that can't be tested with telnet, because ex.: telnet doesn't know that protocol that the service is using, and telnet will report that the port is closed, but in reality the service is up&running. Q: first: was I correct about telnet? second: What to use for testing that a port is opened on a server? (so it's not blocked by a firewall) - are there any unix tools for this?


title: How can I resolve a hostname to an IP address in a Bash script?

text: What's the most concise way to resolve a hostname to an IP address in a Bash script? I'm using Arch Linux.


title: How can I test the system footprint of applications?

text: I am about to develop a piece of software and I want to ascertain the impact it has on my system. The main things I am look for are load times, memory and CPU usage and shutdown time, although I would like to get as much information as possible. I know I can use my distro's system monitor to get some of this stuff, but I need precise data as I am going to be doing some before and after tests during my project. Is there anything out there (preferably open source) that will suffice?


title: Need to find a cronjob

text: I have a problem, some user ,and I'm not sure who, on one of my servers wrote a cronjob that executes every night at midnight. The cronjob creates a sql dump of a database which is then grabbed by another server and gzipped. The problem that I'm experiencing is that once that has occurred the file on the local system is no longer needed and I'd like to remove it in an hour or so. Which in, and of itself is not an issue but I don't know where to go to find the crontab for the person in question. Can anyone think of a way to find the cronjob from all the potential places that one could store a cronjob?


title: WHOIS over SSH via specific port

text: Is it possible to issue WHOIS requests via my local machine over a port other than 43 to a remote box to execute? Ideally, I'm using Jsch and I'd like to be able to round-robin these requests. I've looked in /etc/services, didn't learn much. Anytime I specify a port other than 43, the whois request hangs (whois -p 4999 74.125.224.72). I know about the RIR's and their various limits, and I realize that I could pay somewhere like DomainTools. But let's be honest, that wouldn't as much fun, would it?


title: Assign value to a variable in bash, coming from another commands

text: Doing this in bash, makes SUFFIX variable holding /dev/fd/[fd],               SUFFIX=<( echo "&*645\[]}#@name" | sed -r 's/[^[:alnum:]]+/_/g' )      What should I do to assign the actual result, of commands being executed in between parenthesis? So in this case SUFFIX should be assigned a value of `_645_name`?


title: How do I switch to Linux (Ubuntu) on Chromebook?

text: For reference, the Chromebook model is `SNOW FREMONT A-E 0878` I used `Crouton` to install `Ubuntu` on my `Chromebook`. In doing so, I had my computer in _developer mode_ and wasn't able to save anything that was on my computer prior to doing so. As a result, I switched back to `Chrome OS` with the command `Ctrl+Alt+Forward/Back` to try and download a python script I was interested in playing around with from my class. I signed into my Google account, and from then on I haven't been able to access `Ubuntu`. I tried putting the computer in `recovery mode` again and going through the steps once more (albeit I see it as a wasted effort since it's already ON my computer, but I digress). Since trying to put it in recovery mode, I'm left with the yellow exclamation mark saying `Chrome OS is missing or damaged`; I put in the USB I used originally when going through the entire process. Another screen shows up that says `the device I inserted does not contain Chrome OS` (no duh). `Ctrl+D` is the next attempt, but to no prevail as I'm stuck with the yellow exclamation mark.


title: How to setup a RAID system using USB sticks as storage media

text: I want to create an **inexpensive self-hosted private git server with redundant storage**. To that end I have bought a Raspberry Pi and configured both `git` and `ssh` on the Pi. I can access the Pi both from a LAN and remotely (by forwarding a port on my router to the Pi). So the git server is already up and running. The last thing to do is redundant storage. Because I have a 7-port USB hub attached to my Pi, I would like to set up a **RAID system using multiple identical USB sticks**. I have only conceptual knowledge of RAID. Therefore I do not know how to set it up and more importantly, whether it is possible with USB sticks connected to a hub. So these are basically my questions   * Can you set up a RAID system using USB sticks as the storage media   * What software should I use   * Where can I find good tutorials / manuals for RAID systems   * In case RAID is impossible, how can I synchronize data across multiple USB sticks


title: NFS Shares (Windows using FreeNFS but connecting on Linux)

text: I am using a "FreeNFS" on a Windows 8.1 machine and I set up a share `I:\Library`. I am currently allowing all clients and using ANSI encoding. My Linux box is actually a Raspberry Pi, using Raspbmc. I am currently SSHing into the machine and trying to mount the share with no success. I created a directory to mount: `sudo mkdir /nas` and here is the command I am using to mount it: `sudo mount -t nfs 192.168.1.2:/Library /nas` I've checked my windows firewall (turned it off completely while attempting this) and the error I am getting is: `mount.nfs: access denied by server while mounting 192.168.1.2:Library` I am not really sure where to move on from here, FreeNFS can't be blocked by a firewall because there is none, and that mount command is as basic as it gets. I'm kind of stuck at the moment. I even tried `sudo mount -t nfs 192.168.1.2:/Library /nas -o nfsvers=3` because I _think_ FreeNFS uses version 3.


title: How to send SIGKILLs to entire pipeline?

text: while true; do          # process substitution instead of usual pipeline to avoid waiting for all programs         handle_input_with_timeout < <( prog1 | prog2 | prog3 )         echo "Data stopped flowing. Trying again"         # perminate stuck programs in previous pipeline, then try again         sleep 5     done      How to reliably get rid of prog1, prog2 and prog3 that can get stuck and hold resources necessary to try again? Can it be done in Bash alone or I need to use cgroups?


title: Tile logfile into pieces and search for errors

text: I want to tile a logfile into pieces and then search in this pieces for errors. If there is an error, I want to put the relevant logfile-piece into another file. Little example: Logfile looks like this: > STARTLOG1   >  blabla   >  more_blabla   >  ENDLOG1   >  STARTLOG2   >  ERROR: Errortext   >  This is an Error   >  from user XYZ   >  ENDLOG2   >  STARTLOG3   >  blabla   >  more_blabla   >  ENDLOG3 I want to tile logfile into pieces. All lines between STARTLOG and ENDLOG should be 1 piece. When an error appears in a piece, extract the whole piece to a file. The file should look like this: > STARTLOG2   >  ERROR: Errortext   >  This is an Error   >  from user XYZ   >  ENDLOG2


title: Repeated filesystems and mount points in df output

text: when I type `df -h` to see the storage of my system the following is the result               root@kch-rsp:/home/pi# df -h     Filesystem      Size  Used Avail Use% Mounted on     rootfs           13G  2.4G   10G  20% /     /dev/root        13G  2.4G   10G  20% /     devtmpfs        215M     0  215M   0% /dev     tmpfs            44M  228K   44M   1% /run     tmpfs           5.0M     0  5.0M   0% /run/lock     tmpfs            88M     0   88M   0% /run/shm     /dev/mmcblk0p5   60M  9.4M   50M  16% /boot      there are several questions about this result:   1. why are there multiple `tmpfs`? I know that this is a swap space but when I executed `swapon -s`, I only see one swap space.              root@kch-rsp:/home/pi# swapon -s     Filename                                Type            Size    Used    Priority     /var/swap                               file            102396  0       -1        2. the `rootfs` and `/dev/root` looks like to be indicating the same thing but why express them as these two entries?


title: Turn on PC speaker after resume

text: After resuming from suspend my PC speaker becomes silent. I need to run `alsamixer` and arbitrarily adjust its volume either up or down for it to come back again. But if I suspend and then resume a second time the same problem happens again. Any ideas what might be making it silent? I have already checked the following:   1. `lsmod | grep pcspkr`   2. `~/.xinitrc`   3. `~/profile`   4. `/etc/profile`   5. `/etc/inputrc`   6. `/etc/X11/Xsession` As suggested below, a useful workaround is to create a hook `/etc/pm/sleep.d/alsa` to run `alsactl restore` upon resuming from sleep. But I still don't know what the problem is. Thanks.


title: Linux collect only the modified logs every day

text: Linux collect the modified logs every day I want collect the log files from `/var/log/` directory every day. My script will zip all the files in the directory and store it separately. But the problem is i am getting all the log files zipped every day and size keeps increasing. So how to zip only the modified files(only modified contents) every day. How go get Modified contents of a file after a particular point of time. i.e, For First time we can collect entire logs. On Next Day onwards we should collect only the current day logs.. On Next Day .... ....


title: netcdf installation and usr/local... folders

text: I need to install netcdf on a SuSE Linux machine but I am having a few problems understanding the usr/local/ folders and my the myusername/local/ folders. What I think I need to do is go into the uncompressed netcdf folder and do               ./configure --prefix=/usr/local/netcdf-gfortran      However I need to create this folder, right? and why in usr/local and not in my username/local ...? Any help would be welcome. Also if you knew a place where the usr vs myusername folder are explained easily for dumb people like me, it would be much appreciated.


title: Ajax-y sites load sloooowly or not at all. [Ubuntu/Mint]

text: About two months ago I reinstalled Ubuntu onto my desktop machine. Since doing so I've had a lot of problems with certain websites and very slow or complete loading. It _seems_ to be related to use of AJAX -- gmail is heavily affect, general stackexchange pages generally not (but submitting forms to stackexchange can be), slashdot/wired/torontoist/duckduckgo not much, various gov of canada form-heavy website: terribly so. I don't believe it's hardware related as this issue emerged only after reinstalling Ubuntu, and I have a win7 partition on this machine that also works fine. The Mint partition on this box suffers the same issue. I've googled for this (which was, yes, slow), and found very little: this posting has very similar symptoms to what I'm experiencing, but a totally different network setup: I'm on a home network behind a home router, and already using auto DHCP addresses. I'm not sure what my next steps for diagnosing this problem should be, any help would be totally appreciated.


I'm trying to make a very simple shell script to run as a CGI on a uhttpd server running on an OpenWRT install. The file is called `/www/cgi-bin/first.cgi` and looks like...               #!/bin/sh     echo "Content-type: text/html"     echo ""     echo "<title>Bash as CGI"     echo "</title>"     echo "
Hello world
"     echo "Today is $(date)"     echo ""      ...and I did a               chmod +x first.cgi      on the file. When I try to pull up...               http://192.168.15.1/cgi-bin/first.cgi      ...the browser gets...               Unable to launch the requested CGI program:     /www/cgi-bin/first.cgi: Text file busy"      I can `cat` and `vi` the file from a shell prompt, so not sure how the file is busy or even how I would find out. What am I doing wrong?


title: Is there a way to push shell config information when SSHing to a host?

text: I know how to set the GNOME-terminals (or xterms!) prompt to green/red regarding the last exit code:               vi .bashrc          export PROMPT_COMMAND='PS1="`     if [[ \$? = "0" ]];     then echo "\\[\\033[0;32m\\]";     else echo "\\[\\033[0;31m\\]";     fi`[\u@\h \w]\[\e[m\] "'          export PS1      in picture: ![enter image description here](http://i.stack.imgur.com/Qb2De.png) but if I log in to a remote server then these color settings doesn't work! How can I set it to work on remote terminals too? Unfortunately, I can't append the mentioned lines to the remote servers `.bashrc`.


title: Using sched_rt_period_us for setting maximum time between task calls of order of 10ms

text: I realize `sched_rt_period_us` and `sched_rt_runtime_us` are meant to prevent freezing the system in case of runaway RT task. I wonder though, if it's possible to use a small value of `sched_rt_period_us` to assure the task is running smoothly. I have a simple job that requires no more than a millisecond or so of CPU time per call - say, driving a stepper motor over GPIO pins. I'd like to achieve no less than 100 cycles per second though, sustained. That's no more than 10% of the CPU time - discounting pre-emption and scheduler overhead. I've read "very small values in sched_rt_period_us can result in an unstable system"1 but it wasn't said what order of magnitude counts for "a very small value". Can I reliably count on no more than 0.01s delay between calls to my program if I set `sched_rt_period_us` to 10000 and return control (`sched_yield()`) in timely manner? The underlying CPU would likely be 850MHz ARM with a number of other tasks than said control, but none of them realtime or even required to "feel responsive", still, unlike with defaults of `sched_rt_period_us` and `sched_rt_runtime_us` (95% out of 1s) I can't allow the RT task to sleep whole 0.05s at a time.


title: Turning off mailing in psad

text: The `psad` monitoring tool keeps on sending lots of mail to my localhost admin account. I use my ubuntu server as a NAT router, and psad warned me to enable logging in iptables. After I did so, it sarted filling my mailbox with loads of messages. Within few days the size of mail box has grown to 3.4 GB. How can I completely turn off mailing on psad?


title: Fedora 15 :Twitter on Google Chrome

text: It's been almost 15 days since I installed Fedora 15 on my laptop. And since day 1, Twitter seems to be having some issue opening up. Whenever I try to load twitter.com, it loads an "Aw Snap" page. From the answers here, I did `sudo setenforce 0` and Twitter started working fine. But turning off SELinux doesn't seem to be a good thing to me. I tried disabling all extensions and removing all the apps from Google Chrome. Still the problem persists. Can someone please provide some solution to this irritating problem?


title: boot without failing services

text: I'm using Debian testing. I want to configure wifi on my netbook, but failed to do so and when the system boots I get the following message:               INFO: task wpa_supplicant:1634 blocked for more than 120 seconds.     "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.      I have come across info that this is a new feature that informs that a service is failing. The service in my case is `/etc/init.d/networking`. The problem is this: Booting process hangs and prints every 120 seconds the message above and that is it. I can't use my netbook any more. Is there any way to boot without this service? PS. What I'm doing right now is booting from a rescue USB disk to fix the issue but I wonder if there is any boot options I could use in circumstances like this?


title: mkdir based on input from other directories

text: I have a directory full of albums I've ripped to FLAC format. Folders are named "Artist - Album [flac]" I need to create matching directories named "Artist - Album [mp3]" but only for certain folders... So "ls | grep Pantera" gives me the list of directories I want to work with... How can do I do this via command line?


title: SSH inside SSH fails with "stdin: is not a tty"

text: I'm trying to connect to machine one with ssh and then connect to another machine two with ssh, but I get this error.               ssh user@computerone.com 'ssh otheruser@computertwo.com'          stdin: is not a tty      Why?


title: Does Linux have support for network interfaces over an AT-Command serial modem?

text: I've got a Telit GM862-GPS module, which is a GPRS modem with a serial interface and uses the standard Hayes AT command set (with some extensions). What I'd like to do is to be able to connect this up to a Linux device so that existing software (such as wget, ftp etc) can connect to the internet through it. In my limited Linux experience, I would imagine that this would require the modem to be configured as a regular network interface device, but I could be wrong. Is this something that is supported in the Linux kernel/are there existing drivers to do this?


title: How universal is sudo?

text: I was writing some instructions on how to install something (TeX-related - if you don't ask, I won't ruin your day by supplying more details) and used `sudo` to install system-wide. Someone commented that they didn't think that `sudo` was available on all Linux (or Unix) distributions. Are there Unix distributions that don't have `sudo`, and if so what are they? Is there a universally acknowledged "Get me superuser privileges" command that _is_ on all systems?


title: How to decrypt an encrypted container via ssh without entering a passphrase while requiring some client authentication?

text: I log in to a server via public key authentication and then mount a container (using e.g. LUKS/dm-crypt or truecrypt). At the moment, I have to enter the container password manually. Is there a way to secure that container using e.g. the ssh agent? Or if that is not possible directly, can I encrypt the container password (or probably better, keyfile) with the ssh public key and use ssh agent to decrypt it temporarily?


title: Instant search in less command? (Similar to incsearch in VIM)

text: Is there a way to search, while I'm typing in `less`? Just like the vim option, `set incsearch`. As I didn't find a proper way to do it, is there any similar tool that can do it?


title: How can I get a new Fedora 19 install to boot on Intel NUC

text: I have a newly installed Fedora 19 on an Intel NUC computer. During installation, I selected the "reclaim all space" option and took the default partitioning. The install created an EFI boot partition, but the BIOS on the computer does not seem to recognize it. I can boot Fedora Live from a USB stick and mount the partitions without issue. If the UEFI boot and Legacy boot options are both selected, the BIOS displays               Reboot and Select proper Boot device     or Insert Boot Media in selected Boot device and press a key.      If either of the options are unchecked:               A bootable device has not been detected.     Please refer to the Product Guide at http://support.interl.com/support/motherboards/desktop      I did not find any helpful info at the URL above... Here is the partition table:               Number  Start (sector)    End (sector)  Size       Code  Name        1            2048          411647   200.0 MiB   EF00  EFI System Partition        2          411648         1435647   500.0 MiB   0700          3         1435648       234440703   111.1 GiB   8E00       And the details on partition 1:               Partition number (1-3): 1     Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)     Partition unique GUID: C81832BE-6B66-474C-99B3-8C4DF9654B93     First sector: 2048 (at 1024.0 KiB)     Last sector: 411647 (at 201.0 MiB)     Partition size: 409600 sectors (200.0 MiB)     Attribute flags: 0000000000000000     Partition name: 'EFI System Partition'      I've been unsuccessful in finding details that match this particular scenario Here is the output from efibootmgr after booting from the USB stick.               # efibootmgr     BootCurrent: 0004     Timeout: 1 seconds     BootOrder: 0001,0002,0003,0004,0000     Boot0000* Fedora     Boot0001* SATA : PORT 0 : Crucial_CT120M500SSD3 : PART 0 : Boot Drive     Boot0002* USB : Generic SD/MMC/MS/xD 1.07     Boot0003* USB : Generic MicroSD/M2 1.08 : PART 1 : Boot Drive     Boot0004* UEFI : USB : Generic MicroSD/M2 1.08 : PART 0 : OS Bootloader      Ideally, I'd like to be able to boot directly from the SATA drive, but at this point, I'd also be open to a solution that has a multi-stage boot using a USB stick -- as long as the root partition is on the SATA drive.


title: How can I use sed to replace a multi-line string?

text: I've noticed that, if I add `\n` to a patter for a substitute using `sed`, it does not match. Example:               $ cat > alpha.txt     This is     a test     Please do not     be alarmed          $ sed -i'.original' 's/a test\nPlease do not/not a test\nBe/' alpha.txt          $ diff alpha.txt{,.original}          $ # No differences printed out      How can I get this to work?


title: Thunar: "Unable to find or create wastebasket directory" on samba share

text: I have a samba share directory that is mounted on my machine as:               //xxx/home_private  /media/home_private cifs rw,noperm,credentials=/home/xx/samba_perm.txt 0 0      When I tried to delete file using Thunar I get an error:               "Unable to find or create wastebasket directory"      I found some ideas in internet that I should create .Trash-UID folder in the root directory of the mounted share, where UID should corresponds to the UID of the user. I have assumes that it should correspond to the UID of samba user. Unfortunately it does not work. Below part of my smb.conf file:               [home_private]         comment =Home Private Server         path = /media/xxx/private         valid users = @home_users         force user = pi         read only = No      Any ideas how to fix it? P.S. shift+Delete works fine.


title: USB DVD device type, /dev designation

text: What is the device type of an external USB DVD player to use when using the Linux mount command? ISO9660 is the type for the internal CDROM. What is the corresponding type for a DVD drive? Are there different types is the DVD is read only or read-write? Within /dev, SR0 appears to be the internal CD drive. What is the /dev designation of the external USB DVD drive?


title: Emacs complains: font 'serif 10' is not defined

text: I am running Linux Mint 12 and trying to start emacs but keep getting this error: > font 'serif 10' is not defined It seems obvious to me that I don't have the correct font. However, I cannot for the life of me figure out how to upgrade `fontconfig` to either re- validate itself and acquire the font anew or find another way to get this font. Does anyone know what I need to do to fix this font issue?


title: Boot desktop from laptop connected by USB

text: 1. Would it be possible to have laptop with some Linux, that I would be able to connect to any desktop with USB-USB cable, and boot something from that laptop? (its actual OS or something different dedicated to this kind of activity - with more generic configuration for hardware)   2. If yes, how would you achieve this? I think it should be possible considering you can boot system from USB device, so you theoretically should be able to trick desktop to think that you are actually a boot device - am I wrong? Also, Ubuntu for Android seems to be something like that. But how hard would it be to achieve with custom OS and custom device that runs Linux?


title: Templates for startup script?

text: I need to write a couple of Linux (Debian) startup scripts. Are there any accurate templates available?


title: ext2/3/4 reserved blocks percentage purpose

text: I know that this feature dates back 20 years but I still would like to find out **What is the purpose of the reserved blocks in ext2/3/4 filesystems?**


title: Partially overwrote /dev/sda, can I recover anything?

text: I was messing around with my new hard drive, which only contains some personal files, and to check its write speed, I typed: `sudo dd if=/dev/zero of=/dev/sda`, `/dev/sda/` being the new 2 TB connected to my Raspberry Pi. Hopefully, I cancelled the command and only 11 MB have been written. Now disk content can't show up, and now `parted` tell me that the partition tree is like this:               |--- unallocated 8.00 MB     |--- unknown 1.82 TB     |--- unallocated 9.08 MB      Before, it was like this:               |--- ext4 1.82 TB      I don't know if `dd` did overwrite the first 11 MB of the disk, which means that the partition table have been totally overwritten, or random bits of the hard drive have been overwritten. Now the hard drive is connected to my Xubuntu 14.04 laptop as `/dev/sdb`. I've tried `gpart` which is still running, and also `testdisk` without success. Knowing that the whole disk was `ext4` and that sector size was 4096, is it possible to recover the partition table without re-formating and make me able to access my files again (even if some have been corrupted/deleted)? Or the only solution I have is to use a file recovery tool, which would be tiresome because of the amount of data to copy stored on this drive?


title: Image HDD in Linux (functionality like Norton Ghost)

text: I am looking to use an embedded Linux distro such as Tiny Core as a automated recovery type tool. Basically, the user would choose to boot into Tiny Core from the boot menu, then if a USB is plugged in containing a ghost type image of the drive (it would contain a unique UUID that udev rules would detect and only then would it start imaging), it would restore the entire hard drive. Now my problem is finding a utility like Ghost for Linux that will do the imaging. The best part about Ghost is that   1. it does a file-by-file copy so it's very fast and the resulting compressed image is small, and    2. it dynamically resizes the drive so if you are imaging a 10 GB drive onto a 20 GB drive, it will image the drive and then resize it automatically, fixing the partition table if necessary.  `dd` is obviously not an option for this reason, it copies every sector of the drive and it does not have the ability to dynamically resize so if for some reason the destination drive is even 1 byte smaller than the source, it will fail. `partimage` has similar issues. CloneZilla is the only tool for Linux that I've seen powerful enough to do something like this, but it's obviously it's own distro and not able to be integrated into a Linux distribution. Since CloneZilla is just a collection of low level tools though, anyone know how it actually clones a hard drive? What would be the best way to do something like this? I've been searching for an answer on this for years and still have not found a solid solution. 'Til this day, we use an ancient version of Ghost because it images whatever we need flawlessly, but we'd like to get away from proprietary tools and DOS and head towards an open source solution.


title: makefile uses same receipe for multiple targets

text: i love this makefile but if i call 'all' or 'lab4' it will -o the name 'lab4' but build using the dbug receipe. if i call 'dbug' it will -o 'dbug' and use dbug receipe. what am i doing wrong? i stole this from wiki.osdev.org/Makefile btw               CC := gcc     CFLAGS := -c -Wall -Werror     DBCFLAGS := $(CFLAGS) -DDEBUG -g     LDFLAGS :=     LAB := lab4          PROJDIRS := .     SRCFILES := $(shell find $(PROJDIRS) -maxdepth 1 -type f -name "*.c")     HDRFILES := $(shell find $(PROJDIRS) -maxdepth 1 -type f -name "*.h")     OBJFILES := $(patsubst %.c,%.o,$(SRCFILES))     DEPFILES := $(patsubst %.c,%.d,$(SRCFILES))     TSTFILES := $(patsubst %.c,%_t,$(SRCFILES))     AUXFILES := makefile README     ALLFILES := $(SRCFILES) $(HDRFILES) $(AUXFILES)          -include $(DEPFILES) $(TSTDEPFILES)          .PHONY: all clean dist check testdrivers todolist          all: $(LAB)          $(LAB): $(OBJFILES)         $(CC) $(LDFLAGS) $(OBJFILES) -o $@          %.o: %.c makefile         $(CC) $(CFLAGS) $< -o $@          dbug: $(OBJFILES)         $(CC) $(LDFLAGS) $(OBJFILES) -o $@          %.o: %.c makefile         $(CC) $(DBCFLAGS) $< -o $@          todolist:         -@for file in $(ALLFILES:makefile=); do grep -H -e TODO -e FIXME $$file;     done; true          dist:         @tar czf /mnt/backup/cis27/$(LAB)-`date +%m%d%y.%H%M`.tar.gz $(ALLFILES)          clean:         -rm *.o *~ *.d


title: Accessing Linux server from Windows machine in graphical mode via SSH

text: I need to access one of my school Linux servers from my home computer that runs Windows. And I need to access graphical desktop (X server) on them remotely, not only shell. The problem includes 3 Linux servers with different settings. I don't have admin privileges on any of them and cannot change those settings. The 3 servers are called Aisa, Lethe and Aura (somebody loves Greek mythology here). All of them are part of school's local network. I need to access graphical interface on either Lethe or Aura, any of them would be fine. Here is what I have found out:   * ports for services like VPN are not available on any of the 3   * SSH is allowed on Lethe and Aisa, not on Aura. I can still access Aura when I SSH to Aisa or Lethe using Putty and then `ssh aura`.   * I have tried Xming program that allows graphical connection from windows to Linux via SSH. I was only able to connect to Aisa this way (why not to Lethe?! Putty works there). So what can I try to get graphical connection to either Lethe or Aura from my Windows computer? Any suggestions are very much welcome. **edit** Here is the code showing how I get disconnected from Aura back to Aisa after running `vncserver`:               aisa:/home/user>$ ssh aura     Last login: Sat Oct 13 00:00:00 2012 from aisa.domain.com     aura:/home/user>$ module add vnc     aura:/home/user>$ vncserver          New 'aura.domain.com:1 (user)' desktop is aura.domain.com:1          Starting applications specified in /home/user/.vnc/xstartup     Log file is /home/user/.vnc/aura.domain.com:1.log          aura:/home/user>$ Connection to aura closed by remote host.     Connection to aura closed.     aisa:/home/user>$       **edit 2** Content of file `/home/user/.vnc/aura.domain.com:1.log` after executing command `vncserver`:               aura:/home/user>$ cat /home/user/.vnc/aura.domain.com:1.log     /packages/run/vnc-4.1.2/Xvnc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory     /home/user/.vnc/xstartup: line 4: xsetroot: command not found     /home/user/.xsession: line 15: xset: command not found     vncconfig: unable to open display "aura.domain.com:1"     /home/user/.xsession: line 42: xmodmap: command not found     Module xv     Module modules     Module viewers     Module WindowMaker-0.80.2     Module mozilla     ModuleCmd_Load.c(199):ERROR:105: Unable to locate a modulefile for 'mozilla'     stty: standard input: For this device invalid ioctl     wmaker: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory      Note: I have translated some strings that were displayed in czech (Aura is running czech version of Red Hat)


title: Make part of read-only filesystem writable

text: I have a filesystem on flash using jffs2. I would like to mount this filesystem read-only, except for a single folder that I would like to be writable. Is this possible without resorting to something like unionfs and the likes?


title: How to whitelist a url/site in privoxy?

text: I'm using Fedora 14 with `privoxy-3.0.16-3.fc14.i686`! These sites are blocked by Privoxy:   * http://somewhere.com/user/11111/track?page=1   * http://www.somewhere2.org/popup.asp?pid=114645006&pnr=10001&foto=1 How can I whitelist these two sites/urls? I want to be able to visit these sites without being blocked (but e.g.: still block the ads on it)


title: Tag a client to multiple screens

text: Using `Awesome Window Manager`, I am trying to tag one client to multiple screens. I tried to use the following configuration in my `rc.lua`, but it does not work:               { rule = { class = "<the class>" },     callback = function(c) c:tags({ tags[1][2], tags[2][2] }) end },      Am I missing something?


title: How to properly launch a program and make possible to redirect its running output (stdout and stderr) at a later stage?

text: The problem is quite simple: I find useful to have the possibility to _switch on (and off)_ the output of some running program in each moment I need. To be more precise I want to be free to redirect their standard output (and error) from the current shell to another one, to `/dev/null`, to a file or back to the original shell. I search for something direct (and safe) that takes advantage from the fact I know **in advance** that I will switch the outputs on and off. I post an answer too. * * * Below my first attempt. Let's suppose I work in the shell number 35.               $ who am I                     # the command line to ask where am I     myuser  pts/35  ...            # The answer       My try starts with a symbolic link to that terminal               ln -s /dev/pts/35  MyOutput  # The command to link      The idea is to launch the program with the redirection set to that link               ./Execute_program > MyOutput      It works, it redirects the output to my terminal, but when I give the command to change the link,               ln -sf  /dev/null  MyOutput      the link changes, **but the redirection doesn't change** how I hoped. It doesn't change for the running process. If I launch a new program in the same way, the redirection follows the new prescription of the link.   If I start again and I set the link to `/dev/null` the output is suppressed as expected, but again when I change the link the redirection doesn't change.   If I do a link to a link I get the same result. The use of `hard link` doesn't change the situation. _Sadly_ the shell expands the command line at launch time. Is there any possibility to do the job in a similar way or have I to find how to communicate to the process (or the PPID ones) that the link is changed? * * * Notes: This is a question of the series "How to redirect the output of a running process?", but it doesn't start from the point "Ops I launched the program and I forget to redirect the output. Now I want to do it", but from the opposite: "How can I launch a program with the explicit aim to redirect elsewhere the output at a later stage?". I intend to use a such procedure when it is not possible (or convenient) to modify the source code of the program.   I read that it is possible to `disown` the process, use `screen` and transfer form a screen to another... or to use a debugger, to intercept the process... All those solutions could function with a good amount of experience and effort, but some of them present a percentage of risk too.


title: Working with the option -x in zip

text: I can't manage to figure out the `-x` option in the command zip. I want to compress a working folder to save it as a backup, but I have some files and a directory that contains huge files that I don't need to save. Therefore I would like to compress the whole directory except for the one listed above. Here is my script:               #!/bin/bash     clear     echo "Saving all work directory in the backup"          now=$(date +'%Y_%m_%d')     filename=($(echo "backup_"$now))     cd /local00/home/F48174/Documents/scripts_eprou_aster/     echo "... removing /base because it's huge ..."          zip -9 -r /local00/home/F48174/Documents/backup/$filename.zip  -x /local00/home/F48174/Documents/scripts_eprou_aster/base/      Sorry for the really poor code quality, I'm only beginning to learn shell scripting.


title: DHCP lease acquired , yet no ping, not even to default gateway

text: I've just installed Debian Wheezy on my PC using netinstall. I can only use its wifi. My interface has been recognize by the system, and I've used:               iwconfig wlan0 essid MY_HOME_AP      (I've switched off router's security in order to ease the pain of getting a first connection to the internet) then I used:               dhclient wlan0 -v       to get an IP address. I now have a valid local IP. I can also see it on my router DHCP clients list. However, I can't ping anywhere, not even the default gateway. My routing tables is:               default  192.168.2.1 0.0.0.0       UG 0 0 0 wlan0     localnet *           255.255.255.0 U  0 0 0 wlan0      where do I have it wrong? **ADDED:** 1. The entire output of 'netstat -rn' is attached above. 2. the output of 'ifconfig' (copied by hand..):               wlan0 Link  encap:Ethernet HWaddr 00:1f:1f:a6:29:ba           inet  addr:192.168.2.101 Bcast:192.168.2.255 Mask:255.255.255.0           inet6 addr: fe80::21f:1fff:fea6:32da/64 Scope:Link           UP BROADCAST MULTICAST MTU:1500 Metric:1           RX packets:53 errors:0 dropped:0 overruns:0 frame:0           TX packets:37 errors:0 dropped:0 overruns:0 carrier:0           collisions:0  txquelen:1000           RX bytes:18334 (17.9 KiB) TX bytes:4172 (4.0 KiB)


title: Change desktop wallpaper from terminal

text: I am running Mint 13 with Cinnamon 1.6. I would like my desktop wallpaper to automatically change depending on the time of day. So, the first thing that comes to mind is setting up a cron job to do it for me. Problem is, I don't know how to change the wallpaper from script / terminal. What I would like to know:   1) How would one change the background from terminal?   2) Is the there already a built-in way of doing this?