I am trying to install this theme:  but I need to install git first, and this error shows up: ~$ sudo apt install git Reading package lists... Done Building dependency tree        Reading state information... Done git is already the newest version (1:2.25.1-1ubuntu3). The following packages were automatically installed and are no longer required:   linux-headers-5.4.0-26 linux-headers-5.4.0-26-generic   linux-image-5.4.0-26-generic linux-modules-5.4.0-26-generic   linux-modules-extra-5.4.0-26-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up linux-image-5.4.0-39-generic (5.4.0-39.43) ... Processing triggers for linux-image-5.4.0-39-generic (5.4.0-39.43) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.4.0-39-generic /etc/kernel/postinst.d/zz-update-grub: Sourcing file `/etc/default/grub' /usr/sbin/grub-mkconfig: 34: /etc/default/grub: blacklist: not found run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127 dpkg: error processing package linux-image-5.4.0-39-generic (--configure):  installed linux-image-5.4.0-39-generic package post-installation script subproc ess returned error exit status 1 Errors were encountered while processing:  linux-image-5.4.0-39-generic E: Sub-process /usr/bin/dpkg returned an error code (1)  Edit: cat /etc/default/grub output: # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: #   info -f grub -n 'Simple configuration'  GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash&quot; GRUB_CMDLINE_LINUX=&quot;&quot;  # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM=&quot;0x01234567,0xfefefefe,0x89abcdef,0xefefefef&quot;  # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console  # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480  # Uncomment if you don't want GRUB to pass &quot;root=UUID=xxx&quot; parameter to Linux #GRUB_DISABLE_LINUX_UUID=true  # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY=&quot;true&quot;  # Uncomment to get a beep at grub start #GRUB_INIT_TUNE=&quot;480 440 1&quot; blacklist radeon GRUB_GFXMODE=1920X1080X32 GRUB_CMDLINE_LINUX_DEFAULT=&quot;radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 amdgpu.dpm=1 amdgpu.modeset=1&quot;
I have Xubuntu 18.04.3, and whenever I try to install a package through apt-get I get the following message.    Removing linux-image-5.0.0-31-generic (5.0.0-31.33~18.04.1) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-5.0.0-31-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' /usr/sbin/grub-mkconfig: 35: /etc/default/grub: FROM:: not found run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127 dpkg: error processing package linux-image-5.0.0-31-generic (--remove):  installed linux-image-5.0.0-31-generic package post-removal script subprocess returned error exit status 1 Errors were encountered while processing:  linux-image-5.0.0-31-generic libdvd-pkg: Package libdvdcss2-1.4.2-1 was removed, stop processing... E: Sub-process /usr/bin/dpkg returned an error code (1)   Contents of /etc/default/grub:  # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: #   info -f grub -n 'Simple configuration'  GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="persistent"  # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"  # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console  # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480  # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true  # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true"  # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"  FROM: GRUB_CMDLINE_LINUX_DEFAULT="" GRUB_CMDLINE_LINUX="" TO: GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1" GRUB_CMDLINE_LINUX="ipv6.disable=1"
"To like for somebody/something to be something" vs. "to like somebody/something to be something" Do you think that "was going to be" or "would be" could be used as past tense of will?     I thought this book was going to be your choice.        I thought this book would be your choice.   Do these two sentences basically mean the same thing or are they slightly different? How do I find the index of an element in a list in Racket? Is there any evidence or reason why FIFA is so against adding instant replay to soccer? I find myself seeing many unlucky or just plain wrong decisions made by refs that could be corrected with instant replay. Which variables should I transform, center, and/or standardize in my data for Principal Component Analysis? I have multiple datasets that I am attempting to use principal component analysis (PCA) on in order to infer the underlying structure of the data.  I'm attempting to predict growth increment of conifers (the response which apparently needed to be cube root transformed for my original linear models).  My predictor variables include: continuous (some log-transformed like size-related variables, some compositional, and some traditionally scaled); binary; ordinal; and nominal (of which I'm pretty sure I can order with respect to site productivity).  I'm mostly attempting to make inferences because some of my previous models from linear regression have not produced significant terms corresponding to categories like health or climate and I feel that they should have.  I've read in Joliffe (2002) that I might want to leave my compositional data uncentered.  Forgive my naiveté, but I'm wondering if I should also do this for my binary data.  It also seems that I might not want to scale these since they're already on a 0 - 1 scale but I'm not sure.  After only using my continuous predictors (including compositional variables), it appears that a size principal component makes up the largest portion of the variability and Joliffe also mentions that one might want to attempt a "double-centering" of the log-transformed data if this is the case.  I don't know if this is even possible since the log-transformed data only makes up a small portion of my datasets.  Finally, I should ask if having such a combination of data types will complicate analysis so much that it will make inferences unreliable.  I am currently using R for this analysis.  Thank you. How to list of all the tables defined for the database when using active record? How do I get a list of all the tables defined for the database when using active record? Getting different answers when integrating using different techniques Force "low power mode" on mac How can I automatically log out the guest account after a period of inactivity? As part of a kiosk system, I have set up a Guest account on a Mac OS X Snow Leopard computer. This account is cleared every time someone logs off the computer. However, plenty of people don't. Is there any way that I can automatically log out this guest account after a period of inactivity?  I tried using the security preferences pane, but that just causes the confirm logout dialog to show up.  I have hacked around the /System/Library/User Templates/ folder, so I can set the screensaver, desktop background, &amp;c. If something like ScriptSaver can solve my problem, I will gladly use it. dpkg: error: dpkg status database is locked by another process I just wondered if somebody could tell me what this means:  E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. reidsr@ubuntu:~$ sudo dpkg --configure -a dpkg: error: dpkg status database is locked by another process reidsr@ubuntu:~$    How do I run sudo dpkg --configure -a  manually? How can I find maximum power transfer using Thevenin equivalent Safari autofill multiple e-mail adresses Travel duration from Earth to a star at 9.8 m/s² acceleration I'm writing a report, in LaTeX. And I need to include, as appendices, other latex documents I have written. I am currently doing this using pdfpages and it works. However, the inserted PDF has no page numbers and it overlays my base documents page numbering, resulting in no page numbers on the PDF pages. My questions:   How to solve the above problem. Is there a better way to do this. What happens in a circuit, when the wire and the battery are superconducting. And shorted More fine grained syntax highlighting in Emacs/AUCTeX Why do I get compiler errors with this Java code?  1  public List&lt;? extends Foo&gt; getFoos() 2  { 3    List&lt;? extends Foo&gt; foos = new ArrayList&lt;? extends Foo&gt;(); 4    foos.add(new SubFoo()); 5    return foos; 6  }  Where 'SubFoo' is a concrete class that implements Foo, and Foo is an interface.  Errors I get with this code:   On Line 3: "Cannot instantiate ArrayList&lt;? extends Foo&gt;" On Line 4: "The method add(capture#1-of ? extends Foo) in the type List&lt;capture#1-of ? extends Foo&gt; is not applicable for the arguments (SubFoo)"   Update: Thanks to Jeff C, I can change Line 3 to say "new ArrayList&lt;Foo&gt;();".  But I'm still having the issue with Line 4. Visiting Greece with back-to-back Schengen visas (One from Germany, other from Italy) I have a Schengen Visa issued by Germany, which expire on 11th Jan 2014, and I can remain in the zone till 11th Jan 23.59 PM. I have already visited Germany in the past with this visa, so I can travel whenever in Schengen zone directly from my country (Turkey).  I have a second Schengen Visa issued by Italy, which START on 12th Jan 2014, such that I can remain in Schengen zone from 12th Jan 00.00 AM onwards (I'm putting times to clarify which dates are inclusive).  I would like to travel to Greece with this visa: Entering the country on 6th January, and leaving the country on 19th January.  Is this allowed? Or do I have to leave the country first, and then re-enter through Italy? Solving infinite sums with primes. Let $p_n$ denote the $n$'th prime number.  How would one go about proving that infinite products like: $$\prod_{k=1}^\infty1 - \frac{1}{(p_k)^2} = \frac{6}{\pi^2}$$  or  $$\prod_{k=1}^\infty\frac{{p_k}^2}{{p_k}^2 - 1} = \frac{\pi^2}{6}$$ are correct?  Is there any way to prove it except by exhaustion? This question is actually related to my earlier question ("").  The fact that objects move a lot in the universe and that the universe is expanding, can imply that gravity is a repulsive force that increases with distance.. so the farthest objects repel us more.  This can still explain several existing observations, e.g., why does the apple fall?   Motion is the result of such repulsion. Two objects unlucky enough not to be moving relative to each other get squished due to the repulsion of the rest of the universe  around them. The earth repels the apple less than the stars so it is pushed towards the earth.   Furthermore, it can explain the expanding universe without the need for dark energy.  This could be demonstrated in a thought experiment. If we take a lot of same-charge particles (with small mass) such as electrons and lock them in a large box at a low enough temperature. The mutual repulsion of the particles may cause similar motion as if due to gravitational attraction.   Another experiment would be to measure the slight changes in our weight during day and night when the sun and earth align (if their masses are large enough to detect the feeble change in repulsion).   [EDIT: the question in the original form may not have been clear. It is "can we model".. with a yes/no answer and why (not). If downvoting, please justify.