[gentoo-user] world file - where has it gone?
Hi, I discovered that the file /var/lib/portage/world contains only a few lines where it contained hundreds of files before. Has the information previously kept in this file been moved to some other place (database?)? Many thanks for a hint, Helmut
Re: [gentoo-user] world file - where has it gone?
On Sun, Jan 04, 2015 at 01:19:03PM +0100, Helmut Jarausch wrote: Hi, I discovered that the file /var/lib/portage/world contains only a few lines where it contained hundreds of files before. As far as I’m aware, if you say `emerge foo`, then foo is added to that file. But a long time ago I switched to manually managing sets (essentials, kde, office, etc.). If you add -1 to the emerge command, then foo is not added to world. Perhaps you started using that argument. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any social network. “If a ship with 1000 investment bankers sinks in heavy seas, it is a tragedy. If only one of them can swim, it is a disaster.” – Urban Priol signature.asc Description: Digital signature
Re: [gentoo-user] world file - where has it gone?
On 2015-01-04 13:19, Helmut Jarausch wrote: Hi, I discovered that the file /var/lib/portage/world contains only a few lines where it contained hundreds of files before. Has the information previously kept in this file been moved to some other place (database?)? Many thanks for a hint, Helmut Do you specify the oneshot parameter when you emerge packages? Does it contain the packages you really need (not the dependencies)?
[gentoo-user] World-file and comments
Hi, I want to remove some files from the /var/lib/portage/World-file. Do I have to _remove_ the according entry or is it sufficient to comment it out with # or // or Thank you very much for any help in advance ! Keep hacking and have a nice weekend! mcc -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] World-file and comments
# works On Thu, 13 Jul 2006 21:06:18 +0200 (CEST) Meino Christian Cramer wrote: Hi, I want to remove some files from the /var/lib/portage/World-file. Do I have to _remove_ the according entry or is it sufficient to comment it out with # or // or Thank you very much for any help in advance ! Keep hacking and have a nice weekend! mcc -- gentoo-user@gentoo.org mailing list -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file cheating
Trenton Adams wrote: I've never specified -p, so I think it must be default, because I always have permissions preserved when I use tar. Perhaps this is a GNU tar default setting? I believe it may be a default for root, but would put it in anyway to be safe. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file cheating
On Thu, Jan 05, 2006 at 06:39:33PM +, James wrote Hello, Some time ago, I copied a world file (/var/lib/portage/world) from a system with lots of installed software to a 'clone' system newly installed with gentoo Now 'emaint --check world' suggests that not all of those packages have been installed. (Busted). I was not responsible enough to verify that the clone was 100% similar with the identical ebuilds. I thought I had found a way to duplicate the installed software, merely by copying the world file from another system. I don't know if it's generally possible, because there are so many ways to get from-here-to-there. The following is my *ENTIRE* world file. Yes, I'm running Blackbox WM on X. Three guesses on how I managed to do this. [m3000][root][~] cat /var/lib/portage/world media-sound/alsa-utils media-sound/mpg123 sys-fs/reiserfsprogs app-text/xpdf net-misc/urlview sys-kernel/linux-headers sys-boot/lilo media-gfx/gimp app-office/gnumeric app-admin/sudo net-misc/rdate net-analyzer/traceroute x11-misc/fbpanel app-admin/syslog-ng media-video/mplayer media-sound/xmms x11-misc/bbkeys media-gfx/gqview app-office/abiword sys-process/dcron net-dialup/pppconfig net-mail/getmail mail-client/mutt net-nntp/slrn net-misc/whois media-video/realplayer sys-libs/glibc www-client/mozilla-firefox app-editors/nano app-arch/gzip sys-kernel/gentoo-sources app-admin/logrotate sys-devel/gettext net-firewall/iptables app-portage/gentoolkit mail-filter/procmail app-editors/vim app-misc/mc -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file cheating
Trenton Adams [EMAIL PROTECTED] writes: I just boot with a gentoo CD, tar up my entire system, and untar it on the new system. If your new system boots with the gentoo CD as well, then you can pipe this over ssh. Something like the following... cd /mnt/gentoo tar -cz ./ | ssh [EMAIL PROTECTED] 'cd /mnt/gentoo; tar -xz' Won't you need tar xpz to preserve file ownership and permissions? -- Hilsen Harald. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file cheating
I've never specified -p, so I think it must be default, because I always have permissions preserved when I use tar. Perhaps this is a GNU tar default setting? On 1/6/06, Harald Arnesen [EMAIL PROTECTED] wrote: Trenton Adams [EMAIL PROTECTED] writes: I just boot with a gentoo CD, tar up my entire system, and untar it on the new system. If your new system boots with the gentoo CD as well, then you can pipe this over ssh. Something like the following... cd /mnt/gentoo tar -cz ./ | ssh [EMAIL PROTECTED] 'cd /mnt/gentoo; tar -xz' Won't you need tar xpz to preserve file ownership and permissions? -- Hilsen Harald. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file cheating
James wrote: Hello, Some time ago, I copied a world file (/var/lib/portage/world) from a system with lots of installed software to a 'clone' system newly installed with gentoo Now 'emaint --check world' suggests that not all of those packages have been installed. (Busted). I was not responsible enough to verify that the clone was 100% similar with the identical ebuilds. I thought I had found a way to duplicate the installed software, merely by copying the world file from another system. Any better ideas on how to duplicate gentoo systems, with the installed list of ebuilds matching? thoughts and ideas? James No guru but I would think a emerge -e world would make it install the same packages. You would have to make sure your USE line is the same in make.conf. I did this on my main rig a while back. It worked for me but I copied world and make.conf over. Dale :-) -- To err is human, I'm most certainly human. I have four rigs: 1: Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives. Named Smoker 2: Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive. Named Swifty 3: Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB drive. Named Pokey 4: Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive. Named Putput All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers. -- gentoo-user@gentoo.org mailing list
[gentoo-user] world file cheating
Hello, Some time ago, I copied a world file (/var/lib/portage/world) from a system with lots of installed software to a 'clone' system newly installed with gentoo Now 'emaint --check world' suggests that not all of those packages have been installed. (Busted). I was not responsible enough to verify that the clone was 100% similar with the identical ebuilds. I thought I had found a way to duplicate the installed software, merely by copying the world file from another system. Any better ideas on how to duplicate gentoo systems, with the installed list of ebuilds matching? thoughts and ideas? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file cheating
On Thu, 2006-01-05 at 18:39 +, James wrote: Any better ideas on how to duplicate gentoo systems, with the installed list of ebuilds matching? thoughts and ideas? To get a good list of all packages on your system use qlist (emerge portage-utils). # qlist -ICv |sed -e 's:^:=:' portage.list # xargs emerge -YOUROPTS portage.list If the systems are identical, you can use quickpkg to make packages from your active system, configs and all, then use those packages to emerge -K on the other systems. -- Lares Moreau [EMAIL PROTECTED] | LRU: 400755 http://counter.li.org lares/irc.freenode.net | Gentoo x86 Arch Tester | ::0 Alberta, Canada Public Key: 0D46BB6E @ subkeys.pgp.net | Encrypted Mail Preferred Key fingerprint = 0CA3 E40D F897 7709 3628 C5D4 7D94 483E 0D46 BB6E signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] world file cheating
I just boot with a gentoo CD, tar up my entire system, and untar it on the new system. If your new system boots with the gentoo CD as well, then you can pipe this over ssh. Something like the following... cd /mnt/gentoo tar -cz ./ | ssh [EMAIL PROTECTED] 'cd /mnt/gentoo; tar -xz' I personally actually just use an external HD, that I'm building gentoo on. My primary box has it's portage on the external HD, and I'm trying to install all the packages i need on it. So, if I need a new system, I just copy the entire gentoo system off the external HD, to a new system, and then change configs. On 1/5/06, James [EMAIL PROTECTED] wrote: Hello, Some time ago, I copied a world file (/var/lib/portage/world) from a system with lots of installed software to a 'clone' system newly installed with gentoo Now 'emaint --check world' suggests that not all of those packages have been installed. (Busted). I was not responsible enough to verify that the clone was 100% similar with the identical ebuilds. I thought I had found a way to duplicate the installed software, merely by copying the world file from another system. Any better ideas on how to duplicate gentoo systems, with the installed list of ebuilds matching? thoughts and ideas? James -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file cheating
On Thu, 5 Jan 2006 18:39:33 + (UTC), James wrote: Any better ideas on how to duplicate gentoo systems, with the installed list of ebuilds matching? cat /var/lib/portage/world | xargs emerge -uvp cat /var/lib/portage/world | xargs emerge -uv will ensure that everything in the world file is installed, along with all dependencies. -- Neil Bothwick When childhood dies, its corpses are called adults. signature.asc Description: PGP signature
Re: [gentoo-user] World file problems (more)
Michael W. Holdeman wrote: OK since there are world file experts out there.. A while back I was playing around with cvs and svn versions of kde, long story short they are there anymore, and as far as I can tell the files are gone, but portage thinks they are still there which really screws up my revdep-rebuild and emerge depclean's. I can't even get rid of them in kuroo, in fact kuroo shows the files are still installed? how do I get rid of these ghosts Well, if portage thinks a package is installed, then normally you can simply unmerge it. If the unmerge fails for some reason (normally it won't fail), then you can manually remove it from the /var/db/pkg database, but it will leave behind orphaned files. Zac -- gentoo-user@gentoo.org mailing list
[gentoo-user] World file problems (more)
OK since there are world file experts out there.. A while back I was playing around with cvs and svn versions of kde, long story short they are there anymore, and as far as I can tell the files are gone, but portage thinks they are still there which really screws up my revdep-rebuild and emerge depclean's. I can't even get rid of them in kuroo, in fact kuroo shows the files are still installed? how do I get rid of these ghosts Mike -- Michael W. Holdeman Powered by Gentoo Linux www.gentoo.org | Kernel 2.6.11-ck8 | Win4Lin 5-1-20 netraverse.com | Win4LinPro 6.1.1-03 win4lin.com | | -- gentoo-user@gentoo.org mailing list
[gentoo-user] World File
I was reading a different thread about the world file does not necessarily contain all of the programs installed, if they are installed from a dependency. Is there a way to see what programs are installed on the machine which are not in the world file? Thanks, Jeff -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] World File
Yes, /var/db/pkg will have information about every package installed (in the subdirectories). The world file has things that you want to always be there, or you installed manually.On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:I was reading a different thread about the world file does not necessarily contain all of the programs installed, if they areinstalled from a dependency.Is there a way to see what programs areinstalled on the machine which are not in the world file?Thanks,Jeff --gentoo-user@gentoo.org mailing list-- Steven Susbauer
Re: [gentoo-user] World File
Jeff Grossman wrote: I was reading a different thread about the world file does not necessarily contain all of the programs installed, if they are installed from a dependency. Is there a way to see what programs are installed on the machine which are not in the world file? Thanks, Jeff Sure, use equery. Like so: equery list -- [Name ] :: [Matan I. Peled] [Location ] :: [Israel] [Public Key] :: [0xD6F42CA5] [Keyserver ] :: [keyserver.kjsl.com] encrypted/signed plain text preferred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] World File
On Saturday 26 November 2005 17:37, Jeff Grossman wrote: I was reading a different thread about the world file does not necessarily contain all of the programs installed, if they are installed from a dependency. Is there a way to see what programs are installed on the machine which are not in the world file? That is correct, to see poke around in /var/db/pkg for quickness, or take the support method and use equery. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file clean-up - glibc linux-headers??
On Sat, 21 May 2005, Stroller wrote: On May 18, 2005, at 3:11 am, Mark Knecht wrote: As per some conversations last week I've been doing a lot of clean up of my world files. I've moved from a high of 235 files down to my low today of onl 112. On a related note, today I took a glance at the world file on a laptop I installed a couple of days ago, and glibc linux-headers are mentioned. Is this normal? Perhaps I've missed something in the previous thread about the world file, but surely glibc linux-headers are depends of other packages? I'm sure I never specifically installed them. Doesn't the bootstrap script install them? -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file clean-up - glibc linux-headers??
On May 18, 2005, at 3:11 am, Mark Knecht wrote: As per some conversations last week I've been doing a lot of clean up of my world files. I've moved from a high of 235 files down to my low today of onl 112. On a related note, today I took a glance at the world file on a laptop I installed a couple of days ago, and glibc linux-headers are mentioned. Is this normal? Perhaps I've missed something in the previous thread about the world file, but surely glibc linux-headers are depends of other packages? I'm sure I never specifically installed them. Stroller. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file clean-up - vi vs. vim - system profile
On Tue, 17 May 2005 19:11:27 -0700 Mark Knecht [EMAIL PROTECTED] wrote: | !!! Trying to unmerge package(s) in system profile. 'app-editors/vi' | !!! This could be damaging to your system. You're seeing that because vi is PROVIDEing virtual/editor, which is required by system. You're safe to ignore it so long as you install another editor. | flash ~ # emerge -pv vi | | These are the packages that I would merge, in order: | | Calculating dependencies | emerge: there are no ebuilds to satisfy vi. vi is no longer in the tree. -- Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron) Mail: ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm pgpZmmfBkHsuP.pgp Description: PGP signature
Re: [gentoo-user] world file clean-up - vi vs. vim - system profile
On 5/17/05, Ciaran McCreesh [EMAIL PROTECTED] wrote: On Tue, 17 May 2005 19:11:27 -0700 Mark Knecht [EMAIL PROTECTED] wrote: | !!! Trying to unmerge package(s) in system profile. 'app-editors/vi' | !!! This could be damaging to your system. You're seeing that because vi is PROVIDEing virtual/editor, which is required by system. You're safe to ignore it so long as you install another editor. Great. vim is already installed so I'll can do an emerge -C vi from the command line and then just edit /var/lib/portage/world by hand to remove the vi line? Currently in world: app-editors/vi app-editors/vim Currently on the system already: flash ~ # emerge -pv vim These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] app-editors/vim-6.3.068 -acl -bash-completion -cscope -debug +gpm -minimal +ncurses +nls +perl +python -ruby (-selinux) -vim-with-x 4,746 kB Total size of downloads: 4,746 kB flash ~ # Will vim automatically be PROVIDEing virtual/editor or is there something more I'll need to do to tell the system that vim is taking vi's place? Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] world file clean-up - vi vs. vim - system profile
On Tue, 17 May 2005 19:34:12 -0700 Mark Knecht [EMAIL PROTECTED] wrote: | Great. vim is already installed so I'll can do an emerge -C vi from | the command line and then just edit /var/lib/portage/world by hand to | remove the vi line? Currently in world: | | app-editors/vi | app-editors/vim | | Will vim automatically be PROVIDEing virtual/editor or is there | something more I'll need to do to tell the system that vim is taking | vi's place? So long as you've updated to a current portage sometime in the past year or so you should be fine. -- Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron) Mail: ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm pgpEX1ybBvggN.pgp Description: PGP signature
Re: [gentoo-user] world file clean-up - vi vs. vim - system profile
On 5/17/05, Ciaran McCreesh [EMAIL PROTECTED] wrote: On Tue, 17 May 2005 19:34:12 -0700 Mark Knecht [EMAIL PROTECTED] wrote: | Great. vim is already installed so I'll can do an emerge -C vi from | the command line and then just edit /var/lib/portage/world by hand to | remove the vi line? Currently in world: | | app-editors/vi | app-editors/vim | | Will vim automatically be PROVIDEing virtual/editor or is there | something more I'll need to do to tell the system that vim is taking | vi's place? So long as you've updated to a current portage sometime in the past year or so you should be fine. Worked great. Thanks. Cheers, Mark -- gentoo-user@gentoo.org mailing list