Auto-update inxi

Post your tutorials and howtos here.
User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Auto-update inxi

Postby zerozero » 08 Jun 2014 14:53

inxi has a built-in auto-update feature

Code: Select all

sudo inxi -U
but since the package is provided by debian this feature is disabled (debian prefers the updates being made by the package management tools and doesn't like much :mrgreen: auto-updates features)
however for us, end-users, auto-updating inxi has clear advantages because we have access to the latest features and bug fixes without having to wait for debian to catch-up.

===
to regain that feature we need to edit /etc/inxi.conf and comment out (#) the line

Code: Select all

B_ALLOW_UPDATE=false
so it looks like

Code: Select all

zerozero@home ~ $ cat /etc/inxi.conf
## We want to use the distro to track the package
#B_ALLOW_UPDATE=false
after that we can

Code: Select all

sudo inxi -U
[note that this is only time inxi needs to run as root]

Code: Select all

zerozero@home ~ $ inxi -V
inxi 2.1.28-00 (2014-05-21)
Program Location: /usr/bin
Website: http://inxi.googlecode.com
IRC: irc.oftc.net channel: #smxi
Forums: http://techpatterns.com/forums/forum-33.html
 
inxi - the universal, portable, system information tool for console and irc.
 
This program started life as a fork of Infobash 3.02: Copyright (C) 2005-2007 Michiel de Boer a.k.a. locsmif.
Subsequent changes and modifications (after Infobash 3.02):
Copyright (C) 2008-2014 Harald Hope, Scott Rogers, aka h2 &trash80. 
 
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation; either version 3 of the License, or (at your
option) any later version. (http://www.gnu.org/licenses/gpl.html)
bliss of ignorance

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 4 guests