Re: [gentoo-user] Everything disappeared from world list
Doug Hunley writes: > On Wed, Jul 11, 2012 at 12:17 PM, Alex Schuster > wrote: > >> How would you do that? I'm currently using ~amd64 and can't yet use > >> sets for some reason. > > > > Then you probably need portage 2.2 for this. Which will never ever > > become stable it seems, but I'm using it just fine for three years > > now. > > Yes, 2.2 is needed. And same here. Using it forever and no issues Well, I _had_ some issues with that when the preserved-libs feature was new, a few times after an emerge @preserved-rebuild nothing changed, and emerge @preserved-libs would emerge the same stuff over and over again. I had to delete /var/lib/portage/preserved_libs_registry manually. That was in 2009, all was fine since then. But I fear that one day one of the many many portage updates might introduce a nasty bug, and portage will be broken. The chance may be small, but then there already were over 150 portage updates in my case. > > Is emerge @preserved-rebuild (with FEATURES=preserve-libs) also a 2.2 > > feature? I like this most, I no longer need to use revdep-rebuild. I > > always considered having to use it a bug, fixing broken things after > > breaking them, instead of preventing breakage. > > Indeed, also a 2.2 thing and the biggest reason I use it honestly Me too. revdep-rebuild reports stuff that is broken, and I do not want to have anything like that on my systems. What if I need such a broken application before revdep-rebuild has fixed it? For a large package this might take hours. And what if I run into a build problem? Using the preserved-libs feature I feel much safer. Wonko
Re: [gentoo-user] Everything disappeared from world list
On Wed, Jul 11, 2012 at 12:17 PM, Alex Schuster wrote: >> How would you do that? I'm currently using ~amd64 and can't yet use >> sets for some reason. > > Then you probably need portage 2.2 for this. Which will never ever become > stable it seems, but I'm using it just fine for three years now. Yes, 2.2 is needed. And same here. Using it forever and no issues > > Is emerge @preserved-rebuild (with FEATURES=preserve-libs) also a 2.2 > feature? I like this most, I no longer need to use revdep-rebuild. I > always considered having to use it a bug, fixing broken things after > breaking them, instead of preventing breakage. Indeed, also a 2.2 thing and the biggest reason I use it honestly -- Douglas J Hunley (doug.hun...@gmail.com) Twitter: @hunleyd Web: douglasjhunley.com G+: http://goo.gl/sajR3
Re: Portage 2.2 - when will it go stable?? WAS: Re: [gentoo-user] Everything disappeared from world list
On 11 July 2012 14:23, Tanstaafl wrote: > On 2012-07-11 12:17 PM, Alex Schuster wrote: >> >> Then you probably need portage 2.2 for this. Which will never ever become >> stable it seems, > > > Can anyone comment on *why* it is taking so long? It is beginning to border > on ridiculous - if it is ready (which I seem to recall lots of references to > 'why are you still using 2.1??), why not just stabilize it already? I try > really hard not to run anything unstable unless I absolutely have to (for > obvious reasons)... > https://bugs.gentoo.org/show_bug.cgi?id=210077 <--- This is why it's taking so long, there are still MANY bugs that should really be fixed. Part of why it's taking so long for those bugs to be fixed is because programmatic sets and preserve-libs aren't a priority, but things like supporting new EAPIs and such are a far bigger priority.
Portage 2.2 - when will it go stable?? WAS: Re: [gentoo-user] Everything disappeared from world list
On 2012-07-11 12:17 PM, Alex Schuster wrote: Then you probably need portage 2.2 for this. Which will never ever become stable it seems, Can anyone comment on *why* it is taking so long? It is beginning to border on ridiculous - if it is ready (which I seem to recall lots of references to 'why are you still using 2.1??), why not just stabilize it already? I try really hard not to run anything unstable unless I absolutely have to (for obvious reasons)...
Re: [gentoo-user] Everything disappeared from world list
Claudio Roberto França Pereira writes: > On Fri, Jul 6, 2012 at 11:13 AM, Doug Hunley > wrote: > > This is why I keep an empty world file and use /etc/portage/sets/ > > exclusively. I'm backing up /etc/portage anyway (package.use and > > friends), so it just makes sense to have 'world' in there ;) > > How would you do that? I'm currently using ~amd64 and can't yet use > sets for some reason. Then you probably need portage 2.2 for this. Which will never ever become stable it seems, but I'm using it just fine for three years now. You have to put this into /etc/portage/package.accept_keywords:
Re: [gentoo-user] Everything disappeared from world list
On Fri, Jul 6, 2012 at 11:13 AM, Doug Hunley wrote: >> AFAIK, Gentoo does not have a script or an option to back up the >> world file and other associated files. > > This is why I keep an empty world file and use /etc/portage/sets/ > exclusively. I'm backing up /etc/portage anyway (package.use and > friends), so it just makes sense to have 'world' in there ;) How would you do that? I'm currently using ~amd64 and can't yet use sets for some reason. > -- > Douglas J Hunley (doug.hun...@gmail.com) > Twitter: @hunleyd Web: > douglasjhunley.com > G+: http://goo.gl/sajR3 >
Re: [gentoo-user] Everything disappeared from world list
On 07/06/2012 09:00 AM, Bill Kenworthy wrote: > On Fri, 2012-07-06 at 08:41 +0530, Nilesh Govindrajan wrote: >> Hi, >> I yesterday got a ssd to replace my kaput hdd which had no data but >> os. >> Apparently something went wrong while migration, and now everything >> disappeared in portage's world list. >> >> So whenever I run depclean it tries to remove all packages. How to fix >> this? >> >> I don't have data on original hdd now, zeroed it. >> > > troll ~ # regenworld --help > This script regenerates the portage world file by checking the portage > logfile for all actions that you've done in the past. It ignores any > arguments except --help. It is recommended that you make a backup of > your existing world file (/var/lib/portage/world) before using this > tool. > troll ~ # > > > > This fixed the problem. It generated some extra packages, but I fixed them. @everyone, thanks for your replies. For some reason the this reply wasn't sent earlier and got saved as draft. -- Nilesh Govindrajan http://nileshgr.com
Re: [gentoo-user] Everything disappeared from world list
> AFAIK, Gentoo does not have a script or an option to back up the > world file and other associated files. This is why I keep an empty world file and use /etc/portage/sets/ exclusively. I'm backing up /etc/portage anyway (package.use and friends), so it just makes sense to have 'world' in there ;) -- Douglas J Hunley (doug.hun...@gmail.com) Twitter: @hunleyd Web: douglasjhunley.com G+: http://goo.gl/sajR3
Re: [gentoo-user] Everything disappeared from world list
On Thu, Jul 5, 2012 at 8:34 PM, Mark Knecht wrote: > Replying on Kindle. Short suggestion is recreate > /var/lib/portage/world by hand by adding what you know you want > installed. > > Good luck, > Mark Answering from computer now. A couple of ideas: 1) Copy one of my world files to your /var/lib/portage/world. Attached at the end. This is for a typical KDE/nvidia desktop machine. Adjust as you see fit. Run emerge -pvDuN @world and adjust the world file to match your machines goals. or... 2) I can't verify Neil's emerge -cp suggestion here as there's nothing emerge wants to depclean but I suspect it would work fine. (Can't remember when Neil last suggested something that didn't!) As an alternative try eix -Ic which produces a list of all packages installed. Look for the ones where the package names are green as they are the packages that should be in your world file. All the gray ones are dependencies. Use Neil's emerge -n to add them in. HTH, Mark c2stable ~ # cat /var/lib/portage/world app-admin/checkrestart app-admin/logrotate app-admin/syslog-ng app-cdr/cdrtools app-cdr/dvd+rw-tools app-editors/vim app-emulation/virtualbox app-emulation/virtualbox-extpack-oracle app-emulation/vmware-player app-forensics/chkrootkit app-misc/screen app-portage/eix app-portage/gentoolkit app-portage/layman app-portage/mirrorselect app-portage/portage-utils app-text/acroread dev-util/strace dev-vcs/git dev-vcs/subversion games-fps/nexuiz kde-base/kde-meta kde-base/kmix mail-client/mailx mail-mta/ssmtp media-fonts/arphicfonts media-fonts/bitstream-cyberbit media-fonts/droid media-fonts/font-bitstream-100dpi media-fonts/font-bitstream-75dpi media-fonts/font-bitstream-speedo media-fonts/font-bitstream-type1 media-fonts/font-schumacher-misc media-fonts/freefont-ttf media-fonts/freefonts media-fonts/ipamonafont media-fonts/ja-ipafonts media-fonts/liberation-fonts media-fonts/libertine-ttf media-fonts/ttf-bitstream-vera media-fonts/wqy-microhei media-fonts/wqy-zenhei media-gfx/imagemagick media-libs/exiftool media-libs/mesa media-sound/alsa-tools media-sound/alsa-utils media-video/handbrake media-video/nvidia-settings media-video/smplayer::gentoo media-video/xine-ui net-analyzer/iftop net-analyzer/nethogs net-analyzer/nettop net-dns/noip-updater net-fs/samba net-misc/ntp net-misc/rdesktop net-misc/telnet-bsd net-misc/whois sys-apps/dstat sys-apps/hdparm sys-apps/hwinfo sys-apps/less sys-apps/lshw sys-apps/microcode-ctl sys-apps/mlocate sys-apps/portage sys-apps/smartmontools sys-boot/grub-static sys-fs/dosfstools sys-fs/fuse sys-fs/mdadm sys-fs/ncdu sys-fs/sysfsutils sys-kernel/gentoo-sources sys-kernel/gentoo-sources:3.2.12 sys-kernel/module-rebuild sys-power/apcupsd sys-power/cpufrequtils sys-power/powertop sys-process/htop sys-process/iotop sys-process/lsof sys-process/time sys-process/vixie-cron virtual/jdk virtual/jre virtual/opencl www-client/firefox www-client/google-chrome x11-apps/mesa-progs x11-apps/xev x11-apps/xhost x11-apps/xvidtune x11-base/xorg-drivers x11-base/xorg-server x11-drivers/nvidia-drivers x11-drivers/xf86-input-evdev x11-drivers/xf86-video-fbdev x11-misc/read-edid c2stable ~ #
Re: [gentoo-user] Everything disappeared from world list
On Thu, 5 Jul 2012 20:34:12 -0700, Mark Knecht wrote: > Replying on Kindle. Short suggestion is recreate > /var/lib/portage/world by hand by adding what you know you want > installed. That's how I'd do it, except by using emerge -n instead of editing the file by hand. emerge -cp emerge -n any packages in the list you know you want rinse and repeat -- Neil Bothwick WYTYSYDG - What you thought you saw, you didn't get. signature.asc Description: PGP signature
Re: [gentoo-user] Everything disappeared from world list
On Fri, 6 Jul 2012 00:04:35 -0400 Frank Peters wrote: > On Thu, 5 Jul 2012 20:34:12 -0700 > Mark Knecht wrote: > > > Replying on Kindle. Short suggestion is recreate > > /var/lib/portage/world by hand by adding what you know you want > > installed. > > AFAIK, Gentoo does not have a script or an option to back up the > world file and other associated files. Regenerate world does ring a bell here though… unfortunately I have no internet connection for googling right now perhaps something with equery emaint world however is not what I think of, though it might be worth a try, dunno what it actually does, maybe it will just say it cannot find world --
Re: [gentoo-user] Everything disappeared from world list
On Thu, 5 Jul 2012 20:34:12 -0700 Mark Knecht wrote: > Replying on Kindle. Short suggestion is recreate > /var/lib/portage/world by hand by adding what you know you want > installed. AFAIK, Gentoo does not have a script or an option to back up the world file and other associated files. After I finish even a small update, I will run my own script to copy /var/lib/portage and /var/db/pkg to another drive for safekeeping. There may not be much point in doing so. If my main HDD fails I will have to reinstall the entire OS, but just in case of some freak accident that may affect the world file I will make the backup. My whole system I will backup once a week, and all very important new data will be backed up (almost) immediately. Frank Peters
Re: [gentoo-user] Everything disappeared from world list
Replying on Kindle. Short suggestion is recreate /var/lib/portage/world by hand by adding what you know you want installed. Good luck, Mark
Re: [gentoo-user] Everything disappeared from world list
On Fri, 2012-07-06 at 08:41 +0530, Nilesh Govindrajan wrote: > Hi, > I yesterday got a ssd to replace my kaput hdd which had no data but > os. > Apparently something went wrong while migration, and now everything > disappeared in portage's world list. > > So whenever I run depclean it tries to remove all packages. How to fix > this? > > I don't have data on original hdd now, zeroed it. > troll ~ # regenworld --help This script regenerates the portage world file by checking the portage logfile for all actions that you've done in the past. It ignores any arguments except --help. It is recommended that you make a backup of your existing world file (/var/lib/portage/world) before using this tool. troll ~ #