reinstall etiketli yazı

Reinstalling a deb package with its dependencies

For example; I broke my linux mint, mintinstaller package. And I try to reinstall it with its dependencies to fix it:

# apt-get install –reinstall mintinstall `apt-cache depends mintinstall | awk ‘/Depends:/{print$2}’`

“apt-cache depends” command provides dependency packages of the mintinstall package to apt-get install command.