Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge portage fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fredman
n00b
n00b


Joined: 13 Nov 2005
Posts: 8
Location: Austria

PostPosted: Wed Oct 22, 2008 1:25 pm    Post subject: emerge portage fails Reply with quote

Hi,
Didn't update my machine for 6 months.
Now, I cannot emerge portage.
portage-2.1.4.4 is installed, but I cannot reinstall it or emerge portage-2.1.4.5.
Can anybody help me with the error messages? I am quite a noob.

This is the info in the shell:
./usr/sbin/quickpkg
./usr/sbin/regenworld
./usr/sbin/update-env
./usr/sbin/update-etc
>>> Done.
* checking 543 files for package collisions
>>> Merging sys-apps/portage-2.1.4.5 to /
--- /etc/
>>> /etc/etc-update.conf
>>> /etc/dispatch-conf.conf
>>> /etc/make.globals
>>> /etc/make.conf.example
--- /etc/logrotate.d/
>>> /etc/logrotate.d/elog-save-summary
--- /etc/portage/
!!! Failed to chown/chmod/unlink in movefile()
!!! /etc/portage/.keep_sys-apps_portage-0
!!! [Errno 1] Operation not permitted: '/etc/portage/.keep_sys-apps_portage-0'

This says /var/log/emerge.log:
1224681608: Started emerge on: Oct 22, 2008 15:20:08
1224681608: *** emerge --buildpkg portage
1224681610: >>> emerge (1 of 1) sys-apps/portage-2.1.4.5 to /
1224681610: === (1 of 1) Cleaning (sys-apps/portage-2.1.4.5::/usr/portage/sys-apps/portage/portage-2.1.4.5.ebuild)
1224681610: === (1 of 1) Compiling/Packaging (sys-apps/portage-2.1.4.5::/usr/portage/sys-apps/portage/portage-2.1.4.5.ebuild)
1224681628: === (1 of 1) Merging (sys-apps/portage-2.1.4.5::/usr/portage/sys-apps/portage/portage-2.1.4.5.ebuild)
1224681630: *** terminating.
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Wed Oct 22, 2008 1:27 pm    Post subject: Reply with quote

Post the output of:
Code:
ls -l /etc/portage/.keep_sys-apps_portage-0
lsattr /etc/portage/.keep_sys-apps_portage-0
Back to top
View user's profile Send private message
fredman
n00b
n00b


Joined: 13 Nov 2005
Posts: 8
Location: Austria

PostPosted: Wed Oct 22, 2008 1:32 pm    Post subject: Reply with quote

Code:

 ~ $ ls -l /etc/portage/.keep_sys-apps_portage-0
-rw-rw-rw- 1 32766 root 0 2008-10-22 15:20 /etc/portage/.keep_sys-apps_portage-0

 ~ $ lsattr /etc/portage/.keep_sys-apps_portage-0
lsattr: Invalid argument While reading flags on /etc/portage/.keep_sys-apps_portage-0
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Wed Oct 22, 2008 1:39 pm    Post subject: Reply with quote

Try:
Code:
chattr -i /etc/portage/.keep_sys-apps_portage-0
rm -fr /etc/portage/.keep_sys-apps_portage-0
Back to top
View user's profile Send private message
fredman
n00b
n00b


Joined: 13 Nov 2005
Posts: 8
Location: Austria

PostPosted: Wed Oct 22, 2008 1:44 pm    Post subject: Reply with quote

Code:

chattr -i /etc/portage/.keep_sys-apps_portage-0
chattr: Invalid argument while reading flags on /etc/portage/.keep_sys-apps_portage-0

...and thanks for your help.
Still cannot emerge portage.
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Wed Oct 22, 2008 1:47 pm    Post subject: Reply with quote

Try:
Code:
touch /forcefsck
reboot
Back to top
View user's profile Send private message
fredman
n00b
n00b


Joined: 13 Nov 2005
Posts: 8
Location: Austria

PostPosted: Wed Oct 22, 2008 2:01 pm    Post subject: Reply with quote

it didn't work, still the same messages

I have the same problem with: emerge busybox

Code:

./usr/share/doc/busybox-1.11.1/bootfloppy/bootfloppy.txt.bz2
>>> Done.
* checking 40 files for package collisions
>>> Merging sys-apps/busybox-1.11.1 to /
--- /etc/
--- /etc/portage/
--- /etc/portage/savedconfig/
--- /etc/portage/savedconfig/sys-apps/
!!! copy /var/tmp/portage/sys-apps/busybox-1.11.1/image/etc/portage/savedconfig/sys-apps/busybox-1.11.1 -> /etc/portage/savedconfig/sys-apps/._cfg0002_busybox-1.11.1 failed.
!!! [Errno 110] Connection timed out
Back to top
View user's profile Send private message
qbic2005
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2005
Posts: 81
Location: Belgium

PostPosted: Wed Oct 22, 2008 2:24 pm    Post subject: Reply with quote

gentoo wiki and main repo's are down, that's probably youre problem??

check this site for the explanation :?
http://gentoo-wiki.com/

I heard that you can give portage another installation source, so try to set a mirror, I believe you can find how in the install guide of gentoo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum