View previous topic :: View next topic |
Author |
Message |
fredman n00b
Joined: 13 Nov 2005 Posts: 8 Location: Austria
|
Posted: Wed Oct 22, 2008 1:25 pm Post subject: emerge portage fails |
|
|
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 |
|
|
Arfrever Bodhisattva
Joined: 29 Apr 2006 Posts: 2463 Location: 異世界
|
Posted: Wed Oct 22, 2008 1:27 pm Post subject: |
|
|
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 |
|
|
fredman n00b
Joined: 13 Nov 2005 Posts: 8 Location: Austria
|
Posted: Wed Oct 22, 2008 1:32 pm Post subject: |
|
|
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 |
|
|
Arfrever Bodhisattva
Joined: 29 Apr 2006 Posts: 2463 Location: 異世界
|
Posted: Wed Oct 22, 2008 1:39 pm Post subject: |
|
|
Try: Code: | chattr -i /etc/portage/.keep_sys-apps_portage-0
rm -fr /etc/portage/.keep_sys-apps_portage-0 |
|
|
Back to top |
|
|
fredman n00b
Joined: 13 Nov 2005 Posts: 8 Location: Austria
|
Posted: Wed Oct 22, 2008 1:44 pm Post subject: |
|
|
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 |
|
|
Arfrever Bodhisattva
Joined: 29 Apr 2006 Posts: 2463 Location: 異世界
|
Posted: Wed Oct 22, 2008 1:47 pm Post subject: |
|
|
Try: Code: | touch /forcefsck
reboot |
|
|
Back to top |
|
|
fredman n00b
Joined: 13 Nov 2005 Posts: 8 Location: Austria
|
Posted: Wed Oct 22, 2008 2:01 pm Post subject: |
|
|
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 |
|
|
qbic2005 Tux's lil' helper
Joined: 11 Nov 2005 Posts: 81 Location: Belgium
|
Posted: Wed Oct 22, 2008 2:24 pm Post subject: |
|
|
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 |
|
|
|