Opened 3 years ago

Last modified 3 years ago

#925 new enhancement

Ability to use aptitude in apt.in and apt_all.in plugins

Reported by: clem1 Owned by: nobody
Priority: normal Milestone: Munin 2.0.0
Component: plugins Version: 1.4.3
Severity: normal Keywords:
Cc:

Description

Hi,

Please find enclosed a patch to use aptitude instead of apt-get when a specific (env.aptitude 1) option is used.

Why? Because these plugins are not fully compatible with system maintained with aptitude. For example if you place some packages on hold using aptitude, apt-get and these plugins will still consider them upgradable.

Attachments (1)

aptitude.diff (6.9 KB) - added by clem1 3 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 in reply to: ↑ description Changed 3 years ago by clem1

Replying to clem1:

Hi,

Please find enclosed a patch to use aptitude instead of apt-get when a specific (env.aptitude 1) option is used.

s/aptitude/use_aptitude/

Changed 3 years ago by clem1

comment:2 in reply to: ↑ description Changed 3 years ago by clem1

Hi,

I've updated the patch to mark hold packages which will not be upgraded. Hold package will have a # in front of their names.

I've also fixed the hold regex, hold value is now set correctly.

Bests,

Note: See TracTickets for help on using tickets.