Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Paludis commands vs Emerge commands
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Jan 15, 2010 1:56 pm    Post subject: Paludis commands vs Emerge commands Reply with quote

Hi, one of my friends will test Paludis in a near feature and since he may ask my help, I would like to know in a day to day usage if these commands exist or can be replace in a Paludis env.

Code:

# eix-sync
# emerge -auDNv world 
# emerge -auDNv @system @world
# dispatch-conf
# revdep-rebuild -i
# eclean-dist -id
# equery something
# qlist -IC something


For what I know, eix still works with Paludis...

Code:

# paludis --sync
# eix-update
# paludis --install --pretend world
# reconcilio --fix-linkage


Do I need extra commands to maintain a good Gentoo/Paludis if we compare to Gentoo/Emerge ?

Thanks
Back to top
View user's profile Send private message
sera
Retired Dev
Retired Dev


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Fri Jan 15, 2010 2:16 pm    Post subject: Reply with quote

Quote:
# dispatch-conf
# eclean-dist -id
# equery something
# qlist -IC something


Are used as always.

reconcilio replaces revdep-rebuild
Quote:

emerge -auDNv world
translates to
Code:
paludis -ip world --dl-reinstall if-use-changed

ask (-a) does not exist, use pretend -p

There are many more options available as with portage so the above is rarely used.


There is no need for eix (unlike with portage) so I do not know how they work together.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5876

PostPosted: Fri Jan 15, 2010 9:49 pm    Post subject: Reply with quote

Most of that looks correct except the emerge world part...
Code:

# emerge -auDNv world
# paludis -pi installed-packages --dl-reinstall if-use-changed

Those two should be more or less equivalent apart from the "-a". There's no built-in "ask" option (they say it's not meant to be used as an interactive tool or some excuse like that), but there's a "pretend_resume" hook you can enable which dumps a [huge] command at the end of -p which, when run, repeats it without the -p.

There's also a few useful things paludis does that emerge doesn't, at least not without extra tools:

  • "--continue-on-failure if-independent": equivalent to doing "emerge --resume --skipfirst" every time something fails, but you only need to do it once.
  • "--dl-reinstall-scm (weekly|daily|always)": reinstalls all *-9999 packages based on their last install timestamp.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Jan 15, 2010 10:17 pm    Post subject: Reply with quote

Thanks for the info guys :P

And what about this one :

Code:

# emerge -eav @system @world

OR

# emerge -eav world
# emerge -eav system


Maybe :

Code:

# time paludis --install world    --dl-reinstall always
# time paludis --install system --dl-reinstall always


Last edited by d2_racing on Fri Jan 15, 2010 10:38 pm; edited 3 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43546
Location: 56N 3W

PostPosted: Fri Jan 15, 2010 10:19 pm    Post subject: Reply with quote

Ant_P,


"--continue-on-failure if-independent": equivalent to doing "emerge --resume --skipfirst" every time something fails, but you only need to do it once.

Thats --keep-going in portage-2.2 ... I on't know if that option has made it to portage 2.1 or not.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2674
Location: here, there or in transit

PostPosted: Sat Jan 16, 2010 4:41 am    Post subject: Reply with quote

NeddySeagoon wrote:
Thats --keep-going in portage-2.2 ... I on't know if that option has made it to portage 2.1 or not.
Code:
8 :0 $ emerge --info | grep Portage
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.26-gentoo-r4 i686)
~
9 :0 $ emerge --help | grep keep
          [ --jobs JOBS ] [ --keep-going ] [ --load-average LOAD            ]
Indeed it has.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
sera
Retired Dev
Retired Dev


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Sat Jan 16, 2010 6:53 am    Post subject: Reply with quote

d2_racing wrote:
Thanks for the info guys :P

And what about this one :

Code:

# emerge -eav @system @world

OR

# emerge -eav world
# emerge -eav system


Maybe :

Code:

# time paludis --install world    --dl-reinstall always
# time paludis --install system --dl-reinstall always



The other way around
Code:

# paludis -i system --dl-reinstall always
# paludis -i world --dl-reinstall always


There are more sets by default like the security for instance or the installed-slots ones.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5876

PostPosted: Sat Jan 16, 2010 1:53 pm    Post subject: Reply with quote

Oh, whoops. Shows you how long ago I stopped using emerge :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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