Debian mark package manually installed






















apt list --manual-installed | grep -F \ [installed\] to get a list of packages that resulted from user commands and their dependencies only, and to get additional information on them such as version and architecture supported (x86, x86_64, amd64, all, etc.) Share. Improve this www.doorway.rus: 4. Someone wrote a program generate a list of all packages manually installed (by users, by admin/root, or both), as determined by the Debian package system. It inspects Debian's apt-history log, and then combines the reports from the apt-mark program. Apt-mark includes packages which were manually installed via use of the 'dpkg' system directly by users, not just ones installed via users through their Reviews: 1. 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). Share.


# # List all manually installed packages on a debian/ubuntu system # # manually installed means: # # 1. not pre-installed with the system # # 2. not marked auto-installed by apt (not dependencies of other # # packages) # # Note: pre-installed packages that got updated still needs to be # # filtered out. parse_dpkg_log {. Contents of a debian file. To see the contents of debian packages in the Debian repositories, whether installed or uninstalled, install the apt-file package and enter. $ apt-file update $ apt-file list foo. To get the contents of the file "www.doorway.ru", you have to enter. $ dpkg-deb -c www.doorway.ru Examples. sudo apt-mark auto ruby. Mark the software package ruby as automatically installed. When no other software packages depend on it, ruby will be eligible for auto-removal. sudo apt-mark manual ruby. Mark the software package ruby as manually installed.


# apt-get install zlib1g-dev zlib1g-dev is already the newest version. zlib1g-dev set to manually installed. My compilation done, I don't need it any more explicitly, so I want to revert its status to the previous one: auto-installed. This way it will be pruned automatically when it will not be needed any more with a simple apt-get autoremove. DESCRIPTION. apt-mark will change whether a package has been marked as being automatically 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. Once these automatically installed packages are no longer depended on by any manually installed packages, they will be removed by e.g. apt-get or aptitude. auto auto is used to mark a package as being. 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). Share.

0コメント

  • 1000 / 1000