Skip to content

Aptitude

List packages like the given regular expression.

1
aptitude search "package-mame.*"

List installed packages like the given regular expression.

1
aptitude search "package-mame.* ~i"

Errors

Config files

When installing, uninstalling and/or reinstalling a package, it may happen that the configuration files are not recreated. The following error will be displayed.

1
Not replacing deleted config file /path/to/file

To fix the problem, you need to force the creation of the configuration files during the installation.

1
aptitude -o DPkg::Options="--force-confmiss" reinstall $package