Friday, February 26, 2010

Synaptic Manager Error - avast4server

Synaptic Manager not starting with an error "The package avast4server needs to be reinstalled, but I can't find an archive for it."

Solution
dpkg --remove --force-remove-reinstreq avast4server

Wednesday, February 24, 2010

Installing package from source

To install a package from source.tar.gz
tar -xzvf source.tar.gz
cd source(dir)
./configure (Option: --prefix=/opt/package_name if you wish to install the package in a different folder
make
make install

To install a package in Ubuntu using apt-get (with dependencies)
apt-get install package_name --fix-missing

Installing Essential Packages
# apt-get update && apt-get upgrade
# apt-get install build-essential

Installing from source.bz2
tar -xvjf source.bz2
cd (folder in which tar extracted the files)
./configure
make
make install

Adding Path in Ubuntu
Edit /etc/environment file and update it with the folder you need to add to the path.

Sunday, February 21, 2010

Setting root password on Ubuntu

By default ubuntu does not allow root access. while installing ubuntu you will be asked to provide a username and password to access the system. Log in to ubuntu with the user created while installation.
$sudo passwd
will ask for your password and allow you to set the new password for root

Thursday, February 18, 2010

Synaptic Package Manager not accepting root password

When i start Synatic Manager,
Synamtic Manager challenges for the root password but does not accept password even if it is correct.

Run Synaptic from the command line using gksudo synaptic