Thursday, April 12, 2012

Automatically install dependencies with “dpkg -i”

I want to install Webmin this morning. So, i can manage the server easily (i don't know, its easy or something that i have to learn more how to use it).

When i try to install with "dpkg -i name_of_package", its back with some error, which mean some depencies need it from reposotory. Trying to search on the net, and found it.

Just like on the net say : it works for debian lenny with command affect apt-get and dpkg. But, in this case, i am using Ubuntu (which is Debian distro), and works fine.

1. Try to install with "dpkg -i", if its need some dependencies, try number two.
2. Fix it with "apt-get-f --force-yes --yes install"
3. Install your packages again with "dpkg -i"

Its work for me, i hope you too.

Here the source.

No comments:

Post a Comment

Langkah-langkah instalasi XAMPP 1.8.3 pada Windows

 XAMPP adalah paket aplikasi yang sudah disatukan dari beberapa aplikasi, seperti apache, mysql, php, phpmyadmin dan bebera...