How do I set Ubuntu Software Center as default to apt links?
Cannot locate Ubuntu Software Center via Firefox to open APT links
Showing a number $n$ is prime if $(n-2)! \equiv 1 \pmod n$ When I upgrade from one version of Ubuntu to the next, the upgrade tool rightly disables all my PPAs, so that software compiled for or otherwise tied to the old version of Ubuntu does not interfere with the new version that I just upgraded to.  Is there any way to automatically re-enable and update any PPAs that provide packages for the new version of Ubuntu? For example, suppose I'm currently running Maverick, and I have two PPAs enabled, "foo" and "bar". Suppose that "foo" provides packages for both Maverick and Natty, while "bar" provides packages for Natty only. Is there a tool I could run after updating to Natty that would re-enable my "foo" PPA and update it to point to the Natty packages, while leaving the "bar" PPA disabled? Files list file for package missing -- dpkg warning I want to install Open JDK or Oracle JDK to my machine but I got an error during installation. The error is:  Selecting previously unselected package oracle-java8-installer. dpkg: warning: files list file for package 'unity-scope-gourmet' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-guayadeque' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-gmusicbrowser' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-manpages' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-firefoxbookmarks' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-gdrive' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-home' missing; assuming package has no files currently installed E: Sub-process /usr/bin/dpkg returned an error code (2)   I searched on Google and try to something for install/reinstall this packages. Finally i try to remove Unity. I faced this error for my every tries. I am using Xmonad. How can I fix this issue? Offset a background image from the right using CSS OS volume shows as type 'FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF' Yesterday, I have tried to delete an Ubuntu partition. Since, my Mac (13", MBPro mid-2014) doesn't boot. Now, I boot on Mac OS copy with an USB. i follow different subject of this forum (like this : ), and my volume partition change from FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF to 48465300-0000-11AA-AA11-00306543ECAC. But I still can't boot to it...    Thank you very much ! What is the difference between Newtonian and Lagrangian mechanics in a nutshell? Converting Raw HTTP Request into HTTPWebRequest Object How do I add PHP code/file to HTML(.html) files? After a very long time will we see more stars (due to the fact that more light is get to us) or less stars (as the universe expends and light have to pass larger distance)? In general, can stellar objects go outside of the scope of the observable universe or is it only growing with time? Calculations are always better than just discussion. Does it have any connection to dark matter? How would I implement the quantum oracle in Deutsch's algorithm? Use ALT to move windows in Windows like in Linux In most Linux window managers, one can use the Alt key while clicking and dragging to rearrange windows. This is one of my favorite features of Linux window managers.  Is there a way to do this in Windows 7? The title says it all, just wondered if accessing the iOS will count towards your consecutive visited days. On Cesàro convergence: If $ x_n \to x $ then $ z_n = \frac{x_1 + \dots +x_n}{n} \to x $ I have this problem I'm working on. Hints are much appreciated (I don't want complete proof):  In a normed vector space, if $ x_n \longrightarrow x $ then  $ z_n = \frac{x_1 + \dots +x_n}{n} \longrightarrow x $   I've been trying adding and subtracting inside the norm... but I don't seem to get anywhere.  Thanks! Should +1 and thanks comments be a declined flag? As a moderator for GD.SE I was always led to believe our role is to clean old comments as they are intended to be a temporary item depending on the level of context and if they add any benefit to an answer.  On SO I haven't had any issues or declines when I read old Q&amp;As and see +1 and thanks and flag.    However, on other sites when I read an old Q&amp;A and I see thanks or +1 I try to be courteous and flag them as I am aware moderators do get measured by their cleanup and I'm accustomed in doing so on SO but these flags are declined.    So this leads me to ask:   Should +1 and thanks comments be flagged and is the intended role of a comment still to be considered as temporary? What is the proper classification for a thanks or +1 comment if it should be flagged?   I didn't see any Q&amp;As on this topic after browsing the tags:   and searching led me to:  but that was several years old. Which media player has seek preview with thumbnails? I was looking for a good video player to replace VLC, something that is as good as vlc but has seek preview. I am tired of fast forwarding in vlc  EDIT: I meant seek preview with thumbnails Latexmk can't see a dependency on a .fmt format file dpkg --configure -a  Setting up linux-image-3.13.0-35-generic (3.13.0-35.62) ... Running depmod. update-initramfs: deferring update (hook will be called later) The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-35-generic vmlinuz(/boot/vmlinuz-3.13.0-35-generic ) points to /boot/vmlinuz-3.13.0-35-generic  (/boot/vmlinuz-3.13.0-35-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-35-generic.postinst line 491. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic update-initramfs: Generating /boot/initrd.img-3.13.0-35-generic  gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-3.13.0-35-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-35-generic.postinst line 1025. dpkg: error processing package linux-image-3.13.0-35-generic (--configure):  subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-35-generic:  linux-image-extra-3.13.0-35-generic depends on linux-image-3.13.0-35-generic; however:   Package linux-image-3.13.0-35-generic is not configured yet.  dpkg: error processing package linux-image-extra-3.13.0-35-generic (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-image-generic:  linux-image-generic depends on linux-image-3.13.0-35-generic; however:   Package linux-image-3.13.0-35-generic is not configured yet.  linux-image-generic depends on linux-image-extra-3.13.0-35-generic; however:   Package linux-image-extra-3.13.0-35-generic is not configured yet.  dpkg: error processing package linux-image-generic (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  linux-image-3.13.0-35-generic  linux-image-extra-3.13.0-35-generic  linux-image-generic Why must $\mathbb{Q}[\sqrt{2}, \sqrt{3}]$ -- the set of all polynomials in $\sqrt{2}$ and $\sqrt{3}$ with rational coefficients  -- contain multiplicative inverses?   I have gathered that every element of $\mathbb{Q}[\sqrt{2}, \sqrt{3}]$ takes form $a + b\sqrt{2} + c\sqrt{3} + d\sqrt{2}\sqrt{3}$ for some $a,b,c,d \in \mathbb{Q}$, and I have shown that $\mathbb{Q}[\sqrt{2}]$ and $\mathbb{Q}[\sqrt{3}]$ are both fields, but it's not clear to me why this allows for general multiplicative inverses to exist in $\mathbb{Q}[\sqrt{2}, \sqrt{3}]$. Trying to figure what language this PDA (pushdown automata) accepts I have the following PDA and I can't figure our what words it accepts, would like to get some help with figuring this out.    Of course it only accepts if that stack is empty in the accepting state. Is there i.i.d. assumption on logistic regression? Is there i.i.d. assumption on the response variable of logistic regression?  For example, suppose we have $1000$ data points. It seems the response $Y_i$ is coming from a Bernoulli distribution with $p_i=\text{logit}^{-1}(\beta_0+\beta_1 x_i)$. Therefore, we should have $1000$ Bernoulli distributions, with different parameter $p$.  So, they are "independent", but are not "identical".  Am I right?    PS. I learned logistic regression from "machine learning" literature, where we optimize the objective function and check if it is good in testing data, without talking too much about assumptions.   My question started with this post  Where I try to learn more on statistical assumptions.