Re: pkg 1.5.0 is out
On Tue, Jul 07, 2015 at 07:38:18PM +0200, Ulrich Spörlein wrote: > 2015-07-01 13:38 GMT+02:00 Baptiste Daroussin : > > > > On Wed, Jul 01, 2015 at 01:36:14PM +0200, Hans Petter Selasky wrote: > > > On 04/21/15 12:34, Slawa Olhovchenkov wrote: > > > > On Tue, Apr 14, 2015 at 10:05:00PM +0200, Baptiste Daroussin wrote: > > > > > > > >> Hi all, > > > >> > > > >> Final pkg 1.5.0 has been released. > > > > > > > > > > Hi, > > > > > > Is there a way the external SAT solver functionality can be memory > > > optimised? When trying to use this feature having +750 packages > > > installed, the memory usage starts growing and growing beyond 4GBytes > > > until PKG segfaults, even before the CNF export has started. > > > > > > env SAT_SOLVER=mysolver pkg upgrade > > > > Probably, but given the little amount of time pkg developers has we will > > greatly > > appreciate patches :) > > > > AKA this would be greatly appreciated, but very low on the priority list :( > > > > Best regards, > > Bapt > > > Hijacking this, I managed to mess up my local pkg repo somehow. > > I build my own set of packages, and typically do pkg upgrade on the > clients. This time, I tried pkg upgrade -F, which went and downloaded > everything and that's fine. But now when I run "pkg upgrade" it claims > everything is already updated? > > root@coyote:~# pkg --version > 1.5.4 > root@coyote:~# pkg upgrade > Updating acme repository catalogue... > acme repository is up-to-date. > All repositories are up-to-date. > Checking for upgrades (68 candidates): 100% > Processing candidates (68 candidates): 100% > Checking integrity... done (0 conflicting) > Your packages are up to date. > > > So let's try brute forcing this: > > root@coyote:~# pkg install `pkg info -aqo` > Updating acme repository catalogue... > acme repository is up-to-date. > All repositories are up-to-date. > databases/db48 has no direct installation candidates, change it to db5? > [Y/n]: Y > Assertion failed: (0), function pkg_jobs_try_remote_candidate, file > pkg_jobs.c, line 821. > Child process pid=60776 terminated abnormally: Abort trap > Exit 250 > > > Using more force: > > root@coyote:~# pkg upgrade -f db48 > Updating acme repository catalogue... > acme repository is up-to-date. > All repositories are up-to-date. > db48 has no direct installation candidates, change it to db5? [Y/n]: y > pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE > name=?2; in file pkg_jobs.c:1658: UNIQUE constraint failed: > packages.name > The following 1 package(s) will be affected (of 0 checked): > > Installed packages to be UPGRADED: > db5: 4.8.30.0_2 -> 5.3.28_2 > > The process will require 37 MiB more space. > 12 MiB to be downloaded. > > Proceed with this action? [y/N]: y > Fetching db5-5.3.28_2.txz: 100% 12 MiB 6.4MB/s00:02 > Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), > function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, > line 368. > Child process pid=60922 terminated abnormally: Abort trap > Exit 250 > > the -debug output has nothing of interest that I can see. > > What's up? Please open a ticket with this and save your /var/db/pkg/* somewhere so we can analyze (and send them to me or host them in a place when I can fetch them) in the meantime what you should do is pkg upgrade -f (lower f) and say no to everything that ask you to switch candidates Best regards, Bapt pgpgbBJjUthQy.pgp Description: PGP signature
Re: pkg 1.5.0 is out
2015-07-01 13:38 GMT+02:00 Baptiste Daroussin : > > On Wed, Jul 01, 2015 at 01:36:14PM +0200, Hans Petter Selasky wrote: > > On 04/21/15 12:34, Slawa Olhovchenkov wrote: > > > On Tue, Apr 14, 2015 at 10:05:00PM +0200, Baptiste Daroussin wrote: > > > > > >> Hi all, > > >> > > >> Final pkg 1.5.0 has been released. > > > > > > > Hi, > > > > Is there a way the external SAT solver functionality can be memory > > optimised? When trying to use this feature having +750 packages > > installed, the memory usage starts growing and growing beyond 4GBytes > > until PKG segfaults, even before the CNF export has started. > > > > env SAT_SOLVER=mysolver pkg upgrade > > Probably, but given the little amount of time pkg developers has we will > greatly > appreciate patches :) > > AKA this would be greatly appreciated, but very low on the priority list :( > > Best regards, > Bapt Hijacking this, I managed to mess up my local pkg repo somehow. I build my own set of packages, and typically do pkg upgrade on the clients. This time, I tried pkg upgrade -F, which went and downloaded everything and that's fine. But now when I run "pkg upgrade" it claims everything is already updated? root@coyote:~# pkg --version 1.5.4 root@coyote:~# pkg upgrade Updating acme repository catalogue... acme repository is up-to-date. All repositories are up-to-date. Checking for upgrades (68 candidates): 100% Processing candidates (68 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. So let's try brute forcing this: root@coyote:~# pkg install `pkg info -aqo` Updating acme repository catalogue... acme repository is up-to-date. All repositories are up-to-date. databases/db48 has no direct installation candidates, change it to db5? [Y/n]: Y Assertion failed: (0), function pkg_jobs_try_remote_candidate, file pkg_jobs.c, line 821. Child process pid=60776 terminated abnormally: Abort trap Exit 250 Using more force: root@coyote:~# pkg upgrade -f db48 Updating acme repository catalogue... acme repository is up-to-date. All repositories are up-to-date. db48 has no direct installation candidates, change it to db5? [Y/n]: y pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE name=?2; in file pkg_jobs.c:1658: UNIQUE constraint failed: packages.name The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: db5: 4.8.30.0_2 -> 5.3.28_2 The process will require 37 MiB more space. 12 MiB to be downloaded. Proceed with this action? [y/N]: y Fetching db5-5.3.28_2.txz: 100% 12 MiB 6.4MB/s00:02 Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 368. Child process pid=60922 terminated abnormally: Abort trap Exit 250 the -debug output has nothing of interest that I can see. What's up? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: pkg 1.5.0 is out
On Wed, Jul 01, 2015 at 01:36:14PM +0200, Hans Petter Selasky wrote: > On 04/21/15 12:34, Slawa Olhovchenkov wrote: > > On Tue, Apr 14, 2015 at 10:05:00PM +0200, Baptiste Daroussin wrote: > > > >> Hi all, > >> > >> Final pkg 1.5.0 has been released. > > > > Hi, > > Is there a way the external SAT solver functionality can be memory > optimised? When trying to use this feature having +750 packages > installed, the memory usage starts growing and growing beyond 4GBytes > until PKG segfaults, even before the CNF export has started. > > env SAT_SOLVER=mysolver pkg upgrade Probably, but given the little amount of time pkg developers has we will greatly appreciate patches :) AKA this would be greatly appreciated, but very low on the priority list :( Best regards, Bapt pgpksVsccnzAK.pgp Description: PGP signature
Re: pkg 1.5.0 is out
On 04/21/15 12:34, Slawa Olhovchenkov wrote: On Tue, Apr 14, 2015 at 10:05:00PM +0200, Baptiste Daroussin wrote: Hi all, Final pkg 1.5.0 has been released. Hi, Is there a way the external SAT solver functionality can be memory optimised? When trying to use this feature having +750 packages installed, the memory usage starts growing and growing beyond 4GBytes until PKG segfaults, even before the CNF export has started. env SAT_SOLVER=mysolver pkg upgrade --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: pkg 1.5.0 is out
On Tue, Apr 14, 2015 at 10:05:00PM +0200, Baptiste Daroussin wrote: > Hi all, > > Final pkg 1.5.0 has been released. pkg 1.5.1 at 'pkg upgrade' propose === New packages to be INSTALLED: nvidia-driver: 346.47 linux-c6-libGLU: 10.1 === I am use nvidia-driver-340: # pkg info nvidia-driver-340-340.76 nvidia-driver-340-340.76 Name : nvidia-driver-340 Version: 340.76 Installed on : Tue Mar 10 16:15:59 MSK 2015 Origin : x11/nvidia-driver-340 Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : x11 kld Licenses : NVIDIA Maintainer : da...@freebsd.org WWW: http://www.nvidia.com/object/unix.html Comment: NVidia graphics card binary drivers for hardware OpenGL rendering Options: ACPI_PM: on DOCS : on LINUX : on WBINVD : off Shared Libs required: libXext.so.6 libX11.so.6 Shared Libs provided: libvdpau_nvidia.so.1 libnvidia-glsi.so.1 libnvidia-glcore.so.1 libnvidia-eglcore.so.1 libnvidia-cfg.so.1 libglx.so.1 libGLESv2.so.2 libGLESv1_CM.so.1 libGL.so.1 libEGL.so.1 Annotations: repo_type : binary repository : ivs Flat size : 209MiB ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: pkg 1.5.0 is out
On Sun, Apr 19, 2015 at 02:22:15PM +0300, Dmitry Sivachenko wrote: > > > On 14 апр. 2015 г., at 23:05, Baptiste Daroussin wrote: > > > > Final pkg 1.5.0 has been released. > > > > Thank a lot for working on pkg! > > > > > For pkg 1.6.0 among other things and depending on the time, here is what we > > do > > plan to work on: > > - > > > > > What I really miss a lot is support for package "profiles": an ability to > build the same port with different OPTIONs combination. > For example: > minimal nginx version; > nginx version with passenger module (for puppet server) > nginx version with some other rare options turned on for custom application. > > Right now I achieve this with manually renaming /var/db/ports/*/options files > and some manipulations in /usr/ports/packages/All. > But a framework to automatically handle this would be very useful. > > Thanks. > This is already supported on pkg side, the work needs to be done in ports side, what you call profiles, I usually call it flavours but that is the same. Dependencies made on provides/requires allows to handle dependencies in this: For example A can depend on nginx (whatever profile): so it requires "nginx" B can only depend on nginx-passenger: so it requires nginx-passenger nginx itself provides: nginx nginx-passenger provides: nginx and nginx-passenger that should do what you want unfortunatly that mean both nginx nginx-passenger both have one origin: www/nginx and this will break portupgrade/portmaster/tinderbox/poudriere (I can easily make poudriere friendly for that but I can't for the others). So most of the work is now on ports land (and maybe a couple of bug fixes in pkg) Best regards, Bapt pgp5yADg8sSKe.pgp Description: PGP signature
Re: pkg 1.5.0 is out
> On 14 апр. 2015 г., at 23:05, Baptiste Daroussin wrote: > > Final pkg 1.5.0 has been released. > Thank a lot for working on pkg! > > For pkg 1.6.0 among other things and depending on the time, here is what we do > plan to work on: > - > What I really miss a lot is support for package "profiles": an ability to build the same port with different OPTIONs combination. For example: minimal nginx version; nginx version with passenger module (for puppet server) nginx version with some other rare options turned on for custom application. Right now I achieve this with manually renaming /var/db/ports/*/options files and some manipulations in /usr/ports/packages/All. But a framework to automatically handle this would be very useful. Thanks. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: pkg 1.5.0 is out
Rapid evolution of pkgng! :D Thanks for your great work! On 4/14/15, Baptiste Daroussin wrote: > Hi all, > > Final pkg 1.5.0 has been released. > > What happened since pkg 1.4.0: > - Initial provides/requires support > - Lots of new regression tests have been added > - Initial support for OS X > - Initial support for NetBSD/EdgeBSD > - Update most of the bundled third party software has been updated to their > latest version > - Improve the messages reported by pkg > - Properly support file flags > - Implement argument support for custom keywords > - Extend setting credential via plist to allow to set file flags > - Make credential syntax via plist more flexible allow to only defines the > first > - pkg updating now supports case insensitive matching > - pkg create now support a verbose mode > - Add an option to change the default on question, until now the default > answer > was "No" with that option set it would be "Yes" > - Lots of fixes to pkg audit -r > - Global memory usage reduction and speed up > - Improvements and cleanup on pkg alias > - pkg annotate --show --all has been fixed > - Make pkg.h C++ friendly > - Lots of improvements in the solver > - Lots of fixes on 32 bits platforms > - Add support for: pkg create -M ./plop.ucl -p ./plop.plist > - New pkg -r that will install in the given rootdir without > chrooting > - Export PKG_ROOTDIR to scripts allow to make them as portable as possible > - Stop trying to remove all installed package with the argument of pkg > delete is > a local file > - Be more explicit about why the solver it going to reinstall, remove or > upgrade > (when possible) > - Plenty of bug fixes > - Plenty of new bugs > - pkg shlibs now support -q > - pkg lock gained a new --has-locked-packages option > - pkg now resumes fetch if possible > - CONSERVATIVE_UPGRADE is now on by default > - pkg alias now have a -l argument to list aliases > - A sample pkg.conf is now installed with a bunch of aliases set by default > - Fix the backup script to properly export an sql which will be importable > via > pkg shell and/or sqlite out of box > > I would like to thank anyone that has been contributing to pkg to make this > release happen (via code, bug report, feature request, testing and > documentation) > > For pkg 1.6.0 among other things and depending on the time, here is what we > do > plan to work on: > - Safe cherry-picking of upgrades (aka: pkg upgrade something) > - New context dependant messages: > * messages that only appears during upgrades > * messages that only appears on deinstall > * messages that only appears on install > - Extend provides/requires to support flexible dependencies > - Linux package backend (?) > - Allow multiple versions of a given package in a repo > - Add more regression tests > - Improve documentation > - > > Best regards, > Bapt > ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: pkg 1.5.0 is out
On Tue, Apr 14, 2015 at 9:05 PM, Baptiste Daroussin wrote: > Hi all, > > Final pkg 1.5.0 has been released. > > > Best regards, > Bapt Congratulations to entire pkg team and thanks for your hard work! I've one question - how does the OSX support work? What are plans for it? What packages are working? And so on... Regards, BL ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: pkg 1.5.0 is out
On Wed, Apr 15, 2015 at 10:57:28AM +0100, Big Lebowski wrote: > On Tue, Apr 14, 2015 at 9:05 PM, Baptiste Daroussin wrote: > > Hi all, > > > > Final pkg 1.5.0 has been released. > > > > > > Best regards, > > Bapt > > Congratulations to entire pkg team and thanks for your hard work! > > I've one question - how does the OSX support work? What are plans for > it? What packages are working? And so on... That should been asked to the people that made the support for OSX I'm just the messenger here, I do not have access to any OSX to be able to test/code, I'm just making sure I do not break their work :) Best regards, Bapt pgpckdUyvxw7l.pgp Description: PGP signature
Re: pkg 1.5.0 is out
El 14/04/2015 22:19, "Mikhail Tsatsenko" escribió: > > 2015-04-14 23:05 GMT+03:00 Baptiste Daroussin : > > Hi all, > Hi, > thanks for your great work! +1 > > > > Final pkg 1.5.0 has been released. > > > > What happened since pkg 1.4.0: > > - Initial provides/requires support > > - Lots of new regression tests have been added > > - Initial support for OS X > > - Initial support for NetBSD/EdgeBSD > > - Update most of the bundled third party software has been updated to their > > latest version > > - Improve the messages reported by pkg > > - Properly support file flags > > - Implement argument support for custom keywords > > - Extend setting credential via plist to allow to set file flags > > - Make credential syntax via plist more flexible allow to only defines the first > > - pkg updating now supports case insensitive matching > > - pkg create now support a verbose mode > > - Add an option to change the default on question, until now the default answer > > was "No" with that option set it would be "Yes" > > - Lots of fixes to pkg audit -r > > - Global memory usage reduction and speed up > > - Improvements and cleanup on pkg alias > > - pkg annotate --show --all has been fixed > > - Make pkg.h C++ friendly > > - Lots of improvements in the solver > > - Lots of fixes on 32 bits platforms > > - Add support for: pkg create -M ./plop.ucl -p ./plop.plist > > - New pkg -r that will install in the given rootdir without chrooting > > - Export PKG_ROOTDIR to scripts allow to make them as portable as possible > > - Stop trying to remove all installed package with the argument of pkg delete is > > a local file > > - Be more explicit about why the solver it going to reinstall, remove or upgrade > > (when possible) > > - Plenty of bug fixes > > - Plenty of new bugs > > - pkg shlibs now support -q > > - pkg lock gained a new --has-locked-packages option > > - pkg now resumes fetch if possible > > - CONSERVATIVE_UPGRADE is now on by default > > - pkg alias now have a -l argument to list aliases > > - A sample pkg.conf is now installed with a bunch of aliases set by default > > - Fix the backup script to properly export an sql which will be importable via > > pkg shell and/or sqlite out of box > > > > I would like to thank anyone that has been contributing to pkg to make this > > release happen (via code, bug report, feature request, testing and documentation) > > > > For pkg 1.6.0 among other things and depending on the time, here is what we do > > plan to work on: > > - Safe cherry-picking of upgrades (aka: pkg upgrade something) > > - New context dependant messages: > > * messages that only appears during upgrades > > * messages that only appears on deinstall > > * messages that only appears on install > > - Extend provides/requires to support flexible dependencies > > - Linux package backend (?) > > - Allow multiple versions of a given package in a repo > > - Add more regression tests > > - Improve documentation > > - > > > > Best regards, > > Bapt > > > > -- > Mikhail > ___ > freebsd-po...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
pkg 1.5.0 is out
Hi all, Final pkg 1.5.0 has been released. What happened since pkg 1.4.0: - Initial provides/requires support - Lots of new regression tests have been added - Initial support for OS X - Initial support for NetBSD/EdgeBSD - Update most of the bundled third party software has been updated to their latest version - Improve the messages reported by pkg - Properly support file flags - Implement argument support for custom keywords - Extend setting credential via plist to allow to set file flags - Make credential syntax via plist more flexible allow to only defines the first - pkg updating now supports case insensitive matching - pkg create now support a verbose mode - Add an option to change the default on question, until now the default answer was "No" with that option set it would be "Yes" - Lots of fixes to pkg audit -r - Global memory usage reduction and speed up - Improvements and cleanup on pkg alias - pkg annotate --show --all has been fixed - Make pkg.h C++ friendly - Lots of improvements in the solver - Lots of fixes on 32 bits platforms - Add support for: pkg create -M ./plop.ucl -p ./plop.plist - New pkg -r that will install in the given rootdir without chrooting - Export PKG_ROOTDIR to scripts allow to make them as portable as possible - Stop trying to remove all installed package with the argument of pkg delete is a local file - Be more explicit about why the solver it going to reinstall, remove or upgrade (when possible) - Plenty of bug fixes - Plenty of new bugs - pkg shlibs now support -q - pkg lock gained a new --has-locked-packages option - pkg now resumes fetch if possible - CONSERVATIVE_UPGRADE is now on by default - pkg alias now have a -l argument to list aliases - A sample pkg.conf is now installed with a bunch of aliases set by default - Fix the backup script to properly export an sql which will be importable via pkg shell and/or sqlite out of box I would like to thank anyone that has been contributing to pkg to make this release happen (via code, bug report, feature request, testing and documentation) For pkg 1.6.0 among other things and depending on the time, here is what we do plan to work on: - Safe cherry-picking of upgrades (aka: pkg upgrade something) - New context dependant messages: * messages that only appears during upgrades * messages that only appears on deinstall * messages that only appears on install - Extend provides/requires to support flexible dependencies - Linux package backend (?) - Allow multiple versions of a given package in a repo - Add more regression tests - Improve documentation - Best regards, Bapt pgpybhl5rpzzq.pgp Description: PGP signature