apt-get check
This command is a diagnostic tool. It does an update of the package lists and checks for broken dependencies.apt-get -f install
This command does the same thing as Edit->Fix Broken Packages in Synaptic. Do this if you get complaints about packages with "unmet dependences".
apt-get autoclean
This command removes .deb files for packages that are no longer installed on your system. Depending on your installation habits, removing these files from /var/cache/apt/archives may regain a significant amount of diskspace.
apt-get clean
The same as above, except it removes all packages from the package cache. 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 package cache is in /var/cache/apt/archives . The command
du -sh /var/cache/apt/archives
will tell you how much space cached packages are consuming.
apt-cache searchThis command will find packages that include
dpkg -l **
This will find packages whose names contain
apt-cache showThis command shows the description of package
dlocate
This command determines which installed package owns
|
dpkg -SThis command does the same as dlocate, but does not require the installation of any additional packages. It is slower than dlocate but has the advantage of being installed by default on all Debian and Ubuntu systems
Komentarų nėra:
Rašyti komentarą