Comments on: 20 Useful ‘apt-get’ Commands for Ubuntu Package Management https://www.tecmint.com/apt-get-command/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Fri, 14 Jul 2023 04:49:25 +0000 hourly 1 By: donald harter https://www.tecmint.com/apt-get-command/comment-page-1/#comment-2032466 Thu, 06 Jul 2023 13:26:57 +0000 http://www.tecmint.com/?p=2354#comment-2032466 I installed a package by compiling it and using checkinstall. The package name is different from the Ubuntu packages. It is actually an all-in-one package.

Other packages depend on those other named packages. I want to set those packages as being installed, but not actually install any files.

(They are already there) So I am wondering if there is a way to just change the package database to say that a given package is installed.

]]>
By: Ravi Saive https://www.tecmint.com/apt-get-command/comment-page-1/#comment-1923759 Sat, 03 Dec 2022 08:01:44 +0000 http://www.tecmint.com/?p=2354#comment-1923759 In reply to heather.

@Heather,

You can install apt-utils on your Debian system using the following command.

$ sudo apt install apt-utils
]]>
By: heather https://www.tecmint.com/apt-get-command/comment-page-1/#comment-1923617 Fri, 02 Dec 2022 23:49:47 +0000 http://www.tecmint.com/?p=2354#comment-1923617 What’s the command for getting apt-utils it is telling me that I need to install it can someone please help me?

]]>
By: MasHand https://www.tecmint.com/apt-get-command/comment-page-1/#comment-1915552 Wed, 16 Nov 2022 23:08:22 +0000 http://www.tecmint.com/?p=2354#comment-1915552 In reply to MasHand.

Try these commands to update and fix Ubuntu…

$ sudo apt update
$ sudo apt upgrade
$ sudo apt full-upgrade
$ sudo apt dist-upgrade
$ sudo apt-get check
$ sudo apt -f install
$ sudo apt -y clean
$ sudo apt -y autoclean
$ sudo apt autoremove
$ sudo dpkg --configure -a
$ sudo apt --fix-broken install --fix-missing

]]>
By: Ravi Saive https://www.tecmint.com/apt-get-command/comment-page-1/#comment-1850532 Mon, 25 Jul 2022 06:15:17 +0000 http://www.tecmint.com/?p=2354#comment-1850532 In reply to Rahul.

@Rahul,

Run the following command to list all installed packages on the Ubuntu system

$ sudo apt list --installed
]]>