You are not logged in.

#1 2011-12-29 13:33:59

NaX_sa
Member
From: South Africa
Registered: 2010-12-18
Posts: 12

Upgrading after long gap or try something new?

Hi

I have been running arch for about a year now and was able to keep up with updates without to much hassle until a few months ago. I was very busy with work and never found the time to update my laptop. Its now the holidays and I have some time to get my system back up to date and I am looking for advice on the following two options.

A. Upgrade existing Arch install
B. Install Chakra 2011.12 (x86_64), trying to preserve /home

My current system is a Core i7, Kernel 2.6.38-pae i686, primary desktop KDE 4.6.3

I find Chakra interesting and possible a little less effor to maintain and I am considering giving it a try, but would like to hopeful preserve my /home directory. My only concern with this option is that if I move again I would like to move to x86_64 and my current system is i686. Does anybody know any potential problems that could occur with this kind of move.

Upgrading Arch would seem the simplest option except its a big jump to upgrade. From what I have read I have a few things to sort out with regards to Arch changes and its a major KDE version jump that I have read can also be a little problematic.

A Kmail2 migration is also something that I have to deal with regardless of what distro I decide to move to. I dont know yet if I am going to stick with Kmail yet.

The notes I have made about upgrading Arch are as follows:

The command I normally use to update my system is

yaourt -Syu --aur

I have done a full back of my personal files, does anybody have any opinions or suggestions?

Offline

#2 2011-12-29 15:35:39

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: Upgrading after long gap or try something new?

What about reinstall Arch but this time using the x86_64 version? you'll keep your home folder without any need to change configurations and your system will be fully updated

You can also keep a list of your currently installed repo and AUR packages using pacman -Q and pacman -Qm (the first contains both) and that way install the same software

Last edited by ethail (2011-12-29 15:37:23)


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#3 2011-12-29 17:25:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,203

Re: Upgrading after long gap or try something new?

Or just update Arch.  If something goes awry, then make up your mind. 

I think it will go just fine...


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2011-12-29 17:47:52

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Upgrading after long gap or try something new?

If you try to update Arch then read Arch anouncements so you will not brake your system. Take into considerations all announcement to the date you last upgraded your system.

You can go to x86_64 but it would be better to just reinstall the system. Look herea for migrating to other architecture:
https://wiki.archlinux.org/index.php/Mi … installing


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#5 2011-12-29 21:31:22

NaX_sa
Member
From: South Africa
Registered: 2010-12-18
Posts: 12

Re: Upgrading after long gap or try something new?

When I first setup Arch I spent a lot of time learning and trying different things and read a lot of wiki docs, and I enjoyed building my system but I dont really want to do that all over again, not at the moment. I understand there are things you can do to make it easier like exporting a package list, but a re-install is not something I want to tackle now. @Shark thanks for the link I will bookmark this and keep it in mind down the road.

For the moment I am leaning towards update my current Arch setup and if that goes horribly wrong and I need to re-install I will consider looking around at things like Chakra or re-installing Arch x86_64.

I am currently documenting a upgrade path that I will run tomorrow and I am not 100% sure what order I should run things. Any suggestions.

I am currently think of the following based on the announcements made over the last few months:

# sudo rm /etc/profile.d/locale.sh
# sudo pacman -S filesystem --force
# yaourt -Syu --aur
# sudo pacman -S inetutils
# sudo rm -rf /var/tmp/kdecache-*
# sudo rm -rf /tmp/kde-*

Followed by updating my bootloader to point to re-named kernel filenames. I also still need to check if I don't already have inetutils installed.
Then reboot and hope for the best.

I have a feeling I should probably try to update pacman first and maybe yaourt as well, but I also assume if it is needed then they will tell me like in the past when doing updates.
I also think this is going to be a big upgrade, a good few GB of downloading.

Offline

#6 2011-12-29 22:15:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,203

Re: Upgrading after long gap or try something new?

The plan looks reasonable.  Perhaps step 0. should be pacman -Sy so all your indexes are up to date before you start.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2011-12-31 14:58:49

Potomac
Member
Registered: 2011-12-25
Posts: 528

Re: Upgrading after long gap or try something new?

ewaller wrote:

The plan looks reasonable.  Perhaps step 0. should be pacman -Sy so all your indexes are up to date before you start.

step 0 "pacman -Sy" is probably required before upgrading filesystem, otherwise an error will appear ( pacman will try to reinstall filesystem 2010 version instead of the 2011 version if we don't do the "pacman -Sy" before )

Last edited by Potomac (2011-12-31 15:02:09)

Offline

#8 2012-01-04 23:13:22

NaX_sa
Member
From: South Africa
Registered: 2010-12-18
Posts: 12

Re: Upgrading after long gap or try something new?

I thought I should give some feed back on how it all turned out.

Well it was a very long process to upgrade Arch. It was almost 2G of packages that needed to be downloaded but, the biggest problem ended up being disk space. I did not notice I was running very low on my root partition. So I booted Parted Magic and used Gparted to resize my home to give my root more space. This took very long over 13 hours, mostly because I had to move my home partition's start point. I am very glad this worked, doing things like this makes me nervous.

The rest was a long process of getting lots of little things to work again and sorting out all the pacnew files and config changes. Major items being my wireless, PAE kernel and email. I ended up moving to Thunderbird with the help of a script I found called kmail2thunder.py. The kernel version number change to 3.x seemed to impact on a lot of things for some reason. I think its also to be expected when you jump so many kernel versions.

Happy new years and thanks for the advice.

Offline

Board footer

Powered by FluxBB