Linux Lite 7.6 Final Released - Click here for more


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Holding back the base-files package
#12
I have been doing some more research on this and found another solution that for me is preferable to 'apt-mark hold'. For the brave, try the following:
Code:
sudo leafpad /etc/apt/apt.conf.d/local
this will open a blank file, paste the following into it:
Code:
Dpkg::Options {   "--force-confdef";   "--force-confold"; }
Save and close. When you run updates, the 2 prompts for 'lsb-release' and 'issue' are now automatically answered 'N' without any user interaction. Explanations: --force-confdef: ask dpkg to decide alone when it can and prompt otherwise. This is the default behavior of dpkg and this option is mainly useful in combination with --force-confold. --force-confold: do not modify the current configuration file, the new version is installed with a .dpkg-dist suffix. With this option alone, even configuration files that you have not modified are left untouched. You need to combine it with --force-confdef to let dpkg overwrite configuration files that you have not modified. Tested on a fresh install of LL 2.0
Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply


Messages In This Thread
Holding back the base-files package - by Valtam - 07-28-2014, 10:47 PM
Re: Holding back the base-files package - by Valtam - 11-19-2014, 03:55 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)