View previous topic :: View next topic |
Author |
Message |
dleverton Guru
Joined: 28 Aug 2006 Posts: 517
|
Posted: Sun Jan 28, 2007 10:47 pm Post subject: |
|
|
Dryre wrote: | I really appreciate all your help on this. Here is my enlightenment.conf. I noticed that eclass thing earlier today as it was pointed to /ebuilds or something like that. I changed it, but the problem still exists.
Code: |
location = ${ROOT}/usr/portage/local/layman/enlightenment
sync = svn+http://overlays.gentoo.org/svn/dev/vapier/enlightenment
profiles = ${ROOT}/usr/portage/profiles/default-linux/x86/2006.1/desktop
eclassdirs = /usr/portage/eclass
distdir = /usr/portage/distfiles
format = ebuild
names_cache = ${location}/.cache/names
write_cache = /var/cache/paludis/metadata
|
|
Try removing /var/cache/paludis/metadata/enlightenment. |
|
Back to top |
|
|
luqas Guru
Joined: 02 Jan 2004 Posts: 588 Location: /US/Texas/Beaumont
|
Posted: Sun Jan 28, 2007 11:14 pm Post subject: |
|
|
You are a god dleverton! That seemed to have fixed it. It makes sense what you said. I really appreciate it. |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Mon Jan 29, 2007 12:13 am Post subject: |
|
|
I've upgraded to the newest version of paludis (0.16.2) and it still doesn't upgrade packages that depend on something in world correctly.
I tested this by editing my use.conf and commenting out a line that specified USE flags for mplayer.
Then I did
Code: | paludis -ip --dl-reinstall if-use-changed world |
Which said that there was nothing to be installed.
Then I did Code: | paludis -ip --dl-reinstall always world | grep mplayer |
And I got
Code: | * media-video/mplayer-1.0_rc1::gentoo {:0} [R] -3dfx -3dnow -3dnowext X aac aalib alsa (-altivec) -amr* -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc dts -dv -dvb dvd dvdread -enca encode -esd -fbcon -ggi gif gtk -iconv ipv6 -jack -joystick jpeg -libcaca -lirc -live -livecd -lzo mad -matrox mmx mmxext -musepack* -nas -openal opengl oss png -real -rtc -samba sdl -speex sse sse2 -svga -tga -theora truetype unicode -v4l -v4l2 vorbis win32codecs -x264* -xanim -xinerama xv xvid -xvmc linguas: -bg -cs -da -de -el en -es -fr -hu -ja -ko -mk -nl -no -pl -pt_BR -ro -ru -sk -tr -uk -zh_CN -zh_TW
* net-www/mplayerplug-in-3.31-r1::gentoo {:0} [R] divx gmedia gtk quicktime -realmedia wmp <world> |
And you'll notice that it is showing me that I am changing my USE flags (which should've happened in the first command). |
|
Back to top |
|
|
beu Retired Dev
Joined: 03 Mar 2004 Posts: 22 Location: London, UK
|
Posted: Mon Jan 29, 2007 12:29 am Post subject: |
|
|
Only RDEPEND and PDEPEND are considered by default. |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Mon Jan 29, 2007 12:35 am Post subject: |
|
|
beu wrote: | Only RDEPEND and PDEPEND are considered by default. |
Then set RDEPEND to DEPEND implicitly like portage when the ebuild doesn't set RDEPEND. |
|
Back to top |
|
|
jordan83 Apprentice
Joined: 17 Apr 2006 Posts: 222 Location: check your closet...
|
Posted: Mon Jan 29, 2007 2:13 am Post subject: |
|
|
I have modified etc-update to use Paludis instead of Portage.
I named the package sys-apps/etc-paludis.
It is completely independent from Portage (at least it should ).
I hope it will be useful to someone.
HERE you can find the ebuild. _________________ 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 |
|
|
krisse Guru
Joined: 15 Mar 2005 Posts: 325 Location: Sweden
|
Posted: Mon Jan 29, 2007 8:47 am Post subject: |
|
|
Allright... Everything seems to be working. (Including e17 repo.) Um, another question though.
With emerge, I was able to have several, separate "keyword.conf" files, under a directory /etc/portage/package.keywords. Is there a way to set something like "additional keyword.conf file = foo" with paludis? (With the dir-setup with emerge, I was able to link a "keyword-file" from a repo/overlay (e17); handy, but not necessary, of course.) |
|
Back to top |
|
|
fldc2 Tux's lil' helper
Joined: 14 Jun 2006 Posts: 112 Location: Motala, Sweden
|
Posted: Mon Jan 29, 2007 10:03 am Post subject: |
|
|
just installed ut2004 and was just thinking, the emerge --config option is not supported? |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Mon Jan 29, 2007 3:09 pm Post subject: |
|
|
Paludis-exstras - overlay upgrade
IMPORTANT CHANGE: I cleaned up the overlay of the so called junk and created the paludis-hooks eclass. All paludis-hooks ebuilds are now shorter (more beautifull )
YOUR ACTION REQUIRED: add a new eclass directory in
/etc/paludis/repositories/paludis-extras.conf: | eclassdirs = ${ROOT}/usr/portage/eclass ${location}/eclass |
Hopefully this is the last bigger change.
ChangeLog
Added app-paludis/etc-paludis-20070129 (by jordan83) to the overlay.
Added hook sync-disks-1.0 (by zxy)
See the Paludis-extras for more info.
---
About hook sync-disks:
I like to use write caching on my disks, so I remembered that the most safe thing to do, would be to sync disks after installing every package, also after uninstaling and after syncing database. It seems much safer to me this way in case of power failure or a freeze, crash etc. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
dleverton Guru
Joined: 28 Aug 2006 Posts: 517
|
Posted: Mon Jan 29, 2007 4:28 pm Post subject: |
|
|
zxy wrote: | IMPORTANT CHANGE: I cleaned up the overlay of the so called junk and created the paludis-hooks eclass. All paludis-hooks ebuilds are now shorter (more beautifull ) |
How about adding this function to the eclass:
Code: | dohook() {
local hookfile="${1}"
local hookname="${hookfile##*/}"
local hooksdir="/usr/share/paludis/hooks"
shift
if [[ $# -gt 1 ]]; then
insinto "${hooksdir}/common" || die "insinto failed"
doins "${hookfile}" || die "doins failed"
for hooktype in "$@"; do
dodir "${hooksdir}/${hooktype}" || die "dodir failed"
dosym "${hooksdir}/common/${hookname}" "${hooksdir}/${hooktype}" || die "dosym failed"
done
else
insinto "${hooksdir}/${1}" || die "insinto failed"
doins "${hookfile}" || die "doins failed"
fi
} |
Then the src_install functions can look like
Code: | src_install() {
einfo "Installing hook: collision-protect"
dohook collision-protect-${PV}/collision-protect.bash ebuild_merge_pre
einfo "Hook installed."
} |
and
Code: | src_install() {
einfo "Installing hook: undo-prelink"
dohook undo-prelink-${PV}/undo-prelink.bash ebuild_merge_pre ebuild_unmerge_pre
einfo "Hook installed."
} |
You could make them even shorter if you cut out all the einfos, I don't think they serve much purpose. |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Mon Jan 29, 2007 5:12 pm Post subject: |
|
|
dleverton thanks. Looks good to me.
Some einfos must be there, at least for ask, but yeah, some can be cut out.
I'll look deeper into it soon. Now the changes will be easier as the eclass folder will already be set in paludis-extras.conf, so users will not have to edit the files any more. (I sincerely hope so). _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
Bapt Veteran
Joined: 14 Apr 2003 Posts: 1152 Location: Paris
|
Posted: Mon Jan 29, 2007 5:31 pm Post subject: |
|
|
It would be great if the important change could be provided as news (eselect news) in paludis-extras.
I think it's their purpose, and for people not coming in this forum to get the information. |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Mon Jan 29, 2007 5:42 pm Post subject: |
|
|
@bapt: good idea. I'll have to look in the docs though to learn how to do it. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Mon Jan 29, 2007 6:09 pm Post subject: |
|
|
Hello, I configured Paludis via the bashscript on the project website, but I got one error with paludis --info:
Quote: |
paludis --info
paludis 0.16.2
Built by root@laptop on 2007-01-29T17:09:24+0100
CXX: i686-pc-linux-gnu-g++ 4.1.1 (Gentoo 4.1.1-r3)
CXXFLAGS: -march=pentium-m -O2 -pipe -fomit-frame-pointer
LDFLAGS:
DATADIR: /usr/share
LIBDIR: /usr/lib
LIBEXECDIR: /usr/libexec
SYSCONFDIR: /etc
stdlib: GNU libstdc++ 20060524
libebt: 1.3.0
libwrapiter: 1.0.0
sandbox: enabled
Repository virtuals:
Configuration information:
format: virtuals
Repository installed_virtuals:
Configuration information:
format: installed_virtuals
Repository gentoo:
paludis@1170093387: [WARNING] Provides cache at '/var/db/pkg/.cache/provides' is not a regular file.
Configuration information:
buildroot: /var/tmp/paludis
cache: /usr/portage/metadata/cache
distdir: /usr/portage/distfiles
eclassdirs: /usr/portage/eclass
format: ebuild
location: /usr/portage
names_cache: /usr/portage/.cache/names
newsdir: /usr/portage/metadata/news
pkgdir: /var/empty
profiles: /usr/portage/profiles/default-linux/x86/2006.1/desktop
root: /
securitydir: /usr/portage/metadata/glsa
setsdir: /usr/portage/sets
sync: rsync://rsync.de.gentoo.org/gentoo-portage
sync_options:
write_cache: /var/cache/paludis/metadata
Package information:
app-admin/eselect-compiler: (none)
dev-java/java-config: (none)
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: (none)
dev-util/confcache: (none)
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
Variable information:
ACCEPT_KEYWORDS:
AUTOCLEAN:
CBUILD: i686-pc-linux-gnu
CFLAGS: -march=pentium-m -O2 -pipe -fomit-frame-pointer
CHOST: i686-pc-linux-gnu
CONFIG_PROTECT: /usr/share/X11/xkb
CONFIG_PROTECT_MASK: /etc/gconf /etc/terminfo /etc/revdep-rebuild
CTARGET:
CXXFLAGS: -march=pentium-m -O2 -pipe -fomit-frame-pointer
DISTDIR: /usr/portage/distfiles
FEATURES:
GENTOO_MIRRORS:
INSTALL_MASK:
LANG:
LC_ALL:
LDFLAGS:
LINGUAS:
MAKEOPTS: -j2
PKGDIR:
PORTAGE_RSYNC_EXTRA_OPTS:
PORTAGE_RSYNC_OPTS:
PORTAGE_TMPDIR: /var/tmp/paludis
PORTDIR: /usr/portage
PORTDIR_OVERLAY:
SYNC:
USE:
Repository installed:
Configuration information:
buildroot: /var/tmp/paludis
format: vdb
location: /var/db/pkg
names_cache: /var/db/pkg/.cache/names
provides_cache: /var/db/pkg/.cache/provides
root: /
world: /var/db/pkg/world
|
What should I do?
<edit />
I have taken a look at the configuration files and found this (repo system of paludis is a little bit confusing for me):
Code: |
cat installed.conf
location = ${ROOT}/var/db/pkg/
format = vdb
names_cache = ${location}/.cache/names
provides_cache = ${location}/.cache/provides
|
Could or should I replace the vars? _________________ Just you and me strogg!
Last edited by hoschi on Mon Jan 29, 2007 6:17 pm; edited 1 time in total |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Mon Jan 29, 2007 6:16 pm Post subject: |
|
|
issuing Code: | paludis --regenerate-installed-cache | will probably be enough _________________ The End of the Internet! |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Mon Jan 29, 2007 6:21 pm Post subject: |
|
|
Thanks! It is not a bug, it is a feature! _________________ Just you and me strogg! |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Mon Jan 29, 2007 6:43 pm Post subject: |
|
|
bapt: I have created a folder metadata/news in the overlay, where the news file about the newest upgrade is.
I'll add new news as they will be needed. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Mon Jan 29, 2007 9:16 pm Post subject: |
|
|
How can I do sth. similar to "emerge -uDavN world"?
I think "paludis -i world" should be enough, but what is with all thes dl-list options?
Quote: |
Modify dependency list generation behaviour. Use with caution.
--dl-reinstall
When to reinstall packages
never
Never
always
Always
if-use-changed
If USE flags have changed
|
I though, paludis always take a look at changed USE-Flags? _________________ Just you and me strogg! |
|
Back to top |
|
|
semakwetu n00b
Joined: 03 Jan 2007 Posts: 20
|
Posted: Mon Jan 29, 2007 9:44 pm Post subject: |
|
|
I don't seem to be able to access the site http://drzile.dyndns.org/ either direct or for syncing as my firewall is blocking various ports that it seems to be trying to access. I'm not sure how to provide access for it because the port numbers are not constant and I'm not sure I if should. Some advice would be gratefully received.
Thanks, |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Mon Jan 29, 2007 9:56 pm Post subject: |
|
|
semakwetu wrote: | I don't seem to be able to access the site http://drzile.dyndns.org/ either direct or for syncing as my firewall is blocking various ports that it seems to be trying to access. I'm not sure how to provide access for it because the port numbers are not constant and I'm not sure I if should. Some advice would be gratefully received.
Thanks, |
so here is what you need to know to setup the paludis-extras overlay....
Code: | sync = rsync://drzile.dyndns.org/paludis-extras |
_________________ The End of the Internet! |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Mon Jan 29, 2007 10:23 pm Post subject: |
|
|
hoschi wrote: | How can I do sth. similar to "emerge -uDavN world"?
I think "paludis -i world" should be enough, but what is with all thes dl-list options?
Quote: |
Modify dependency list generation behaviour. Use with caution.
--dl-reinstall
When to reinstall packages
never
Never
always
Always
if-use-changed
If USE flags have changed
|
I though, paludis always take a look at changed USE-Flags? |
always would be like doing "emerge -e"; where if-use-changed would be like doing "emerge -N"
The only difference is that it doesn't reinstall DEPENDS that had changed USE flags; only RDEPENDS and PDEPENDS. |
|
Back to top |
|
|
semakwetu n00b
Joined: 03 Jan 2007 Posts: 20
|
Posted: Mon Jan 29, 2007 11:38 pm Post subject: |
|
|
truc wrote: | semakwetu wrote: | I don't seem to be able to access the site http://drzile.dyndns.org/ either direct or for syncing as my firewall is blocking various ports that it seems to be trying to access. I'm not sure how to provide access for it because the port numbers are not constant and I'm not sure I if should. Some advice would be gratefully received.
Thanks, |
so here is what you need to know to setup the paludis-extras overlay....
Code: | sync = rsync://drzile.dyndns.org/paludis-extras |
|
Thanks. Interestingly what allowed me to see the website in the end was to remove Block traffic from reserved addresses on public interfaces. |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Tue Jan 30, 2007 9:53 am Post subject: |
|
|
slycordinator wrote: | hoschi wrote: | How can I do sth. similar to "emerge -uDavN world"?
I think "paludis -i world" should be enough, but what is with all thes dl-list options?
Quote: |
Modify dependency list generation behaviour. Use with caution.
--dl-reinstall
When to reinstall packages
never
Never
always
Always
if-use-changed
If USE flags have changed
|
I though, paludis always take a look at changed USE-Flags? |
always would be like doing "emerge -e"; where if-use-changed would be like doing "emerge -N"
The only difference is that it doesn't reinstall DEPENDS that had changed USE flags; only RDEPENDS and PDEPENDS. |
What do you mean with your last line, is this a comparison between portage and paludis in generall?
DEPENDS and RDEPENDS are clear, but what are PDEPENDS? Paludis/Portage should keep also the DEPENDS on current state of USEFLAGS.
emerge -uDN world ~ paludis -i --dl-reinstall if-use-changed --dl-upgrade always world
-u ~ -i
-N ~ --dl-reinstall if-use-changed
-D ~ --dl-upgrade always
<edit />
A second question, if I want block a special application (like gnome-games and eog, all the awful unnecessary stuff...) via portage I have used all the time /etc/portage/profile/package.provided, the package_mask.conf from paludis seems not to be a good replacement for this special action? _________________ Just you and me strogg! |
|
Back to top |
|
|
Martin.Jansa n00b
Joined: 09 Mar 2004 Posts: 55 Location: Prague
|
Posted: Tue Jan 30, 2007 1:56 pm Post subject: Unable to determine what USE flags |
|
|
With paludis version from subversion.
I'm getting errors like this:
Code: |
!!! ERROR in media-video/ogmrip-0.10.1:
!!! In built_with_use at line 1655
!!! Unable to determine what USE flags media-video/mplayer-1.0_rc1-r1 was built with
|
similar with cacti about php USE flags. Even after rebuild of mplayer/php and regenerating cache.
It's bug of -scm version (I'll try to downgrade to 16.2), feature, my fault or my bad settings? What to check now()? |
|
Back to top |
|
|
krisse Guru
Joined: 15 Mar 2005 Posts: 325 Location: Sweden
|
Posted: Tue Jan 30, 2007 2:58 pm Post subject: |
|
|
hoschi wrote: | emerge -uDN world ~ paludis -i --dl-reinstall if-use-changed --dl-upgrade always world
-u ~ -i
-N ~ --dl-reinstall if-use-changed
-D ~ --dl-upgrade always
|
I don't know anything, really, just started to dabble with paludis, but I've found that if I want the same result with paludis as with emerge (-uDNp) -- by which I mean, `the same' packages emerged/paluded --, I'd also add something like Code: | --dl-deps-default try-post | to the options you mentioned above.
(Or was it just a fluke some additional packages got included with that? Aaaaaw, I don't remember. I was experimenting this morning. ) |
|
Back to top |
|
|
|