My Unofficial Guide to a Stable System World Update

Anything that pertains to Portage

Moderator: Moderators

Post Reply
Lomion
Simple Hen
Posts: 60
Joined: Fri May 11, 2007 17:46
Location: Italy

Post by Lomion » Fri May 25, 2007 12:18

wolfden wrote:
(dependency required by "sys-apps/einit-modules-gentoo-9999-r5" [ebuild])
do you use einit? If not emerge -C it

The biggest thing to this is look at what portage is telling you, than the most obviously thing to do is ask yourself, am I even using that? If not, get rid of it or mask it for good.

Another great tool is

Code: Select all

equery depends packagename
that will tell you want programs is pulling in that program.


I don't touch enint and I just remove the overlay completely

Code: Select all

layman -d einit
Woah!
Just 5 minutes-long post-to-reply time!
You're great!

Thanks a lot! I've tried removing einit (not using it as far as I know O_O) and... Surprise surprise!
Now i get complete list of all packages (about 500 packages) and this is ok!
I'll continue with my world update ;)

Thank you! I'll take a look at the script you posted ;)

flick
Growing Hen
Posts: 119
Joined: Wed Jan 03, 2007 15:09
Location: Milwaukee, WI
Contact:

Post by flick » Wed May 30, 2007 0:51

Wolfden : on 3.4 loop2, x86_64 : just did the emerge -e system, and I'm getting :

raceback (most recent call last):
File "/usr/bin/emerge", line 5484, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 5479, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4908, in action_build
retval = mergetask.merge(
File "/usr/bin/emerge", line 2908, in merge
quiet_config["O"] = os.path.dirname(portdb.findname(mycpv))
File "/usr/lib/python2.4/posixpath.py", line 119, in dirname
return split(p)[0]
File "/usr/lib/python2.4/po

over and over...CTRL+C can't stop the emerge process. This is, um, interesting...any fixes?

wolfden
Sharecropper
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA
Contact:

Post by wolfden » Wed May 30, 2007 3:36

you can close the konsole window and it will be done

what have you all done prior to this emerge -e system?

flick
Growing Hen
Posts: 119
Joined: Wed Jan 03, 2007 15:09
Location: Milwaukee, WI
Contact:

Post by flick » Wed May 30, 2007 11:59

Just the cflags in /etc/make.conf ( using the safe cflags guide from the Gentoo Wiki) and recompiled the kernel for my processor type ( the only thing I changed in the kernel config).

Then I did :

# emerge -e system || until emerge --resume --skipfirst; do emerge --resume --skipfirst; done

Ran ok through the night, said it was exiting successfully, then started spitting out that same stuff about Python, over and over. Closed the konsole window, then opened a new konsole window ( as a non-root user ) and ran top -- emerge is still running.

Interesting. :)

wolfden
Sharecropper
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA
Contact:

Post by wolfden » Wed May 30, 2007 12:21

:shock:

flick
Growing Hen
Posts: 119
Joined: Wed Jan 03, 2007 15:09
Location: Milwaukee, WI
Contact:

Post by flick » Wed May 30, 2007 12:49

That's the expression I bet I had, too. :)

So : I rebooted, got back to the desktop, and am running revdep-rebuild. Only thing it seemed to find and is recompiling is ( surprise! ) gcc.

So I'll let that finish, try the : # emerge -e world || until emerge --resume --skipfirst; do emerge --resume --skipfirst; done

...and see how that goes. If it goes well, I'm planning to use the update script you linked to.

Would you recommend a dep-w before running that update script, recommend against, or say it's no big deal either way?

And wolfden, thanks for the guide and all the help, not just on this thread but in general on the forums and on IRC.

flick
Growing Hen
Posts: 119
Joined: Wed Jan 03, 2007 15:09
Location: Milwaukee, WI
Contact:

Post by flick » Thu May 31, 2007 19:10

The emerge-e world failed : screen froze. Rebooted, got back to the desktop, ran revdep-rebuild, and rebooted and got back to the desktop. Tried my most-used apps and all seems ok.

Going to try just running the update script after emerge --sync and layman-S and see what happens.

Experimenting is fun, if looked at from the right perspective.

:)

Red Knuckles
Growing Hen
Posts: 104
Joined: Wed Jan 10, 2007 3:16
Location: Colorado, USA

Post by Red Knuckles » Thu May 31, 2007 20:42

I finally got thru this whole process. Just didn't know enough about portage and emerge and blocked/masked packages and so forth 1st time I tried it. Finally got it on 3rd try on a completely fresh install. Now I'm STARTING to get package management the Gentoo/SL way. Isn't it similar to BSD or am I mistaken? Any way after 2nd world update 'emerge -uD --world' I ran into a problem described here:

http://www.sabayonlinux.org/forum/viewtopic.php?t=7621

At any rate for newbie [3 years] linux geeks like me I find this to be very well written, helpful, interesting, and educational. In fact in view of my current problem I'm still being educated! Thanks Wolfden. :oops: :shock: :D
Last edited by Red Knuckles on Tue Jul 24, 2007 20:25, edited 1 time in total.

Red Knuckles
Growing Hen
Posts: 104
Joined: Wed Jan 10, 2007 3:16
Location: Colorado, USA

Post by Red Knuckles » Thu May 31, 2007 23:27

navman wrote:I'm not sure what to do here . I'm trying to get it to world update and it gives me this

09:54:08 (62.68 KB/s) - `/usr/portage/distfiles/liblazy-0.1.tar.bz2' saved [244241/244241]

* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking liblazy-0.1.tar.bz2 ;-) ... [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/liblazy-0.1.tar.bz2
!!! Reason: Failed on MD5 verification
!!! Got: c1adbf3fbe371bec9530e2c57514ea4c
!!! Expected: 22670656d849ab9c971d28ce3bfd884e

I even unpacked it and installed it with make but no good. Help please!!
I have same problem:

# emerge kicker
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> starting parallel fetching

>>> Emerging (1 of 2) sys-libs/liblazy-0.1 to /
!!! Previously fetched file: 'liblazy-0.1.tar.bz2'
!!! Reason: Failed on MD5 verification
!!! Got: c1adbf3fbe371bec9530e2c57514ea4c
!!! Expected: 22670656d849ab9c971d28ce3bfd884e
Refetching...

>>> Downloading 'http://distfiles.gentoo.org/distfiles/l ... .1.tar.bz2'
--16:11:56-- http://distfiles.gentoo.org/distfiles/l ... .1.tar.bz2
=> `/usr/portage/distfiles/liblazy-0.1.tar.bz2'
Resolving distfiles.gentoo.org... 156.56.247.195
Connecting to distfiles.gentoo.org|156.56.247.195|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 235,707 (230K) [application/x-tar]

100%[=========================================================================================================>] 235,707 364.90K/s

16:11:57 (363.58 KB/s) - `/usr/portage/distfiles/liblazy-0.1.tar.bz2' saved [235707/235707]

>>> Resuming download...
>>> Downloading 'http://distro.ibiblio.org/pub/linux/dis ... .1.tar.bz2'
--16:11:57-- http://distro.ibiblio.org/pub/linux/dis ... .1.tar.bz2
=> `/usr/portage/distfiles/liblazy-0.1.tar.bz2'
Resolving distro.ibiblio.org... 152.46.7.109
Connecting to distro.ibiblio.org|152.46.7.109|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

>>> Resuming download...
>>> Downloading 'http://www.sabayonlinux.org/distfiles/s ... y/liblazy-
--16:11:57-- http://www.sabayonlinux.org/distfiles/s ... iblazy-0.1
=> `/usr/portage/distfiles/liblazy-0.1.tar.bz2'
Resolving http://www.sabayonlinux.org... 208.97.164.179
Connecting to http://www.sabayonlinux.org|208.97.164.179|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 244,241 (239K), 8,534 (8.3K) remaining [application/x-tar]

100%[+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

16:11:57 (81.53 KB/s) - `/usr/portage/distfiles/liblazy-0.1.tar.bz2' saved [2442

* checking ebuild checksums ;-) ...
* checking auxfile checksums ;-) ...
* checking miscfile checksums ;-) ...
* checking liblazy-0.1.tar.bz2 ;-) ...

!!! Digest verification failed:
!!! /usr/portage/distfiles/liblazy-0.1.tar.bz2
!!! Reason: Failed on MD5 verification
!!! Got: c1adbf3fbe371bec9530e2c57514ea4c
!!! Expected: 22670656d849ab9c971d28ce3bfd884e

So how does one correct a problem with an incorrect MD5 checksum. This may be why I don't have a menu panel and taskbar. Apparently they somehow got uninstalled and I can't reinstall them without this package. Or something! At any rate how to fix incorrect checksum???
Last edited by Red Knuckles on Tue Jul 24, 2007 20:28, edited 1 time in total.

wolfden
Sharecropper
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA
Contact:

Post by wolfden » Fri Jun 01, 2007 1:39

first try emerge --sync && layman -S

than try

Post Reply