Re: update packages by pkg_add
On Sat, 29 Oct 2011 19:58:04 +0200, Polytropon wrote: On Sat, 29 Oct 2011 17:53:28 +0200, Huub van Niekerk wrote: Thank you for your answer. But how about if the package-to-be-replaced is a dependency? Just remember the dependency and do the same ? As you're going to reinstall the package immediately, there won't be a problem. Of course, a depending program won't properly run until you've actually replaced the package in question. For keeping track of dependencies, you can also use portmaster or portupgrade and use -P and -PP options to work with packages (like pkg_add does) instead of compiling from sources. The pkgdb -aF command will properly store dependency informations. Sorry for the delay in responding, but I've been trying out several options. First, I've been reading the manual(s) and thought that portupgrade -P package might work. Alas, it ends with the message that several dependencies needed to be upgraded first. Then I tried portupgrade -R package which basically ended the same way. Finally I tried portmanager package that ends the same way too. Doing all this consumed a lot of time since it's an older machine: PIII 500MHz 500MB. If somebody has a suggestion, I'd be glad to try it. For now, I'm rather clueless on what to do. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
update packages by pkg_add
Hi, Using version 8.2, can somebody tell me how I can upgrade packages that I installed using pkg_add? I'm trying to install more packages but get messages that there are package-conflicts because of older installed version. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: update packages by pkg_add
On Saturday 29 October 2011, hvn wrote: Using version 8.2, can somebody tell me how I can upgrade packages that I installed using pkg_add? I'm trying to install more packages but get messages that there are package-conflicts because of older installed version. pkg_delete -f name-of-package pkg_add name-of-package-file The pkg_delete command needs the full name of the package including the version number at the end. Since you're going to immediately re-install the package you don't need to worry about any warning messages saying that the package is needed by other packages. The above pkg_add command will install a package from a file that you've already downloaded. If you don't have the package file then you can fetch and install the package from an FTP site with the command: pkg_add -r name-of-package -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: update packages by pkg_add
On Sat, 29 Oct 2011, hvn wrote: Using version 8.2, can somebody tell me how I can upgrade packages that I installed using pkg_add? I'm trying to install more packages but get messages that there are package-conflicts because of older installed version. sysutils/bsdadminscripts has a pkg_upgrade script. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: update packages by pkg_add
On Sat, Oct 29, 2011 at 3:01 PM, Mike Clarke jmc-freeb...@milibyte.co.ukwrote: On Saturday 29 October 2011, hvn wrote: Using version 8.2, can somebody tell me how I can upgrade packages that I installed using pkg_add? I'm trying to install more packages but get messages that there are package-conflicts because of older installed version. pkg_delete -f name-of-package pkg_add name-of-package-file The pkg_delete command needs the full name of the package including the version number at the end. Since you're going to immediately re-install the package you don't need to worry about any warning messages saying that the package is needed by other packages. The above pkg_add command will install a package from a file that you've already downloaded. If you don't have the package file then you can fetch and install the package from an FTP site with the command: pkg_add -r name-of-package -- Mike Clarke Thank you for your answer. But how about if the package-to-be-replaced is a dependency? Just remember the dependency and do the same ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: update packages by pkg_add
On Sat, 29 Oct 2011 17:53:28 +0200, Huub van Niekerk wrote: Thank you for your answer. But how about if the package-to-be-replaced is a dependency? Just remember the dependency and do the same ? As you're going to reinstall the package immediately, there won't be a problem. Of course, a depending program won't properly run until you've actually replaced the package in question. For keeping track of dependencies, you can also use portmaster or portupgrade and use -P and -PP options to work with packages (like pkg_add does) instead of compiling from sources. The pkgdb -aF command will properly store dependency informations. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: update packages by pkg_add
On Sat, 29 Oct 2011, Polytropon wrote: On Sat, 29 Oct 2011 17:53:28 +0200, Huub van Niekerk wrote: Thank you for your answer. But how about if the package-to-be-replaced is a dependency? Just remember the dependency and do the same ? As you're going to reinstall the package immediately, there won't be a problem. Of course, a depending program won't properly run until you've actually replaced the package in question. For keeping track of dependencies, you can also use portmaster or portupgrade and use -P and -PP options to work with packages (like pkg_add does) instead of compiling from sources. The pkgdb -aF command will properly store dependency informations. If you are not familiar with portmaster or portupgrade, I would see if portmaster would do what you want. It is written in shell script and uses the underlying package/port files. For me it has worked well as long as I do not try to update KDE. Two other packages that are very helpful in updating are pkg_tree and pkg_cleanup. In addition, if part of your problems are perl, python and maybe php, there are make.conf variables to specify (in effect) that the versions installed should meet any dependency requirements. portdowngrade is very helpful if you have a component that is newer than what you need. I needed this to install kdiff3 a while ago. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org