I am trying to use apt to install a new package and the confirmation screen shows all dependencies in a single line.
Example Output: screenshot showing output of apt install postgresql
Please ignore the -y
flag in the screenshot. I don't usually use the -y flag but didn't have any other screenshot to share hence used the one with the -y
flag present.
(base) uk@uk-Latitude-7280:~$ sudo apt-get -y install postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libcommon-sense-perl libjson-perl libjson-xs-perl libpq5 libtypes-serialiser-perl >pgdg-keyring postgresql-14 postgresql-client-14 postgresql-client-common >postgresql->common sysstat
Suggested packages:
postgresql-doc postgresql-doc-14 isag
The following NEW packages will be installed:
libcommon-sense-perl libjson-perl libjson-xs-perl libtypes-serialiser-perl >pgdg->keyring postgresql postgresql-14 postgresql-client-14 postgresql-client-common >postgresql-common
sysstat
The following packages will be upgraded:
libpq5
Expected output:
(base) uk@uk-Latitude-7280:~$ sudo apt-get -y install postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libcommon-sense-perl
libjson-perl
libjson-xs-perl
libpq5
libtypes-serialiser-perl
pgdg-keyring
postgresql-14
postgresql-client-14
postgresql-client-common
postgresql-common
sysstat
Suggested packages:
postgresql-doc
postgresql-doc-14
isag
The following NEW packages will be installed:
libcommon-sense-perl
libjson-perl
libjson-xs-perl
libtypes-serialiser-perl
pgdg-keyring
postgresql
postgresql-14
postgresql-client-14
postgresql-client-common
postgresql-common
sysstat
The following packages will be upgraded:
libpq5
Edit: Added clarity around the -y
flag used within the screenshot.