Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Paludis support thread (current v. 0.14.3) - Part 1
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 19, 20, 21  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Fri Jan 19, 2007 5:14 pm    Post subject: Reply with quote

Just to make it clear,
there are two qt libraries. qt3 that most of the programs use for now, and qt4 that may be used by some programs (kde4 will use it when it gets out). There are qt3 and qt4 useflags, too. So don't worry, the qt4 installs in a separate slot.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
staffan
n00b
n00b


Joined: 31 Oct 2004
Posts: 29
Location: Sweden

PostPosted: Fri Jan 19, 2007 5:35 pm    Post subject: Reply with quote

zxy wrote:
Just to make it clear,
there are two qt libraries. qt3 that most of the programs use for now, and qt4 that may be used by some programs (kde4 will use it when it gets out). There are qt3 and qt4 useflags, too. So don't worry, the qt4 installs in a separate slot.


I knew that... No scratch that... I should have known that. Thanks for reminding me; I'll be over by the documentation for the rest of the evening. :)

I do know about slots, of course, but didn't realise they could be the reason. That just leaves the switching between 3.3.4 and 3.3.6. I'll keep looking but I'm sure everyone has noted my n00b status so I don't know if I'll actually figure something out. If I do, I'll post something about it.
_________________
/S
"I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?'" (Larry Wall)
Back to top
View user's profile Send private message
astaecker
Guru
Guru


Joined: 28 Apr 2003
Posts: 403
Location: Hamburg / Germany

PostPosted: Sat Jan 20, 2007 7:51 am    Post subject: Reply with quote

Problem solved. I've added qt-3.3.6-r4 to package_mask and then 'paludis -pi world' showed me, that gtk-engines-qt depends on it. This is not the fact, so I reinstalled this one and now everything is fine.
Thanks for the help.
Back to top
View user's profile Send private message
bluescreen303
n00b
n00b


Joined: 11 Mar 2006
Posts: 5
Location: Netherlands, Rotterdam

PostPosted: Sat Jan 20, 2007 12:38 pm    Post subject: installing to a different root Reply with quote

is it possible to install packages to a different root directory using paludis?

I'm currently rebuilding my system and I would like to get rid of all the cruft that's left by upgrades and unclean ebuilds.
Of course I can install a stage to a chroot and start over again, but I was hoping there is some other way.

I would like to have a second (chroot)installed repository, or a way to alter ${ROOT}.
paludis -i --dl-reinstall always world should install into /buildroot

any help on how to do this?
Back to top
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Sat Jan 20, 2007 2:48 pm    Post subject: Re: installing to a different root Reply with quote

bluescreen303 wrote:
is it possible to install packages to a different root directory using paludis?
It is. The old bootstrap howto documented how to do this, but got removed recently pending a revised one with the upcoming destinations support. Try grabbing it from ViewVC if you want to read it -- the section on the specpath file is what you want to look at.
Back to top
View user's profile Send private message
dayul
Apprentice
Apprentice


Joined: 02 Jun 2004
Posts: 180
Location: Blackpool, England

PostPosted: Sat Jan 20, 2007 4:42 pm    Post subject: Reply with quote

Does anyone know where i can get information on how to use contrarius? I didn't see any information on the paludis web site.
What i want to do is use mingw to build an application for win32. It was mentioned earlier in the support thread that i could use contrarius for cross compiling, but i'm not exactly sure how.

Thanks.
_________________
Mailtc- system tray mail checker.
Back to top
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Sun Jan 21, 2007 12:04 am    Post subject: Reply with quote

dayul wrote:
Does anyone know where i can get information on how to use contrarius?
Right now? Go into #paludis and ask Kugelfang.
Back to top
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Sun Jan 21, 2007 5:48 am    Post subject: Reply with quote

Hello again fellow paludisians...errr whatever the word should be.

At the end of ebuilds, there's often some informative messages. For example, nvidia-drivers tells you that you should run eselect in order to get glx working.

Is there a way to log just those messages to a file?

- Phil
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sun Jan 21, 2007 7:19 am    Post subject: Reply with quote

this may help
_________________
The End of the Internet!
Back to top
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Sun Jan 21, 2007 7:47 am    Post subject: Reply with quote

That looks like exactly what I want. I installed it just like any other hook, and put it in all of the following hook directories:

elog/
install_all_pre/
install_all_post/
install_fail/
uninstall_all_pre/
uninstall_all_post/
uninstall_fail/
einfo/
ewarn/
eerror/

But it never executes. I'm positive because I added a line that notifies me when it runs.

- Phil
Back to top
View user's profile Send private message
jordan83
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 222
Location: check your closet...

PostPosted: Sun Jan 21, 2007 8:52 am    Post subject: Reply with quote

apberzerk wrote:

But it never executes. I'm positive because I added a line that notifies me when it runs.

Maybe it's a stupid question... have you changed the permissions to the hook enabling execution right?
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Louis-Hector Berlioz
--
When the Boogeyman goes to sleep every night, he checks his closet for Chuck Norris.
chucknorrisfacts.com
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sun Jan 21, 2007 9:21 am    Post subject: Reply with quote

jordan83 wrote:
apberzerk wrote:

But it never executes. I'm positive because I added a line that notifies me when it runs.

Maybe it's a stupid question... have you changed the permissions to the hook enabling execution right?


execution not needed, hook names just have to end with .bash
_________________
The End of the Internet!
Back to top
View user's profile Send private message
staffan
n00b
n00b


Joined: 31 Oct 2004
Posts: 29
Location: Sweden

PostPosted: Sun Jan 21, 2007 2:44 pm    Post subject: Reply with quote

arlsair wrote:
Problem solved. I've added qt-3.3.6-r4 to package_mask and then 'paludis -pi world' showed me, that gtk-engines-qt depends on it. This is not the fact, so I reinstalled this one and now everything is fine.
Thanks for the help.


Similarly (is that a word?) here. It turned out that I had klibido kicking about and that was the source of the dependancy on qt-3.3.4-r8. When I got rid of it, everything went back to normal.

Thanks for the pointer.
_________________
/S
"I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?'" (Larry Wall)
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sun Jan 21, 2007 5:59 pm    Post subject: Reply with quote

hey again, I just want to share a tip
You certainly know how to search you repositories with eix or even qsearch ;) But if you're like me , you'd like the output of these search tools to be just like paludis -q pkg because there are plenty of usefull info :)

bash users (it probably works for others too, so tell me and I'll remove this) can put this function in their ~/.bashrc

Code:
function palsearch()

        for arg in "$@" ; do [ "$arg" == "-h" -o "$arg" == "--help" ] && qsearch --help && return 0; done
        searchme=`qsearch -NC "$@" | sed -e 's/::.*//' | sort | uniq | tr '\n' ' '`
        [[ -z $searchme ]] && echo "No match" && return 1
        paludis -q $searchme
        unset searchme
}


you can now search as you would do with qsearch:
search with a partial name :
palsearch nvpn :
* net-misc/openvpn
    gentoo:                2.0.6 2.0.7 2.0.7-r1 (2.1_rc1)R (2.1_rc1-r1)R {:0}
    installed:             2.0.7-r1* {:0}
    Homepage:              http://openvpn.net/
    Description:           OpenVPN is a robust and highly flexible tunneling application compatible with many OSes.
    License:               ( GPL-2 )
    Source origin:         net-misc/openvpn-2.0.7-r1::gentoo
    Installed time:        Sat Dec  9 18:25:35 2006
    Use flags:             (-examples) (-iproute2) (-minimal) (-pam) (-passwordsave) (-selinux) (ssl) (-static) (threads)

* sec-policy/selinux-openvpn
    gentoo:                20050618 20061114* {:0}
    Homepage:              http://www.gentoo.org/proj/en/hardened/selinux/
    Description:           SELinux policy for OpenVPN
    License:               ( GPL-2 )

Key to mask reasons:

* R: repository mask


you can also search the DESCRIPTION:
palsearch -S "packet mangling" :

* net-firewall/ipchains
    gentoo:                1.3.10-r1* {:0}
    Homepage:              http://netfilter.filewatcher.org/ipchains/
    Description:           legacy Linux firewall/packet mangling tools
    License:               ( GPL-2 )

* net-firewall/iptables
    gentoo:                1.2.11-r3 1.3.5-r1 1.3.5-r2 1.3.5-r3 1.3.5-r4 1.3.6 1.3.6-r1 1.3.7 {:0}
    installed:             1.3.7* {:0}
    Homepage:              http://www.iptables.org/ http://www.linuximq.net/ http://l7-filter.sf.net/
    Description:           Linux kernel (2.4+) firewall, NAT and packet mangling tools
    License:               ( GPL-2 )
    Source origin:         net-firewall/iptables-1.3.7::gentoo
    Installed time:        Tue Dec 26 23:27:14 2006
    Use flags:             (-extensions) (-imq) (-ipv6) (-l7filter) (-static)


You can even do some very fancy searches ;) :
search for package in categories matching sys- in every overlay but the gentoo and initng ones:
palsearch sys-/::[^gentoo\|initng] :

* sys-apps/paludis
    gentoo:                0.12.0 0.14.0 0.14.1 0.14.2 0.14.3 {:0}
    paludis-overlay:       0.12.0 0.14.0 0.14.1 0.14.2 0.14.3 scm {:0}
    installed:             scm* {:0}
    Homepage:              http://paludis.pioto.org/
    Description:           paludis, the other package mangler
    License:               ( GPL-2 )
    Source origin:         sys-apps/paludis-scm::paludis-overlay
    Installed time:        Sun Jan 14 21:11:51 2007
    Provides:              virtual/portage
    Use flags:             (bash-completion) (-contrarius) (-cran) (-doc) (-gems) (glsa) (pink) (qa) (-ruby) (-selinux) (-zsh-completion)

* sys-apps/paludis-hooks
    paludis-extras:        0.1.5 0.1.6 {:0}
    installed:             0.1.6* {:0}
    Homepage:              http://drzile.dyndns.org/index.php?page=paludis_scripts
    Description:           This is a colection of various hooks used with Paludis.
    Source origin:         sys-apps/paludis-hooks-0.1.6::paludis-extras
    Installed time:        Sun Jan 21 17:16:44 2007
    Use flags:             (paludis_hooks_ask) (paludis_hooks_check-security-updates) (-paludis_hooks_collision-protect) (-paludis_hooks_undo-prelink) (paludis_hooks_update-eix)




or if your overlay isn't too big you can list its content with detail info (eg: palsearch -a -o overlay) otherwise just use paludis --list-packages --repository overlay
(or with less useless lines: qsearch -a -o overlay )

Hope you'll like it:)

EDIT: of course, you need the patched version of portage-utils.. Did I need to say that? ;)
_________________
The End of the Internet!


Last edited by truc on Mon Jan 22, 2007 12:05 pm; edited 4 times in total
Back to top
View user's profile Send private message
89c51
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2005
Posts: 113
Location: Greece

PostPosted: Sun Jan 21, 2007 6:18 pm    Post subject: Reply with quote

just a question

is it planned or are there any thoughts of paludis being the official gentoo package manager???
Back to top
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Sun Jan 21, 2007 6:29 pm    Post subject: Reply with quote

I fixed the problem I was having with elog.bash. The file that I downloaded was named elog.bash.in. I removed the .in, so it works now. And no, it did not have to be executable.

- Phil
Back to top
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Sun Jan 21, 2007 6:37 pm    Post subject: Reply with quote

So what's the equivalent of emerge --newuse in paludis?

By the way, I was thinking about the idea someone had earlier to create a new thread for each paludis topic. One advantage of the current method is that everyone subscribed to the thread sees our questions whenever we post them :)
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sun Jan 21, 2007 6:39 pm    Post subject: Reply with quote

apberzerk wrote:
So what's the equivalent of emerge --newuse in paludis?

By the way, I was thinking about the idea someone had earlier to create a new thread for each paludis topic. One advantage of the current method is that everyone subscribed to the thread sees our questions whenever we post them :)


But it looks like they don't always see the answers :twisted: ( --dl-reinstall if-use-changed ) ;)
_________________
The End of the Internet!
Back to top
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Sun Jan 21, 2007 7:54 pm    Post subject: Reply with quote

Quote:
--dl-reinstall if-use-changed


Oh, I can't believe I missed that. I was looking under --dl-upgrade.
Back to top
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Sun Jan 21, 2007 9:44 pm    Post subject: Reply with quote

This is a kinda funky behavior that I found. I accidentally put a dash before if-used-changed:

Code:
paludis -i --dl-reinstall -if-use-changed world


And look what I got:
Code:
Usage error: Error handling command line: Invalid parameter '-if-use-chnged' for argument '--dl-reinstall'


That's not a typo. The 'a' actually disappeard from if-use-changed. Weird, huh?

- Phil
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Mon Jan 22, 2007 1:19 am    Post subject: Reply with quote

apberzerk wrote:
This is a kinda funky behavior that I found. I accidentally put a dash before if-used-changed:

Code:
paludis -i --dl-reinstall -if-use-changed world


And look what I got:
Code:
Usage error: Error handling command line: Invalid parameter '-if-use-chnged' for argument '--dl-reinstall'


That's not a typo. The 'a' actually disappeard from if-use-changed. Weird, huh?

- Phil


Because there shouldn't be a - in front of if-used-changed

Code:
paludis -i --dl-reinstall if-use-changed world
Back to top
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Mon Jan 22, 2007 1:24 am    Post subject: Reply with quote

Phenax wrote:
Because there shouldn't be a - in front of if-used-changed


Yes I know. Like I said in my post, I accidentally put a dash in front. But look at the error message; it's not what one would expect. It took the 'a' out of if-used-changed.

- Phil
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Mon Jan 22, 2007 1:29 am    Post subject: Reply with quote

apberzerk wrote:
Phenax wrote:
Because there shouldn't be a - in front of if-used-changed


Yes I know. Like I said in my post, I accidentally put a dash in front. But look at the error message; it's not what one would expect. It took the 'a' out of if-used-changed.

- Phil


Code:

kyle@beast ~ $ paludis -i --dl-reinstall -if-use-changed world
Usage error: Error handling command line: Invalid parameter '-if-use-changed' for argument '--dl-reinstall'
Try paludis --help

Maybe it's your term acting up or whatnot.. Doesn't happen for me.
Back to top
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Mon Jan 22, 2007 1:36 am    Post subject: Reply with quote

Ah, it's this wrapper script that did it: /usr/local/bin/_paludis_wrapper.bash . Somehow it's grabbing the 'a' and thinking it's the shorthand for the --ask flag. No big deal :)

- Phil
Back to top
View user's profile Send private message
bobobo
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2005
Posts: 122

PostPosted: Mon Jan 22, 2007 8:48 am    Post subject: Reply with quote

apberzerk wrote:
Ah, it's this wrapper script that did it: /usr/local/bin/_paludis_wrapper.bash . Somehow it's grabbing the 'a' and thinking it's the shorthand for the --ask flag. No big deal :)

- Phil


i think this got fixed in a more recent version of that script.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... , 19, 20, 21  Next
Page 20 of 21

 
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