[Bug 199745] pkg removes erroneously half of the ports....

John D. Hendrickson johnandsara2 at cox.net
Fri May 1 12:34:51 UTC 2015


bugzilla-noreply at freebsd.org wrote:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199745
> 
>             Bug ID: 199745
>            Summary: pkg removes erroneously half of the ports....
>            Product: Base System
>            Version: 10.1-STABLE
>           Hardware: Any
>                 OS: Any
>             Status: New
>           Severity: Affects Only Me
>           Priority: ---
>          Component: bin
>           Assignee: freebsd-bugs at FreeBSD.org
>           Reporter: edwin at mavetju.org
> 
> I tried to install abcde via the pkg system and it erroneously tagged most of
> the X related ports to be needed to be removed. Is that because of the missing
> dependency?
> 
> [~] edwin at t61>sudo pkg install abcde
> Updating FreeBSD repository catalogue...
> Fetching meta.txz: 100%    944 B   0.9kB/s    00:01   
> Fetching packagesite.txz: 100%    5 MiB 761.8kB/s    00:07   
> Processing entries: 100%
> FreeBSD repository update completed. 23950 packages processed.
> pkg: abcde has a missing dependency: lame
> The following 117 package(s) will be affected (of 0 checked):
> 
> Installed packages to be REMOVED:
>         libX11-1.6.2_2,1
>         libxcb-1.11
>         xcb-util-0.4.0,1
>         xcb-util-renderutil-0.3.9
>         cairo-1.12.18_1,2
>         xorg-server-1.14.7_4,1
>         ntop-5.0.1_8
>         vnc-4.1.3_10
>         xauth-1.0.9_1
>         libXext-1.3.3,1
>         libXi-1.7.4,1
>         libXfixes-5.0.1_2
>         libXdamage-1.1.4_2
>         libglapi-10.4.6
>         libGL-10.4.6
>         libXxf86vm-1.1.3_2
>         dri-10.4.6,2
>         libXvMC-1.0.8_2
>         libXv-1.0.10_2,1
>         mplayer-1.1.r20150403_1
>         libXxf86dga-1.1.4_2
>         libxkbfile-1.0.8_2
>         libxkbui-1.0.2_3
>         libXt-1.1.4_2,1
>         dbus-1.8.16
>         hal-0.5.14_28
>         policykit-0.9_8
>         gtk2-2.24.27
>         libXrender-0.9.8_2
>         libXrandr-1.4.2_2
>         xbacklight-1.2.1_1
>         gtk-update-icon-cache-2.24.27
>         libXinerama-1.1.3_2,1
>         qt4-gui-4.8.6_5
>         libXcursor-1.1.14_2
>         gtk3-3.14.12
>         libXcomposite-0.4.4_2,1
>         pango-1.36.8_1
>         libXft-2.3.2
>         xclock-1.0.7_1
>         libXaw-1.0.12_2,2
>         libXp-1.0.2_2,1
>         graphviz-2.38.0_6
>         libXpm-3.5.11_2
>         xpdf-3.04_4
>         open-motif-2.3.4_2
>         gdk-pixbuf2-2.31.2_1
>         xv-3.10a_16
>         colord-1.2.4_1
>         polkit-0.105_5
>         consolekit-0.4.5_3
>         dbus-glib-0.104
>         firefox-37.0.1,1
>         startup-notification-0.12_3
>         harfbuzz-0.9.40
>         qt5-gui-5.4.1_1
>         xcb-util-wm-0.4.1_2
>         xcb-util-keysyms-0.4.0
>         xcb-util-image-0.4.0
>         libxkbcommon-0.5.0
>         xdg-utils-1.0.2.20130919_1
>         xset-1.2.3_1
>         libXmu-1.1.2_2,1
>         twm-1.0.8
>         xprop-1.2.2
>         xmix-2.1_3
>         glew-1.12.0
>         libGLU-9.0.0_2
>         freeglut-2.8.1_3
>         mesa-demos-8.1.0_2
>         nvidia-driver-340-340.76
>         libXtst-1.2.2_2
>         at-spi2-core-2.14.1
>         at-spi2-atk-2.14.1
>         adwaita-icon-theme-3.14.0_1
>         mtr-0.86
>         openjdk-7.76.13_1,1
>         fop-1.1
>         rxtx-openjdk7-2.2p2_2
>         vim-7.4.691
>         nvidia-settings-340.24_1
>         libvdpau-1.0
>         libXfontcache-1.0.5_2
>         qt5-dbus-5.4.1
>         qt5-widgets-5.4.1
>         qt5-printsupport-5.4.1
>         rrdtool-1.4.8_7
>         xterm-318
>         xf86-video-intel-2.21.15_7
>         xkbcomp-1.2.4
>         libXScrnSaver-1.2.2_2
>         xf86-video-openchrome-0.3.3_5
>         xf86-video-r128-6.9.2_5
>         xf86-video-mach64-6.9.4_5
>         xf86-video-ati-7.5.0_2
>         xf86-video-vesa-2.3.3_5
>         xf86-input-mouse-1.9.0_6
>         xf86-input-keyboard-1.8.0_7
>         xf86-video-fbdev-0.4.4_6
>         xf86-video-nv-2.1.20_6
>         libXxf86misc-1.0.3_2
>         rgb-1.0.5
>         xwininfo-1.1.3_1
>         xinit-1.3.4,1
>         rdesktop-1.8.3
> 
> New packages to be INSTALLED:
>         abcde: 2.6
>         vorbis-tools: 1.4.0_8,3
>         libkate: 0.4.1_5
>         speex: 1.2.r2,1
>         speexdsp: 1.2.r3_1
>         libao: 1.2.0_1
>         flac: 1.3.1
>         py27-eyed3: 0.7.5
>         py27-magic: 5.18
> 
> Installed packages to be UPGRADED:
>         libICE: 1.0.9,1 -> 1.0.9_1,1
>         libpciaccess: 0.13.2_2 -> 0.13.3
>         libfontenc: 1.1.2_2 -> 1.1.2_3
> 
> The operation will free 875 MiB.
> 1 MiB to be downloaded.
> 
> Proceed with this action? [y/N]:
> 

the above, dependancy list wise, means:

your package needs newer Xlibs but only a few

However  to use only those few newer Xlibs you need to upgrade the rest 
of X, of course.

your choices are:

1) don't use it, find something less needy

2) compile options.  disable the feature which requires X and or hack 
out need of newer libs in code.  code may not even use newer depends.

3) upgrade X, again

it's very annoying to have to upgrade a whole system for the need of a 
single app.  it's not X's design that's at fault, its the lack of planning.

meaning: sure people should extend what code is available while running 
X so that apps can use it.  but that NEVER means that apps not using 
said code should all have to be upgraded.  it should be additional.

if you look back on X (which is actually far from being the worst player 
in the forced upgrade game).  you see there have been many forced 
upgrades (oh about 7).  but the code many apps used has hardly changed !

and there's a problem.  why should apps that havent changed, asking for 
features that haven't changed break?

and what would be the penalty for NOT breaking apps.  very little.


More information about the freebsd-bugs mailing list