You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a minor failure in case we have etckeeper installed and configured to prevent auto-committing before apt install (ie AVOID_COMMIT_BEFORE_INSTALL=1 in file /etc/etckeeper/etckeeper.conf).
In the log we see the message
** etckeeper detected uncommitted changes in /etc prior to apt run
** Aborting apt run. Manually commit and restart.
etckeeper complains because it sees a new file apt/sources.list.d/imei.list that is added before apt install is run.
As a result the dependencies are not installed, and install / build will fail at some points, or the built binary may not contains all the supported delegates.
A workaround is simply to set the variable AVOID_COMMIT_BEFORE_INSTALL=0 in file /etc/etckeeper/etckeeper.conf prior launching imei.sh.
This discussion was converted from issue #102 on November 19, 2023 22:20.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I noticed a minor failure in case we have etckeeper installed and configured to prevent auto-committing before apt install (ie
AVOID_COMMIT_BEFORE_INSTALL=1
in file/etc/etckeeper/etckeeper.conf
).In the log we see the message
etckeeper complains because it sees a new file
apt/sources.list.d/imei.list
that is added before apt install is run.As a result the dependencies are not installed, and install / build will fail at some points, or the built binary may not contains all the supported delegates.
A workaround is simply to set the variable
AVOID_COMMIT_BEFORE_INSTALL=0
in file/etc/etckeeper/etckeeper.conf
prior launchingimei.sh
.Thanks for the very handy script.
Beta Was this translation helpful? Give feedback.
All reactions