Error:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Solution:
$ sudo mv /var/lib/dpkg/info/<broken package>.* /tmp
$ sudo dpkg --remove --force-remove-reinstreq <broken package>
(Reading database ...
dpkg: warning: files list file for package `<broken package>' missing, assuming package has no files currently installed.
(Reading database ... 243692 files and directories currently installed.)
Removing <broken package> ...
Credit: Here
Sunday, August 5, 2012
Saturday, July 28, 2012
Android - GitHub error: Connection refused
Error:
Use https://github.com instead of git://github.com
Credit: Here
github.com[0: 207.97.227.239]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
Solution: Use https://github.com instead of git://github.com
Credit: Here
Sunday, May 2, 2010
Ubuntu + Moblock; Enable Internet Messaging Client
Instructions:
# sudo vi /etc/blockcontrol/blockcontrol.conf
WHITE_TCP_OUT="http https 1863 5222 5050"
Note on ports:
1863: MSN Messenger
5222: GoogleTalk
5050: Yahoo! Messenger
Friday, April 30, 2010
Ubuntu {9.10 and 10.04} x64 Diskless Terminal Client Project
Current setting:
Terminal/NFS/DNS/DHCP server IP: 192.168.1.2
Router IP: 192.168.1.1
Kernel: 2.6.31-21-generic
Instructions:
Terminal/NFS/DNS/DHCP server IP: 192.168.1.2
Router IP: 192.168.1.1
Kernel: 2.6.31-21-generic
Instructions:
Thursday, April 22, 2010
Ubuntu 9.10 x64 + Firefox + Flash high CPU usage
How to reduce CPU usage (at least) when using Flash based applications in Firefox
Instructions:
- check your firefox version (mine = firefox-3.6.5pre)
- sudo gedit /usr/lib/firefox-3.6.5pre/firefox.sh
- append the following to the end, save and re-run firefox
Ubuntu 9.10 x64 + Firefox x64 + Flash Player i386
Having problem playing Flash base game in Ubuntu 9.10 x64 with firefox x64? Install flash player 32bit to fix this... I've found a script to do this (I've update it with working links)
Instructions:
Touch a file name flash10_en.sh with below entries and run with sh flash10_en.sh
#!/bin/bash
# Script created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
# Super minor updates by jason.melton[at]gmail[dot]com
# Updates by Alejandro Cuervo 3[at]cuervo[dot]net
# Released under GPL
echo "Closing Firefox"
sudo killall -9 firefox
echo "Downloading and instaling Getlibs for required libraries"
wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
sudo dpkg -i getlibs-all.deb
echo "Removing previous installs of flash:"
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper
echo "Installing ia32-libs and nspluginwrapper"
sudo apt-get install ia32-libs nspluginwrapper
echo "Getting libs"
sudo getlibs -p libcurl3
sudo getlibs -p libnss3-1d
sudo getlibs -p libnspr4-0d
echo "Installing Flash Player 10"
cd ~
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
sudo tar zxvf install_flash_player_10_linux.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
echo "Linking the libraries so that firefox can see them."
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/
echo "Done :-)"
echo "You may re-start Firefox now"
Instructions:
Touch a file name flash10_en.sh with below entries and run with sh flash10_en.sh
#!/bin/bash
# Script created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
# Super minor updates by jason.melton[at]gmail[dot]com
# Updates by Alejandro Cuervo 3[at]cuervo[dot]net
# Released under GPL
echo "Closing Firefox"
sudo killall -9 firefox
echo "Downloading and instaling Getlibs for required libraries"
wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
sudo dpkg -i getlibs-all.deb
echo "Removing previous installs of flash:"
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper
echo "Installing ia32-libs and nspluginwrapper"
sudo apt-get install ia32-libs nspluginwrapper
echo "Getting libs"
sudo getlibs -p libcurl3
sudo getlibs -p libnss3-1d
sudo getlibs -p libnspr4-0d
echo "Installing Flash Player 10"
cd ~
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
sudo tar zxvf install_flash_player_10_linux.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
echo "Linking the libraries so that firefox can see them."
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/
echo "Done :-)"
echo "You may re-start Firefox now"
Friday, March 5, 2010
Wine - Remove uninstalled wine program from "Programs" list
Instructions:
Remove /home/_YourUsername_/.local/share/applications/wine/Programs/_YourUninstalledWineProgramFolder_
Tips: You may also use System --> Preferences --> Main Menu and see if it works for you
Tuesday, December 22, 2009
Ubuntu 9.10 x64 + Flash Player x64
- Download latest flash player x64 HERE
- tar xvzf libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
- mkdir -p ~/.mozilla/plugins
- mv libflashplayer.so ~/.mozilla/plugins
- restart firefox
- enter: about:plugins
Issue: Google chat in newer gmail cause browser crash
Workaround: Use older gmail (http://mail.google.com/mail/?ui=1)
Thanks to --> http://nxadm.wordpress.com/2009/04/26/install-64-bit-adobe-flash-player-on-ubuntu-904/
-
Thursday, December 17, 2009
Ubuntu 9.10 x64 + Fingerprint Reader (UPEK)
Instructions:
Setup:
- sudo apt-get install libpam-thinkfinger thinkfinger-tools libthinkfinger0
- sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable
Enable user:
- tf-tool --acquire *user*
Enable root (for sudo fingerprint access):
- tf-tool --acquire root
Enable fingerprint for screensaver/screen lock:
- sudo groupadd fingerprint
- sudo gedit /etc/udev/rules.d/60-thinkfinger.rules
*Copy start*
#
# udev rules file for the thinkfinger fingerprint scanner
#
# gives access to the fingerprint reader to those in the "fingerprint" group
#
# Taken from:
# http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger
# which was taken and modified from:
# http://article.gmane.org/gmane.linux.drivers.thinkfinger/329
#
# SGS Thomson Microelectronics Fingerprint Reader
SYSFS{idVendor}=="0483", SYSFS{idProduct}=="2016", SYMLINK+="input/thinkfinger-%k", MODE="0660", GROUP="fingerprint"
# the also-needed uinput device
KERNEL=="uinput", MODE="0660", GROUP="fingerprint"
# udev rules file for the thinkfinger fingerprint scanner
#
# gives access to the fingerprint reader to those in the "fingerprint" group
#
# Taken from:
# http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger
# which was taken and modified from:
# http://article.gmane.org/gmane.linux.drivers.thinkfinger/329
#
# SGS Thomson Microelectronics Fingerprint Reader
SYSFS{idVendor}=="0483", SYSFS{idProduct}=="2016", SYMLINK+="input/thinkfinger-%k", MODE="0660", GROUP="fingerprint"
# the also-needed uinput device
KERNEL=="uinput", MODE="0660", GROUP="fingerprint"
*Copy end*
- sudo /sbin/udevadm trigger
- sudo gpasswd -a *user*
fingerprint
Restart
- sudo reboot
Thanks to --> http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger
-
Wednesday, December 16, 2009
Ubuntu 9.10 x64 + NVIDIA Driver (apt-get)
Instructions:
Thanks to --> http://www.ubuntugeek.com/install-nvidia-graphics-drivers-190-42-in-ubuntu-karmicjauntyintrepidhardy.html
-
- sudo add-apt-repository ppa:nvidia-vdpau/ppa
- sudo apt-key adv
--keyserver keyserver.ubuntu.com--recv-keys CEC06767 - sudo apt-get update
- sudo apt-get install nvidia-190-modaliases nvidia-glx-190 nvidia-settings-190
Thanks to --> http://www.ubuntugeek.com/install-nvidia-graphics-drivers-190-42-in-ubuntu-karmicjauntyintrepidhardy.html
-
Tuesday, December 8, 2009
Monday, December 7, 2009
Dell XPS M1530 - Ubuntu 9.10 x64 - MediaDirect Button mapping
Mapping Dell MediaDirect button with Rhythmbox (or other apps.)
Thanks to --> http://ubuntuforums.org/showthread.php?t=789982
-
- sudo gconf-editor
- apps -> metacity -> global_keybindings -> select run_command_(n) -> click disabled and enter 0xed
- apps -> metacity -> keybinding_commands -> command_(n) and enter rhythmbox
Thanks to --> http://ubuntuforums.org/showthread.php?t=789982
-
Thursday, November 26, 2009
Dell XPS M1530 - Ubuntu 9.10 x64 Compatibility
Version:
Ubuntu Desktop (Alternate) 9.10 - 64-bit
Download site:
http://www.ubuntu.com/getubuntu/downloadmirrors#mirrors
Hardware Compatibility:
Tested OK:
Pending:
-
Ubuntu Desktop (Alternate) 9.10 - 64-bit
Download site:
http://www.ubuntu.com/getubuntu/downloadmirrors#mirrors
Hardware Compatibility:
Tested OK:
- Network (LAN + Intel 3945ABG WIFI)
- Sound (Internal + Output Jacks)
- HDMI - (Picture + Sound )
- Display + NVIDIA GeForce 8600M GT (Both with default and nvidia downloaded driver)
- Touchpad + Keyboard (USA)
- Console Buttons
- Cards Reader
- Internal Webcam (with Cheese)
- USB
- Fingerprint Reader (UPEK) --> setup guide
- Bluetooth
- S-Video
Pending:
- VGA
- Firewire
- Mic (Both built-in + Jack)
- InfraRed (wait till I get the new battery for my Dell remote)
-
Wednesday, November 25, 2009
Linux - VMware Workstation 6.5.3 - Installer hang
Instructions:
Thanks to --> http://communities.vmware.com/message/1350962#1350962
-
- Open 2 Linux terminals
- Become root in one of those windows
- Ubuntu --> sudo su -
Other distro --> su -
- In the root-ed window run...
- while true; do killall -9 vmware-modconfig-console; sleep 1; done
- In the non-root terminal run...
- sudo ./VMware-Workstation-6.5.3-185404.x86_64.bundle --ignore-errors
- Once the installer finishes go back to the root window and do a Ctrl-C to stop the kill loop
- In the root window run...
- vmware-modconfig --console --install-all
Thanks to --> http://communities.vmware.com/message/1350962#1350962
-
Ubuntu 9.10 x64 + NVIDIA Driver (binary)
Instructions:
Thanks to --> http://forums.nvidia.com/index.php?showtopic=99513
-
- Reset the Xorg to its default conf, and backup the conf
- sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.original
- sudo dpkg-reconfigure -phigh xserver-xorg
- Installing packages and dependencies
- sudo apt-get install build-essential linux-headers-`uname -r`
- Remove old version drivers
- sudo apt-get --purge remove $(dpkg -l | grep nvidia | awk '{print $2}')
- Download the latest driver from nvidia website (I'm using 64-bit)
- wget http://us.download.nvidia.com/XFree86/Linux-x86_64/190.53/NVIDIA-Linux-x86_64-190.53-pkg2.run -O NVIDIA-Linux-190.pkg.run
- Move the installer to /usr/src and link it
- sudo install NVIDIA-Linux-x86_64-190.53-pkg2.run /usr/src/
- sudo ln -s /usr/src/NVIDIA-Linux-x86_64-190.53-pkg2.run /usr/src/nvidia-driver
- Stop X. Press "Ctrl+Alt+F1", login and stop gdm
- sudo /etc/init.d/gdm stop
- Installing (I choose to let nvidia to reconfigure the conf at the last stage of the installation)
- sudo sh /usr/src/nvidia-driver
- Restart
- sudo reboot
Thanks to --> http://forums.nvidia.com/index.php?showtopic=99513
-
Sunday, August 16, 2009
Windows 7 - HowTos, Tricks, Infos
Send To menu folder
In windows explorer, type in --> shell:sendto
More option on mouse right click
Hold on Shift key, select your file/folder, and right click mouse
-
In windows explorer, type in --> shell:sendto
More option on mouse right click
Hold on Shift key, select your file/folder, and right click mouse
-
Thursday, August 6, 2009
Dell XPS M1530 - Windows 7 Ultimate x64 RC 7100
Installed using Vista x64 drivers
- R168730 - Creative Labs Dell Webcam Manager
- R165116 - Creative Labs Laptop Integrated Webcam
- R193152 - Dell Touchpad / Pointing Stick
- R190517 - SIGMATEL STAC 92XX C-Major HD Audio
- R182249 - Dell QuickSet
- R171132 - Intel (R) Wireless WiFi Link 3945ABG/4965AGN
- R140135 - Dell Bluetooth 355
- R167854 - Marvell 88E80XX 10/100 Ethernet Controller
- R201214 - Ricoh R5C833 SD Card Reader --> later updated using WindowsUpdate driver
- NVIDIA GeForce 8600M GT - VistaWin7x64_190.56
- IntelMatrix_IATA89ENU -Intel Matrix Storage Manager for Windows 7 RC
- DirectX 11 - mar2009_redist
Windows 7 forum
http://www.sevenforums.com/
http://windows7center.com/
My WinVista x64 VS Win7 x64 RC Windows Experience Index (WEI)
Vista:

7:

Current issue:
- No on screen indicator for M1530 volume panel (Dell Quickset issue?)
Tested - Software/Hardware
- ImgBurn 2.5.0.0 - x86 - OK
- Firefox (Shiretoko) with Flash Player 10 - x64 - OK
- 7-zip - x64 - OK
- WinRAR - x64 - OK
- SyncToy 2.0 - x64 - OK
- Dell Webcam Center/Manager - x86 - OK
- Motorola VE538 Internet via Bluetooth/USB (USB driver version 3.7) - x64 - OK
- JRE 6u15 - x64 - OK
-
x64 - Windows - Firefox - Flash
Enable Flash on Firefox x64
-
- Download latest Firefox 64-bit here ; install default
- Download Flash Player 10 for Firefox here ; install default
- Copy C:\Windows\SysWOW64\Macromed\Flash\NPSWF32.dll to C:\Program Files (x86)\Shiretoko\plugins
-
Tuesday, August 4, 2009
openSUSE 11.1 - Mobile broadband via Bluetooth connection
Carrier: Celcom 3G
Mobile: Motorola VE538
Connetion: Bluetooth
Package needed: wvdial, ppp
1. Connect your mobile to your laptop via a bluetooth connection
Right click on bluetooth icon -> Setup new device...
2. Disable NetworkManager
YaST Control Center -> Network Devices -> Network Settings -> Global Options -> Network Setup Method -> Traditional Method with ifup -> OK
3. Edit /etc/wvdial.conf
[Dialer celcom3g_bt]
Modem = /dev/rfcomm0
ISDN = off
Modem Type = USB Modem
Baud = 931600
Init = ATX3
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","celcom3g"
Init4 =
Init5 =
Init6 =
Init7 =
Init8 =
Init9 =
Phone = *99***1#
Phone1 = *99***1#
Phone2 =
Phone3 =
Phone4 =
Dial Prefix =
Dial Attempts = 1
Dial Command = ATM0L0DT
Ask Password = off
Password = ;
Username = ;
Auto Reconnect = off
Abort on Busy = off
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = off
Stupid Mode = on
Idle Seconds = 0
Auto DNS = on
Minimize = on
Dock = on
4. sudo wvdial celcom3g_bt
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATX3
ATX3
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","celcom3g"
AT+CGDCONT=1,"IP","celcom3g"
OK
--> Modem initialized.
--> Sending: ATM0L0DT*99***1#
--> Waiting for carrier.
ATM0L0DT*99***1#
CONNECT 115200
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Aug 4 19:20:54 2009
--> Pid of pppd: 22601
--> Using interface ppp0
--> local IP address xx.xx.xx.xx
--> remote IP address xx.xx.xx.xx
--> primary DNS address xx.xx.xx.xx
--> secondary DNS address xx.xx.xx.xx
--> Script /etc/ppp/ip-up run successful
--> Default route Ok.
--> Nameserver (DNS) Ok.
--> Connected... Press Ctrl-C to disconnect
-
Mobile: Motorola VE538
Connetion: Bluetooth
Package needed: wvdial, ppp
1. Connect your mobile to your laptop via a bluetooth connection
Right click on bluetooth icon -> Setup new device...
2. Disable NetworkManager
YaST Control Center -> Network Devices -> Network Settings -> Global Options -> Network Setup Method -> Traditional Method with ifup -> OK
3. Edit /etc/wvdial.conf
[Dialer celcom3g_bt]
Modem = /dev/rfcomm0
ISDN = off
Modem Type = USB Modem
Baud = 931600
Init = ATX3
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","celcom3g"
Init4 =
Init5 =
Init6 =
Init7 =
Init8 =
Init9 =
Phone = *99***1#
Phone1 = *99***1#
Phone2 =
Phone3 =
Phone4 =
Dial Prefix =
Dial Attempts = 1
Dial Command = ATM0L0DT
Ask Password = off
Password = ;
Username = ;
Auto Reconnect = off
Abort on Busy = off
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = off
Stupid Mode = on
Idle Seconds = 0
Auto DNS = on
Minimize = on
Dock = on
4. sudo wvdial celcom3g_bt
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATX3
ATX3
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","celcom3g"
AT+CGDCONT=1,"IP","celcom3g"
OK
--> Modem initialized.
--> Sending: ATM0L0DT*99***1#
--> Waiting for carrier.
ATM0L0DT*99***1#
CONNECT 115200
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Aug 4 19:20:54 2009
--> Pid of pppd: 22601
--> Using interface ppp0
--> local IP address xx.xx.xx.xx
--> remote IP address xx.xx.xx.xx
--> primary DNS address xx.xx.xx.xx
--> secondary DNS address xx.xx.xx.xx
--> Script /etc/ppp/ip-up run successful
--> Default route Ok.
--> Nameserver (DNS) Ok.
--> Connected... Press Ctrl-C to disconnect
-
Subscribe to:
Posts (Atom)

