The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 901β€…    Votes:  2β€…
Tags: apt   18.04   kernel   lubuntu   udev  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1138978
Title: Overriding a kernel module blacklisting that's reinstated during apt full-upgrade
ID: /2019/04/28/Overriding-a-kernel-module-blacklisting-that_s-reinstated-during-apt-full-upgrade
Created: April 28, 2019    Edited:  April 28, 2019
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


From ServerFault:

This answer:

apt-get install -o Dpkg::Options::="--force-confold" --force-yes -y udev

Read the comments below the answer though. It suggests --force-yes is sometimes an extreme option although it’s not explained clearly.


An even better ServerFault answer is found here:

This Answer:

You can pass options to dpkg from apt. Interesting for you would be
the option –force-confold. The command looks like this:

apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade  

Setting --force-confdef as well makes apt-get still update the
config file if it hasn’t been edited, while --force-confold will
keep edited configuration files without asking.

To make this permanent, you can also set these options in your
apt.conf file:

Dpkg::Options {  
   "--force-confdef";  
   "--force-confold";  
}  

Check e.g.
http://debian-handbook.info/browse/wheezy/sect.package-meta-information.html#sidebar.questions-conffiles

⇧ What does "rf" mean in "rfkill"? In gnome-terminal only 2 out of 3 zoom keys work  β‡©