can't upgrade to 14.04 resolve generate blanks
How to Fix Broken Packages?
gnome-terminal instantly closes after messing with the profile settings I am using Gnome Terminal in Ubuntu 14.04 and I modified the profile preferences, setting it to start with a custom command instead of the default. I can't remember what that custom command was, but now when I launch the terminal, it instantly closes.   Is there any way to change the profile preferences in terminal without having it open? Can I run out of disk space by creating a very large number of empty files? It is well-known that empty text files have zero bytes:    However, each of them contains , which according to my research, is stored in , and do use space.   Given this, it seems logical to me that it is possible to fill a disk by purely creating empty text files. Is this correct? If so, how many empty text files would I need to fill in a disk of, say, 1GB?    To do some checks, I run df -i but this apparently shows the % of inodes being used(?) rather than how much they weigh.  Filesystem             Inodes  IUsed    IFree IUse% Mounted on udev                   947470    556   946914    1% /dev tmpfs                  952593    805   951788    1% /run /dev/sda2            28786688 667980 28118708    3% / tmpfs                  952593     25   952568    1% /dev/shm tmpfs                  952593      5   952588    1% /run/lock tmpfs                  952593     16   952577    1% /sys/fs/cgroup /dev/sda1                   0      0        0     - /boot/efi tmpfs                  952593     25   952568    1% /run/user/1000 /home/lucho/.Private 28786688 667980 28118708    3% /home/lucho du wrongly reports empty directory I'm using these commands:    du -sh --apparent-size ./* du -sh ./*   both reporting:    4.0K    ./Lightroom_catalog_from_win_backup 432M    ./Lightroom catalog - wine_backup   while those directories contain:    $ll ./"Lightroom catalog - wine_backup" total 432M -rwxrwx--- 1 gigi gigi 432M Mar 18  2018 Lightroom 5 Catalog Linux.lrcat -rwxrwx--- 1 gigi gigi  227 Nov 21  2015 zbackup.bat $ll ./Lightroom_catalog_from_win_backup total 396M -rwxrwx--- 3 gigi gigi 396M Dec 17 09:35 Lightroom 5 Catalog Linux.lrcat -rwxrwx--- 3 gigi gigi  227 Dec 17 09:35 zbackup.bat   Why du is reporting 4.0K for ./Lightroom_catalog_from_win_backup and how could I make it to report correctly?  PS: other system information:    $stat --file-system $HOME   File: "/home/gigi"     ID: 5b052c62a5a527bb Namelen: 255     Type: ext2/ext3 Block size: 4096       Fundamental block size: 4096 Blocks: Total: 720651086  Free: 155672577  Available: 119098665 Inodes: Total: 183050240  Free: 178896289  $lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 16.04.5 LTS Release:        16.04 Codename:       xenial Show Previous/Next Posts navigation only inside the same category Is it possible to force previous/next navigation to browse through the posts (back and forth) that are only inside the same category (and to exclude other categories)? How to apply for a UK standard visitor visa as a family? Enable 'on the fly' CRS transformation in QGIS 3? Maybe this question is too obvious to everyone.      In Noetherian ring $R$, ideal $I\subset R$, $P\in\mathrm{Ass}(I)$, then $P=I:a$ for some $a\in R$ where $\mathrm{Ass}(I)$ denotes associated primes of $I$.   This is an exercise 8.29 in Gathmann's Commutative Algebra notes. I am supposed to find this statement obvious. However, up to now, I still did not find this statement obvious. Can someone explain intuitively why noetherianness here allows me removing radical $\sqrt{I:a}$ without going into details?  If $Q$ is a primary ideal of $I$, then certainly $\sqrt{Q:a}=P$ for $a\not\in P$. It seems taking $(p_1,\dots, p_n)=P$, $p_i^{n_i}a\in Q$. Since $Q$ primary, I must have $p_i\in Q$ and $p_i^{n_i}\in Q$. (This argument seems very wrong as this deduces the same conclusion without noetherian property.) Closed form for the sequence defined by $a_0=1$ and $a_{n+1} = a_n + a_n^{-1}$ Today, we had a math class, where we had to show, that $a_{100} &gt; 14$ for  $$a_0 = 1;\qquad a_{n+1} = a_n + a_n^{-1}$$  Apart from this task, I asked myself: Is there a closed form for this sequence? Since I didn't find an answer by myself, can somebody tell me, whether such a closed form exists, and if yes what it is? Let $x_1,...,x_n$ be distinct integers. Prove that  $$\prod_{i&lt;j} \frac{x_i-x_j}{i-j}\in \mathbb Z$$   I know there is a solution using determinant of a matrix, but I can't remember it now. Any help will be appreciated. Rewrite Sharepoint URL (Sharepoint 2013) I'd like to rewrite all my site urls in the way the the user can't figure out the exact name of the the page his viewing. let's say that my site is "www.justarandomsite.com"  and may page is "page.aspx" I' like to have instead of "www.justarandomsite.com/pages/page.aspx" sothing like this: "www.justarandomsite.com/skdhfjksdgfjksdgfjdsgvdjhsgfjdsdsjfgkdsjgfkdsgfjdsgfjkdsg" Why can't we downvote our own posts? Once in a blue moon, I've wanted the ability to downvote my own answer to some question.  ()  Obviously upvoting one's own posts is out of the question.  But down is different.  Voting my own answer down can help me improve the site by pushing my answer lower in the ranking than another answer with a better or more situation-appropriate alternative.  It's not something I'd do often, but I would use this feature if it were available.  If implemented, I'd expect this feature to operate just like downvotes on other user's posts.  That is:   I get a few seconds to undo the downvote;  I get to remove the downvote after an edit to the post;  I lose a point for placing the downvote (CW excepted); I lose two points for receiving the downvote (CW excepted).   If you're noticing that I'd lose 3 points for downvoting my own non-CW post, congratulations! You can add!  I can think of a couple of potential downsides to this change.  The first one may be a dealbreaker; the second is probably not that big a deal.   Strategic downvoting of oneself: since you can undo the vote after an edit, and you can always edit your own posts, someone could downvote themselves soon after posting (especially on a FGITW answer) to garner extra sympathy upvotes. Badge collecting: the Peer Pressure badge just got easier, because if you have a -2 score on an answer, just downvote and delete for an instant badge. Keras CNN with low/constant accuracies Package system is broken. How to fix it? I just recently bought an arduino and requires gcc-avr/avrdude to compile the software. I installed avr for another microprocessor component a while ago but is obviously an outdated version (gcc version 3.3 20030512 (prerelease)) so I went ahead to update these but it didn't work.   (Please note that before hand I also broke my aptdaemon through an incomplete wine installation (couldn't get passed font installation agreement) but I fixed that via a re-installation then accepting the agreement.)   I am trying to update these by running  but the dependencies it requires cannot be installed due to avr... terminal reports   Reading package lists... Done Building dependency tree        Reading state information... Done build-essential is already the newest version. libncurses5-dev is already the newest version. libncurses5-dev set to manually installed. libusb-0.1-4 is already the newest version. libx11-dev is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: arduino-core : Depends: gcc-avr but it is not going to be installed avr-libc : Depends: gcc-avr (&gt;= 1:4.3.4) but it is not going to be installed Depends: binutils-avr (&gt;= 2.20) but it is not going to be installed binutils-dev : Depends: binutils (= 2.21.0.20110327-2ubuntu3) but 2.21.0.20110327-2ubuntu2 is to be installed libcwidget-dev : Depends: libcwidget3 (= 0.5.16-3ubuntu2) but it is not going to be installed Depends: libsigc++-2.0-dev but it is not going to be installed Depends: libncursesw5-dev but it is not going to be installed libmpfr-dev : Depends: libgmp3-dev (&gt;= 4.2.dfsg-1) but it is not going to be installed python-dev : Depends: python (= 2.7.1-0ubuntu5.1) but 2.7.1-0ubuntu5 is to be installed Depends: python2.7-dev (&gt;= 2.7.1-1~) but it is not going to be installed tk8.4-dev : Depends: tk8.4 (= 8.4.19-4) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   But running   apt-get -f install   results in   (Reading database ... 163021 files and directories currently installed.) Unpacking binutils-avr (from .../binutils-avr_2.20.1-1ubuntu2_i386.deb) ... dpkg: error processing /var/cache/apt/archives/binutils-avr_2.20.1-1ubuntu2_i386.deb (--unpack): trying to overwrite '/usr/bin/avr-size', which is also in package avr-binutils 2.13.90.030512-2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Unpacking gcc-avr (from .../gcc-avr_1%3a4.3.5-1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/gcc-avr_1%3a4.3.5-1_i386.deb (--unpack): trying to overwrite '/usr/bin/avr-g++', which is also in package avr-gcc-c++ 3.2.90.20030512-2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/binutils-avr_2.20.1-1ubuntu2_i386.deb /var/cache/apt/archives/gcc-avr_1%3a4.3.5-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   I have tried running update manager and updating my system via it but all I get is an error message  The following packages have unmet dependencies: arduino-core: Depends: gcc-avr but it is not installed avr-libc: Depends: gcc-avr (&gt;= 1:4.3.4) but it is not installed Depends: binutils-avr (&gt;= 2.20) but it is not installed   which then tells me to try running apt-get -f install which just results the same as last time.  So how can I fix my system, I really need the new avr, please :) BTW, my system is Ubuntu 11.04 Stop Mathematica from giving imaginary solutions I need a regular expression to select all the text between two outer brackets.  Example: some text(text here(possible text)text(possible text(more text)))end text  Result: (text here(possible text)text(possible text(more text))) Drush PHP syntax error when running I am following the instructions to install Drush that are listed on this page:   I seem to be getting a syntax error within the code:  [user@localhost ~]$ wget https://github.com/drush-ops/drush/releases/download/8.0.0-rc4/drush.phar --2015-11-16 16:23:02--  https://github.com/drush-ops/drush/releases/download/8.0.0-rc4/drush.phar Resolving github.com (github.com)... 192.30.252.131 Connecting to github.com (github.com)|192.30.252.131|:443... connected. HTTP request sent, awaiting response... 302 Found 2015-11-16 16:23:05 (1.47 MB/s) - drush.phar saved [3496991/3496991]  [user@localhost ~]$ php drush.phar core-status  Parse error: syntax error, unexpected '[' in phar:///home/user/drush.phar/includes/output.inc on line 188   I am not seeing this error on Google. Any idea how to fix it? How to install with Wubi when it says "Could not retrieve the required disk image files"? I tried to install Ubuntu 12.10 with the Wubi installer while running Windows, because my PC does not accept my BootCD as a bootable medium.  But Wubi showed me this error:  Ubuntu-Installationsprogramm (X) Ein Fehler ist aufgetreten: Could not retrieve the required disk image files Weiter Informationen finden Sie in der Protokolldatei: c:\users\username\appdata\local\temp\wubi-12.10-rev273.log   What can I do, because I want to get rid of my Windows 7 and use the way better Ubuntu 12.10?  Thanks for your huge answer, now my next problem after trying to install wubi with the .iso is, that the same error shows up again and i am not shure which part of the errorreport you need.  Can you tell me? Because i'm not that good at linux. Checking if Ubuntu package contains desired update Recovering the data from a failed WD My Book NAS drive My Western Digital 500GB NAS drive (which is my main backup device) has recently broken. Windows can no longer use it as a network drive (using Map Network Drive), and the web-based control panel is INCREDIBLY sluggish, taking as much as 5 minutes to load a single page.  However, when it does load, it reports the Drive Status as OK, and has the correct disk usage values, which leads me to think the actual drive is OK, and it's the networking components that have failed.  I have checked the wires and router, and so it their isn't another point in the network causing the problem.  Is there any way to get the data back? It's a backup, so I still have about 80% of the data spread out across 3 computers (the only major loss being my music library, and I have the discs for a fair proportion of that).  However, it'd be much more convenient if I can get the data from the drive itself, as it is organised properly on the drive. Why can't I set a default output audio device in Ubuntu 19.10?