Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PALUDIS] Support thread (current v. 0.22.2) - Part 2
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 18, 19, 20  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
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Mon Feb 05, 2007 7:21 am    Post subject: Reply with quote

probably because it now has a ${location}/profiles/repo_name file, try paludis -s xeffects, if it still doesn't work check paludis --list-repositories
_________________
The End of the Internet!
Back to top
View user's profile Send private message
justwantstohelp
Apprentice
Apprentice


Joined: 29 Jun 2006
Posts: 251
Location: Sacramento, California

PostPosted: Mon Feb 05, 2007 7:23 am    Post subject: Reply with quote

Hi, thanks for the quick response.

paludis -s xeffects gives me the same error, and it is not listed in paludis --list-repositories.

Thanks.
_________________
We need to shoot cops, and hang politicians. Concentrate the vision, concentrate the vision.
Back to top
View user's profile Send private message
justwantstohelp
Apprentice
Apprentice


Joined: 29 Jun 2006
Posts: 251
Location: Sacramento, California

PostPosted: Mon Feb 05, 2007 9:22 am    Post subject: Reply with quote

So where does paludis get it's repository information from? Editing anything in /etc/paludis/repositories has no effect on any of the listed repositories.
_________________
We need to shoot cops, and hang politicians. Concentrate the vision, concentrate the vision.
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Mon Feb 05, 2007 9:42 am    Post subject: Reply with quote

justwantstohelp wrote:
So where does paludis get it's repository information from? Editing anything in /etc/paludis/repositories has no effect on any of the listed repositories.


it get them in ${location}/profiles, change the content of the repo_name for one of your overlay, and you'll see:)
BTW, last time I tried this repo, it worked, I don't see why it wouldn't anymore :/ (except that the maintainer doesn't really like paludis, he prefer pkgcore IIRC, sooo may be he renamed his overlay wih a strange name :lol: ;) (EDIT: hum.. no he didn't :/) )
_________________
The End of the Internet!
Back to top
View user's profile Send private message
justwantstohelp
Apprentice
Apprentice


Joined: 29 Jun 2006
Posts: 251
Location: Sacramento, California

PostPosted: Mon Feb 05, 2007 9:46 am    Post subject: Reply with quote

Removing or editing ${localtion}/profiles/repo_name also has no effect on the listed repositories.

And thanks for the paludis searching tool, that's very useful.
_________________
We need to shoot cops, and hang politicians. Concentrate the vision, concentrate the vision.
Back to top
View user's profile Send private message
apberzerk
Apprentice
Apprentice


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

PostPosted: Mon Feb 05, 2007 2:04 pm    Post subject: Reply with quote

A topic from a little while ago... Regarding whether we should post all paludis questions to this one thread or each question to a separate thread.

The advantage of our current way is that we can all just watch this one thread to see when someone posts. However, it's getting confusing when there's more than one conversation going on at once. Also, it makes it harder to find things using the forum search tool.

What if we post our questions to new threads but then also post a message to this thread to notify everyone of our new threads?
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Mon Feb 05, 2007 2:30 pm    Post subject: Reply with quote

justwantstohelp wrote:
Removing or editing ${localtion}/profiles/repo_name also has no effect on the listed repositories.
Wierd, (do you use the PALUDIS_OPTIONS variable?) can you give the result of paludis --list-repositories --repository-format ebuild

Quote:
And thanks for the paludis searching tool, that's very useful.

Glad you like it:)
I can't wait for an 'official/supported' query tool though
_________________
The End of the Internet!
Back to top
View user's profile Send private message
justwantstohelp
Apprentice
Apprentice


Joined: 29 Jun 2006
Posts: 251
Location: Sacramento, California

PostPosted: Mon Feb 05, 2007 2:58 pm    Post subject: Reply with quote

edit: this post took up too much space
_________________
We need to shoot cops, and hang politicians. Concentrate the vision, concentrate the vision.


Last edited by justwantstohelp on Tue Feb 06, 2007 9:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
Martin.Jansa
n00b
n00b


Joined: 09 Mar 2004
Posts: 55
Location: Prague

PostPosted: Mon Feb 05, 2007 3:57 pm    Post subject: Building in tmpfs as paludis-hook Reply with quote

Is there any hook for mounting tmpfs on buildroot?

I was using my script to do this with emerge, but with paludis will be perhaps better idea to add somwhere a hook (maybe with additional option like -a used in paludis-hooks-ask).

http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs

BTW: What is replacement for emerge --prune git-sources with paludis?
Back to top
View user's profile Send private message
justwantstohelp
Apprentice
Apprentice


Joined: 29 Jun 2006
Posts: 251
Location: Sacramento, California

PostPosted: Mon Feb 05, 2007 4:04 pm    Post subject: Re: Building in tmpfs as paludis-hook Reply with quote

Martin.Jansa wrote:
Is there any hook for mounting tmpfs on buildroot?

I was using my script to do this with emerge, but with paludis will be perhaps better idea to add somwhere a hook (maybe with additional option like -a used in paludis-hooks-ask).

http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs

BTW: What is replacement for emerge --prune git-sources with paludis?

Couldn't you just change /var/tmp/portage to /var/tmp/paludis?
_________________
We need to shoot cops, and hang politicians. Concentrate the vision, concentrate the vision.
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Mon Feb 05, 2007 4:06 pm    Post subject: Reply with quote

any warning concerning the xeffects overlay? and, hum :roll: are you sure your xeffects configuration file is in /etc/paludis/repositories/ :?: :S
_________________
The End of the Internet!
Back to top
View user's profile Send private message
justwantstohelp
Apprentice
Apprentice


Joined: 29 Jun 2006
Posts: 251
Location: Sacramento, California

PostPosted: Mon Feb 05, 2007 4:12 pm    Post subject: Reply with quote

truc wrote:
any warning concerning the xeffects overlay? and, hum :roll: are you sure your xeffects configuration file is in /etc/paludis/repositories/ :?: :S

No warnings, no mention of it at all.
The thing is, it doesn't matter if the configs is there or not:
Quote:
ls /etc/paludis/repositories/
gentoo.conf installed.conf poker3d.conf sunrise.conf xeffects.conf

As you can see, the proaudio config isn't there, but it shows up in the list. The xeffects is, but does not show up in the list.
_________________
We need to shoot cops, and hang politicians. Concentrate the vision, concentrate the vision.
Back to top
View user's profile Send private message
Martin.Jansa
n00b
n00b


Joined: 09 Mar 2004
Posts: 55
Location: Prague

PostPosted: Mon Feb 05, 2007 4:25 pm    Post subject: Re: Building in tmpfs as paludis-hook Reply with quote

justwantstohelp wrote:
Martin.Jansa wrote:
Is there any hook for mounting tmpfs on buildroot?

I was using my script to do this with emerge, but with paludis will be perhaps better idea to add somwhere a hook (maybe with additional option like -a used in paludis-hooks-ask).

http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs

BTW: What is replacement for emerge --prune git-sources with paludis?

Couldn't you just change /var/tmp/portage to /var/tmp/paludis?


Code:
tmpfsopts="PORTAGE_TMPDIR=${TMPFSTMPDIR} FEATURES=-ccache"


Sure, i could, but original script after prepare of tmpfs changed PORTAGE_TMPDIR and then disabled ccache. I don't know, how to do this with paludis.

If there isn't something for this yet, I'll make one next week (after master's degree exam).
Back to top
View user's profile Send private message
justwantstohelp
Apprentice
Apprentice


Joined: 29 Jun 2006
Posts: 251
Location: Sacramento, California

PostPosted: Mon Feb 05, 2007 4:40 pm    Post subject: Reply with quote

truc wrote:
any warning concerning the xeffects overlay? and, hum :roll: are you sure your xeffects configuration file is in /etc/paludis/repositories/ :?: :S

Oh, you'll never guess what, it was even dumber than that. Somehow I had created a .paludis directory in /root/

It's gone now, and all is well.
_________________
We need to shoot cops, and hang politicians. Concentrate the vision, concentrate the vision.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


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

PostPosted: Mon Feb 05, 2007 7:17 pm    Post subject: Reply with quote

CFG-UPDATE

I have problems with cfg-update, because it doesn't work well with paludis.

With portage it creates an alias that executes this script
Code:
#!/bin/bash
if [ -e "/usr/bin/cfg-update" ]; then
    cfg-update --index
else
    echo "*** cfg-update not found, disable the alias for emerge in /root/.bashrc !"
fi
emerge $*             # run emerge whatever the case may be...


So i was thinking of adding a hook to install_pre or install_all_pre
Code:
#!/bin/bash
source ${PALUDIS_EBUILD_DIR}/echo_functions.bash

einfo "cfg-update: indexing ..."

if [ -e "/usr/bin/cfg-update" ]; then
    cfg-update --index
else
    ewarn "cfg-update not found, is it installed?"
fi


But it still f**ks up my conf files (just an overwrite with a new version instead of properly merging)

Any ideas where did I go wrong? (maybe because the installed repository for paludis is in different format :( )
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
xentric
Guru
Guru


Joined: 16 Mar 2003
Posts: 410
Location: Netherlands

PostPosted: Mon Feb 05, 2007 8:00 pm    Post subject: Reply with quote

zxy wrote:
But it still f**ks up my conf files (just an overwrite with a new version instead of properly merging)
Any ideas where did I go wrong? (maybe because the installed repository for paludis is in different format :( )


I think you've found a bug...
If you do a "cfg-update -l" does it list the files as "custom files" ?
If so, you should disable stage 2 (automatic 3-way merging) in /etc/cfg-update.conf

cfg-update should not update custom files in stage2 !!! I'll fix this very soon.
_________________
When all else fails, read the manual...
Registered Linux User #340626
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


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

PostPosted: Mon Feb 05, 2007 8:28 pm    Post subject: Reply with quote

Code:
# cfg-update -l
1  Unmodified File    /etc/._cfg0000_rsyncd.conf


But the file is not the default one, I have it set for the rsync server for the overlay. If I run "cfg-update -u" now, it overwrites it with the new/default one.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
xentric
Guru
Guru


Joined: 16 Mar 2003
Posts: 410
Location: Netherlands

PostPosted: Mon Feb 05, 2007 8:53 pm    Post subject: Reply with quote

zxy wrote:
Code:
# cfg-update -l
1  Unmodified File    /etc/._cfg0000_rsyncd.conf


But the file is not the default one, I have it set for the rsync server for the overlay. If I run "cfg-update -u" now, it overwrites it with the new/default one.


That's weird... can you restore the file and update it again but now with "cfg-update -du", then post the output in a private message.
The -d enables debugging, so I can see what's going on during the update.
_________________
When all else fails, read the manual...
Registered Linux User #340626
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


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

PostPosted: Mon Feb 05, 2007 9:10 pm    Post subject: Reply with quote

without restoring the file i did
Code:
cfg-update -du
and got this http://drzile.dyndns.org/cfg-update.txt
then i copied over the backup file and did it again: http://drzile.dyndns.org/cfg-update2.txt
cfg-update -l then showed
Code:
# cfg-update -l
No (._cfg????_*) files found...

i installed rsync again (the hook ran cfg-update --index before the install) and I got this
Code:
# cfg-update -l
1  Unmodified File    /etc/._cfg0000_rsyncd.conf


I looked at the output. cfg-update uses the file /var/log/emerge.log. Maybe this file should be symlinked to paludis.log to make it work. But this two files are different, so I guess that it won't work without patcfhing cfg-update.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
xentric
Guru
Guru


Joined: 16 Mar 2003
Posts: 410
Location: Netherlands

PostPosted: Mon Feb 05, 2007 10:10 pm    Post subject: Reply with quote

Quote:

<determine_state>
md5sum /etc/rsyncd.conf | cut -d" " -f1
MD5 checksum of current config file : 88a1f48789e3c4cd5cbb60d6411a7bd4
grep "/etc/rsyncd.conf " /usr/lib/cfg-update/checksum.index | cut -d" " -f2
MD5 checksum in the checksum-index : 88a1f48789e3c4cd5cbb60d6411a7bd4
State of the current file : Unmodified File
Ancestor file available : true
Merge conflict detected : false
Executable file : false
</determine_state>


The above tells me that the file actually is the same as it was when portage installed it the last time. Did you check, after restoring, if that changed line was in there when you did this update?

BTW, restoring can be done with the -r [num] option. (use cfg-update -b | grep "/etc/rsyncd.conf" to find the number) This will restore both the previous configfile and the last ._cfg0000_file so you can update it again with cfg-update -u.

I think that setting EMERGELOG = /var/??????/paludis.log in /etc/cfg-update.conf might work...

But even if you get it to work with the paludis.log you still have the next problem: /var/db/pkg/*/*/CONTENTS
Do these files get updated with new MD5 sums during installing with Paludis?

These CONTENTS files contain the MD5 sums that cfg-update put's in it's checksum-index, without them cfg-update cannot determine if files have been changed after they were installed. But this results in false "Modified file" behaviour... which is safe because it forces you to manually update a file.

Can you check if the CONTENTS files are being updated when installing packages with Paludis?

Maybe we should continue this in another thread: app-portage/cfg-update - troubleshooting

[edited the above text]
_________________
When all else fails, read the manual...
Registered Linux User #340626
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Tue Feb 06, 2007 7:29 pm    Post subject: Reply with quote

zxy wrote:
It was intended for apberzerk, sorry.
It should probably be something like
Code:
eclassdirs = /usr/portage/eclass
That's what I have:
Code:
# cat xeffects.conf | grep eclass
eclassdirs = /usr/portage/eclass
# paludis -i world
...
Install error:
  * In program paludis -i world:
  * When performing install action from command line:
  * When executing install task:
  * Install error: Can't install 'kde-base/kdelibs-3.5.6-r2' since SRC_URI references unknown mirror:// 'kde'
What should I do?
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


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

PostPosted: Tue Feb 06, 2007 7:33 pm    Post subject: Reply with quote

Looking at the error, looks like you don't have the thirdpartymirrors file in the xeffects repository. You can copy it over from gentoo repository.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
Janax
Apprentice
Apprentice


Joined: 17 Aug 2004
Posts: 162
Location: Iowa

PostPosted: Tue Feb 06, 2007 7:34 pm    Post subject: Reply with quote

I'm just guessing, but it looks like your 'thirdpartymirrors' file doesn't have the right entries. I usually just link to the gentoo repository's copy and that seems to work.
_________________
Americans for Fair Taxation because the current tax system is not only burdensome but corrupt as well!
Back to top
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Tue Feb 06, 2007 7:55 pm    Post subject: Reply with quote

Another question from me. I am trying to get the codeblocks overlay to work, but not have any success when I try to get Paludis to find it.

I have codeblocks.conf in my /etc/paludis/repositories and it shows up when I do a paludis --list-repositories it shows and it syncs fine. When I do a paludis -q codeblocks or paludis -i codeblocks, paludis basically doesn't not find the package. I think I even tried x-paludis etc, but I thought was for syncing the overlay first. I know I am missing something small, so can anyone point me in the right direction.
Back to top
View user's profile Send private message
Janax
Apprentice
Apprentice


Joined: 17 Aug 2004
Posts: 162
Location: Iowa

PostPosted: Tue Feb 06, 2007 9:35 pm    Post subject: Reply with quote

Dryre wrote:
Another question from me. I am trying to get the codeblocks overlay to work, but not have any success when I try to get Paludis to find it.

I have codeblocks.conf in my /etc/paludis/repositories and it shows up when I do a paludis --list-repositories it shows and it syncs fine. When I do a paludis -q codeblocks or paludis -i codeblocks, paludis basically doesn't not find the package. I think I even tried x-paludis etc, but I thought was for syncing the overlay first. I know I am missing something small, so can anyone point me in the right direction.


Without knowing a bit more, I can just tell you how I set up my 'unmanaged' (i.e. not through portage/layman/etc.) ebuilds...

Code:

$ more /etc/paludis/repositories/custom.conf
location = ${ROOT}/var/paludis/repositories/custom
sync =
profiles = ${ROOT}/var/paludis/repositories/gentoo/profiles/default-linux/amd64/2006.1
eclassdirs = ${ROOT}/var/paludis/repositories/gentoo/eclass
distdir = ${location}/distfiles
cache = /var/empty
format = ebuild
names_cache = ${location}/.cache/names
provides_cache = ${location}/.cache/provides


You also have to set up the 'profiles' subdir in the ${location}... with the 'repo_name' file, 'categories' file (if you don't want a QA level log warning), and 'thirdpartymirrors' file.

Code:

$ ll profiles
total 8
-rw-r--r-- 1 root root 12 Jan 17 08:06 categories
-rw-r--r-- 1 root root  7 Dec  6 08:57 repo_name
lrwxrwxrwx 1 root root 59 Jan 14 17:04 thirdpartymirrors -> /var/paludis/repositories/gentoo/profiles/thirdpartymirrors

$ more profiles/repo_name
custom



Hope that helps!
_________________
Americans for Fair Taxation because the current tax system is not only burdensome but corrupt as well!
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 ... 5, 6, 7 ... 18, 19, 20  Next
Page 6 of 20

 
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