Re: Unable to delete a package
> I'm using the command 'portsnap fetch update' each time before I do a 'make > install clean' hoping that will cover me. I used portupgrade with 5.4 but > switched to portsnap with 6.2 because I believed from the Handbook that it > was a 'new and improved' way of maintaining my ports tree. Is this correct? > Does portsnap do a better job than portupgrade or portsmanager? Do they > all do the same thing (...in real life as well as on paper...)? Does > portsnap automatically upgrade my programs or just the ports tree? And if > I am using portsnap, can I use portupgrade or portsmanager as well, or will > 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 > added 'gdm_enable=Yes' to my rc.conf file so that the graphical login > screen appears for most daily use. In order to get to the pre-GUI terminal > as root, I have to log in as root into the GUI, comment out > 'gdm_enable=Yes' in my rc.conf file, then reboot the machine so that I can > run portsnap (or whatever) in the pre-GUI terminal. Then after running > portupgrade, I have to re-edit my rc.conf in order to re-enable gdm and > reboot again. Is there an easier way to get the pre-GUI terminal without > having to reboot after commenting out 'gdm_enable=Yes' in my rc.conf file > and then re-inserting it after I do an upgrade? I've tried > Alt-Ctl-Backspace, and that does kill Gnome, but then it just bounces me > 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). -- / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org pgpHuh90UoABk.pgp Description: PGP signature
Re: Unable to delete a package
Hi, Peter: > ===> Installing for libgda3-1.9.102_3 > ===> libgda3-1.9.102_3 conflicts with installed package(s): > libgda2-1.2.4_1,1 > They install files into the same place. > Please remove them first with pkg_delete(1). As people have noted you can use -f to force deletion. The problem you are experiencing would typically happen either because you are trying to install some top-level packages that are truly in conflict, in the sense that they depend on conflicting versions of libgda. Alternatively, you have older versions of various packages installed that depend on the older version of libgda3, and are now trying to install the gnome stuff from a newer ports tree. In this case you may want to perform a full upgrade (using portupgrade/portmanagaer/portmaster/etc). I'm using the command 'portsnap fetch update' each time before I do a 'make install clean' hoping that will cover me. I used portupgrade with 5.4 but switched to portsnap with 6.2 because I believed from the Handbook that it was a 'new and improved' way of maintaining my ports tree. Is this correct? Does portsnap do a better job than portupgrade or portsmanager? Do they all do the same thing (...in real life as well as on paper...)? Does portsnap automatically upgrade my programs or just the ports tree? And if I am using portsnap, can I use portupgrade or portsmanager as well, or will they cause a conflict? forcibly deleting the package will work, but the other packages depending on them will very likely break. I was concerned that something like that might happen but wasn't sure. Thanks! > (As an aside, is it okay to run these installations from a terminal window > from inside the Gnome GUI environment, or should I be outside of Gnome > altogether when I do program installations/upgrades?) It doesn't matter, except in so far as any actions would kill your running terminal. I would suspect that the already running terminal would survive (certainly this is the case with most), though I don't know if the gnome terminal is doing stuff even after initial start-up that might cause it to die. (To be strict of course it's always safest to not run stuff you are actively upgrading, while upgrading. In practice though it "tends to work".) I prefer to do upgrades and installations from outside the GUI. But I've added 'gdm_enable=Yes' to my rc.conf file so that the graphical login screen appears for most daily use. In order to get to the pre-GUI terminal as root, I have to log in as root into the GUI, comment out 'gdm_enable=Yes' in my rc.conf file, then reboot the machine so that I can run portsnap (or whatever) in the pre-GUI terminal. Then after running portupgrade, I have to re-edit my rc.conf in order to re-enable gdm and reboot again. Is there an easier way to get the pre-GUI terminal without having to reboot after commenting out 'gdm_enable=Yes' in my rc.conf file and then re-inserting it after I do an upgrade? I've tried Alt-Ctl-Backspace, and that does kill Gnome, but then it just bounces me back into the graphical login screen. Much appreciated, Larry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to delete a package
> ===> Installing for libgda3-1.9.102_3 > ===> libgda3-1.9.102_3 conflicts with installed package(s): > libgda2-1.2.4_1,1 > They install files into the same place. > Please remove them first with pkg_delete(1). As people have noted you can use -f to force deletion. The problem you are experiencing would typically happen either because you are trying to install some top-level packages that are truly in conflict, in the sense that they depend on conflicting versions of libgda. Alternatively, you have older versions of various packages installed that depend on the older version of libgda3, and are now trying to install the gnome stuff from a newer ports tree. In this case you may want to perform a full upgrade (using portupgrade/portmanagaer/portmaster/etc). forcibly deleting the package will work, but the other packages depending on them will very likely break. > (As an aside, is it okay to run these installations from a terminal window > from inside the Gnome GUI environment, or should I be outside of Gnome > altogether when I do program installations/upgrades?) It doesn't matter, except in so far as any actions would kill your running terminal. I would suspect that the already running terminal would survive (certainly this is the case with most), though I don't know if the gnome terminal is doing stuff even after initial start-up that might cause it to die. (To be strict of course it's always safest to not run stuff you are actively upgrading, while upgrading. In practice though it "tends to work".) -- / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org pgpqO0EpOXXKW.pgp Description: PGP signature
Re: Unable to delete a package
On Monday 17 September 2007, [EMAIL PROTECTED] wrote: > Hi, > > (I originally posted this on the freebsd-gnome mailing list and then > realized that list was for people actively working on Gnome. I don't > know if my question is a Gnome-specific issue or if it is an issue > that can arise when installing programs in general.) > > I am currently using FreeBSD 6.2 RELEASE and I am trying to install > gnome2-office via the ports collection. After running 'portsnap > fetch update' I 'make install clean' in the gnome2-office directory. > It goes well until: > > * > * > * > gmake[2]: Entering directory > `/usr/ports/databases/libgda3/work/libgda-1.9.102/doc/C' > gmake[2]: Nothing to be done for `all'. > gmake[2]: Leaving directory > `/usr/ports/databases/libgda3/work/libgda-1.9.102/doc/C' > gmake[2]: Entering directory > `/usr/ports/databases/libgda3/work/libgda-1.9.102/doc' > gmake[2]: Nothing to be done for `all-am'. > gmake[2]: Leaving directory > `/usr/ports/databases/libgda3/work/libgda-1.9.102/doc' > gmake[1]: Leaving directory > `/usr/ports/databases/libgda3/work/libgda-1.9.102/doc' > gmake[1]: Entering directory > `/usr/ports/databases/libgda3/work/libgda-1.9.102' > gmake[1]: Nothing to be done for `all-am'. > gmake[1]: Leaving directory > `/usr/ports/databases/libgda3/work/libgda-1.9.102' > ===> Installing for libgda3-1.9.102_3 > ===> libgda3-1.9.102_3 conflicts with installed package(s): > libgda2-1.2.4_1,1 > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > Stop in /usr/ports/databases/libgda3. > *** Error code 1 > Stop in /usr/ports/math/gnumeric. > *** Error code 1 > Stop in /usr/ports/math/gnumeric. > *** Error code 1 > Stop in /usr/ports/editors/gnome2-office. > *** > > >...so I: > > > root# pkg_delete libgda2-1.2.4_1,1 > pkg_delete: package 'libgda2-1.2.4_1,1' is required by these other > packages and may not be deinstalled: man pkg_delete see the option "-f" to force the deletion Kent > py25-gnome-extras-2.14.3_3 > straw-0.27 > gnome2-fifth-toe-2.18.3 > *** > > > ...so I then try to install the new libgda separately: > > root# make install clean > ===> Installing for libgda3-1.9.102_3 > ===> libgda3-1.9.102_3 conflicts with installed package(s): > libgda2-1.2.4_1,1 > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > I am new to the subtle inner workings of FreeBSD. Could anyone > please advise, suggest, or comment on how I should proceed? It seems > that I can't install the new libgda unless I delete the old one, but > I am prevented from deleting the old one because at least three other > programs are dependent upon it. > > (As an aside, is it okay to run these installations from a terminal > window from inside the Gnome GUI environment, or should I be outside > of Gnome altogether when I do program installations/upgrades?) > > Thanks, > Larry > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- Kent Stewart Richland, WA http://www.soyandina.com/ "I am Andean project". http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to delete a package
On Mon, 17 Sep 2007 18:34:15 + [EMAIL PROTECTED] said: > ===> Installing for libgda3-1.9.102_3 > ===> libgda3-1.9.102_3 conflicts with installed package(s): > libgda2-1.2.4_1,1 > They install files into the same place. > Please remove them first with pkg_delete(1). > ...so I: > root# pkg_delete libgda2-1.2.4_1,1 > pkg_delete: package 'libgda2-1.2.4_1,1' is required by these other > packages and may not be deinstalled: > py25-gnome-extras-2.14.3_3 > straw-0.27 > gnome2-fifth-toe-2.18.3 > *** > >...so I then try to install the new libgda separately: Try using the '-f' force flag as in: pkg_delete -f libgda2-1.2.4_1,1' Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Unable to delete a package
Hi, (I originally posted this on the freebsd-gnome mailing list and then realized that list was for people actively working on Gnome. I don't know if my question is a Gnome-specific issue or if it is an issue that can arise when installing programs in general.) I am currently using FreeBSD 6.2 RELEASE and I am trying to install gnome2-office via the ports collection. After running 'portsnap fetch update' I 'make install clean' in the gnome2-office directory. It goes well until: * * * gmake[2]: Entering directory `/usr/ports/databases/libgda3/work/libgda-1.9.102/doc/C' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/databases/libgda3/work/libgda-1.9.102/doc/C' gmake[2]: Entering directory `/usr/ports/databases/libgda3/work/libgda-1.9.102/doc' gmake[2]: Nothing to be done for `all-am'. gmake[2]: Leaving directory `/usr/ports/databases/libgda3/work/libgda-1.9.102/doc' gmake[1]: Leaving directory `/usr/ports/databases/libgda3/work/libgda-1.9.102/doc' gmake[1]: Entering directory `/usr/ports/databases/libgda3/work/libgda-1.9.102' gmake[1]: Nothing to be done for `all-am'. gmake[1]: Leaving directory `/usr/ports/databases/libgda3/work/libgda-1.9.102' ===> Installing for libgda3-1.9.102_3 ===> libgda3-1.9.102_3 conflicts with installed package(s): libgda2-1.2.4_1,1 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/databases/libgda3. *** Error code 1 Stop in /usr/ports/math/gnumeric. *** Error code 1 Stop in /usr/ports/math/gnumeric. *** Error code 1 Stop in /usr/ports/editors/gnome2-office. *** ...so I: root# pkg_delete libgda2-1.2.4_1,1 pkg_delete: package 'libgda2-1.2.4_1,1' is required by these other packages and may not be deinstalled: py25-gnome-extras-2.14.3_3 straw-0.27 gnome2-fifth-toe-2.18.3 *** ...so I then try to install the new libgda separately: root# make install clean ===> Installing for libgda3-1.9.102_3 ===> libgda3-1.9.102_3 conflicts with installed package(s): libgda2-1.2.4_1,1 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 I am new to the subtle inner workings of FreeBSD. Could anyone please advise, suggest, or comment on how I should proceed? It seems that I can't install the new libgda unless I delete the old one, but I am prevented from deleting the old one because at least three other programs are dependent upon it. (As an aside, is it okay to run these installations from a terminal window from inside the Gnome GUI environment, or should I be outside of Gnome altogether when I do program installations/upgrades?) Thanks, Larry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"