![]() ![]() 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. dpkg-reconfigure Reconfigure the named package.The command du -sh /var/cache/apt/archives will tell you how much space cached packages are consuming. The package cache is in /var/cache/apt/archives. This may not be desirable if you have a slow Internet connection, since it will cause you to redownload any packages you need to install a program. The same as above, except it removes all packages from the package cache. Depending on your installation habits, removing these files from /var/cache/apt/archives may regain a significant amount of diskspace. deb files for packages that are no longer installed on your system. Do this if you get complaints about packages with "unmet dependencies". This command does the same thing as Edit->Fix Broken Packages in Synaptic. It does an update of the package lists and checks for broken dependencies. apt-get check This command is a diagnostic tool.For more information of upgrading from a previous version of Ubuntu see. "apt-get dist-upgrade" does not upgrade from a previous version of Ubuntu. It tells APT to use "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. apt-get dist-upgrade The same as the above, except add the "smart upgrade" checkbox.This is the equivalent of "Mark all upgrades" in Synaptic. apt-get upgrade This command upgrades all installed packages.This is the equivalent of "Reload" in Synaptic or "Fetch updates" in Adept. Run this command periodically to make sure your source list is up-to-date. For information regarding /etc/apt/preferences, see PinningHowto. Run this command after changing /etc/apt/sources.list or /etc/apt/preferences. If you're running X, a graphical interface will replace the default text interface. configureIt will then ask to install the needed packages and call apt-get automatically. The program auto-apt asks you to install packages if they're needed, stopping the relevant process and continuing once the package is installed. You're compiling a program and, all of a sudden, there's an error because it needs a file you don't have. This is achieved by calling the commands auto-apt update, auto-apt updatedb and auto-apt update-local. Auto-apt keeps databases which need to be kept up-to-date in order for it to be effective.This feature requires apt and sudo to work. If a program tries to access a file known to belong in an uninstalled package, auto-apt will install that package using apt-get. This command runs under the control of auto-apt. For example: "apt-get -s install " will simulate installing the package, showing you what packages will be installed and configured. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |