9/10/2023 0 Comments Sudo apt install upgrade![]() While there is no built in way to remove all of your configuration information from your removed packages you can remove all configuration data from every removed package with the following command. apt-get autoremove This command removes an installed package and dependencies.apt-get autoremove This command removes packages that were installed by other packages and are no longer needed.If you want to remove package1 and install package2 in one step: apt-get remove +. Configuration files residing in ~ are not usually affected by this command. apt-get purge This command completely removes a package and the associated configuration files.apt-get remove This command removes an installed package, leaving configuration files intact.The note above about sudo usage applies to this command. echo " install" | dpkg -set-selections This command removes the "hold" or "locked package" state set by the above command.If you want to use this command with sudo, you need to use echo " hold" | sudo dpkg -set-selections not sudo echo " hold" | dpkg -set-selections. apt-get dist-upgrade will override this, but will warn you first. This command may have the unintended side effect of preventing upgrades to packages that depend on updated versions of the pinned package. TODO: Bug #42178: This is the same as Synaptic's Package->Lock Version. This command places the desired package on hold. With many packages, you’ll be prompted with some configuration questions you may not have known were there.įor example: dpkg-reconfigure fontconfig-config will present you with a "wizard" on configuring fonts in Ubuntu. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |