![](/rp/kFAqShRrnkQMbH6NYLBYoJ3lq9s.png)
apt - How do I search for available packages from the command …
apt-file search part_of_package_name | grep another_part_of_name Example of searching for ssh server package if I do not know the name is ssh-server or sshserver or server-ssh etc.: apt-file search ssh | grep server Steps to prepare apt-file search for searching. It should be done before first usage: sudo apt-get install apt-file sudo apt-file ...
What are phased updates, and why does Ubuntu use them?
Also worth adding, as explained in the apt-preferences docs, that Phased Updates depend upon each machine's Machine ID, which maybe found (and potentially altered/copied - but generally one should avoid changing it as mentioned by @Daniel) in /etc/machine-id.
apt - Installing suggested/recommended packages? - Ask Ubuntu
Feb 21, 2014 · I ran the following code and got this package needs these packages, now it also says these packages are suggested, and theses are recommended. How do I get those up to install as well. myusuf3@pur...
apt - How do I fix the GPG error "NO_PUBKEY"? - Ask Ubuntu
Stack Exchange Network. Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
apt - install openjdk 21 - Ask Ubuntu
Nov 13, 2023 · Simply use sudo apt install openjdk-21-jdk. It's in the Universe repository, so be sure you have that enabled. It's in the Universe repository, so be sure you have that enabled. It wasn't available yet when you asked the question, but it is now.
How do I make apt-get install less noisy? - Ask Ubuntu
Feb 20, 2013 · Then the source of dpkg shows that the annoying soutput is only issued when isatty(1) is true. This is only the case when the fork uses pty instead pipe. Back to apt, there is a undocumented configuration variable that allows to use pipe instead pty which then solve the problem: apt-get install -qq -o=Dpkg::Use-Pty=0 <packages>
How to install specific version of some package? - Ask Ubuntu
sudo apt-get install <package name>=<version> Example: $ sudo apt-get install gparted=0.16.1-1 Reading package lists... Done Building dependency tree Reading state information... Done gparted is already the newest version. 0 upgraded, 0 newly installed, 0 …
apt - How to delete broken packages in ubuntu - Ask Ubuntu
Sep 17, 2014 · sudo apt-get update then cleanup any partial packages . sudo apt-get autoclean Now clean the apt cache. sudo apt-get clean Now remove any unnecessary dependancies . sudo apt-get autoremove from the command above, you can identify any broken packages and forcefully remove it like this. sudo dpkg --remove --force-remove-reinstreq package_name
apt - How can I see all versions of a package that are available in …
That's why I'd suggest always using apt-cache policy <package-name> instead. Note about output: I have some local repository setup and both of the command shows those as well. Note 2 Newer apt comes with policy integrated into them. So, you can use apt instead of …
apt - Is it possible to get a list of most recently ... - Ask Ubuntu
Dec 11, 2010 · apt-mark showmanual lists manually installed packages; ie. those that should never be auto-removed. grep " install " /var/log/dpkg.log is taken from the accepted answer. An alternative, showing more information, in chronological order, and accessing all available logs, is: