Re: Efficient Package Dependency Search with aptitude

2024-05-27 Thread Yassine Chaouche

Le 4/24/24 à 13:11, Dan Ritter a écrit> Also, I think you have meanings 
reversed.


apt-cache depends psmisc

produces the list of packages that psmisc needs to function.

apt-cache rdepends psmisc

produces the list of packages that need psmisc to be installed
first.

-dsr-



Dan,
Thank you for your prompt and precise response.
Your expertise has significantly clarified a few misconceptions I had.
As you accurately noted,
the misapplication of the apt-cache command enumerated the packages that 
require psmisc as a prerequisite,
instead of the dependencies required by psmisc to function.
Your swift assistance has been invaluable.

I also could have done the same with aptitude search ~R to list reverse 
dependencies
and aptitude search ~D to list dependencies

Onward and upward.


--
yassine -- sysadm
+213-779 06 06 23
http://about.me/ychaouche
Looking for side gigs.



Re: Efficient Package Dependency Search with aptitude

2024-04-24 Thread Dan Ritter
Yassine Chaouche wrote: 
> In my ongoing mission for precise package management,
> I embarked on a quest to swiftly locate all installed packages dependent on 
> /mysql-server/.
> Swift reconnaissance led me to /aptitude/, our stalwart ally in the Debian 
> arsenal.
> Executing a tactical maneuver akin to this:
> |# aptitude search "~i ~Rmysql-server"|
> ||
> |
> |
> Unveiled a battalion of installed packages,
> seemingly unrelated to mysql-server,
> including /adduser/, /debconf/, and others of varying ranks.
> 
> Harboring suspicions about certain results like /psmisc/,
> I executed a reverse probe using the /apt-cache/ command:
> |# apt-cache depends psmisc|
> ||
> |
> 
> |
> Conclusively, /mysql-server/ did not appear in /psmisc/'s dependency roster.
> Yet, in the face of this operation at the Debian Vanguard, doubts linger.
> I seek counsel from the esteemed Debian fraternity.
> What subtleties evade our grasp?

mysql-server doesn't really exist anymore. Try mariadb-server
instead.

Also, I think you have meanings reversed.

apt-cache depends psmisc 

produces the list of packages that psmisc needs to function.

apt-cache rdepends psmisc

produces the list of packages that need psmisc to be installed
first.

-dsr-



Efficient Package Dependency Search with aptitude

2024-04-24 Thread Yassine Chaouche

Debian Users,

In my ongoing mission for precise package management,
I embarked on a quest to swiftly locate all installed packages dependent on 
/mysql-server/.
Swift reconnaissance led me to /aptitude/, our stalwart ally in the Debian 
arsenal.
Executing a tactical maneuver akin to this:
|# aptitude search "~i ~Rmysql-server"|
||
|
|
Unveiled a battalion of installed packages,
seemingly unrelated to mysql-server,
including /adduser/, /debconf/, and others of varying ranks.

Harboring suspicions about certain results like /psmisc/,
I executed a reverse probe using the /apt-cache/ command:
|# apt-cache depends psmisc|
||
|

|
Conclusively, /mysql-server/ did not appear in /psmisc/'s dependency roster.
Yet, in the face of this operation at the Debian Vanguard, doubts linger.
I seek counsel from the esteemed Debian fraternity.
What subtleties evade our grasp?

Awaiting your insight and wisdom.
Best,

--

yassine -- sysadm
+213-779 06 06 23
http://about.me/ychaouche
Looking for side gigs.