List of upgradable packages, version numbers and changelog?
Hi,
how can I get a list of all upgradable packages, their current and
future version numbers and the ChangeLog?
I can get the list of packages and the version numbers from
apt-show-versions:
$ apt-show-versions -u
apache2/squeeze upgradeable from 2.2.16-6+squeeze1 to 2.2.16-6+squeeze2
apache2-mpm-worker/squeeze upgradeable from 2.2.16-6+squeeze1 to
2.2.16-6+squeeze2
apache2-utils/squeeze upgradeable from 2.2.16-6+squeeze1 to
2.2.16-6+squeeze2
apache2.2-bin/squeeze upgradeable from 2.2.16-6+squeeze1 to
2.2.16-6+squeeze2
apache2.2-common/squeeze upgradeable from 2.2.16-6+squeeze1 to
2.2.16-6+squeeze2
But how can I get the ChangeLog of these packages?
I'm also aware of apt-listchanges which I installed and configured to
automatically run when I upgrade the packages.
However, I want to get the packages/versions/ChangeLog without actually
doing the upgrade itself, i.e. I don't want to use super user privileges
for any of the actions (this also rules out auto-downloading the
packages the usual ap-get way).
From reading the apt-listchanges page I get the impression I can
somehow get the ChangeLog, but it talks about a pipeline to use and it
does not state how this is supposed to work?
thanks,
- Markus
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
List of upgradable packages, version numbers and changelog?
On 2011-09-05, Markus Fischer <markus@fischer.name> wrote:
> Hi,
>
> how can I get a list of all upgradable packages, their current and
> future version numbers and the ChangeLog?
>
> I can get the list of packages and the version numbers from
> apt-show-versions:
>
> $ apt-show-versions -u
> apache2/squeeze upgradeable from 2.2.16-6+squeeze1 to 2.2.16-6+squeeze2
> apache2-mpm-worker/squeeze upgradeable from 2.2.16-6+squeeze1 to
> 2.2.16-6+squeeze2
> apache2-utils/squeeze upgradeable from 2.2.16-6+squeeze1 to
> 2.2.16-6+squeeze2
> apache2.2-bin/squeeze upgradeable from 2.2.16-6+squeeze1 to
> 2.2.16-6+squeeze2
> apache2.2-common/squeeze upgradeable from 2.2.16-6+squeeze1 to
> 2.2.16-6+squeeze2
>
> But how can I get the ChangeLog of these packages?
>
> I'm also aware of apt-listchanges which I installed and configured to
> automatically run when I upgrade the packages.
>
> However, I want to get the packages/versions/ChangeLog without actually
> doing the upgrade itself, i.e. I don't want to use super user privileges
> for any of the actions (this also rules out auto-downloading the
> packages the usual ap-get way).
>
> From reading the apt-listchanges page I get the impression I can
> somehow get the ChangeLog, but it talks about a pipeline to use and it
> does not state how this is supposed to work?
>
> thanks,
> - Markus
>
>
Do you use aptitude? The 'changelog' subcommand will fetch and display
the Debian changelog in your pager, e.g.,
$ aptitude changelog apache2
--
Liam O'Toole
Cork, Ireland
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: slrnj69m0n.1tn.liam.p.otoole@dipsy.tubbynet">http://lists.debian.org/slrnj69m0n.1tn.liam.p.otoole@dipsy.tubbynet
09-06-2011, 07:22 AM
Markus Fischer
List of upgradable packages, version numbers and changelog?
Hi,
On 05.09.2011 16:09, Liam O'Toole wrote:
Do you use aptitude? The 'changelog' subcommand will fetch and display
the Debian changelog in your pager, e.g.,
$ aptitude changelog apache2
I use aptitude sometimes (actually I often use them intermixed; apt-get
and aptitude). Anyway. I ensures "aptitude update" and then this:
$ aptitude changelog apache2
Ign ChangeLog of apache2
$ apt-show-versions -u
apache2/lenny upgradeable from 2.2.9-10+lenny10 to 2.2.9-10+lenny11
apache2-mpm-prefork/lenny upgradeable from 2.2.9-10+lenny10 to
2.2.9-10+lenny11
apache2-utils/lenny upgradeable from 2.2.9-10+lenny10 to 2.2.9-10+lenny11
apache2.2-common/lenny upgradeable from 2.2.9-10+lenny10 to 2.2.9-10+lenny11
The actual sources.list looks like this (I use a proxy for the sake of
bandwidth):
$ cat /etc/apt/sources.list
deb http://apt-proxy:9999/debian/ lenny main contrib non-free
deb-src http://apt-proxy:9999/debian/ lenny main contrib non-free
deb http://apt-proxy:9999/debian-security/ lenny/updates main contrib
non-free
deb-src http://apt-proxy:9999/debian-security/ lenny/updates main
contrib non-free
deb http://apt-proxy:9999/debian-volatile lenny/volatile main contrib
non-free
deb-src http://apt-proxy:9999/debian-volatile lenny/volatile main
contrib non-free
deb http://apt-proxy:9999/backports/ lenny-backports main contrib non-free
deb-src http://apt-proxy:9999/backports/ lenny-backports main contrib
non-free
I feel a bit lost here now ...
thank you,
- Markus
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
List of upgradable packages, version numbers and changelog?
On 2011-09-06, Markus Fischer <markus@fischer.name> wrote:
> Hi,
>
> On 05.09.2011 16:09, Liam O'Toole wrote:
>> Do you use aptitude? The 'changelog' subcommand will fetch and display
>> the Debian changelog in your pager, e.g.,
>>
>> $ aptitude changelog apache2
>
> I use aptitude sometimes (actually I often use them intermixed; apt-get
> and aptitude). Anyway. I ensures "aptitude update" and then this:
>
> $ aptitude changelog apache2
> Ign ChangeLog of apache2
>
> E: Couldn't fetch URL
> http://packages.debian.org/changelogs/pool/main/a/apache2/apache2_2.2.16-6+squeeze2~bpo50+1/changelog
> E: Couldn't find a changelog for apache2
>
> I don't why it means it's a backport; yes, I've a backports line for
> lenny on this system, but apache2 is not one of them:
>
> $ dpkg -p apache2|grep lenn
> Version: 2.2.9-10+lenny10
> Depends: apache2-mpm-worker (>= 2.2.9-10+lenny10) | apache2-mpm-prefork
> (>= 2.2.9-10+lenny10) | apache2-mpm-event (>= 2.2.9-10+lenny10)
>
> When I look at it with apt-show-versions:
>
> $ apt-show-versions -u
> apache2/lenny upgradeable from 2.2.9-10+lenny10 to 2.2.9-10+lenny11
> apache2-mpm-prefork/lenny upgradeable from 2.2.9-10+lenny10 to
> 2.2.9-10+lenny11
> apache2-utils/lenny upgradeable from 2.2.9-10+lenny10 to 2.2.9-10+lenny11
> apache2.2-common/lenny upgradeable from 2.2.9-10+lenny10 to 2.2.9-10+lenny11
>
> The actual sources.list looks like this (I use a proxy for the sake of
> bandwidth):
>
> $ cat /etc/apt/sources.list
> deb http://apt-proxy:9999/debian/ lenny main contrib non-free
> deb-src http://apt-proxy:9999/debian/ lenny main contrib non-free
> deb http://apt-proxy:9999/debian-security/ lenny/updates main contrib
> non-free
> deb-src http://apt-proxy:9999/debian-security/ lenny/updates main
> contrib non-free
> deb http://apt-proxy:9999/debian-volatile lenny/volatile main contrib
> non-free
> deb-src http://apt-proxy:9999/debian-volatile lenny/volatile main
> contrib non-free
> deb http://apt-proxy:9999/backports/ lenny-backports main contrib non-free
> deb-src http://apt-proxy:9999/backports/ lenny-backports main contrib
> non-free
>
> I feel a bit lost here now ...
>
> thank you,
> - Markus
>
It seems that aptitude is trying to fetch the changelog for the version
of apache2 with the highest version number, which is that in
lenny-backports, but doesn't find it.
Instead, you can 'target' aptitude at a particular release, like this:
$ aptitude -t lenny changelog apache2
That will tell aptitude to look for the official lenny version.
--
Liam O'Toole
Cork, Ireland
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: slrnj6c6vq.1tn.liam.p.otoole@dipsy.tubbynet">http://lists.debian.org/slrnj6c6vq.1tn.liam.p.otoole@dipsy.tubbynet
09-06-2011, 05:25 PM
Markus Fischer
List of upgradable packages, version numbers and changelog?
On 06.09.2011 15:11, Liam O'Toole wrote:
> It seems that aptitude is trying to fetch the changelog for the version
> of apache2 with the highest version number, which is that in
> lenny-backports, but doesn't find it.
>
> Instead, you can 'target' aptitude at a particular release, like this:
>
> $ aptitude -t lenny changelog apache2
>
> That will tell aptitude to look for the official lenny version.
At first I thought it works, but the ChangeLog starts with
$ head -n 3 a
Unable to find an archive "lenny" for the package "apache2"
Get:1 ChangeLog of apache2 [103kB]
apache2 (2.2.9-10+lenny9) stable-security; urgency=high
But since it show versions tells me this:
$ apt-show-versions -u |grep apache2/lenny
apache2/lenny upgradeable from 2.2.9-10+lenny10 to 2.2.9-10+lenny11
I don't actually see the ChangeLog from 2.2.9-10+lenny10 to
2.2.9-10+lenny11 but actually the whole ChangeLog from the release up
until apache2 (2.2.9-10+lenny9) .
This means it would need to download the real deb somehow the extract
the proper content. Something AFAIK apt-listchanges is able to do, but
not in a way I seem to be able to use it without actually triggered a
real installation.
Basically I'd like to pre-fetch all this kind of information before
doing something for real; basically even unmonitored on the machines.
I'm also aware of cron-apt and I can configure cron-apt with this action
$ cat /etc/cron-apt/action.d/9-notify
# Use it with MAILON=output to tell you when upgrades is available.
-q -q --no-act upgrade
to inform me. But alas, I can't run this application without any special
rights:
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E66579B.3070005@fischer.name">http://lists.debian.org/4E66579B.3070005@fischer.name