Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
funtoo with paludis?
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
bendley
n00b
n00b


Joined: 24 Jun 2007
Posts: 19

PostPosted: Sun May 24, 2009 1:01 am    Post subject: funtoo with paludis? Reply with quote

Hi,
i used to use paludis when i had Gentoo installed on my system.
Now i did a new install with Funtoo stable, is there a way i can use paludis with Funtoo?
It seems paludis has problmes with the git based funtoo tree and the package.mask folder in the funtoo profile.
Any ideas or someone already using Funtoo with Paludis?
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sun May 24, 2009 9:50 am    Post subject: Reply with quote

what kind of problem exactly? I don't see why it would not work?
_________________
The End of the Internet!
Back to top
View user's profile Send private message
bendley
n00b
n00b


Joined: 24 Jun 2007
Posts: 19

PostPosted: Sun May 24, 2009 2:31 pm    Post subject: Reply with quote

well paludis throws an error, that package.mask is a folder and stops working.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5876

PostPosted: Sun May 24, 2009 7:41 pm    Post subject: Reply with quote

The folder is supposed to be named "package.mask.d" to differentiate it from the flat file (because you can use both at once).
Back to top
View user's profile Send private message
bendley
n00b
n00b


Joined: 24 Jun 2007
Posts: 19

PostPosted: Sun May 24, 2009 8:42 pm    Post subject: Reply with quote

yeah i know, but the problem is, funtoo uses package.mask as a folder in its profile.
I'm not talking about package.mask in /etc/paludis but the one in /usr/portage/profiles/package.mask that includes funtoo, gentoo and sunrise files.
Back to top
View user's profile Send private message
Sangeki
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 186

PostPosted: Mon May 25, 2009 11:09 am    Post subject: Reply with quote

Either rename the folder and create a regular package.mask or stop using funtoo.
funtoo is unfortunately seriously broken and this won't be the only problem that you will have.

I recommend switching back to the regular portage tree and just use sunrise and the perl-overlay in addition to it.
That will get you pretty much everything that funtoo offers minus broken package.mask, constantly broken metadata and an outdated tree.
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Mon May 25, 2009 11:50 am    Post subject: Reply with quote

I agree with Sangeki. Either use a dirty workaround or switch back to the normal portage tree + sunrise/perl-overlay (also my recommendation).
Back to top
View user's profile Send private message
ponciarello
Apprentice
Apprentice


Joined: 22 Jul 2008
Posts: 223
Location: beach of slack

PostPosted: Mon May 25, 2009 3:05 pm    Post subject: Reply with quote

I used this.
_________________
look for monty python channel on youtube :D
Back to top
View user's profile Send private message
bendley
n00b
n00b


Joined: 24 Jun 2007
Posts: 19

PostPosted: Mon May 25, 2009 4:17 pm    Post subject: Reply with quote

well didn't really seem to work for me :

Code:
* Step 1 Successful!

? Proceed with Step 2 -- 'Run portage2paludis' (y/n): y

* Step 2 - Run portage2paludis

*  Now portage2paludis will download and run
*  You will need to be present until the script is complete (< 1 minute)
? type QUIT to exit, anything else or enter to continue:               
* Fetching portage2paludis script.....                                 
* Starting portage2paludis                                             
Portage2Paludis:                                                       

This script will attempt to convert an existing portage configuration to
a paludis configuration. It assumes that the portage configuration can 
be found via /etc/make.conf, /etc/make.profile, and /etc/portage/*     

WARNING: This script is still a work in progress. Do not expect it to
make completely sane decisions when migrating. Always check the produced
output yourself afterwards. Report any bugs you find to:               
    Mike Kelly <pioto@pioto.org>                                       

Please enter where you would like your new paludis configuration to be
created, or press enter to use the default.                           

Paludis Config Directory [/etc/paludis]:

Starting with Paludis 0.12.0, 3 optional caches were added:

  A names cache, which makes finding a category/package name faster when
  just given the package name.                                         

  A provides cache, which makes searching for which packages provide
  a given virtual faster.                                           

  A locally-generated metadata cache. Before, Paludis could use a
  metadata cache that already existed, but now it can also generate
  one on-the-fly, caching metadata for subsequent runs.           

Before enabling any of these, read: http://paludis.pioto.org/overview/gettingstarted.html#repositories

Enable names cache? [y/N] y
Enable provides cache? [y/N]

Enable local metadata cache (write_cache)? [y/N] y
* Configuration Files:                           
Generating use.conf (Pass 1 of 3)... done.       
Generating use.conf (Pass 2 of 3)... done.       
Generating use.conf (Pass 3 of 3)... done.       
Generating bashrc (Pass 1 of 1)... done.         
Generating keywords.conf (Pass 1 of 2)... done.   
Generating keywords.conf (Pass 2 of 2)... done.   
Generating mirrors.conf (Pass 1 of 1)... done.   
Generating package_mask.conf (Pass 1 of 1)... done.
Generating package_unmask.conf (Pass 1 of 1)... done.
Generating licenses.conf stub (Pass 1 of 1)... done.

* Standard Repositories:
Generating gentoo.conf (/usr/portage) (Pass 1 of 1)... done.
Generating installed.conf (/var/db/pkg) (Pass 1 of 1)... done.
Creating /var/db/pkg/world -> /var/lib/portage/world symlink...done.
Configuring paludis environment to look for world in /var/db/pkg/world... done.

* Overlays:
Creating unavailable layman repo... done.
Generating kde.conf (/usr/portage/local/layman/kde-testing) (Pass 1 of 1)... done.
Generating bendley.conf (/home/bendley/bendley) (Pass 1 of 1)... done.           

Complete!
You now have a new paludis config in: /etc/paludis

Don't forget to double check the configuration yourself before using it.

Your names caches will be created the next time you run:

  paludis --sync
    or         
  paludis --regenerate-installable-cache

You will have to create a ${location}/.cache/ directory for each of your
repositories.                                                           
For more info, see: http://paludis.pioto.org/faq/different.html#mkdir   

? Proceed with Step 3 -- 'Making directories and adjusting permissions' (y/n): y

* Step 3 - Making directories and adjusting permissions

? Do you have PORTAGE_TMPDIR somewhere else besides the default? [default: /var/tmp] (y/n): n
? Would you like PALUDIS_TMPDIR somewhere else besides the default? [/var/tmp] (y/n): n     
* Making paludis directories                                                                 
* Adjusting permisions to tmpdir and distdir                                                 

? Proceed with Step 4 -- 'Copy /usr/portage to /var/paludis/repositories/gentoo' (y/n): y

* Step 4 - Copying gentoo tree to /var/paludis/repositories/gentoo

? Proceed with Step 5 -- 'Making repository files for paludis' (y/n): y                                                                     

* Step 5 - Making repository files for paludis


? Proceed with Step 6 -- 'Edit the base profile' (y/n): y

* Step 6 - Edit base profile

* Fetching packages file from zen-sources.org.....

? Proceed with Step 7 -- 'Sync paludis, edit some configuration files' (y/n): y

* Step 7 - Sync paludis, edit some configuration files


Unhandled exception:
  * In program paludis -s:
  * When making environment from specification '':
  * When loading paludis configuration:           
  * Repository 'bendley' depends upon 'gentoo', which is not configured (paludis::ConfigurationError)

? Proceed with Step 8 -- 'Save the world, and remove portage completely' (y/n): n

? Proceed with Step 9 -- 'Importare portage and finish up' (y/n): n

? Proceed with Step 10 -- 'Change funtoo repository to gentoo repository' (y/n): y

* Step 10 - Change funtoo repository to gentoo repository

* Are you performing this on a new funtoo ~ stage3?
* If yes, then the script will change funtoo-repo installed files
* in /var/db/pkg to :gentoo, this takes < 1 second               
? (y/n): y                                                       
cat: world/world/repository: Ist kein Verzeichnis               
./PFG_unstable-0.6.sh: line 411: world/world/repository: Ist kein Verzeichnis

? Proceed with Step 11 -- 'Install eselect-config module' (y/n): y

* Step 11 - Install eselect-config module

* Fetching zen-overlay/installing eselect-config
? Proceed? (y/n): y                             
* Creating configuration with playman           
/usr/bin/playman@1243275135: [WARNING paludis_environment.dodgy_script_config] In thread ID '3890':
  ... When making environment from specification '':                                               
  ... When loading paludis configuration:                                                         
  ... When loading environment.conf:
  ... It looks like you configured Paludis using a dodgy broken script you found on the forums. Unfortunately, your system is probably now broken beyond repair. Please start again, and have more care when deciding how to set things up.
/usr/bin/playman:131:in `create': Repository 'bendley' depends upon 'gentoo', which is not configured (Paludis::ConfigurationError)
        from /usr/bin/playman:131
!!!!! Failed to get zen-overlay with playman !!!!!
miniBoB2 bendley # paludis --sync
paludis@1243275150: [WARNING paludis_environment.dodgy_script_config] In thread ID '3895':
  ... In program paludis --sync:
  ... When making environment from specification '':
  ... When loading paludis configuration:
  ... When loading environment.conf:
  ... It looks like you configured Paludis using a dodgy broken script you found on the forums. Unfortunately, your system is probably now broken beyond repair. Please start again, and have more care when deciding how to set things up.

Unhandled exception:
  * In program paludis --sync:
  * When making environment from specification '':
  * When loading paludis configuration:
  * Repository 'bendley' depends upon 'gentoo', which is not configured (paludis::ConfigurationError)
Back to top
View user's profile Send private message
Sangeki
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 186

PostPosted: Mon May 25, 2009 4:35 pm    Post subject: Reply with quote

This script has nothing at all to do with the problem at hand.
In fact using it without knowing exactly what you are doing (and in most other cases as well) is a very bad idea.

You should now repair whatever damage it has done and get back to a clean installation of paludis.

If you then want to switch back to the regular portage tree, unpack a snapshot and change your repository config accordingly.
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