I just installed app-portage/layman-1.0.99 on my system. When I run "layman -L" for the first time, a cache_xyz.xml file is created in /usr/portage/local/layman/, but there's no output: askwar@winnb000488 ~ $ sudo layman -L askwar@winnb000488 ~ $ From this machine, I can access servers on the internet only on certain allowed ports (like 80 and so on). However, as the cache file is created (I'll attach the file), I doubt that this is a network access problem. I further doubt this, since I don't get a good result when I socksify layman with tsocks (ie. tunnel the network traffic through a WORKING socks proxy): askwar@winnb000488 ~ $ sudo tsocks layman -L askwar@winnb000488 ~ $ As you'll see in the emerge --info, I've changed PORTDIR="/Gentoo/Portage/tree" PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc" However, /usr/portage/local does exist: askwar@winnb000488 ~ $ ls -la /usr/portage/local/ insgesamt 12 drwxr-xr-x 3 root root 4096 13. Apr 14:20 . drwxr-xr-x 3 root root 4096 13. Apr 14:20 .. drwxrwxrwx 2 root root 4096 13. Apr 14:42 layman askwar@winnb000488 ~ $ ls -la /usr/portage/local/layman/ insgesamt 48 drwxrwxrwx 2 root root 4096 13. Apr 14:42 . drwxr-xr-x 3 root root 4096 13. Apr 14:20 .. -rw-r--r-- 1 root root 40044 13. Apr 14:44 cache_65bd38402ac8431067b54904bd2ed2d1.xml askwar@winnb000488 ~ $ emerge --info Portage 2.1.2.3 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.19-suspend2-r3.rtr.02b-suspend i686) ================================================================= System uname: 2.6.19-suspend2-r3.rtr.02b-suspend i686 Genuine Intel(R) CPU T2400 @ 1.83GHz Gentoo Base System release 1.12.10 Timestamp of tree: Fri, 13 Apr 2007 07:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 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.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/Gentoo/Portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS=" http://gentoo.supp.name/ http://ftp.heanet.ie/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.gentoo.or.kr/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://distfiles.gentoo.org/ " LANG="de_CH.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j4" PKGDIR="/Gentoo/Portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/Gentoo/Portage/build" PORTDIR="/Gentoo/Portage/tree" PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc" SYNC="rsync://winds06:10873/gentoo-portage" USE="X acpi alsa berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dmi dri dvd dvdr eds emboss encode fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility ldap libg++ libnotify mad midi mikmod mmx mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcmcia pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis wifi win32codecs x86 xcb xine xinerama xml xorg xv zlib" ALSA_CARDS="dummy hda-intel intel8x0 intel8x0m usb-audio usb-usx3y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="dummy none nv nvidia vga vmware" Unset: CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 116156 [details] cache_65bd38402ac8431067b54904bd2ed2d1.xml
Hm, strange. The cache file looks fine so I would also assume that the connection is ok. But I currently have no idea why layman should produce no output at all. I'd at least expect some kind of error :) Can you try to run layman -L --debug --debug-level=8 and see if there is something that looks like it is not working? The output will be very verbose but that might provide more hints.
I ran layman with debug, and it's printing quite a lot. Didn't spot a mistake - but then again, I really did not quite know, what to look out for.
Created attachment 116414 [details] layman debug output This file contains the output of layman with the debug options you gave. I had to compress it, as it's about 2 MB and Bugzilla only accepts 1 MB. FWIW, you can find the uncompressed version also at http://message-center.info/~askwar/stuff/gentoo/layman-debug-8-nocolor.txt and http://message-center.info/~askwar/stuff/gentoo/layman-debug-8.txt. The "nocolor" version is the output of running layman with "--debug-nocolor".
Today, I had another look at "layman -L" to see, if it "all of a sudden" works. And, what should I tell you? "All of a sudden", it *DOES* work! Now I'm baffled about why it now works. Lately, I installed subversion to get the svn binary. Does layman not show SVN repositories, if it cannot find svn?
Arg, okay, sorry I'm stupid. Yes, it won't show any repositories if you don't have the necessary tools installed. And with the new version layman is no longer dependant on subversion so this won't get installed automatically anymore. I did not think of that. You can use the -k switch to list all overlays that are not supported because you don't have the necessary revision control system installed. They'll be marked with a red asterisk. The default behaviour of layman will also change with 1.1 so that -k will be active by default and you will see all repos.