View previous topic :: View next topic |
Author |
Message |
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Wed Feb 28, 2007 10:01 pm Post subject: [PALUDIS] Paludis-Extras repository |
|
|
Paludis extras repository
- About:
The repository includes programs that have been adapted for use with paludis.
- Links:
Paludis extras - homepage
Paluids extras - bug tracker
You can ask questions here or on irc freenode #paludis-extras. (not on #paludis)
Colission protect and undo prelik info can also be found here: https://forums.gentoo.org/viewtopic-t-536458.html
- Packages:
- app-portage/portage-utils-20070504-r1 (paludis version) -- truc
- app-portage/gentoolkit-0.2.4_pre7-r1 (revdep-rebuild modified for paludis) -- jordan83, zxy (masked, due to be removed soon)
- app-paludis/etc-paludis-20070129 (etc-update modified for paludis) -- jordan83
- app-admin/eselect-paludis-hooks-0.3.3 - manage hooks with eselect -- zxy
- app-paludis/paludis-wrapper-0.1.4 (a wrapper script for --nice and --ask) -- truc, zxy
- sys-kernel/module-rebuild-0.5 (module-rebuild ported to paludis) (use flag: paludis) -- zxy, truc
- sys-devel/binutils-config-1.9-r4 Utility to change the binutils version being used. Paludis version. (use flag: paludis) -- zxy
- There is also a collection of hooks for paludis.
- app-paludis/paludis-hooks-0.3.3
- ask-2.4 - truc, zxy
- check-security-updates-1.1-r1
- collision-protect-2.4 - dleverton
- compress-man-1.2 - pdouble, truc
- log-mailer-0.2 - pilx
- sync-disks-1.0 - zxy
- undo-prelink-2.1 - dleverton
- update-eix-2.3 - pioto; contributors Bo Andersen, truc, dleverton
- Install instructions:
Detailed instructions are on the repository's homepage. There you can find the details about the hooks and scripts, too.
Here is a sample /etc/paludis/repositories/paludis-extras.conf :
Code: | # CHANGE THE LINES COMMENTED WITH # TO YOUR SYSTEM'S SETTINGS
# location = ${ROOT}/var/paludis/tepositories/paludis-extras
master_repository = gentoo
sync = rsync://paludis-extras.org/paludis-extras rsync://drzile.dyndns.org/paludis-extras rsync://server.guldbrand.net/paludis-extras rsync://ns-linux.org/paludis-extras/
cache = /var/empty
format = ebuild
importance = 10
names_cache = ${location}/.cache/names
|
NOTE: in the above example sync line can get wrapped in the browser. All sync servers go in one line.
For the first install do Code: | paludis -s x-paludis-extras | and paludis will do the rest by itself.
All the packages in the repository are ~arch. If you use stable branch, then you have to add the packages to your keywords.conf.
Do not bug paludis devs or gentoo devs about this repository!!! _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu
Last edited by zxy on Thu Apr 10, 2008 10:57 am; edited 36 times in total |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Wed Feb 28, 2007 10:11 pm Post subject: |
|
|
NEWS:
Ask hook is updated (2.0) and doesn't include the wrapper script any more.
Wrapper script (0.1.0) is now a standalone package. It has modifications, too. I includded a new feature, --nice. The default nice value can be set in /etc/paludis/hooks/config/paludis-hice.conf, but can be overruled if used in command line.
Example Code: | paludis --nice 5 world |
To install it just add nice to the PALUDIS_HOOKS use flags that you have in use.conf.
Code: | * PALUDIS_HOOKS: -* .... nice |
If you use collision protect, you might have problems upgrading to a new wrapper script. A solution to this is to delete it and do the upgrade again. Code: | # if collision protect doesn't allow upgrade
rm /usr/local/bin/_paludis_wrapper.bash |
_________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Thu Mar 01, 2007 7:39 am Post subject: |
|
|
Erm, I think some changes to the repo screwed up my paludis:
Code: | Building target list...
Building dependency list...
Query error:
* In program paludis -ip paludis-hooks:
* When performing install action from command line:
* When executing install task:
* When adding PackageDepSpec 'app-paludis/paludis-hooks':
* When adding package 'app-paludis/paludis-hooks-0.2.1::paludis-extras':
* When adding build dependencies as pre dependencies:
* When adding PackageDepSpec 'app-paludis/paludis-hooks-ask':
* No versions of 'app-paludis/paludis-hooks-ask' are available |
I was in the middle of installing a fresh gentoo when this happened. |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Thu Mar 01, 2007 11:43 am Post subject: |
|
|
try syncing again, or regenerating installable cache...
what's your paludis-extras.conf?
Did you make it install, later somehow?
If you didn't find a solution, then can you visit #paludis-exstras on irc freenode? _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Thu Mar 01, 2007 6:30 pm Post subject: |
|
|
Syncing again did not fix it.
Here is paludis-extras.conf:
Code: | location = ${ROOT}/var/paludis/repositories/paludis-extras
sync = rsync://drzile.dyndns.org/paludis-extras/
profiles = ${ROOT}/usr/portage/profiles/default-linux/amd64/2006.1
eclassdirs = ${ROOT}/usr/portage/eclass ${location}/eclass
distdir = /var/paludis/distfiles
format = ebuild
names_cache = /var/empty
write_cache = /var/empty |
|
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Thu Mar 01, 2007 6:31 pm Post subject: |
|
|
WOW. SOLVED. I AM RETARDED.
I didn't unmask it in keywords.conf. |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Thu Mar 01, 2007 6:39 pm Post subject: |
|
|
Wait wait wait, now I have confused myself. The error message that I posted earlier, which I fixed by unmasking the package, is not the one that was giving me trouble in the first place. Here's the real error message:
Code: | Unhandled exception:
* In program paludis --log-level qa --update-news:
* When performing update-news action from command line:
* When updating news at location '/var/paludis/repositories/paludis-extras/metadata/news' for repository 'paludis-extras':
* When handling news entry '/var/paludis/repositories/paludis-extras/metadata/news/2007-03-01-changes-in-the-overlay':
* When splitting out category and package names from 'app-paludis/paludis-hooks app-paludis/paludis-hooks-ask':
* When validating package name part 'paludis-hooks app-paludis/paludis-hooks-ask':
* Name 'paludis-hooks app-paludis/paludis-hooks-ask' is not a valid package name part (paludis::PackageNamePartError) |
|
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Thu Mar 01, 2007 6:44 pm Post subject: |
|
|
it should be fixed ( just a few minutes ago) _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Thu Mar 01, 2007 7:03 pm Post subject: |
|
|
That did it, thanks! Hope the rsync server enjoyed my many syncs.
- Phil |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Thu Mar 01, 2007 7:31 pm Post subject: |
|
|
apberzerk wrote: | Syncing again did not fix it.
Here is paludis-extras.conf:
Code: | location = ${ROOT}/var/paludis/repositories/paludis-extras
sync = rsync://drzile.dyndns.org/paludis-extras/
profiles = ${ROOT}/usr/portage/profiles/default-linux/amd64/2006.1
eclassdirs = ${ROOT}/usr/portage/eclass ${location}/eclass
distdir = /var/paludis/distfiles
format = ebuild
names_cache = /var/empty
write_cache = /var/empty |
|
You can use the master_repository, too. Makes the conf file shorter... And changes are easier to maintain - for example moving distdir to a new location for all repos. Then you just change it for ex. in gentoo.conf and all other repos (that have gentoo as a master_repository) will have this changed, too.
It works ok either way. I just thought it would be cool to mention it.
apberzerk wrote: | That did it, thanks! Hope the rsync server enjoyed my many syncs.
- Phil |
No problem, it will survive -- the number of users is rising, but not soooo fast, that you couldnt do it a few times a day.
No restrictions, yet...
And thanks, for posting your errors -- I get an automatic reaction when I see your avatar ( shit, sth wrong again ), but i like feedback, so keep'em comming .. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Fri Mar 02, 2007 5:52 pm Post subject: |
|
|
Collision-protect hook upgraded.
from ChangeLog: | 2007-03-02: ver 2.1 - Work around locale-related retardedness in the sort command. |
_________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Wed Mar 07, 2007 12:43 pm Post subject: |
|
|
I'm back with another bug, yay! The _paludis_wrapper.bash script that comes with the ask hook is creating files names "0" that are 0B in size. These files are created in the directory from which I run paludis, and only occur when I pass the -a option AND select yes.
EDIT: Ok, it's not the script itself that does it. I commented out "exec $cmd" at the bottom and the file '0' was not created, so it's paludis itself that's creating the file when the ask option is on.
EDIT: Yup, definitely paludis, and not the wrapper script. The following causes the empty file to be created:
Code: | PALUDIS_HOOKS_ASK=ask /usr/bin/paludis -i package |
- Phil |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Wed Mar 07, 2007 1:04 pm Post subject: |
|
|
Solved in version 2.1.
This 0 files were eating my nerves lately, too... It was a stupid typo... I was just about to commit the update. Thanks for the bug reports. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Wed Mar 07, 2007 1:40 pm Post subject: |
|
|
gentoolkit's revdep-rebuild -- updated. (20070308)
It's now based on gentoolkit-0.2.3 and revdep-rebuild has a new command, that was on a wishlist from IRC. If revdep-rebuild didn't have problems with package_mask.conf before, then you don't need the new command.
--edit--
20070308 fixed the problem when emerge was still called instead of paludis _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Thu Mar 08, 2007 2:32 am Post subject: |
|
|
Added new hook to paludis-hooks:
compress-man-1.0 - pdouble, truc
Quote: | The hook compresses man and info pages if the package itself does not. |
--------------
@apberzerk -- waiting for bugs ... _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Thu Mar 08, 2007 3:29 am Post subject: |
|
|
Installing now... gonna try breaking it shortly. By the way, is there a paludis replacement for module-rebuild? There's just a single line of code in it that needs to be changed from this:
Code: | emerge --oneshot --nodeps ${tomerge[@]} |
To something like this:
Code: | paludis --preserve-world -i ${tomerge[@]} --dl-upgrade as-needed |
|
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Thu Mar 08, 2007 9:48 pm Post subject: |
|
|
and line with portageq should be changed too i guess.... (I was looking at the diff for revdep-rebuild )
Would you be able to come to the IRC channel? Maybe we can do sth together. It's much easier there. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Thu Mar 08, 2007 10:12 pm Post subject: |
|
|
Never used IRC before... I know, how sad. |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Thu Mar 08, 2007 10:23 pm Post subject: |
|
|
apberzerk wrote: | Never used IRC before... I know, how sad. | Me neither until a few months ago. And it's fantastic for developing stuff, much more than forums (real time communication).
I have put the idea of yours there, too, so maybe sth will come out of it. I just need to get my nerve switched on, and then it might happen soon. Or maybe somebody else will contribute, too... We'll see. (You can send/post a patch or a patched version here, too )
And if you change your mind about irc, feel free to drop by _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Fri Mar 09, 2007 12:18 am Post subject: |
|
|
Sounds good to me. I'll get on there when I have a chance. So are you the primary developer for all paludis-extras packages? |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Fri Mar 09, 2007 12:32 am Post subject: |
|
|
Well, there are more people involved. (mainly per-package )
Anybody can join in with hooks or anything that's ported to paludis. Or with bug fixes, improvements etc. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
kreedcarmoch n00b
Joined: 09 Apr 2005 Posts: 51 Location: San Antonio, Texas
|
Posted: Fri Mar 09, 2007 2:02 am Post subject: |
|
|
apberzerk wrote: | Code: | paludis --preserve-world -i ${tomerge[@]} --dl-upgrade as-needed |
|
That should be a "paludis --preserve-world -i ${tomerge[@]} --dl-deps-default discard". |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Fri Mar 09, 2007 3:44 am Post subject: |
|
|
Ah, yeah I didn't really know what to put there so I just guessed. |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Fri Mar 09, 2007 3:45 am Post subject: |
|
|
So, rather than fix scripts like module-rebuild with silly one-line changes, I'd like to have a wrapper for emerge that just converts the command into one for paludis wheneber it can.
- Phil |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Fri Mar 09, 2007 7:44 am Post subject: |
|
|
apberzerk wrote: | So, rather than fix scripts like module-rebuild with silly one-line changes, I'd like to have a wrapper for emerge that just converts the command into one for paludis wheneber it can.
- Phil |
hey, I'd just to learn how to use paludis, and (then) set this alias Code: | alias emerge="paludis --help" | _________________ The End of the Internet! |
|
Back to top |
|
|
|