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 ... 9, 10, 11 ... 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 Dec 22, 2006 12:32 pm    Post subject: Reply with quote

I just updated the first page. I added the list of main topics in this thread. If anybody has more he/she thinks should be added, please PM me.

Zxy
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu


Last edited by zxy on Fri Dec 22, 2006 8:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
dayul
Apprentice
Apprentice


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

PostPosted: Fri Dec 22, 2006 7:56 pm    Post subject: Reply with quote

Hi,

I'm having problems when trying to update qingy to version 0.9.4 with paludis, at the uninstall stage i see:

Code:

Uninstalling sys-apps/qingy-0.9.3::installed


!!! ERROR in sys-apps/qingy-0.9.3:
!!! In ebuild_load_ebuild at line 190
!!! Can't load saved environment

!!! Call stack:
!!!    * ebuild_load_ebuild (/usr/libexec/paludis/ebuild.bash:190)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:291)
!!!    * main (/usr/libexec/paludis/ebuild.bash:308)

/usr/libexec/paludis/ebuild.bash: line 73: kill: (7338) - No such process

Uninstall error:
  * In program paludis -u =sys-apps/qingy-0.9.3:
  * When performing uninstall action from command line:
  * When executing uninstall task:
  * When uninstalling 'sys-apps/qingy-0.9.3' from 'installed':
  * Uninstall error: Uninstall failed for 'sys-apps/qingy-0.9.3::installed'


I think the reason is that 0.9.3 has been removed from portage, but now i don't know how to solve this. If i try paludis -u, it now tells me that i have both 0.9.3 and 0.9.4 installed.

any help would be much appreciated.

Thanks,

Dale
_________________
Mailtc- system tray mail checker.
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: Fri Dec 22, 2006 8:14 pm    Post subject: Reply with quote

Specify a version
Code:
paludis -u  =sys-apps/qingy-0.9.3::gentoo -p

or fill in what fits you.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
dayul
Apprentice
Apprentice


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

PostPosted: Fri Dec 22, 2006 9:06 pm    Post subject: Reply with quote

hi zxy,

thanks for your suggestion, but that is the problem, uninstall does not work, if i pretend i see:

Code:
paludis -u =sys-apps/qingy-0.9.3 -p
Building unmerge list... done

These packages will be uninstalled:

* sys-apps/qingy-0.9.3::installed


Total: 1 package


but if i type:

Code:
paludis -u =sys-apps/qingy-0.9.3


I see the uninstall error i mentioned earlier.
_________________
Mailtc- system tray mail checker.
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Fri Dec 22, 2006 10:09 pm    Post subject: Reply with quote

dayul wrote:
Code:
!!! ERROR in sys-apps/qingy-0.9.3:
!!! In ebuild_load_ebuild at line 190
!!! Can't load saved environment

Try running
Code:
bunzip2 -c /var/db/pkg/sys-apps/qingy-0.9.3/environment.bz2 | bash
and post any errors. (Anything about readonly variables is normal.)
Back to top
View user's profile Send private message
Bapt
Veteran
Veteran


Joined: 14 Apr 2003
Posts: 1152
Location: Paris

PostPosted: Sat Dec 23, 2006 8:24 am    Post subject: Reply with quote

zxy wrote:
@Bapt: Could you put this scripts on the wiki, with some sort of instructions how to install it. I think It would be cool.

yes I will do it after christmas
Back to top
View user's profile Send private message
dayul
Apprentice
Apprentice


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

PostPosted: Sat Dec 23, 2006 2:40 pm    Post subject: Reply with quote

Hi dleverton,

Here is what i see after the bunzip2 command:

Code:

bash: line 12: BASH_VERSINFO: readonly variable
bash: line 70: EUID: readonly variable
bash: line 168: PPID: readonly variable
bash: line 194: SHELLOPTS: readonly variable
bash: line 202: UID: readonly variable
bash: line 316: syntax error near unexpected token `('
bash: line 316: `            done <<(get_mounts);'


Thanks for your help,

Dale
_________________
Mailtc- system tray mail checker.
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Sat Dec 23, 2006 3:19 pm    Post subject: Reply with quote

dayul wrote:
Code:

bash: line 316: syntax error near unexpected token `('
bash: line 316: `            done <<(get_mounts);'

OK, that's a bash bug - it would have affected Portage too, except it looks like Portage silently swallows such errors. It was worked around in the tree a few weeks ago, but you still have the old version of the code, that triggers the bug, stored. I think the way to fix it would be (note, I haven't tried this...):
  • Make a backup of /var/db/pkg/sys-apps/qingy-0.9.3/environment.bz2, just in case. :wink:
  • Run
    Code:
    bunzip2 /var/db/pkg/sys-apps/qingy-0.9.3/environment.bz2

  • Edit /var/db/pkg/sys-apps/qingy-0.9.3/environment.
  • Find the line that says
    Code:
    done <<(get_mounts);
    and change it to
    Code:
    done <<< "$(get_mounts)"

  • Run
    Code:
    bzip2 /var/db/pkg/sys-apps/qingy-0.9.3/environment

  • Try unmerging it again.
Back to top
View user's profile Send private message
dayul
Apprentice
Apprentice


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

PostPosted: Sat Dec 23, 2006 3:34 pm    Post subject: Reply with quote

Thanks very much for that, it worked! :)
_________________
Mailtc- system tray mail checker.
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: Sun Dec 24, 2006 10:48 pm    Post subject: Reply with quote

Happy holidays to all of you.

And some graphical holiday greetings from me are here: http://drzile.dyndns.org/index.php?page=newyear&lang=en

Have fun!

Zxy


---------------------

@dayul Paludis is much more pedantic considering everything. It warns much more often than portage does. Portage usualy just swallows something. I had to edit a few ebuilds to make them work. Thanks to this, I feel more at home with ebuilds. I had to digg in the ebuild stuff one day anyway.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
Bapt
Veteran
Veteran


Joined: 14 Apr 2003
Posts: 1152
Location: Paris

PostPosted: Wed Dec 27, 2006 11:20 am    Post subject: Reply with quote

ZSH completion added to the wiki
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 Jan 02, 2007 2:11 am    Post subject: Reply with quote

Bapt wrote:
ZSH completion added to the wiki

Thanks.

I guess I'll have to migrate to zsh eventualy. I hate writing all of the --whole-word-commands on the command line. :wink:
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
Conan
Guru
Guru


Joined: 02 Nov 2004
Posts: 360

PostPosted: Tue Jan 02, 2007 2:39 am    Post subject: Reply with quote

there is bashcomp for paludis as well so thats not really a good arguement for switching.
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 Jan 02, 2007 2:43 am    Post subject: Reply with quote

I want to switch to zsh for some time already, so it's not the main reason.

Any news about new versions of Paludis? What's comming in the new releases?
Any dev has some news?
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Tue Jan 02, 2007 10:50 pm    Post subject: Reply with quote

I've noticed that you've made a file for storing all of the mirrors that paludis will use instead of having them in make.conf. Now, in portage there's a file /etc/portage/mirrors which stores some default mirrors to use before any others are looked at. Obviously, the reason for using this file is that if an ebuild specifies to only use the upstream mirror, it will download from the upstream mirror even if a mirror mentioned in make.conf (especially one on your local network) has the file.

Unless I'm mistaken, I didn't see a way for paludis to support this. I understand the reasoning for not using this kind of feature is for the (rare) case that the upstream people change a file without making a new version, but that is avoided by the fact that we use checksums to tell us if the file downloaded isn't the same as the expected one.

edit:
My question was answered for me. I went to the paludis website which had some much-improved docs including info on this very question.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Wed Jan 03, 2007 4:32 am    Post subject: Reply with quote

I'm stuck.

Take a look at http://paludis.pioto.org/migration.html

Quote:
No matter which method you plan to use, start by installing Paludis. There are ebuilds in the tree, or you can get SVN ebuilds (which Portage can't use) from the Paludis overlay. If you don't like the libxml2 and pcre++ dependencies, turn off the qa USE flag. Make sure you are using at least version 0.14 when following this guide.


So, I need to use at least version 0.14 when following the migration guide. But 0.14 isn't in the tree. So the only way to migrate from portage to paludis is to already have paludis installed.

Also, I'm confused as to why the SVN ebuilds are mentioned in the migration guide if they can't be used for an actual migration.
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: Wed Jan 03, 2007 6:52 am    Post subject: Reply with quote

slycordinator wrote:
I'm stuck.

Take a look at http://paludis.pioto.org/migration.html

Quote:
No matter which method you plan to use, start by installing Paludis. There are ebuilds in the tree, or you can get SVN ebuilds (which Portage can't use) from the Paludis overlay. If you don't like the libxml2 and pcre++ dependencies, turn off the qa USE flag. Make sure you are using at least version 0.14 when following this guide.


So, I need to use at least version 0.14 when following the migration guide. But 0.14 isn't in the tree. So the only way to migrate from portage to paludis is to already have paludis installed.

Also, I'm confused as to why the SVN ebuilds are mentioned in the migration guide if they can't be used for an actual migration.


It's in ~ arch. If .14 is not in portage then use .12. I don't see .14 either and I have .12 installed. (no svn)

--- EDIT ---

.14 version is 5 hours old now. It's gonna be in portage soon. I guess. (I looked in the svn repo)
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Wed Jan 03, 2007 7:19 am    Post subject: Reply with quote

zxy wrote:
.14 version is 5 hours old now. It's gonna be in portage soon. I guess. (I looked in the svn repo)


Yeah I didn't realize it was really new.

Also, the bootstrapping guide disappeared in the move to the new site; I guess I'll email ciaranm about that.
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Wed Jan 03, 2007 7:39 am    Post subject: Reply with quote

How do I add version information to my overlays? [Using SVN]
Here's an example:
Code:

Building target list... paludis@1167810432: [WARNING] In program paludis -i palu
  ... When performing install action from command line:
  ... When adding install target 'paludis':
  ... When disambiguating package name 'paludis':
  ... When looking in repository 'gentoo':
  ... Names cache for 'gentoo' has no version information, so cannot be used. Ei
as generated using an older Paludis version or it has not yet been generated.
paludis@1167810432: [WARNING] In program paludis -i paludis:
  ... When performing install action from command line:
  ... When adding install target 'paludis':
  ... When disambiguating package name 'paludis':
  ... When looking in repository 'kports':
  ... Names cache for 'kports' has no version information, so cannot be used. Ei
as generated using an older Paludis version or it has not yet been generated.



**EDIT**
Fixed by regenerating installed and installable cache, so it seems.


Last edited by Phenax on Wed Jan 03, 2007 9:36 am; edited 2 times in total
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: Wed Jan 03, 2007 7:40 am    Post subject: Reply with quote

I just looked at the changelog. Quite a number of improvements.

I don't know about awk make. It is mentioned in changelog. If awk is used instead of sed it could be much faster. (I wish). I'm not sure abot this, I just read one line in changelog.

I saw zsh completion in the folders, too. Looks like this thread has some effects afterall.

Here is what it says on Ciaranm Thingy

Ciaranm Thingy wrote:
Paludis 0.14.0 has been released. Aside from a new homepage URL, changes since 0.12.0 include:

  • The documentation has been tidied up and extended. Documentation for the Ruby interface is now available.
  • paludis --report now also reports unused packages.
  • Various demonstration hooks (show new packages after a sync, run report automatically after a sync, enhanced elog message logging) are now included.
  • Support for ranged dep atoms and the ~> version operator is now available.
  • QA now checks package visibility and profiles. The various QA blacklists are now in text files rather than hard coded.
  • A new client for handling cross toolchains, contrarius, is supplied.
  • Completion for ZSH is now available.
  • CVS can now be used in sync keys for repositories.
  • The paludis client can now display a description of USE flags shown in a --install --pretend session. The --dl-deps-default parameter can be used to specify default values for all six dependency classes.
  • Various icc and BSD portability fixes.
  • The uninstall_ hooks are now called only for real uninstalls. When cleaning a package, clean_ is used instead.
  • Paludis now handles reinstalling or upgrading Paludis more cleanly.


The new homepage is: http://paludis.pioto.org/

---EDIT---

Updated new links on
  • Paludis support thread's first page ( and added some new links too...)
  • Paludis Wiki


NOTICE: If somebody finds some broken links on the first page or on the wiki, please repair it or PM me.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
Bapt
Veteran
Veteran


Joined: 14 Apr 2003
Posts: 1152
Location: Paris

PostPosted: Wed Jan 03, 2007 9:26 am    Post subject: Reply with quote

zxy wrote:
I saw zsh completion in the folders, too. Looks like this thread has some effects afterall.

Yes I wrote a note on the wiki about it, and I talk to ciaranm about it on irc.
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Wed Jan 03, 2007 12:00 pm    Post subject: Reply with quote

0.14.0 is in portage :)
Back to top
View user's profile Send private message
jordan83
Apprentice
Apprentice


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

PostPosted: Wed Jan 03, 2007 1:20 pm    Post subject: Reply with quote

Uhm, I'm quite curious...
what's exactly the meaning of the new use flags:
- cran
- gems
?? :?

Should I enable them?
New repository formats?? :?

thanks :)
_________________
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
zxy
Veteran
Veteran


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

PostPosted: Wed Jan 03, 2007 1:39 pm    Post subject: Reply with quote

@jordan83: Try the new function :D
Quote:
The paludis client can now display a description of USE flags shown in a --install --pretend session. The --dl-deps-default parameter can be used to specify default values for all six dependency classes.

_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Wed Jan 03, 2007 1:46 pm    Post subject: Reply with quote

jordan83 wrote:
Uhm, I'm quite curious...
what's exactly the meaning of the new use flags:
- cran
- gems
?? :?

Should I enable them?
New repository formats?? :?

thanks :)


I'm curious aswell!
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 ... 9, 10, 11 ... 19, 20, 21  Next
Page 10 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