{"action":"closed","issue":{"url":"https://api.github.com/repos/freebsd/pkg/issues/1426","repository_url":"https://api.github.com/repos/freebsd/pkg","labels_url":"https://api.github.com/repos/freebsd/pkg/issues/1426/labels{/name}","comments_url":"https://api.github.com/repos/freebsd/pkg/issues/1426/comments","events_url":"https://api.github.com/repos/freebsd/pkg/issues/1426/events","html_url":"https://github.com/freebsd/pkg/issues/1426","id":153881264,"number":1426,"title":"pkg 1.7.2 doesn't fully undo failed install, fails to register installed packages","user":{"login":"gavinatkinson","id":1620032,"avatar_url":"https://avatars.githubusercontent.com/u/1620032?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinatkinson","html_url":"https://github.com/gavinatkinson","followers_url":"https://api.github.com/users/gavinatkinson/followers","following_url":"https://api.github.com/users/gavinatkinson/following{/other_user}","gists_url":"https://api.github.com/users/gavinatkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinatkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinatkinson/subscriptions","organizations_url":"https://api.github.com/users/gavinatkinson/orgs","repos_url":"https://api.github.com/users/gavinatkinson/repos","events_url":"https://api.github.com/users/gavinatkinson/events{/privacy}","received_events_url":"https://api.github.com/users/gavinatkinson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/freebsd/pkg/labels/Fixed%20in%20git","name":"Fixed in git","color":"bfe5bf"},{"url":"https://api.github.com/repos/freebsd/pkg/labels/Fixed%20in%20stable","name":"Fixed in stable","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"bapt","id":103607,"avatar_url":"https://avatars.githubusercontent.com/u/103607?v=3","gravatar_id":"","url":"https://api.github.com/users/bapt","html_url":"https://github.com/bapt","followers_url":"https://api.github.com/users/bapt/followers","following_url":"https://api.github.com/users/bapt/following{/other_user}","gists_url":"https://api.github.com/users/bapt/gists{/gist_id}","starred_url":"https://api.github.com/users/bapt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bapt/subscriptions","organizations_url":"https://api.github.com/users/bapt/orgs","repos_url":"https://api.github.com/users/bapt/repos","events_url":"https://api.github.com/users/bapt/events{/privacy}","received_events_url":"https://api.github.com/users/bapt/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-05-09T22:08:22Z","updated_at":"2016-05-25T20:36:01Z","closed_at":"2016-05-25T20:36:01Z","body":"I tried installing a package which had a dependency on linux_base_c6, the install of which failed.  However, pkg 1.7.2 doesn't seem to have correctly recorded the things that it had already installed by that point.  In this transcript, you can see that at least javavmwrapper was installed, but not recorded in the database:\r\n\r\nroot@omega:~ # ls -l /usr/local/bin/javavm\r\nls: /usr/local/bin/javavm: No such file or directory\r\n\r\n\r\nroot@omega:~ # pkg install arduino avrdude\r\nUpdating FreeBSD repository catalogue...\r\nFreeBSD repository is up-to-date.\r\nAll repositories are up-to-date.\r\nChecking integrity... done (0 conflicting)\r\nThe following 16 package(s) will be affected (of 0 checked):\r\n\r\nNew packages to be INSTALLED:\r\n\tarduino: 1.0.6,1\r\n\tavrdude: 6.1_1\r\n\topenjdk8: 8.77.3\r\n\tlinux_base-c6: 6.7_1\r\n\tlibvdpau: 1.1.1\r\n\tjava-zoneinfo: 2016.d\r\n\tjavavmwrapper: 2.5\r\n\trxtx-openjdk8: 2.2p2_2\r\n\tavr-libc: 1.8.1_1,1\r\n\tavr-binutils: 2.25.1_2,1\r\n\tavr-gcc: 4.9.3\r\n\tmpc: 1.0.3\r\n\tmpfr: 3.1.4\r\n\tlibftdi1: 1.1\r\n\tboost-libs: 1.55.0_10\r\n\tlibconfuse: 2.7_1\r\n\r\nThe process will require 1 GiB more space.\r\n\r\nProceed with this action? [y/N]: y\r\n[1/16] Installing mpfr-3.1.4...\r\n[1/16] Extracting mpfr-3.1.4: 100%\r\n[2/16] Installing java-zoneinfo-2016.d...\r\n[2/16] Extracting java-zoneinfo-2016.d: 100%\r\n[3/16] Installing javavmwrapper-2.5...\r\n[3/16] Extracting javavmwrapper-2.5: 100%\r\n[4/16] Installing avr-binutils-2.25.1_2,1...\r\n[4/16] Extracting avr-binutils-2.25.1_2,1: 100%\r\n[5/16] Installing mpc-1.0.3...\r\n[5/16] Extracting mpc-1.0.3: 100%\r\n[6/16] Installing boost-libs-1.55.0_10...\r\n[6/16] Extracting boost-libs-1.55.0_10: 100%\r\n[7/16] Installing libconfuse-2.7_1...\r\n[7/16] Extracting libconfuse-2.7_1: 100%\r\n[8/16] Installing openjdk8-8.77.3...\r\n[8/16] Extracting openjdk8-8.77.3: 100%\r\n[9/16] Installing linux_base-c6-6.7_1...\r\n[9/16] Extracting linux_base-c6-6.7_1: 100%\r\npkg: archive_read_extract() errno 2: Can't create '/compat/linux/var/lock/subsys'\r\n[9/16] Deleting files for linux_base-c6-6.7_1: 100%\r\n\r\n\r\nroot@omega:~ # ls -l /usr/local/bin/javavm\r\n-r-xr-xr-x  1 root  wheel  20835 May  2 07:44 /usr/local/bin/javavm\r\n\r\n\r\nroot@omega:~ # pkg which /usr/local/bin/javavm\r\n/usr/local/bin/javavm was not found in the database\r\n\r\n\r\nroot@omega:~ # pkg info javavmwrapper\r\npkg: No package(s) matching javavmwrapper\r\n\r\n\r\nroot@omega:~ # pkg install arduino avrdude\r\nUpdating FreeBSD repository catalogue...\r\nFreeBSD repository is up-to-date.\r\nAll repositories are up-to-date.\r\nChecking integrity... done (0 conflicting)\r\nThe following 16 package(s) will be affected (of 0 checked):\r\n\r\nNew packages to be INSTALLED:\r\n\tarduino: 1.0.6,1\r\n\tavrdude: 6.1_1\r\n\topenjdk8: 8.77.3\r\n\tlinux_base-c6: 6.7_1\r\n\tlibvdpau: 1.1.1\r\n\tjava-zoneinfo: 2016.d\r\n\tjavavmwrapper: 2.5\r\n\trxtx-openjdk8: 2.2p2_2\r\n\tavr-libc: 1.8.1_1,1\r\n\tavr-binutils: 2.25.1_2,1\r\n\tavr-gcc: 4.9.3\r\n\tmpc: 1.0.3\r\n\tmpfr: 3.1.4\r\n\tlibftdi1: 1.1\r\n\tboost-libs: 1.55.0_10\r\n\tlibconfuse: 2.7_1\r\n\r\nThe process will require 1 GiB more space.\r\n\r\nProceed with this action? [y/N]: ^C\r\n\r\n\r\nroot@omega:~ # pkg install javavmwrapper\r\nUpdating FreeBSD repository catalogue...\r\nFreeBSD repository is up-to-date.\r\nAll repositories are up-to-date.\r\nChecking integrity... done (0 conflicting)\r\nThe following 1 package(s) will be affected (of 0 checked):\r\n\r\nNew packages to be INSTALLED:\r\n\tjavavmwrapper: 2.5\r\n\r\nProceed with this action? [y/N]: y\r\n[1/1] Installing javavmwrapper-2.5...\r\n[1/1] Extracting javavmwrapper-2.5: 100%\r\n/usr/local/etc/javavm_opts.conf already exists - not installing.\r\nYou may need to hand merge changes.\r\n\r\n\r\nroot@omega:~ # pkg info -l javavmwrapper\r\njavavmwrapper-2.5:\r\n\t/usr/local/bin/checkvms\r\n\t/usr/local/bin/classpath\r\n\t/usr/local/bin/javavm\r\n\t/usr/local/bin/manvm\r\n\t/usr/local/bin/registervm\r\n\t/usr/local/bin/unregistervm\r\n\t/usr/local/etc/javavm_opts.conf.dist\r\n\t/usr/local/man/man1/checkvms.1.gz\r\n\t/usr/local/man/man1/javavm.1.gz\r\n\t/usr/local/man/man1/manvm.1.gz\r\n\t/usr/local/man/man1/registervm.1.gz\r\n\t/usr/local/man/man1/unregistervm.1.gz\r\n\t/usr/local/man/man5/javavm_opts.conf.5.gz\r\n\t/usr/local/man/man5/javavms.5.gz"}}
{"actor":{"display_login":"bapt"}}