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

Bug#745130: apt should tell if updates are available



at bottom :-

On 4/22/14, James McCoy <jamessan@debian.org> wrote:
> On Tue, Apr 22, 2014 at 09:38:16AM +0530, shirish शिरीष wrote:
>> On 4/22/14, James McCoy <jamessan@debian.org> wrote:
>> > On Fri, Apr 18, 2014 at 05:13:46PM +0200, David Kalnischkies wrote:
>> >> You could also use a hook script with APT::Update::Post-Invoke to
>> >> do/display whatever you might want to.
>> >
>> > Something like the daptup package?
>>
>> I just saw the dataup package. It seems to do the thing I want but
>> don't know how to use the 'hook script with APT::Update:Post-Invoke to
>> do/display whatever you might want to' .
>
> daptup provides an apt config file which defines APT::Update::Pre-Invoke
> and APT::Update::Post-Invoke hooks.  Those hooks determine what packages
> are new/changed and display them to you.
>
> Cheers,
> --
> James
> GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan@debian.org>

Hi all,
I have used and am using apt-listchanges and apt-listbugs to let me
know before-hand if there are any issues when doing an aptitude
upgrade or an aptitude install (upgrading one or more binaries by
name).

I don't have any idea if apt-listchanges would have any conflicts with
apt-listchanges.conf

This is my /etc/apt/listchanges.conf :-

$ cat /etc/apt/listchanges.conf
[apt]
frontend=gtk
email_address=root
confirm=1
save_seen=/var/lib/apt/listchanges.db
which=both


I installed dataup package. I saw that /etc/apt/apt.conf.d/11daptup is
of two lines only :-

$ cat /etc/apt/apt.conf.d/11daptup
APT::Update::Pre-Invoke { "if [ -x /usr/bin/daptup ]; then
/usr/bin/daptup --pre; fi"; };
APT::Update::Post-Invoke { "if [ -x /usr/bin/daptup ]; then
/usr/bin/daptup --post; fi"; };

I don't know what changes (if any) have to be made to those two lines.

I also there is an /etc/daptup.conf file which has too many options,
some of which I'm confused about.

 # Daptup has the ability to find installed packages that have version prepared
# by package maintainer a lot of time ago and have more recent install
# candidate ("outdated" packages). Enable this check?
# Possible values: "n" - no, "y" - yes.
DAPTUP_CHECK_FOR_OUTDATED_PACKAGES=y

# If we check for "outdated" packages, what minimal age (in days) must
package to have
# to be treated as "outdated"?
DAPTUP_MINIMAL_DAY_COUNT_TREATING_OUTDATED=90

I don't think we can say 90 days are enough for packages to be
considered outdated.

The only packages I would say outdated are those which are orphaned.

It would be good to see what you think of them.

I have no idea what this one means :-

DAPTUP_NEW_DISPLAY_FORMAT="%10p - %80d"

Looking forward to know.

The best scenario would be being able to use apt-listchanges with
aptitude and daptup with apt (if it's possible).

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


Reply to: