Date: Tue, 18 Sep 2007 07:49:46 +0200 From: Peter Schuller <peter.schuller@infidyne.com> To: lawrence.petrykanyn@sympatico.ca Cc: freebsd-questions@freebsd.org Subject: Re: Unable to delete a package Message-ID: <20070918054945.GA71720@hyperion.scode.org> In-Reply-To: <BAY105-F301D7E917567C91834911283B80@phx.gbl> References: <20070917220629.GB69005@hyperion.scode.org> <BAY105-F301D7E917567C91834911283B80@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
--J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I'm using the command 'portsnap fetch update' each time before I do a 'ma= ke=20 > install clean' hoping that will cover me. I used portupgrade with 5.4 but= =20 > switched to portsnap with 6.2 because I believed from the Handbook that i= t=20 > was a 'new and improved' way of maintaining my ports tree. Is this correc= t?=20 > Does portsnap do a better job than portupgrade or portsmanager? Do they= =20 > all do the same thing (...in real life as well as on paper...)? Does=20 > portsnap automatically upgrade my programs or just the ports tree? And i= f=20 > I am using portsnap, can I use portupgrade or portsmanager as well, or wi= ll=20 > they cause a conflict? portsnap is the new alternative to cvsup for keeping your ports tree up to date. It will not keep your installed packages up to date however. Typically one would use portsnap for the ports tree, and then some other tool for package upgrades. The "most official" and traditional tools seems to be portupgrade (ports-mgmt/portupgrade). If /usr/ports/UPDATING has special instructions they tend to be for portupgrade. I have personally found portmanager to work better (ports-mgmt/portmanager), and have recently began trying out portmaster (ports-mgmt/portmaster). The redeeming feature of portmanager is that it attempts to recreate your package installation in such a state as you would have gotten had you done a clean 'make install' on a fresh ports tree with no packages installed, while portupgrade and, as far as I can tell also portmaster, tries to be smart and update only packages that have actually changed, and honor dependency information. I have found that in practice trying to be smart just leads to trouble (someone feel free to flame me). You may want to try both approaches. > I prefer to do upgrades and installations from outside the GUI. But I've= =20 > added 'gdm_enable=3DYes' to my rc.conf file so that the graphical login= =20 > screen appears for most daily use. In order to get to the pre-GUI termin= al=20 > as root, I have to log in as root into the GUI, comment out=20 > 'gdm_enable=3DYes' in my rc.conf file, then reboot the machine so that I = can=20 > run portsnap (or whatever) in the pre-GUI terminal. Then after running= =20 > portupgrade, I have to re-edit my rc.conf in order to re-enable gdm and= =20 > reboot again. Is there an easier way to get the pre-GUI terminal without= =20 > having to reboot after commenting out 'gdm_enable=3DYes' in my rc.conf fi= le=20 > and then re-inserting it after I do an upgrade? I've tried=20 > Alt-Ctl-Backspace, and that does kill Gnome, but then it just bounces me= =20 > back into the graphical login screen. Ctrl-Alt-F1, f2, f3 etc will switch to the respective virtual console while X is still running. You can then switch back to X (probably at virtual console 7, 8 or something). If you want gdm to die you have to actually kill gdm; otherwise it will restart the X server when you kill the previous instance (thinking you just logged out of your session). --=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG72b5DNor2+l1i30RAidlAKCqMPrA5Lap8ASG5d5OuBZ1AQvtHACfar++ V6ZGYcO2WaH1M1AZp0jyCFI= =nmr1 -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070918054945.GA71720>