From 990f21df5d1ab34a31aea900b2a3655fb5cfda4e Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 16 Jun 2023 21:37:53 +0300
Subject: [PATCH] Replace aptitude with apt.

Will work on newer releases with default packages.
---
 .bashrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.bashrc b/.bashrc
index 284a311..9f3536d 100644
--- a/.bashrc
+++ b/.bashrc
@@ -151,7 +151,7 @@ alias newman='docker run --rm \
 alias nextcloudcmd='flatpak run --command=nextcloudcmd com.nextcloud.desktopclient.nextcloud'
 # shellcheck disable=SC2139
 alias notify="notify --hint \"string:desktop-entry:$(basename "${GIO_LAUNCHED_DESKTOP_FILE:-io.elementary.terminal.desktop}")\""
-alias obsolete='aptitude search ?obsolete'
+alias obsolete='apt list "~o"'
 alias occ='docker --host=ssh://host01.shore.co.il exec -itu www-data nextcloud-nextcloud-1 ./occ'
 alias pip2='python2 -m pip'
 alias pip3='python3 -m pip'
-- 
GitLab