Contents
What happens if I remove a package from Apt?
If you remove vlc, vlc-nox will therefore not be automatically removed. This does not affect updates in any way. You can use sudo apt-mark auto $PACKAGES to mark packages as automatically being installed again, if you accidentally mark them as manually installed.
What to do if APT is set to manually?
You can use sudo apt-mark auto $PACKAGES to mark packages as automatically being installed again, if you accidentally mark them as manually installed. Automatically installed packages can be removed using apt-get autoremove (or using similar processes, e.g. via Synaptic).
How to remove / install a package that is not fully installed?
Autoclean clears out the local repository of retrieved package files. Also as always, you can use dpkg to install, remove and purge packages. You can remove the package file in this /var/lib/dpkg/info/ path and update the source.
Can a.deb file be installed in apt-get?
Except in the case where a configured repository is inaccessible, this does not enable an apt-get install command to succeed that would not otherwise succeed. If the package isn’t in one of your repositories, apt-get will not know to install it even if the .deb file happens to be in /var/cache/apt/archives.
When do I Mark a package as being installed?
When you request that a package is installed, and as a result other packages are installed to satisfy its dependencies, the dependencies are marked as being automatically installed.
How to get list of installed packages in Ubuntu?
If packages are given only those which are automatically installed will be shown. showmanual showmanual can be used in the same way as showauto except that it will print a list of manually installed packages instead. showhold showhold is used to print a list of packages on hold in the same way as for the other show commands.