Example
To copy all files owned by root in folder rpms to say folder docker-rpms, do this –
[bash]
find rpms -user root -exec cp -f {} docker-rpms/ \;
[/bash]
Note: the destination folder needs to be created before running the command.
Example
To copy all files owned by root in folder rpms to say folder docker-rpms, do this –
[bash]
find rpms -user root -exec cp -f {} docker-rpms/ \;
[/bash]
Note: the destination folder needs to be created before running the command.
Problem: After connecting, openfire servers disconnects from Smack client giving an exception as below –
Connection XMPPTCPConnection[dhee@dheeyantra.com/bot] (0) closed w ith error org.jivesoftware.smack.XMPPException$StreamErrorException: undefined-condition You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120 .html#streams-error-conditions <stream:error><undefined-condition xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>You acknowledged stanzas that we didn't send. Your Ack h: 11, our last stanz a: 10</text></stream:error> at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1057) [smack-tcp-4.3.0.jar:4.3.0]
Fix:
Problem : CQLSH never works after a usual install.
Fix:
Install as below (on terminal)-
Problem : /boot disk has no space, thus blocking installation or removal of any package using apt-get
Fix :
In terminal –
cd /boot
ls
sudo rm -r abi-4.4.0-89-generic abi-4.4.0-92-generic config-4.4.0-89-generic config-4.4.0-92-generic initrd.img-4.4.0-89-generic initrd.img-4.4.0-92-generic System.map-4.4.0-89-generic System.map-4.4.0-92-generic vmlinuz-4.4.0-89-generic vmlinuz-4.4.0-92-generic
(From the listed files, remove least two versions of every file)
This command searches of kernel files not in use and removes them to make space.
Problem: Ubuntu gives the error oss_audio: failed to open audio device /dev/dsp when trying to test festvox voice models.
Fix: On terminal-
[bash]
sudo apt-get install pulseaudio
sudo apt-get install libpulse-dev
sudo apt-get install osspd
[/bash]
Problem: The following error occurs when installing scikits audiolabs
SndfileInfo:
libraries sndfile not found in /usr/local/lib
libraries sndfile not found in /usr/lib
libraries sndfile not found in /usr/lib/x86_64-linux-gnu
Reason:
The sndfile dev libs are missing (apparently)
Fix
[bash]
sudo apt-get install libasound2-dev
sudo apt-get install python-dev python-numpy python-setuptools libsndfile-dev
sudo apt-get install libasound2-dev
[/bash]
Just thought of sharing this.
If you buy a new laptop bag, you have to be careful to remove the small sachets that contain small silica balls (or whatever they are. See photo).
I allowed them to remain in the bag (new one from American Tourister), the sachets broke, and the released silica balls entered the USB, HDMI, LAN and audio slots of the laptop.
While I could get rid of them from other slots, a nasty particle is still stuck in the 3.5 mm audio slot. (Because I didn’t know of it and pushed in the audio jack, which took the darn ball further down the slot)
So yes, remember to to remove such sachets from your laptop bag before you use them.