Views: 
              1,009β
          
          
                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: 
              October 19, 2025
          
          
               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" upgradeSetting
--force-confdefas well makes apt-get still update the
config file if it hasnβt been edited, while--force-confoldwill
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