freebsd / pkg

Package management tool for FreeBSD. Help at #pkg on Libera Chat or pkg@FreeBSD.org
Other
754 stars 281 forks source link

Failure to upgrade package when required #1161

Closed gavinatkinson closed 8 years ago

gavinatkinson commented 9 years ago

I have a laptop which had all packages installed on December 22nd (with pkg 1.4.1). I've just attempted to install libreoffice with pkg 1.4.6. Obviously, the upstream package set (FreeBSD official packages) has changed since then.

libreoffice depends on libpng. I have version 15 installed, libreoffice needs version 16 to function, however pkg failed to update it, and as a result the installed libreoffice does not work.

I can keep the machine like this for a few days, if any more information is useful.

root@g500s:~ # pkg install libreoffice Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 944 B 0.9k/s 00:01
Fetching packagesite.txz: 100% 5 MB 753.0k/s 00:07
Processing entries: 100% FreeBSD repository update completed. 23756 packages processed New version of pkg detected; it needs to be installed first. The following 1 packages will be affected (of 0 checked):

Installed packages to be UPGRADED: pkg: 1.4.1 -> 1.4.6

The process will require 130 KB more space. 2 MB to be downloaded.

Proceed with this action? [y/N]: y Fetching pkg-1.4.6.txz: 100% 2 MB 819.4k/s 00:03
Checking integrity... done (0 conflicting) [1/1] Upgrading pkg from 1.4.1 to 1.4.6... [1/1] Extracting pkg-1.4.6: 100% Message for pkg-1.4.6: If you are upgrading from the old package format, first run:

pkg2ng

Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. The following 36 packages will be affected (of 0 checked):

New packages to be INSTALLED: libreoffice: 4.3.5_2 linuxlibertine-g: 20120116 liberation-fonts-ttf: 2.00.1,1 GentiumBasic: 110_1 crosextrafonts-carlito: 20130920 crosextrafonts-caladea: 20130214 serf: 1.3.8 apr: 1.5.1.1.5.4 redland: 1.0.17_4 rasqal: 0.9.33 raptor2: 2.0.15 yajl: 2.1.0 mythes: 1.2.4 libwps03: 0.3.0 librevenge: 0.0.1 libwpd010: 0.10.0 libvisio01: 0.1.0_1 libodfgen01: 0.1.2 libetonyek01: 0.1.1_1 libmwaw03: 0.3.3 libexttextcat: 3.4.4 libe-book: 0.1.1_1 libabw: 0.1.0_2 hyphen: 2.8.8 clucene: 2.3.3.4_4 libmspub01: 0.1.1 libcmis: 0.4.1_3 lp_solve: 5.5.2.0 opencollada: 1.2.2.20140528_2 libwpg03: 0.3.0 libgltf: 0.0.2 libfreehand: 0.1.0_2 libcdr01: 0.1.1 liborcus07: 0.7.0 libzip: 0.11.2_1 liblangtag: 0.5.4

The process will require 390 MB more space. 86 MB to be downloaded.

Proceed with this action? [y/N]: y Fetching libreoffice-4.3.5_2.txz: 100% 70 MB 774.3k/s 01:35 Fetching linuxlibertine-g-20120116.txz: 100% 3 MB 748.3k/s 00:04 Fetching liberation-fonts-ttf-2.00.1,1.txz: 100% 1 MB 714.4k/s 00:02 Fetching GentiumBasic-110_1.txz: 100% 370 KB 379.3k/s 00:01 Fetching crosextrafonts-carlito-20130920.txz: 100% 726 KB 743.5k/s 00:01 Fetching crosextrafonts-caladea-20130214.txz: 100% 82 KB 83.9k/s 00:01 Fetching serf-1.3.8.txz: 100% 78 KB 79.4k/s 00:01 Fetching apr-1.5.1.1.5.4.txz: 100% 406 KB 416.0k/s 00:01 Fetching redland-1.0.17_4.txz: 100% 278 KB 285.1k/s 00:01 Fetching rasqal-0.9.33.txz: 100% 380 KB 388.6k/s 00:01 Fetching raptor2-2.0.15.txz: 100% 354 KB 362.8k/s 00:01 Fetching yajl-2.1.0.txz: 100% 53 KB 54.6k/s 00:01 Fetching mythes-1.2.4.txz: 100% 10 KB 9.8k/s 00:01 Fetching libwps03-0.3.0.txz: 100% 241 KB 246.4k/s 00:01 Fetching librevenge-0.0.1.txz: 100% 516 KB 527.9k/s 00:01 Fetching libwpd010-0.10.0.txz: 100% 201 KB 205.3k/s 00:01 Fetching libvisio01-0.1.0_1.txz: 100% 190 KB 194.1k/s 00:01 Fetching libodfgen01-0.1.2.txz: 100% 188 KB 192.4k/s 00:01 Fetching libetonyek01-0.1.1_1.txz: 100% 203 KB 207.7k/s 00:01 Fetching libmwaw03-0.3.3.txz: 100% 1 MB 735.3k/s 00:002 Fetching libexttextcat-3.4.4.txz: 100% 177 KB 181.3k/s 00:01 Fetching libe-book-0.1.1_1.txz: 100% 684 KB 700.0k/s 00:01 Fetching libabw-0.1.0_2.txz: 100% 90 KB 91.9k/s 00:01 Fetching hyphen-2.8.8.txz: 100% 68 KB 69.6k/s 00:01 Fetching clucene-2.3.3.4_4.txz: 100% 770 KB 788.6k/s 00:01 Fetching libmspub01-0.1.1.txz: 100% 151 KB 154.3k/s 00:01 Fetching libcmis-0.4.1_3.txz: 100% 768 KB 786.6k/s 00:01 Fetching lp_solve-5.5.2.0.txz: 100% 464 KB 474.9k/s 00:01 Fetching opencollada-1.2.2.20140528_2.txz: 100% 2 MB 870.9k/s 00:02 Fetching libwpg03-0.3.0.txz: 100% 59 KB 60.4k/s 00:01 Fetching libgltf-0.0.2.txz: 100% 148 KB 152.0k/s 00:01 Fetching libfreehand-0.1.0_2.txz: 100% 48 KB 49.5k/s 00:01 Fetching libcdr01-0.1.1.txz: 100% 336 KB 344.3k/s 00:01 Fetching liborcus07-0.7.0.txz: 100% 461 KB 472.5k/s 00:01 Fetching libzip-0.11.2_1.txz: 100% 141 KB 144.1k/s 00:01 Fetching liblangtag-0.5.4.txz: 100% 199 KB 203.3k/s 00:01 Checking integrity... done (0 conflicting) [1/36] Installing yajl-2.1.0... [1/36] Extracting yajl-2.1.0: 100% [2/36] Installing raptor2-2.0.15... [2/36] Extracting raptor2-2.0.15: 100% [3/36] Installing librevenge-0.0.1... [3/36] Extracting librevenge-0.0.1: 100% [4/36] Installing apr-1.5.1.1.5.4... [4/36] Extracting apr-1.5.1.1.5.4: 100% [5/36] Installing rasqal-0.9.33... [5/36] Extracting rasqal-0.9.33: 100% [6/36] Installing libwpd010-0.10.0... [6/36] Extracting libwpd010-0.10.0: 100% [7/36] Installing libetonyek01-0.1.1_1... [7/36] Extracting libetonyek01-0.1.1_1: 100% [8/36] Installing libzip-0.11.2_1... [8/36] Extracting libzip-0.11.2_1: 100% [9/36] Installing linuxlibertine-g-20120116... [9/36] Extracting linuxlibertine-g-20120116: 100% /usr/local/lib/X11/fonts/LinLibertineG: caching, new cache contents: 10 fonts, 0 dirs /var/db/fontconfig: cleaning cache directory /root/.cache/fontconfig: not cleaning non-existent cache directory /root/.fontconfig: not cleaning non-existent cache directory /usr/local/bin/fc-cache: succeeded [10/36] Installing liberation-fonts-ttf-2.00.1,1... [10/36] Extracting liberation-fonts-ttf-2.00.1,1: 100% [11/36] Installing GentiumBasic-110_1... [11/36] Extracting GentiumBasic-110_1: 100% [12/36] Installing crosextrafonts-carlito-20130920... [12/36] Extracting crosextrafonts-carlito-20130920: 100% [13/36] Installing crosextrafonts-caladea-20130214... [13/36] Extracting crosextrafonts-caladea-20130214: 100% [14/36] Installing serf-1.3.8... [14/36] Extracting serf-1.3.8: 100% [15/36] Installing redland-1.0.17_4... [15/36] Extracting redland-1.0.17_4: 100% [16/36] Installing mythes-1.2.4... [16/36] Extracting mythes-1.2.4: 100% [17/36] Installing libwps03-0.3.0... [17/36] Extracting libwps03-0.3.0: 100% [18/36] Installing libvisio01-0.1.0_1... [18/36] Extracting libvisio01-0.1.0_1: 100% [19/36] Installing libodfgen01-0.1.2... [19/36] Extracting libodfgen01-0.1.2: 100% [20/36] Installing libmwaw03-0.3.3... [20/36] Extracting libmwaw03-0.3.3: 100% [21/36] Installing libexttextcat-3.4.4... [21/36] Extracting libexttextcat-3.4.4: 100% [22/36] Installing libe-book-0.1.1_1... [22/36] Extracting libe-book-0.1.1_1: 100% [23/36] Installing libabw-0.1.0_2... [23/36] Extracting libabw-0.1.0_2: 100% [24/36] Installing hyphen-2.8.8... [24/36] Extracting hyphen-2.8.8: 100% [25/36] Installing clucene-2.3.3.4_4... [25/36] Extracting clucene-2.3.3.4_4: 100% [26/36] Installing libmspub01-0.1.1... [26/36] Extracting libmspub01-0.1.1: 100% [27/36] Installing libcmis-0.4.1_3... [27/36] Extracting libcmis-0.4.1_3: 100% [28/36] Installing lp_solve-5.5.2.0... [28/36] Extracting lp_solve-5.5.2.0: 100% [29/36] Installing opencollada-1.2.2.20140528_2... [29/36] Extracting opencollada-1.2.2.20140528_2: 100% [30/36] Installing libwpg03-0.3.0... [30/36] Extracting libwpg03-0.3.0: 100% [31/36] Installing libgltf-0.0.2... [31/36] Extracting libgltf-0.0.2: 100% [32/36] Installing libfreehand-0.1.0_2... [32/36] Extracting libfreehand-0.1.0_2: 100% [33/36] Installing libcdr01-0.1.1... [33/36] Extracting libcdr01-0.1.1: 100% [34/36] Installing liborcus07-0.7.0... [34/36] Extracting liborcus07-0.7.0: 100% [35/36] Installing liblangtag-0.5.4... [35/36] Extracting liblangtag-0.5.4: 100% [36/36] Installing libreoffice-4.3.5_2... [36/36] Extracting libreoffice-4.3.5_2: 100% Message for linuxlibertine-g-20120116: You can start using the fonts by following these instructions:

Add the following line to the "Files" section of your x.org configuration file:

FontPath "/usr/local/lib/X11/fonts/LinLibertineG/"

Message for liberation-fonts-ttf-2.00.1,1: You can start using the fonts by following these instructions:

Add the following line to the "Files" section of your x.org configuration file:

FontPath "/usr/local/lib/X11/fonts/Liberation/"

Message for GentiumBasic-110_1: To use these fonts, add the following line to the "Files" section of xorg.conf:

FontPath "/usr/local/lib/X11/fonts/GentiumBasic/"

Users of older versions of X may additionally have to make sure that the freetype module is loaded. Check /var/log/Xorg.0.log for error messages. If freetype is required, add the following line to the "Modules" section of xorg.conf:

Load "freetype"

Message for crosextrafonts-carlito-20130920: You can start using the fonts by following these instructions:

Add the following line to the "Files" section of your x.org configuration file:

FontPath "/usr/local/lib/X11/fonts/Carlito/"

Message for crosextrafonts-caladea-20130214: You can start using the fonts by following these instructions:

Add the following line to the "Files" section of your x.org configuration file:

FontPath "/usr/local/lib/X11/fonts/Caladea/"

gavin@g500s:~ % libreoffice Shared object "libpng16.so.16" not found, required by "oosplash"

gavin@g500s:~ % pkg which /usr/local/lib/libreoffice/program/oosplash /usr/local/lib/libreoffice/program/oosplash was installed by package libreoffice-4.3.5_2

gavin@g500s:~ % pkg info png png-1.5.20 Name : png Version : 1.5.20 Installed on : Mon Dec 22 13:43:32 GMT 2014 Origin : graphics/png Architecture : freebsd:11:x86:64 Prefix : /usr/local Categories : graphics Licenses : Maintainer : portmgr@FreeBSD.org WWW : http://www.libpng.org/pub/png/libpng.html Comment : Library for manipulating PNG images Options : APNG : on PNGTEST : on Shared Libs provided: libpng15.so.15 Annotations : repo_type : binary repository : FreeBSD Flat size : 969KiB Description : Libpng was written as a companion to the PNG specification, as a way to reduce the amount of time and effort it takes to support the PNG file format in application programs. Most users will not have to modify the library significantly; advanced users may want to modify it more. The library was coded for both users. All attempts were made to make it as complete as possible, while keeping the code easy to understand. Currently, this library only supports C. Support for other languages is being considered.

LICENSE: libpng license

WWW: http://www.libpng.org/pub/png/libpng.html http://libpng.sourceforge.net/

gavin@g500s:~ % pkg info libreoffice libreoffice-4.3.5_2 Name : libreoffice Version : 4.3.5_2 Installed on : Thu Jan 29 20:44:57 GMT 2015 Origin : editors/libreoffice Architecture : freebsd:11:x86:64 Prefix : /usr/local Categories : editors Licenses : MPL or LGPL3 Maintainer : office@FreeBSD.org WWW : http://www.libreoffice.org/ Comment : Full integrated office productivity suite Options : CUPS : on DEBUG : off GNOME : off GTK2 : on GTK3 : off JAVA : off KDE4 : off MMEDIA : off PGSQL : off SDK : off SYSTRAY : off TEST : off VERBOSE : off WEBDAV : off Shared Libs required: libxslt.so.1 libxml2.so.2 libwps-0.3.so.3 libwpg-0.3.so.3 libwpd-0.10.so.10 libvisio-0.1.so.1 libssl3.so.1 libsmime3.so.1 libserf-1.so.1 librevenge-stream-0.0.so.0 librevenge-0.0.so.0 librdf.so.0 libraptor2.so.0 libpython2.7.so.1 libpoppler.so.46 libpng16.so.16 libplds4.so.1 libplc4.so.1 libpangoft2-1.0.so.0 libpangocairo-1.0.so.0 libpango-1.0.so.0 liborcus-parser-0.8.so.0 liborcus-0.8.so.0 libodfgen-0.1.so.1 libnssutil3.so.1 libnss3.so.1 libnspr4.so.1 libmythes-1.2.so.0 libmwaw-0.3.so.3 libmspub-0.1.so.1 liblpsolve55.so libldap-2.4.so.2 liblcms2.so.2 liblber-2.4.so.2 liblangtag.so.1 libjpeg.so.8 libintl.so.8 libicuuc.so.53 libicui18n.so.53 libhyphen.so.0 libhunspell-1.3.so.0 libharfbuzz.so.0 libharfbuzz-icu.so.0 libgtk-x11-2.0.so.0 libgthread-2.0.so.0 libgraphite2.so.3 libgpg-error.so.0 libgobject-2.0.so.0 libgmodule-2.0.so.0 libgltf-0.0.so.0 libglib-2.0.so.0 libgio-2.0.so.0 libgdk_pixbuf_xlib-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgdk-x11-2.0.so.0 libgcrypt.so.20 libfreetype.so.6 libfreehand-0.1.so.1 libfontconfig.so.1 libexttextcat-2.0.so.0 libexslt.so.0 libexpat.so.1 libetonyek-0.1.so.1 libe-book-0.1.so.1 libcurl.so.4 libcups.so.2 libcmis-0.4.so.4 libclucene-shared.so.1 libclucene-core.so.1 libclucene-contribs-lib.so.1 libcdr-0.1.so.1 libcairo.so.2 libboost_iostreams.so.1.55.0 libboost_date_time.so.1.55.0 libatk-1.0.so.0 libaprutil-1.so.0 libapr-1.so.0 libabw-0.1.so.1 libXt.so.6 libXrender.so.1 libXrandr.so.2 libXinerama.so.1 libXext.so.6 libX11.so.6 libSM.so.6 libOpenCOLLADASaxFrameworkLoader.so libOpenCOLLADAFramework.so libOpenCOLLADABaseUtils.so libICE.so.6 libGeneratedSaxParser.so libGLU.so.1 libGLEW.so.1 libGL.so.1 Shared Libs provided: libxstor.so libxsltfilterlo.so libxsltdlglo.so libxsec_xmlsec.so libxsec_fw.so libxolo.so libxoflo.so libxmlsecurity.so libxmlscriptlo.so libxmlreaderlo.so libxmlfdlo.so libxmlfalo.so libwriterperfectlo.so libwriterfilterlo.so libwpftwriterlo.so libwpftimpresslo.so libwpftdrawlo.so libwpftcalclo.so libvclplug_svplo.so libvclplug_gtklo.so libvclplug_genlo.so libvclopengllo.so libvcllo.so libvclcanvaslo.so libvbaswobjlo.so libvbaobjlo.so libvbahelperlo.so libvbaeventslo.so libuuresolverlo.so libuuilo.so libutllo.so libupdatefeedlo.so libunsafe_uno_uno.so libunoxmllo.so libunordflo.so libunopkgapp.so libunoidllo.so libuno_salhelpergcc3.so.3 libuno_sal.so.3 libuno_purpenvhelpergcc3.so.3 libuno_cppuhelpergcc3.so.3 libuno_cppu.so.3 libucptdoc1lo.so libucppkg1.so libucphier1.so libucpftp1.so libucpfile1.so libucpextlo.so libucpexpand1lo.so libucpdav1.so libucpcmis1lo.so libucpchelp1.so libucbhelper.so libucb1.so libtllo.so libtklo.so libtextfdlo.so libtextconversiondlgslo.so libtextconv_dict.so libt602filterlo.so libsysshlo.so libswuilo.so libswlo.so libswdlo.so libsvxlo.so libsvxcorelo.so libsvtlo.so libsvllo.so libsvgiolo.so libsvgfilterlo.so libstringresourcelo.so libstorelo.so libstoragefdlo.so libstocserviceslo.so libsrtrs1.so libspllo.so libspelllo.so libsotlo.so libsolverlo.so libsofficeapp.so libsmlo.so libsmdlo.so libslideshowlo.so libsimplecanvaslo.so libsfxlo.so libsduilo.so libsdlo.so libsdfiltlo.so libsddlo.so libsdbtlo.so libsdbc2.so libscuilo.so libscriptframe.so libscopencllo.so libscnlo.so libsclo.so libscfiltlo.so libscdlo.so libsblo.so libsaxlo.so libsal_textenclo.so librptxmllo.so librptuilo.so librptlo.so libreslo.so libreglo.so libreflectionlo.so librecentfile.so libpyuno.so libpythonloaderlo.so libproxyfaclo.so libprotocolhandlerlo.so libpricinglo.so libpllo.so libplacewarelo.so libpdfimportlo.so libpdffilterlo.so libpcrlo.so libpasswordcontainerlo.so libpackage2.so libooxlo.so liboglcanvaslo.so liboffacclo.so libodfflatxmllo.so libodbclo.so libnpsoplugin.so libnamingservicelo.so libmysqllo.so libmtfrendererlo.so libmswordlo.so libmsformslo.so libmsfilterlo.so libmozbootstraplo.so libmorklo.so libmigrationoo3lo.so libmigrationoo2lo.so libmcnttype.so liblwpftlo.so libloglo.so liblog_uno_uno.so liblocaledata_others.so liblocaledata_euro.so liblocaledata_es.so liblocaledata_en.so liblocalebe1lo.so liblnthlo.so liblnglo.so libldapbe2lo.so libitilo.so libitglo.so libiralo.so libipxlo.so libiptlo.so libipslo.so libipdlo.so libipblo.so libiolo.so libinvocationlo.so libinvocadaptlo.so libintrospectionlo.so libindex_data.so libimelo.so libidxlo.so libicglo.so libicdlo.so libi18nutil.so libi18nsearchlo.so libi18npoollo.so libi18nlangtag.so libhyphenlo.so libhwplo.so libhelplinkerlo.so libguesslanglo.so libgraphicfilterlo.so libgcc3_uno.so libfwmlo.so libfwllo.so libfwklo.so libfwilo.so libfwelo.so libfsstoragelo.so libfrmlo.so libfps_officelo.so libforuilo.so libforlo.so libflatlo.so libflashlo.so libfilterconfiglo.so libfilelo.so libexpwraplo.so libexplo.so libevtattlo.so libetilo.so liberalo.so libeptlo.so libepslo.so libepplo.so libepglo.so libepblo.so libemelo.so libemboleobj.so libembobj.so libegilo.so libeditenglo.so libdrawinglayerlo.so libdlgprovlo.so libdict_zh.so libdict_ja.so libdesktopbe1lo.so libdesktop_detectorlo.so libdeploymentmisclo.so libdeploymentgui.so libdeployment.so libdbulo.so libdbtoolslo.so libdbpool2.so libdbplo.so libdbmmlo.so libdbaxmllo.so libdbaselo.so libdbalo.so libdatelo.so libcuilo.so libctllo.so libcppcanvaslo.so libconfigmgrlo.so libcomphelper.so libcollator_data.so libcmdmaillo.so libchartopengllo.so libchartcorelo.so libchartcontrollerlo.so libcanvastoolslo.so libcanvasfactorylo.so libcalclo.so libcairocanvaslo.so libcached1.so libbootstraplo.so libbinaryurplo.so libbiblo.so libbasprovlo.so libbasegfxlo.so libbasebmplo.so libbasctllo.so libavmediaogl.so libavmedialo.so libanimcorelo.so libanalysislo.so libaffine_uno_uno.so libacclo.so libabplo.so libPresenterScreenlo.so libPresentationMinimizerlo.so libOGLTranslo.so Annotations : repo_type : binary repository : FreeBSD Flat size : 286MiB Description : LibreOffice is the free power-packed Open Source personal productivity suite for Windows, Macintosh and Linux, that gives you six feature-rich applications for all your document production and data processing needs: Writer, Calc, Impress, Draw, Math and Base.

WWW: http://www.libreoffice.org/ gavin@g500s:~ % gavin@g500s:~ % pkg rquery %v png 1.6.16

gavin@g500s:~ % pkg lock -l Currently locked packages: gavin@g500s:~ %

root@g500s:~ # pkg check -d -n Checking all packages: 100% root@g500s:~ # pkg check -B -n Checking all packages: 60% pkg: (libreoffice-4.3.5_2) /usr/local/lib/libreoffice/program/oosplash - required shared library libpng16.so.16 not found Checking all packages: 100% root@g500s:~ #

infracaninophile commented 9 years ago

Hmmm... a long shot, but does

pkg update -f

make any difference to what 'pkg upgrade' wants to do?

gavinatkinson commented 9 years ago

Even without a "pkg update -f" pkg knows that the package needs updating, it just didn't do it whilst installing the new package:

root@g500s:~ # pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking for upgrades (542 candidates): 100% Processing candidates (542 candidates): 100% The following 189 packages will be affected (of 0 checked):

New packages to be INSTALLED: giflib: 5.0.6 mDNSResponder: 561.1.1 python34: 3.4.2_1 py34-gobject3: 3.14.0_1 py34-cairo: 1.10.0_3 speexdsp: 1.2.r3_1 py27-asn1: 0.1.7,1 pinentry-tty: 0.9.0 py34-xdg: 0.25_1 py34-setuptools34: 5.5.1_1 py34-dbus: 1.1.1_1 py34-atspi: 2.12.0_2 libedit: 3.1.20141030_2 neon: 0.30.1

Installed packages to be UPGRADED: xterm: 313 -> 314 xorg-server: 1.12.4_10,1 -> 1.14.7_1,1 xorg-libraries: 7.7_1 -> 7.7_2 xorg-apps: 7.7_1 -> 7.7_2 xmlcatmgr: 2.2_1 -> 2.2_2 xf86-video-vesa: 2.3.3_4 -> 2.3.3_5 xf86-video-r128: 6.9.2_4 -> 6.9.2_5 xf86-video-openchrome: 0.3.3_4 -> 0.3.3_5 xf86-video-nv: 2.1.20_5 -> 2.1.20_6 xf86-video-mach64: 6.9.4_4 -> 6.9.4_5 xf86-video-intel: 2.21.15_5 -> 2.21.15_6 xf86-video-ati: 7.5.0 -> 7.5.0_1 xf86-input-mouse: 1.9.0_5 -> 1.9.0_6 xf86-input-keyboard: 1.8.0_6 -> 1.8.0_7 xcursorgen: 1.0.6 -> 1.0.6_1 xcb-util: 0.3.9_3,1 -> 0.4.0,1 webp: 0.4.2_1 -> 0.4.2_3 webkit-gtk3: 2.4.7 -> 2.4.8 vte3: 0.38.2 -> 0.38.3 vinagre: 3.14.2 -> 3.14.3 vala: 0.26.1 -> 0.26.2 uhttpmock: 0.3.1_1 -> 0.3.3 tracker: 1.2.4_1 -> 1.2.5_2 totem: 3.12.2 -> 3.14.1_1 tevent: 0.9.21 -> 0.9.22 tdb: 1.2.13,1 -> 1.3.4,1 talloc: 2.1.0 -> 2.1.1 sqlite3: 3.8.7.2 -> 3.8.8 speex: 1.2.r1_7,1 -> 1.2.r2,1 speech-dispatcher: 0.8_1 -> 0.8_2 rarian: 0.8.1_2 -> 0.8.1_3 python3: 3_2 -> 3_3 python27: 2.7.8_6 -> 2.7.9 py33-setuptools33: 5.5.1 -> 5.5.1_1 py27-setuptools27: 5.5.1 -> 5.5.1_1 py27-pycrypto: 2.6.1 -> 2.6.1_1 py27-cryptography: 0.5.4 -> 0.7.2 poppler-glib: 0.26.3 -> 0.26.3_1 poppler: 0.26.3 -> 0.26.3_1 polkit: 0.105_3 -> 0.105_5 png: 1.5.20 -> 1.6.16 pinentry: 0.9.0 -> 0.9.0_2 perl5: 5.18.4_10 -> 5.18.4_11 pciids: 20141123 -> 20150117 orca: 3.14.2 -> 3.14.3_1 orc: 0.4.22 -> 0.4.23 openjpeg15: 1.5.2 -> 1.5.2_1 nautilus: 3.14.1 -> 3.14.2 mutter: 3.14.2 -> 3.14.3 lua52: 5.2.3_3 -> 5.2.3_4 llvm34: 3.4.2 -> 3.4.2_1 libzeitgeist: 0.3.18_1 -> 0.3.18_2 libxslt: 1.1.28_5 -> 1.1.28_6 libxklavier: 5.2.1_1,1 -> 5.3,1 libx264: 0.142.2455 -> 0.142.2455_2 libwmf: 0.2.8.4_12 -> 0.2.8.4_13 libspiro: 20071029_2 -> 0.2.20131203,1 libsoup-gnome: 2.48.0_1 -> 2.48.1_1 libsoup: 2.48.0 -> 2.48.1_1 libsecret: 0.18_1 -> 0.18_2 librsvg2: 2.40.4 -> 2.40.6_1 libquvi09: 0.9.4_1 -> 0.9.4_2 libquvi-scripts09: 0.9 -> 0.9.20131130 libpeas: 1.12.1 -> 1.12.1_1 libnice-gst1: 0.1.7_1 -> 0.1.8 libnice-gst010: 0.1.7_1 -> 0.1.8 libnice: 0.1.7_1 -> 0.1.8 libmusicbrainz5: 5.0.1 -> 5.0.1_1 libical: 1.0 -> 1.0.1 libgweather: 3.14.0 -> 3.14.3 libgsf: 1.14.30 -> 1.14.30_1 libgnome-keyring: 3.12.0_1 -> 3.12.0_2 libglapi: 10.3.4 -> 10.4.0 libgd: 2.1.0_4,1 -> 2.1.0_5,1 libgcrypt: 1.6.1_5 -> 1.6.2 libffi: 3.0.13_3 -> 3.2.1 libevent2: 2.0.21_3 -> 2.0.22 libXft: 2.3.1_2 -> 2.3.2 libGL: 10.3.4 -> 10.4.0 libEGL: 10.3.4 -> 10.4.0 jbig2dec: 0.11_2 -> 0.11_4 iso-codes: 3.56 -> 3.57 indexinfo: 0.2 -> 0.2.2 hitori: 3.14.1 -> 3.14.2.1 gvfs: 1.20.3 -> 1.20.3_1 guile2: 2.0.11_2 -> 2.0.11_3 gtkspell3: 3.0.4_1 -> 3.0.6 gtksourceview3: 3.14.2 -> 3.14.3 gtkhtml4: 4.8.4 -> 4.8.5 gtk3: 3.14.5_1 -> 3.14.7 gtk-vnc: 0.4.4_2 -> 0.4.4_3 gstreamer1-plugins-vpx: 1.4.4 -> 1.4.5 gstreamer1-plugins-vorbis: 1.4.4 -> 1.4.5 gstreamer1-plugins-v4l2: 1.4.4 -> 1.4.5 gstreamer1-plugins-ugly: 1.4.4 -> 1.4.5 gstreamer1-plugins-theora: 1.4.4 -> 1.4.5 gstreamer1-plugins-soup: 1.4.4 -> 1.4.5 gstreamer1-plugins-resindvd: 1.4.4 -> 1.4.5 gstreamer1-plugins-png: 1.4.4 -> 1.4.5_1 gstreamer1-plugins-pango: 1.4.4 -> 1.4.5_1 gstreamer1-plugins-ogg: 1.4.4 -> 1.4.5 gstreamer1-plugins-mad: 1.4.4_1 -> 1.4.5 gstreamer1-plugins-jpeg: 1.4.4 -> 1.4.5 gstreamer1-plugins-good: 1.4.4 -> 1.4.5 gstreamer1-plugins-dvdread: 1.4.4 -> 1.4.5 gstreamer1-plugins-dts: 1.4.4 -> 1.4.5 gstreamer1-plugins-bad: 1.4.4 -> 1.4.5 gstreamer1-plugins-a52dec: 1.4.4 -> 1.4.5 gstreamer1-plugins: 1.4.4 -> 1.4.5_1 gstreamer1-libav: 1.4.4 -> 1.4.5 gstreamer1: 1.4.4 -> 1.4.5 gstreamer-plugins-libpng: 0.10.31_1,3 -> 0.10.31_2,3 gstreamer-plugins: 0.10.36_4,3 -> 0.10.36_5,3 graphviz: 2.38.0_5 -> 2.38.0_6 gnutls: 3.2.19_1 -> 3.2.21 gnupg: 2.1.0_1 -> 2.1.1_1 gnuchess: 6.1.2 -> 6.2.1 gnote: 3.14.0 -> 3.14.1 gnome-themes-standard: 3.14.2 -> 3.14.2.3 gnome-sudoku: 3.14.2 -> 3.14.2_1 gnome-shell-extensions: 3.14.2 -> 3.14.3 gnome-shell: 3.14.2 -> 3.14.3 gnome-session: 3.14.0 -> 3.14.0_1 gnome-pty-helper: 0.38.2 -> 0.38.3 gnome-power-manager: 3.12.2 -> 3.14.1 gnome-keyring: 3.14.0 -> 3.14.0_1 gnome-documents: 3.14.1 -> 3.14.2 gnome-doc-utils: 0.20.10_3 -> 0.20.10_4 gnome-dictionary: 3.14.0 -> 3.14.2 gnome-desktop: 3.14.2 -> 3.14.2_1 gnome-color-manager: 3.14.1 -> 3.14.2 gnome-chess: 3.14.1 -> 3.14.2 glib-networking: 2.42.0 -> 2.42.1_1 ghostscript9: 9.06_9 -> 9.06_10 gfbgraph: 0.2.2_1 -> 0.2.2_2 geoclue: 2.1.9 -> 2.1.10 gegl: 0.2.0_12 -> 0.2.0_14 gedit-plugins: 3.14.1 -> 3.14.1_2 gedit: 3.14.1 -> 3.14.2_2 gdk-pixbuf2: 2.31.2 -> 2.31.2_1 gcr: 3.14.0 -> 3.14.0_1 gconf2: 3.2.6_2 -> 3.2.6_3 freetype2: 2.5.4 -> 2.5.5 freerdp: 1.1.0_1 -> 1.1.0_2 freedesktop-sound-theme: 0.7_1 -> 0.7_2 folks: 0.10.0 -> 0.10.1 flac: 1.3.0_4 -> 1.3.1 firefox: 34.0.5,1 -> 35.0,1 farstream: 0.2.4 -> 0.2.6 evolution-data-server: 3.12.8 -> 3.12.10 evolution: 3.12.8 -> 3.12.10_1 epiphany: 3.12.1_1 -> 3.12.1_2 eog-plugins: 3.14.1 -> 3.14.1_1 dri: 10.3.4,2 -> 10.4.0,2 dconf: 0.22.0 -> 0.22.0_1 dbus: 1.8.12 -> 1.8.12_1 cuse4bsd-kmod: 0.1.35 -> 0.1.36 curl: 7.39.0_1 -> 7.40.0 cups-image: 1.7.3_1 -> 1.7.3_3 cups-client: 1.7.3_2 -> 1.7.3_4 cracklib: 2.9.2 -> 2.9.2_1 chromium: 39.0.2171.95 -> 39.0.2171.99_1 cantarell-fonts: 0.0.15 -> 0.0.16 cairo: 1.12.18,2 -> 1.12.18_1,2 boehm-gc-threaded: 7.4.2_2 -> 7.4.2_3 boehm-gc: 7.4.2_2 -> 7.4.2_3 bash: 4.3.30_1 -> 4.3.33 baobab: 3.14.0 -> 3.14.1 alacarte: 3.11.91_1 -> 3.11.91_2 aisleriot: 3.14.1 -> 3.14.2 accerciser: 3.14.0 -> 3.14.0_1

Installed packages to be REINSTALLED: xorg-drivers-7.7_2 (options changed) wv-1.2.9_3 (needed shared library changed) libgxps-0.2.2_1 (needed shared library changed) cairomm-1.10.0_2 (needed shared library changed)

The process will require 109 MB more space. 271 MB to be downloaded.

Proceed with this action? [y/N]:

I won't continue in case there is any other info that can be obtained from this, but I suspect letting "pkg upgrade" update everything would fix things.

Gavin

infracaninophile commented 9 years ago

This looks like the same problem as issue #1100.

If you try pkg install libreoffice instead of upgrade, what happens? Installing an already installed package should be identical to upgrading it, but I think it isn't quite yet.

silenius commented 9 years ago

the problem is that pkg upgrade somepackage handles dependencies but not reverse dependencies. I think it should be mentioned in the manpage (or ...) as a single pkg upgrade somepackage can leave the system in a completely broken state if there is a shared library bump (as it is the case with graphics/png)

gavinatkinson commented 9 years ago

I don't think this is the same issue as #1100, that bug seems to be a failure to track dependencies the other way (i.e. if it had upgraded png but not the other packages that depended upon). Mine is a failure to realise a direct dependency needed upgrading.

Trying to install libreoffice whilst it is already installed fails as expected:

root@g500s:~ # pkg install libreoffice Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (0 conflicting) The most recent version of packages are already installed root@g500s:~ #

Gavin

gavinatkinson commented 9 years ago

Still an issue with 1.4.12. I've just hit it again, trying to install the mplayer2 package.

I've set DEBUG_LEVEL to 4 and captured the output at https://people.freebsd.org/~gavin/pkg-png-fail.txt (huge file).

silenius commented 9 years ago

Same here .. :) :

jcigar@orval:~/ > pkg info -r png-1.5.18
png-1.5.18:
        libgd-2.1.0_4,1
        gdal-1.11.0_7
        mapserver-6.4.0_6
        graphviz-2.38.0
        jbig2dec-0.11_2
        ghostscript9-nox11-9.06_7
        openjpeg-2.1.0
        webp-0.4.1
        ImageMagick-nox11-6.8.9.4_2,1
        php53-gd-5.3.29_2
        wkhtmltopdf-0.12.1
jcigar@orval:~/ > pkg upgrade -n png                                                                                                                                                                                                                                                                                           
The following 1 packages will be affected (of 0 checked):

Installed packages to be UPGRADED:
        png: 1.5.18 -> 1.6.16

The process will require 16 KiB more space.
244 KiB to be downloaded.
jcigar@orval:~/ > 
bapt commented 9 years ago

Should be fixed in git

silenius commented 9 years ago

Hello,

I think the problem still exists in 1.6.1:

jcigar@orval:~/ > pkg info -r png-1.5.18 
png-1.5.18:
        libgd-2.1.0_4,1
        openjpeg-2.1.0
        ImageMagick-nox11-6.8.9.4_2,1
        php53-gd-5.3.29_2
        jbig2dec-0.11_2
        gdal-1.11.0_7
        graphviz-2.38.0
        ghostscript9-nox11-9.06_7
        wkhtmltopdf-0.12.1
        webp-0.4.1
        mapserver-6.4.0_6
jcigar@orval:~/ > pkg upgrade -n png    
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        png: 1.5.18 -> 1.6.18

The operation will free 136 KiB.
255 KiB to be downloaded.

(this is with my own Poudriere repository)