View previous topic :: View next topic |
Author |
Message |
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Sun Dec 03, 2006 8:16 pm Post subject: ARCH is not set |
|
|
I've been bad. I haven't been keeping one of my PCs upto date.
I just did an with the aim of doing a complete Code: | emerge -aDuvn world | for the first time in more than a year and I got the normal messages about updating to the latest portage:
Code: | Performing Global Updates: /usr/portage/profiles/updates/4Q-2006
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
.................
* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.
* Please do so and then update ALL of your configuration files.
gamma ~ # emerge -pv portage
These are the packages that I would merge, in order:
!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete? |
I'm not missing the symlink:
Code: | gamma ~ # ls -la /etc/make.profile
lrwxrwxrwx 1 root root 48 Jun 6 2005 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2005.0 |
However, the file/directory that the link links to, "/usr/portage/profiles/default-linux/x86/2005.0", isn't there anymore:
Code: | gamma ~ # ls -la /usr/portage/profiles/default-linux/x86/
total 76
drwxr-xr-x 10 portage portage 4096 Dec 2 21:37 .
drwxr-xr-x 15 portage portage 4096 Oct 27 19:06 ..
drwxr-xr-x 3 root root 4096 Dec 2 21:37 2005.1
drwxr-xr-x 2 root root 4096 Oct 28 08:36 2006.0
drwxr-xr-x 4 root root 4096 Aug 30 14:36 2006.1
-rw-r--r-- 1 root root 8332 Nov 23 06:06 ChangeLog
drwxr-xr-x 3 root root 4096 Dec 2 21:37 dev
drwxr-xr-x 2 portage portage 4096 Oct 28 08:36 gcc2
-rw-r--r-- 1 root root 839 Sep 6 00:37 make.defaults
drwxr-xr-x 3 root root 4096 Nov 29 16:06 no-nptl
-rw-r--r-- 1 root root 180 Oct 23 14:06 package.use.mask
-rw-r--r-- 1 portage portage 563 Apr 28 2005 packages
-rw-r--r-- 1 root root 3 Dec 2 2005 parent
-rw-r--r-- 1 root root 1122 Aug 23 16:06 use.mask
-rw-r--r-- 1 root root 402 Feb 23 2006 virtuals
drwxr-xr-x 3 root root 4096 Sep 25 02:36 vserver
drwxr-xr-x 2 portage portage 4096 Oct 28 08:36 xbox |
Since it's been so long since my last upgrade am I safe to simply point /etc/make.profile to /usr/portage/profiles/default-linux/x86/2006.1 and then continue as normal or do I have to do something more drastic?
Please let me know,
Thanks in advance!
Ben _________________ Free Question Answerer |
|
Back to top |
|
|
Evileye l33t
Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Sun Dec 03, 2006 8:17 pm Post subject: |
|
|
Warning...
I did an update after about 4 months and it broke everything and I needed to do a fresh install so backup your data before attempting this. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Dec 03, 2006 8:20 pm Post subject: |
|
|
ben_dash,
You have the symlink but theres nothing on the end of it. The 2005.0 profile has been removed.
Change the symlink to point to one of the 2006.1 profiles. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Sun Dec 03, 2006 8:23 pm Post subject: |
|
|
I think that it's pretty much going to be a full stage 2 install at this point, since I'm sure that everything has new versions, but thanks for the warning
Any advice on how to do it without hosing it all up? _________________ Free Question Answerer |
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Sun Dec 03, 2006 8:27 pm Post subject: |
|
|
My plan was to change the symlink, but I just wanted to confirm that I wasn't heading for disaster by neglecting to do anything else before.
If I only need to change the symlink I'll backup the data and go for it, thanks! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Dec 03, 2006 8:41 pm Post subject: |
|
|
ben_dash,
Fix your profile symlink.
Find out what version of portage you have and put in in /etc/portage/package.mask as Code: | >[group]/portage-[ver] | so portage does not update yet.
Do Code: | emerge system -uDNav | say Y if the flags look OK for you.
Remove portage from /etc/portage/package.mask
now do Code: | emerge world -uDNav |
I suspect you will have a lot of blockers (Xorg related), you will need to update gcc and glibc too. There are guides at http://www.gentoo.org/doc/en/list.xml to deal with those issues. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|