Discussion:
Increasing the verbosity of "apt-get"
(too old to reply)
Camaleón
2010-10-27 19:20:01 UTC
Permalink
Hello,

I wonder if it is possible to increase the verbosity of "apt-get" console
output.

For example, in my perpetual "testing" machine, I use this one-liner to
update the system:

***
apt-get update && apt-get -V dist-upgrade
***

But sometimes I get new packages to be installed (mostly due to
dependencies coming from another packages) and I would like to know more
information about the source (what package requirement pulls the
installation of the new package, from what repo is the package to be
installed coming, etc...).

Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@gmail.com
Osamu Aoki
2010-10-28 14:40:02 UTC
Permalink
Post by Camaleón
Hello,
I wonder if it is possible to increase the verbosity of "apt-get" console
output.
For example, in my perpetual "testing" machine, I use this one-liner to
***
apt-get update && apt-get -V dist-upgrade
***
But sometimes I get new packages to be installed (mostly due to
dependencies coming from another packages) and I would like to know more
information about the source (what package requirement pulls the
installation of the new package, from what repo is the package to be
installed coming, etc...).
As for using apt-get, you may think about using "-s" first. "apt-cache
policy ..." may be your friend.

For such interactive package relationship browsing etc, aptitude does
better job.

Osamu
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@debian.org
Camaleón
2010-10-28 15:20:02 UTC
Permalink
Post by Osamu Aoki
Post by Camaleón
I wonder if it is possible to increase the verbosity of "apt-get"
console output.
(...)
Post by Osamu Aoki
As for using apt-get, you may think about using "-s" first. "apt-cache
policy ..." may be your friend.
For such interactive package relationship browsing etc, aptitude does
better job.
Thanks. I was told so in the Spanish mailing list. I will take a deeper
look into "aptitude" and its options.

While making some tests, I've noted that "apt-get -V --print-uris dist-
upgrade" does not print the data source, it needs to be runned in
simulation mode with "-s" (and so says "man" page) but it would be very
useful -for people dealing with several repositories and data sources- to
have that information available also at runtime so users can be sure
about the origin of the packages before installing them.

Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@gmail.com
Loading...