A PCRE internal error occured. This might be caused by a faulty plugin

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install:base-lmde2:upgrade-from-lmde1 [2015/07/24 05:39]
admin [Desktop Environment]
install:base-lmde2:upgrade-from-lmde1 [2015/11/18 13:59] (current)
admin [Settings and Personal Data]
Line 6: Line 6:
 > //Is there all that much value in an upgrade? With a separate home partition, and a list of installed packages (`dpkg --get-selections > installed_packages.txt`) I can have a clean install up-to-speed in a hour or so; I can't help feeling that this would take longer and be more likely to throw up issues I'd have to dig into. Just throwing it out there as an option some folk might consider, if they'​ve not already.// > //Is there all that much value in an upgrade? With a separate home partition, and a list of installed packages (`dpkg --get-selections > installed_packages.txt`) I can have a clean install up-to-speed in a hour or so; I can't help feeling that this would take longer and be more likely to throw up issues I'd have to dig into. Just throwing it out there as an option some folk might consider, if they'​ve not already.//
  
-The reflection it brought me is as follow:\\+The reflection it brought me to was:\\
 After about two years of happily using LMDE, my system is still running smoothly. Although I know that, here and there, scattered around my system, are some //garbage// files that I might as well seize the opportunity to get rid of ! After about two years of happily using LMDE, my system is still running smoothly. Although I know that, here and there, scattered around my system, are some //garbage// files that I might as well seize the opportunity to get rid of !
  
Line 111: Line 111:
 UUID=2d265aa6-e56c-481c-a44e-5e5d69f4cd39 ​      /​home ​  ​ext4 ​   defaults ​       0       1 UUID=2d265aa6-e56c-481c-a44e-5e5d69f4cd39 ​      /​home ​  ​ext4 ​   defaults ​       0       1
 </​code>​ </​code>​
 +
 +To apply the changes made to /etc/fstab it's recommended to reboot ​ (as your /home directory is concerned).
  
 It is always safer to reference your partition using their UUID, this avoids any possible confusion in case your hard drive would get mounted under another reference. This is particularly true when using external USB devices.\\ It is always safer to reference your partition using their UUID, this avoids any possible confusion in case your hard drive would get mounted under another reference. This is particularly true when using external USB devices.\\
Line 169: Line 171:
 This may take a while depending on the volume of the **/home** directory, but you'll end up having a copy of it on your future LMDE 2 hard disk. This may take a while depending on the volume of the **/home** directory, but you'll end up having a copy of it on your future LMDE 2 hard disk.
  
 +To deactivate a LVM2 physical volume and remove the drive
 +<​code>​
 +> sudo umount /tmp/home2
 +> sudo lvchange -an </​dev/​vg00>​
 +> sudo vgchange -an <​vg00>​
 +</​code>​
 +
 +If you also want to remove the device maps you can use
 +<​code>​
 +> dmsetup ls
 +> sudo dmsetup remove <​name>​
 +</​code>​
 ---- ----
 ===== LMDE 2 Installation ===== ===== LMDE 2 Installation =====
Line 197: Line 211:
  
 If you need to switch the **/home** partition, edit your **/​etc/​fstab** as [[#​settings_and_personal_data| described earlier]]. If you need to switch the **/home** partition, edit your **/​etc/​fstab** as [[#​settings_and_personal_data| described earlier]].
 +
 +----
 +==== Switch Repos ====
 +
 +The defaults Linux Mint repos are pointing to the US servers, depending on your geographical location, it might be of interest to switch for better performing ones. To do this simply open the **Software Manager** app, then select the **Edit > Software Sources** menu.
 +
 +You'll see two main entries, one for **"​Main (betsy)"​**,​ one for **Base (jessie)**. They respectively point to http://​packages.linuxmint.com and http://​ftp.us.debian.org/​debian. Click on each of these references and select the best performing mirror for your location.
  
 ---- ----
Line 202: Line 223:
 ---- ----
  
-As explained at the beginning of this article, the objective here is **not to blindly re-install everything** that was present in my previous install. What want is to operate a **selective reinstall** of only the pieces of software that need in my new system.+As explained at the beginning of this article, the objective here is **not to blindly re-install everything** that was present in previous install. What we want is to operate a **selective reinstall** of only the pieces of software that we need in our new system.
  
 To do so, we'll **compare the fresh LMDE 2 installed packages list** with my **old system'​s installed packages list**. Considering we followed the previously described way of [[#​installed_packages|exporting your system'​s installed packages, sources and keys]], we'll now compare those to the ones from our fresh LMDE 2. To do so, we'll **compare the fresh LMDE 2 installed packages list** with my **old system'​s installed packages list**. Considering we followed the previously described way of [[#​installed_packages|exporting your system'​s installed packages, sources and keys]], we'll now compare those to the ones from our fresh LMDE 2.
Line 228: Line 249:
 ---- ----
 ==== Restore "​old"​ keys ==== ==== Restore "​old"​ keys ====
 +
 +To avoid the burden of restoring each repo keys individually,​ we'll add them from our LMDE 1 saved file:
  
 <​code>​ <​code>​
Line 337: Line 360:
 <color chocolate>​**Spotify**</​color>​ <color chocolate>​**Spotify**</​color>​
  
-Add to: **/​etc/​apt/​sources.list.d/​spotify.list**+Create source repo reference: **/​etc/​apt/​sources.list.d/​spotify.list**
 <​code>​ <​code>​
 # Spotify # Spotify
-deb http://​repository.spotify.com testing non-free+> sudo sh -c 'echo "deb http://​repository.spotify.com testing non-free" >> /​etc/​apt/​sources.list.d/​spotify.list'​
 </​code>​ </​code>​
 **note**: we are using the "​testing"​ repo as, today (2015.07.23),​ the "​stable"​ version of spotify-client is not compatible with Debian 8 Jessie. **note**: we are using the "​testing"​ repo as, today (2015.07.23),​ the "​stable"​ version of spotify-client is not compatible with Debian 8 Jessie.