Equo: Order of Oerations During Package Installation

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Equo: Order of Oerations During Package Installation

Postby mordjah » Tue Dec 16, 2008 1:41

Hello,

I was recently checking out the new Entropy package manager, having wished to upgrade a Sabayon 1.x box that was too slow to conveniently compile updates (p3-500/186MB/12g), and noticed that the order of operations that are performed when installing packages with equo seems to have a potential issue with it.

I am familiar with ebuilds and portage, but not so much with entropy. With emerge, when you upgrade a package, the actions are roughly as follows:

Code: Select all
grab archive
unzip to tempspace
build
install into a temp filesystem
copy the completed image to the live filesystem


With entropy it isn't as transparent, but its output looks like this:

Code: Select all
pkg_prerm()
pkg_postrm()
grab the archive
unpack it to tempspace
copy it to the live filesystem


What if you decide to update X11, and you lose your network connection?

Does it rip out the old package before downloading the new one, or do those calls not do what they do in portage? Iirc pkg_prerm() isn't called during an emerge'd update. It makes sense to remove the old files to avoid the buildup of clutter, but shouldn't we wait till we have a good copy of the new one?

Anyway, perhaps i need to rtfm a bit better, but i didn't want to test that and risk messing up my box, as it has no way to boot except from main hard disk.

Let me know if I've helped, or if I don't understand the process in equo.

Cheers,

Mordjah
mordjah
Baby Hen
 
Posts: 6
Joined: Tue Dec 16, 2008 1:13

Re: Equo: Order of Oerations During Package Installation

Postby lxnay » Tue Dec 16, 2008 12:08

Of course that will never happen :)
Take a breath
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3417
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Equo: Order of Oerations During Package Installation

Postby mordjah » Tue Dec 16, 2008 21:16

That will never happen because that's not the way it works, or that will never happen (crosses fingers)?

:)

~Mordjah
mordjah
Baby Hen
 
Posts: 6
Joined: Tue Dec 16, 2008 1:13

Re: Equo: Order of Oerations During Package Installation

Postby lxnay » Tue Dec 16, 2008 21:19

the first one. It cannot happen!
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3417
Joined: Thu Oct 13, 2005 23:16
Location: Italy


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest

cron