View previous topic :: View next topic |
Author |
Message |
xlekox n00b
Joined: 29 Feb 2004 Posts: 12
|
Posted: Thu Sep 09, 2004 2:53 pm Post subject: |
|
|
Thanks
Here it worked too |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Thu Sep 09, 2004 3:04 pm Post subject: |
|
|
brandi wrote: | nice. and what about selinux and hardened profiles? |
Have a look in /usr/portage/profiles...
These are the relevant profiles that I can see:
- hardened:
- hardened-amd64-2004.0
- hardened-x86-1.4
- hardened-x86-2004.0
- selinux:
- selinux-ppc-1.4
- selinux-sparc64-1.4
- selinux-x86-1.4
_________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
brandi Tux's lil' helper
Joined: 18 Jan 2004 Posts: 83 Location: Vienna
|
Posted: Thu Sep 09, 2004 3:09 pm Post subject: |
|
|
Maedhros wrote: | brandi wrote: | nice. and what about selinux and hardened profiles? |
Have a look in /usr/portage/profiles...
These are the relevant profiles that I can see:
- hardened:
- hardened-amd64-2004.0
- hardened-x86-1.4
- hardened-x86-2004.0
- selinux:
- selinux-ppc-1.4
- selinux-sparc64-1.4
- selinux-x86-1.4
|
yep, i know that. but there should be a selinux-x86-2004.1 as it is under /usr/portage/profiles/selinux/2004.1/x86/ |
|
Back to top |
|
|
Xk2c Apprentice
Joined: 17 Jul 2004 Posts: 240
|
|
Back to top |
|
|
Xk2c Apprentice
Joined: 17 Jul 2004 Posts: 240
|
Posted: Thu Sep 09, 2004 3:24 pm Post subject: |
|
|
from bug:
Quote: | or most people, just remove /usr/portage/profiles/base/make.defaults and this should go away
for amd64 users, make sure you only have 1 make.defaults in your stacking profile path
i'll fix this up in cvs |
_________________ useful Xterm, Aterm and RXVT-Unicode features |
|
Back to top |
|
|
Kuhrscher Guru
Joined: 29 Dec 2003 Posts: 498 Location: Hamburg, Germany
|
Posted: Thu Sep 09, 2004 9:07 pm Post subject: |
|
|
Ahhh, it's fixed. I just tried to removed "/usr/portage/profiles" and did an "emerge sync" and the problem is gone |
|
Back to top |
|
|
LordPov n00b
Joined: 23 May 2004 Posts: 18 Location: Sydney, Australia
|
Posted: Fri Sep 10, 2004 12:28 am Post subject: |
|
|
Yep, I'm working too =)
I just did an 'rm -f /usr/portage/profiles/base/make.defaults'.
Just re-sync'ed then, and there seems to be an update for portage =) |
|
Back to top |
|
|
Tlvenn n00b
Joined: 27 Jun 2003 Posts: 18
|
Posted: Thu Dec 02, 2004 11:23 pm Post subject: |
|
|
Using amd64 and did the following : Code: | rm /etc/make.profile && ln -s /usr/portage/profiles/default-amd64-2004.2 /etc/make.profile | Now, emerge want to downgrade my gcc 3.4.x to gcc 3.3.x, how i can fix this ?
Thanks in advance |
|
Back to top |
|
|
Bernhard n00b
Joined: 12 Jul 2004 Posts: 21
|
Posted: Sat Jul 23, 2005 12:24 pm Post subject: |
|
|
Hey,
problem isn´t solved for me.
I tried symlinking make.profile to all kind of different profiles, doesn´t help, I deleted /usr/portage/profile, emerge-websynced, tried to sync, nothing: Error is still here:
Quote: |
wrote 3908781 bytes read 18840 bytes 8547.60 bytes/sec
total size is 93771203 speedup is 23.87
*** Completed websync, please now perform a normal rsync if possible.
Update is current as of the of YYMMDD: 20050722
root@host # emerge portage -pv
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
root@host # emerge sync
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
|
Any ideas left? _________________ Bernhard Boxhorn |
|
Back to top |
|
|
2weistein n00b
Joined: 22 Sep 2004 Posts: 10
|
Posted: Sat Jul 23, 2005 3:18 pm Post subject: |
|
|
Hi,
i got the identical problem like Bernhard.
My Gentoo installation is one year old and uses the profile gcc34-amd64-2004.1. Until few days ago i had no internet and so i couldnt upgrade. I read that gcc34-amd64 is deprecated, but after a "emerge sync" there isnt the fixing profile default-amd64... Is this deprecated, too?
I tried all profiles in default-linux/amd64/ but with all this profiles i get the message, which Bernhard got:
Code: |
root@host # emerge portage -pv
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
|
What can I do now? |
|
Back to top |
|
|
djmayo n00b
Joined: 05 Aug 2004 Posts: 4 Location: Bath, UK
|
Posted: Tue Aug 16, 2005 8:57 pm Post subject: |
|
|
Hi guys,
Just came across this problem over the weekend after I did 'emerge sync' after quite a long time of inactivity on my Linux box. None of the proposed solutions helped me either but there was a reference in the bug report (quoted in this thread) about linking make.profile to the 'hardened' set of profiles, aka:
rm /etc/make.profile
ln -s /usr/portage/profiles/hardened/x86/2.6 /etc/make.profile
I tried this even though I'm not running SELINUX. I also deleted /usr/portage/profiles/base/make.defaults and was able to do 'emerge portage'.
I've now swapped my profile back to the 2005.0 profile and it all seems to be working fine again. Now to run a full update and see what happens.....
David, Bath/UK |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Aug 30, 2005 9:18 pm Post subject: |
|
|
The non-cascading profiles are now in /usr/portage/profiles/obselete. Just change the /etc/make.profile symlink to the profile suitable for your architecture, upgrade portage to 2.0.51, and change the profile back. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
shipwright n00b
Joined: 17 Nov 2004 Posts: 1
|
Posted: Thu Sep 01, 2005 3:10 pm Post subject: That did it for me |
|
|
Thank you!
Maedhros wrote: | The non-cascading profiles are now in /usr/portage/profiles/obselete. Just change the /etc/make.profile symlink to the profile suitable for your architecture, upgrade portage to 2.0.51, and change the profile back. |
_________________ --
Greg Brennan | Shipwright Consulting Corp.
www.shipwright.net | greg@shipwright.net | (540)948-6955
Member:Usenix System Administrators Guild
(http://www.usenix.org/sage) |
|
Back to top |
|
|
sagio n00b
Joined: 28 Oct 2005 Posts: 4
|
Posted: Mon Oct 31, 2005 5:51 pm Post subject: |
|
|
2weistein wrote: | Hi,
i got the identical problem like Bernhard.
My Gentoo installation is one year old and uses the profile gcc34-amd64-2004.1. Until few days ago i had no internet and so i couldnt upgrade. I read that gcc34-amd64 is deprecated, but after a "emerge sync" there isnt the fixing profile default-amd64... Is this deprecated, too?
I tried all profiles in default-linux/amd64/ but with all this profiles i get the message, which Bernhard got:
Code: |
root@host # emerge portage -pv
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
|
What can I do now? |
Hi all. I have same problem also.
after all step of instalation [see prefious topic "emerge sudo"]
1. rm /etc/make.profile
rm -Rf /usr/portage/
2. wget ftp://mirror.pudas.net/gentoo/snapshots/portage-20051020.tar.bz2
3. cd /usr/
tar -zjvf portage-20051020.tar.bz2
4. ln -s /usr/portage/profiles/default-linux/x86/2005.1/ /etc/make.profile
5. # emerge sudo
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
I decided run emerge sync and get next trouble:
rsync: read error: Connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at io.c(201)
rsync: connection unexpectedly closed (3056528 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
!!! Rsync has not successfully finished. It is recommended that you keep
!!! trying or that you use the 'emerge-webrsync' option if you are unable
!!! to use rsync due to firewall or other restrictions. This should be a
!!! temporary problem unless complications exist with your network
!!! (and possibly your system's filesystem) configuration. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Mon Oct 31, 2005 6:44 pm Post subject: |
|
|
See my earlier post. You're using a version of portage that is too old to understand the default-linux/x86/2005.1 profile, so you have to use an old profile and then update portage before using the 2005.1 profile. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
sagio n00b
Joined: 28 Oct 2005 Posts: 4
|
Posted: Tue Nov 01, 2005 6:25 pm Post subject: |
|
|
Maedhros wrote: | The non-cascading profiles are now in /usr/portage/profiles/obselete. Just change the /etc/make.profile symlink to the profile suitable for your architecture, upgrade portage to 2.0.51, and change the profile back. |
Hello.
I have make such steps:
1. ln -s /usr/portage/profiles/obsolete/ /etc/make.profile
2. emerge sync
3. And got :
>>> Updating Portage cache... ...done!
Performing Global Updates: /usr/portage/profiles/updates/4Q-2005
(Could take a couple 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'
* 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.
What shell i do next? |
|
Back to top |
|
|
Azzerhoden n00b
Joined: 07 Nov 2004 Posts: 11
|
Posted: Thu Jan 12, 2006 8:31 pm Post subject: |
|
|
I am also having trouble with this. Started when I was running emerge sync.
Received the ARCH warning about make.profile being broke
Found this thread, read through the information, set make.profile to point to /usr/portage/profiles/default-linux/x86/2005.1
Ran emerge sync again, received an error suggesting I try to run rm -Rf on profiles, and attempt to emerge sync again.
Did so, appears it works, and at the very end gives me the following:
-----------------------
>>> Updating Portage cache... ...done!
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
---------------------------
Tried to run this a second time, received (amoung other output):
-----------------------------
receiving file list ...
1 file to consider
Number of files: 1
Number of files transferred: 0
Total file size: 32 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 32
Total bytes written: 206
Total bytes read: 461
wrote 206 bytes read 461 bytes 444.67 bytes/sec
total size is 32 speedup is 0.05
>>>
>>> SERVER OUT OF DATE: rsync://134.68.220.73/gentoo-portage
>>>
* 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.
-----------------------
Following the instructions elsewhere on this site, I tried the following:
# emerge-webrsync
shell-init: could not get current directory: getcwd: cannot access parent direct
ories: No such file or directory
chdir: could not get current directory: getcwd: cannot access parent directories
: No such file or directory
Fetching most recent snapshot
Syncing local tree...
--------------------------
And it is just sitting there. I'm going to go ahead and post this info and search the forums for more info, and will update this when/if i find something. However, please point out somethign I am missing, as I'm sure is the case........ |
|
Back to top |
|
|
Azzerhoden n00b
Joined: 07 Nov 2004 Posts: 11
|
Posted: Thu Jan 12, 2006 8:50 pm Post subject: |
|
|
OK. It finally came back and updated the system. Finished with:
------------------------------
*** Completed websync, please now perform a normal rsync if possible.
Update is current as of the of YYMMDD: 20060111
------------------------------
However, runnign emerge sync produced the same error message again:
---------------------------
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
----------------------------
So I followed the advise and tried 'rm -Rf /usr/portage/profiles; emerge sync' again.
It ran through the update/sync process again, and am now in a loop it appears
---------------------------
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
----------------------------
So, any thoguhts on what I should do at this point? |
|
Back to top |
|
|
Azzerhoden n00b
Joined: 07 Nov 2004 Posts: 11
|
|
Back to top |
|
|
chieuphu Tux's lil' helper
Joined: 11 Aug 2004 Posts: 131
|
Posted: Fri Jun 02, 2006 3:53 pm Post subject: emerge error |
|
|
I got this error when I try to emerge. Please help
Code: |
emerge --pretend openssl ~
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
|
I already tried to do rm and emerge sync. |
|
Back to top |
|
|
phajdan.jr Retired Dev
Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Fri Jun 02, 2006 4:12 pm Post subject: |
|
|
Do you use unstable/patched portage? Looks like a bug. |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
chieuphu Tux's lil' helper
Joined: 11 Aug 2004 Posts: 131
|
Posted: Fri Jun 02, 2006 4:31 pm Post subject: |
|
|
_ph wrote: | Do you use unstable/patched portage? Looks like a bug. |
I did the rm and emerge sync again. Now I still have the error but have nothing in my /usr/portage/profiles. What should I do now? |
|
Back to top |
|
|
selim Apprentice
Joined: 14 Apr 2004 Posts: 219
|
Posted: Sun Sep 10, 2006 3:29 pm Post subject: |
|
|
I have the same problem now but I can't go back to an older profile cause there is no one anymore.
Someone any idea how I can fix this problem, I've thought about installing the latest portage snapshot but I'm not sure if this will work cause all the installed packages could be deleted, so I had to reinstall all dependencies again. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sun Sep 10, 2006 3:38 pm Post subject: |
|
|
You should be able to find an old profile in /usr/portage/profiles/obselete. If not, which profile are you upgrading from? _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
|