[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 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


Reply to: