Archive for October, 2012

When tried to install teamviewer on my Ubuntu 12.04 64bit, the system complaining about unmet dependencies and can not install ia32-libs, but when I tried to install ia32-libs, here’s what I got:

rumy@cbug-nest:~$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ia32-libs : Depends: ia32-libs-multiarch
E: Unable to correct problems, you have held broken packages.

An attemp to install ia32-libs-multiarch failed too

After some dig on internet I found the solution:

(1) Edit /etc/apt/preferences

rumy@cbug-nest~$ sudo pico /etc/apt/preferences

(2) Add this 3 line code

Package: *       
Pin: release a=precise*
Pin-Priority: 2012

(3) Do dist-upgrade

rumy@cbug-nest~$ sudo apt-get dist-upgrade

It will ask you to downgrade some package, just answer (Y)es

(4) Install ia32-libs-multiarch and/or ia32-libs

rumy@cbug-nest~$ sudo apt-get install ia32-libs-multiarch

(5) Delete /etc/apt/preferences, after you finished updating

rumy@cbug-nest~$ rm /etc/apt/preferences

Other solution that work too:

sudo apt-get install librtmp0/precise

I want to have BackTrack 5 R3 on one of my Desktop computer but it already has Ubuntu 12.04 64bit in it and I like it that way.
BackTrack 5 basically is an Ubuntu distro with a kernel patch that will granted it’s user (a hacker) with packet injection for WiFi hacking but since I don’t need that kernel patch (I don’t have to hack into my home WiFi, do I?) I guess I can just add a BackTrack 5 repository onto the existing Ubuntu 12.04 64bit repository list and use the default Ubuntu kernel instead ;)

So here’s what I do

(1) Adding BackTrack 5 Repository to Ubuntu 12.04 64bit repository

rumy@cbug-nest:~$ sudo su
 root@cbug-nest:/home/rumy# cat >> /etc/apt/sources.list <<
 > deb revolution main microverse non-free testing
 > deb revolution main microverse non-free testing
 > deb revolution main microverse non-free testing
 > eof

(2) Add gpg key

rumy@cbug-nest:~$ wget -q -O- | sudo apt-key add - 

(3) Update repository

rumy@cbug-nest:~$ sudo apt-get update

(4) Got this error when updating the 64 bit section

Fetched 13.2 MB in 8min 59s (24.6 kB/s) 
 W: Failed to fetch Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.

(5) Download apt_0.7.25.3ubuntu9.13_amd64.deb  and downgrading apt to the one BackTrack have

rumy@cbug-nest:~$ sudo dpkg -i Programs/Linux/apt_0.7.25.3ubuntu9.13_amd64.deb 
 dpkg: warning: downgrading apt from 0.8.16~exp12ubuntu10.5 to
 (Reading database ... 237850 files and directories currently installed.)
 Preparing to replace apt 0.8.16~exp12ubuntu10.5 (using .../apt_0.7.25.3ubuntu9.13_amd64.deb) ...
 Unpacking replacement apt ...
 Setting up apt ( ...
 Installing new version of config file /etc/apt/apt.conf.d/01autoremove ...
 Installing new version of config file /etc/cron.daily/apt ...
 Processing triggers for man-db ...
 Processing triggers for libc-bin ...
 ldconfig deferred processing now taking place

(6) Increase cache limit

rumy@cbug-nest:~$ sudo su
 root@cbug-nest:/home/rumy# echo APT::Cache-Limit "60000000"; >> /etc/apt/apt.conf.d/70debconf
 APT::Cache-Limit 60000000

(7) Update again and I have BackTrack on my Ubuntu 12.04 64bit