LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-08-2019, 07:19 AM   #1
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Rep: Reputation: 23
Which installed packages depends on "zlib" ?


Hi all,
After libreoffice upgrade (installed using Alien precompiled package), I had to upgrade zlib package too on my slack 14.2, because new libreoffice version is linked against a zlib version newer than the one was installed on my system.

So, I now have a newer zlib version. But could be on my system many other packages compiled against the old one.
Could it cause any issues, like for instance any not working application or applications crashes?

If yes, is there a way to know which installed packages depend on zlib to rebuild/upgrade them against the new zlib installed, if needed?

Thanks in advance!
Bye!
 
Old 11-08-2019, 07:31 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
I installed on my 14.2 libreoffice from here and it seems to use the system's zlib...
have you by any chance installed the package for current (that is at version 6.3.3 instead of 6.2.8)?

BTW, Slackware doesn't support resolving dependencies, but this file from the corresponding salix version could give you an idea on what uses zlib on 14.2.

Last edited by ponce; 11-08-2019 at 07:39 AM.
 
Old 11-08-2019, 07:42 AM   #3
tyler2016
Member
 
Registered: Sep 2018
Distribution: Debian, CentOS, FreeBSD
Posts: 243

Rep: Reputation: Disabled
I'm not familiar with slackware, so I don't know if there is a way to show dependencies with the package manager, but you can use this in /bin, /lib, etc:

Code:
$ cd /usr/bin/
$ for f in $(find . -type f)
> do
> if ldd $f | grep -q libz.so
> then
> echo $f
> fi
> done
I wouldn't worry too much about a libz update breaking something. I could be wrong, but I doubt the ABI has changed much if at all. You could always rollback and put the newer version in a different directory. Then you can call libreoffice with a wrapper that defines LD_LIBRARY_PATH.
 
Old 11-08-2019, 07:52 AM   #4
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by tyler2016 View Post
I'm not familiar with slackware, so I don't know if there is a way to show dependencies with the package manager, but you can use this in /bin, /lib, etc:

Code:
$ cd /usr/bin/
$ for f in $(find . -type f)
> do
> if ldd $f | grep -q libz.so
> then
> echo $f
> fi
> done
I wouldn't worry too much about a libz update breaking something. I could be wrong, but I doubt the ABI has changed much if at all. You could always rollback and put the newer version in a different directory. Then you can call libreoffice with a wrapper that defines LD_LIBRARY_PATH.
There is also a tool called sbbdep that can do this for you.
Code:
sbbdep --quiet --whoneed /usr/lib64/libz.so
 
2 members found this post helpful.
Old 11-08-2019, 10:22 AM   #5
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Original Poster
Rep: Reputation: 23
Ok, sbbdep seems exactly what I need.

Example for libz (part of zlib-compat32-1.2.11-x86_64-1_slack14.2compat32)

Code:
# less sbbdep --quiet --whoneed /usr/lib/libz.so

aaa_elflibs-compat32-14.2-x86_64-23compat32
cairo-compat32-1.14.6-x86_64-2compat32
cups-compat32-2.1.4-x86_64-1compat32
cups-filters-compat32-1.9.0-x86_64-2compat32
curl-compat32-7.66.0-x86_64-1_slack14.2compat32
dbus-glib-compat32-0.106-x86_64-1compat32
elfutils-compat32-0.163-x86_64-1compat32
fontconfig-compat32-2.11.1-x86_64-2compat32
freetype-compat32-2.6.3-x86_64-2_slack14.2compat32
gdk-pixbuf2-compat32-2.32.3-x86_64-1compat32
glib2-compat32-2.46.2-x86_64-3_slack14.2compat32
gnome-keyring-compat32-3.16.0-x86_64-2compat32
gst-plugins-base-compat32-1.6.4-x86_64-1compat32
gst-plugins-base0-compat32-0.10.36-x86_64-2compat32
gst-plugins-good-compat32-1.6.4-x86_64-1compat32
gst-plugins-good0-compat32-0.10.31-x86_64-2compat32
gtk+2-compat32-2.24.31-x86_64-1_slack14.2compat32
lcms-compat32-1.19-x86_64-3compat32
lcms2-compat32-2.7-x86_64-2compat32
libXfont-compat32-1.5.1-x86_64-2_slack14.2compat32
libXft-compat32-2.3.2-x86_64-3compat32
libfontenc-compat32-1.1.3-x86_64-1compat32
libgphoto2-compat32-2.5.10-x86_64-1compat32
libgudev-compat32-230-x86_64-1compat32
libmng-compat32-2.0.3-x86_64-1compat32
libnotify-compat32-0.7.6-x86_64-1compat32
libpng-compat32-1.6.37-x86_64-1_slack14.2compat32
libtiff-compat32-4.0.10-x86_64-1_slack14.2compat32
libxml2-compat32-2.9.5-x86_64-1_slack14.2compat32
libxslt-compat32-1.1.29-x86_64-1compat32
llvm-compat32-3.8.0-x86_64-2compat32
mariadb-compat32-10.0.38-x86_64-2_slack14.2compat32
pango-compat32-1.38.1-x86_64-1compat32
qt-compat32-4.8.7-x86_64-4compat32
samba-compat32-4.6.16-x86_64-2_slack14.2compat32
sane-compat32-1.0.25-x86_64-2compat32
sdl-compat32-1.2.15-x86_64-5_slack14.2compat32
wine-4.0-x86_64-1alien
Example 2 for libz (part of zlib-1.2.11-x86_64-1_slack14.2)

Code:
# sbbdep --quiet --whoneed /lib64/libz.so.1.2.11

ConsoleKit2-1.0.0-x86_64-3
GConf-3.2.6-x86_64-3
GraphicsMagick-1.3.30-x86_64-1_SBo
MPlayer-1.2_20160125-x86_64-3
ModemManager-1.4.14-x86_64-1
NetworkManager-1.8.4-x86_64-1_slack14.2
R-3.5.1-x86_64-1_SBo
Thunar-1.6.10-x86_64-3
aaa_elflibs-14.2-x86_64-23
abiword-3.0.2-x86_64-2_SBo
android-tools-8.0.0_r24-x86_64-1_SBo
at-spi2-core-2.18.3-x86_64-1
audacious-plugins-3.7.2-x86_64-1
audacity-2.2.2-x86_64-1_SBo
autofs-5.0.7-x86_64-2
belle-sip-1.6.3-x86_64-1_SBo
bind-9.11.9-x86_64-1_slack14.2
blackbox-0.70.1-x86_64-7
boost-1.59.0-x86_64-1
btrfs-progs-v4.5.3-x86_64-1
bzrtp-1.0.6-x86_64-1_SBo
cairo-1.14.6-x86_64-2
cairomm-1.12.0-x86_64-1
calibre-3.23.0-x86_64-1alien
calligra-2.9.11-x86_64-5
cargo-vendor-0.1.15-x86_64-1_SBo
ccache-3.2.4-x86_64-1
cdrtools-3.01-x86_64-3
clamav-0.100.2-x86_64-1alien
claws-mail-3.17.3-x86_64-1_SBo
clisp-2.49-x86_64-3
clucene-2.3.3.4-x86_64-2
cmake-3.5.2-x86_64-1
compiz-0.8.8-x86_64-4
cups-2.1.4-x86_64-1
cups-filters-1.9.0-x86_64-2
curl-7.66.0-x86_64-1_slack14.2
darktable-2.4.4-x86_64-1_SBo
dbus-glib-0.106-x86_64-1
dovecot-2.3.4-x86_64-1_SBo
dropbox-50.4.71-x86_64-1_SBo
efibootmgr-0.5.4-x86_64-1
electricsheep-20090306-x86_64-4
elfutils-0.163-x86_64-1
epic5-2.0-x86_64-1
exiv2-0.25-x86_64-1
ffmpeg-4.1.4-x86_64-1alien
file-5.36-x86_64-1_slack14.2
focuswriter-1.5.7-x86_64-1_SBo
freetype-2.6.3-x86_64-2_slack14.2
fvwm-2.6.6-x86_64-1
garcon-0.4.0-x86_64-2
gcc-5.5.0_multilib-x86_64-1alien
gcc-g++-5.5.0_multilib-x86_64-1alien
gcc-gfortran-5.5.0_multilib-x86_64-1alien
gcc-gnat-5.5.0_multilib-x86_64-1alien
gcc-go-5.5.0_multilib-x86_64-1alien
gcc-java-5.5.0_multilib-x86_64-1alien
gcc-objc-5.5.0_multilib-x86_64-1alien
gcr-3.16.0-x86_64-2
gd-2.2.5-x86_64-1_slack14.2
gdal-2.2.4-x86_64-1_SBo
gdk-pixbuf2-2.32.3-x86_64-1
geoclue2-2.4.7-x86_64-1_SBo
gettext-tools-0.19.8.1-x86_64-1
ghostscript-9.26-x86_64-1_slack14.2
gimp-2.8.18-x86_64-1_slack14.2
git-2.14.5-x86_64-1_slack14.2
glib-networking-2.46.1-x86_64-1
glib2-2.46.2-x86_64-3_slack14.2
glibc-2.23_multilib-x86_64-4alien
gmic-2.4.2-x86_64-1_SBo
gmime-2.6.20-x86_64-1
gnome-keyring-3.16.0-x86_64-2
gnome-themes-standard-3.18.0-x86_64-1
gnupg-1.4.23-x86_64-1_slack14.2
gnupg2-2.0.31-x86_64-1_slack14.2
gnuplot-5.0.3-x86_64-2
gobject-introspection-1.46.0-x86_64-1
google-earth-7.3.1.4507-x86_64-1_SBo
gpa-0.9.9-x86_64-1
graphviz-2.40.1-x86_64-1_SBo
grass-7.2.2-x86_64-1_SBo
gst-libav-1.6.2-x86_64-1_SBo
gst-plugins-base-1.6.4-x86_64-1
gst-plugins-base0-0.10.36-x86_64-2
gst-plugins-good-1.6.4-x86_64-1
gst-plugins-good0-0.10.31-x86_64-2
gst0-ffmpeg-0.10.13-x86_64-1_SBo
gtk+2-2.24.31-x86_64-1_slack14.2
gtk+3-3.18.9-x86_64-1
gtk-xfce-engine-2.10.1-x86_64-2
gtkmm2-2.24.4-x86_64-1
gtkspell-2.0.16-x86_64-3
gucharmap-3.12.1-x86_64-2
gutenprint-5.2.11-x86_64-2
gvfs-1.26.3-x86_64-1
gwenview-4.14.3-x86_64-2
haskell-JuicyPixels-3.2.7-x86_64-1_SBo
haskell-digest-0.0.1.2-x86_64-1_SBo
haskell-http-client-0.4.7.1-x86_64-1_SBo
haskell-http-client-tls-0.2.2-x86_64-1_SBo
haskell-streaming-commons-0.1.15.4-x86_64-1_SBo
haskell-zip-archive-0.3.0.2-x86_64-1_SBo
haskell-zlib-0.5.4.2-x86_64-1_SBo
hexchat-2.12.1-x86_64-1
hfsutils-3.2.6-x86_64-5
htdig-3.2.0b6-x86_64-4
httpd-2.4.39-x86_64-1_slack14.2
imagemagick-6.9.4_9-x86_64-1
imlib2-1.5.1-x86_64-1_SBo
intel-gpu-tools-1.9-x86_64-2
isync-1.3.0-x86_64-1_SBo
jbig2dec-0.14-x86_64-1_SBo
json-glib-1.2.8-x86_64-1_SBo
kde-baseapps-4.14.3-x86_64-2
kde-workspace-4.11.22-x86_64-4
kdelibs-4.14.38-x86_64-1_slack14.2
kdepim-4.14.10-x86_64-1
kdewebdev-4.14.3-x86_64-2
kmod-22-x86_64-1
kopete-4.14.3-x86_64-2
krfb-4.14.3-x86_64-2
ksirk-4.14.3-x86_64-2
kstars-4.14.3-x86_64-2
lcms-1.19-x86_64-3
lcms2-2.7-x86_64-2
leptonica-1.76.0-x86_64-1_SBo
lftp-4.8.4-x86_64-1_slack14.2
libXfont-1.5.1-x86_64-2_slack14.2
libXft-2.3.2-x86_64-3
libarchive-3.2.1-x86_64-1
libass-0.14.0-x86_64-1_SBo
libcaca-0.99.beta18-x86_64-2
libcanberra-0.30-x86_64-5
libcdr-0.1.4-x86_64-1_SBo
libcroco-0.6.11-x86_64-1
libetpan-1.9.3-x86_64-1_SBo
libfontenc-1.1.3-x86_64-1
libfreehand-0.1.2-x86_64-1_SBo
libgphoto2-2.5.10-x86_64-1
libgpod-0.8.3-x86_64-2
libgsf-1.14.36-x86_64-1
libgudev-230-x86_64-1
libid3tag-0.15.1b-x86_64-4
libimobiledevice-1.2.0-x86_64-1
libinput-1.5.4-x86_64-1alien
libiodbc-3.52.10-x86_64-2
libkarma-0.1.1-x86_64-2
liblrdf-0.6.1-x86_64-1_SBo
libmbim-1.12.2-x86_64-2
libmediainfo-18.12-x86_64-1_SBo
libmng-2.0.3-x86_64-1
libmspub-0.1.4-x86_64-1_SBo
libnjb-2.2.6-x86_64-5
libnotify-0.7.6-x86_64-1
libodfgen-0.1.6-x86_64-1
libpagemaker-0.0.4-x86_64-1_SBo
libpng-1.6.37-x86_64-1_slack14.2
libpng-legacy12-1.2.57-x86_64-1_SBo
libqmi-1.12.6-x86_64-1
libquvi-0.9.4-x86_64-1_SBo
libreoffice-6.2.8-x86_64-1alien
librevenge-0.0.4-x86_64-1
librsvg-2.40.20-x86_64-1_slack14.2
libsecret-0.18.5-x86_64-1
libsoup-2.52.2-x86_64-3_slack14.2
libsrtp-1.6.0-x86_64-1_SBo
libssh-0.7.6-x86_64-1_slack14.2
libssh2-1.8.2-x86_64-1_slack14.2
libtiff-4.0.10-x86_64-1_slack14.2
libusbmuxd-1.0.10-x86_64-1
libvisio-0.1.5-x86_64-1
libvncserver-0.9.10-x86_64-2
libwacom-0.22-x86_64-1alien
libwmf-0.2.8.4-x86_64-7_slack14.2
libwnck-2.31.0-x86_64-2
libwpd-0.10.1-x86_64-1
libwpg-0.3.1-x86_64-1
libxfce4ui-4.12.1-x86_64-2
libxklavier-5.4-x86_64-1
libxml2-2.9.5-x86_64-1_slack14.2
libxslt-1.1.29-x86_64-1
libzip-1.0.1-x86_64-3_slack14.2
links-2.12-x86_64-2
linphone-3.12.0-x86_64-1_SBo
llvm-3.8.0-x86_64-2
lrzip-0.621-x86_64-1
lxml-4.2.1-x86_64-1_SBo
lynx-2.8.8rel.2-x86_64-3_slack14.2
m17n-lib-1.6.1-x86_64-1
madplay-0.15.2b-x86_64-4
mariadb-10.0.38-x86_64-2_slack14.2
mediainfo-18.12-x86_64-1_SBo
mkfontscale-1.1.2-x86_64-2
mkvtoolnix-13.0.0-x86_64-1alien
moc-2.5.1-x86_64-1
motif-2.3.5-x86_64-1
mozilla-nss-3.31.1-x86_64-1_slack14.2
mozilla-thunderbird-68.1.1-x86_64-1_slack14.2
mpv-0.29.1-x86_64-1_SBo
mupdf-1.13.0-x86_64-1_SBo
mutt-1.6.1-x86_64-1
nano-2.6.0-x86_64-1
neomutt-20180716-x86_64-1_SBo
neon-0.30.1-x86_64-2
netatalk-3.1.12-x86_64-1_slack14.2
netpbm-10.66.02-x86_64-4
netsurf-3.7-x86_64-1alien
network-manager-applet-1.8.4-x86_64-1_slack14.2
npapi-vlc-20180420-x86_64-1alien
okular-4.14.3-x86_64-2
opencv-legacy-3.1.0-x86_64-1_SBo
openexr-2.2.0-x86_64-2_slack14.2
openssh-7.4p1-x86_64-2_slack14.2
optipng-0.7.6-x86_64-1_SBo
pandoc-1.17.0.3-x86_64-1_SBo
pango-1.38.1-x86_64-1
pciutils-3.4.1-x86_64-2
pcre-8.39-x86_64-1
pcre2-10.30-x86_64-1_SBo
perl-5.22.2-x86_64-1
phodav-2.2-x86_64-1_SBo
php-5.6.40-x86_64-1_slack14.2
podofo-0.9.5-x86_64-1alien
polkit-0.113-x86_64-2
polkit-gnome-0.105-x86_64-1
poppler-0.45.0-x86_64-1
poppler-qt5-0.45.0-x86_64-2_SBo
powertop-2.8-x86_64-1
pycairo-1.10.0-x86_64-1
pygobject-2.28.6-x86_64-2
python-2.7.16-x86_64-1_slack14.2
python-pillow-3.0.0-x86_64-1
python3-3.7.3-x86_64-1alien
qbittorrent-4.1.0-x86_64-1alien
qbittorrent-qt5-4.1.1-x86_64-1_SBo
qemu-2.9.0-x86_64-1alien
qpdf-6.0.0-x86_64-1
qt-4.8.7-x86_64-4
qt5-5.7.1-x86_64-1alien
qt5-webkit-5.7.1-x86_64-1alien
raptor2-2.0.15-x86_64-2
rarcrack-0.2-x86_64-1_SBo
redland-1.0.16-x86_64-1
rpm-4.12.0.1-x86_64-1
ruby-2.2.10-x86_64-1_slack14.2
rust-1.36.0-x86_64-1_slack14.2
samba-4.6.16-x86_64-2_slack14.2
sane-1.0.25-x86_64-2
scim-1.4.17-x86_64-1_slack14.2
scim-input-pad-0.1.3.1-x86_64-1
scim-tables-0.5.14.1-x86_64-1
scribus-1.5.4-x86_64-1_SBo
sdl-1.2.15-x86_64-5_slack14.2
seamonkey-2.49.5-x86_64-2_slack14.2
serf-1.3.8-x86_64-1
sigil-0.7.4-x86_64-1_SBo
slang-2.3.0-x86_64-1
sn-0.3.8-i486-1hb
snownews-1.5.12-x86_64-2
sox-14.4.2-x86_64-3
spice-0.14.0-x86_64-1_SBo
spice-gtk-0.35-x86_64-1_SBo
squashfs-tools-4.3-x86_64-2_slack14.2
strigi-0.7.8-x86_64-2
stunnel-5.35-x86_64-2_slack14.2
subversion-1.9.7-x86_64-1_slack14.2
sudo-1.8.20p2-x86_64-1_slack14.2
swig-3.0.7-x86_64-1
taglib-1.10-x86_64-1
tcl-8.6.5-x86_64-2
tesseract-3.04.00-x86_64-1_SBo
testdisk-7.0-x86_64-1_SBo
texlive-2017.171108-x86_64-1_SBo
tk-8.6.5-x86_64-2
transmission-2.94-x86_64-1_SBo
trojita-0.7-x86_64-1_SBo
tumbler-0.1.31-x86_64-8
udisks2-2.1.5-x86_64-2
ulogd-2.0.5-x86_64-1
upower-0.9.23-x86_64-3
usbmuxd-1.1.0-x86_64-1
util-linux-2.27.1-x86_64-1
vbetool-1.2.2-x86_64-1
virtuoso-ose-6.1.8-x86_64-3
vlc-3.0.2-x86_64-1alien
vte-0.28.2-x86_64-4
vte3-ng-0.46.1.a-x86_64-1cf
w3m-git20170104-x86_64-1_SBo
webkit2gtk-2.20.3-x86_64-1_SBo
webkitgtk-2.4.11-x86_64-1_SBo
wget-1.20.3-x86_64-1_slack14.2
wimlib-1.12.0-x86_64-1_hb
wine-4.0-x86_64-1alien
wireshark-2.6.7-x86_64-1_SBo
wv-1.2.9-x86_64-1_SBo
wxGTK3-3.0.4-x86_64-1_SBo
wxPython-2.8.12.1-x86_64-2_SBo
xaos-3.6-x86_64-1
xapian-core-1.2.22-x86_64-1
xfce4-clipman-plugin-1.2.6-x86_64-1
xfce4-panel-4.12.0-x86_64-3
xfce4-power-manager-1.4.4-x86_64-4
xfce4-screenshooter-1.8.2-x86_64-2
xfce4-session-4.12.1-x86_64-2
xfce4-systemload-plugin-1.1.2-x86_64-2
xfce4-taskmanager-1.1.0-x86_64-2
xfce4-weather-plugin-0.8.10-x86_64-1_slack14.2
xfconf-4.12.0-x86_64-2
xfdesktop-4.12.3-x86_64-2
xfwm4-4.12.3-x86_64-1
xine-lib-1.2.6-x86_64-8
xmms-1.2.11-x86_64-5
xorg-server-1.18.3-x86_64-5_slack14.2
xorg-server-xephyr-1.18.3-x86_64-5_slack14.2
xorg-server-xnest-1.18.3-x86_64-5_slack14.2
xorg-server-xvfb-1.18.3-x86_64-5_slack14.2
xpaint-2.9.10.3-x86_64-1
xpdf-3.04-x86_64-2
xsane-0.999-x86_64-1
xv-3.10a-x86_64-7
Libreoffice upgrade has been done to 6.2.8 version (the one Alien packaged for slack 14.2, not the 6.3.3 for -current).
Before the upgrade was likely installed zlib version 1.2.8, I don't remember but I find:
Code:
ls /lib64/libz.so.1.2.*
/lib64/libz.so.1.2.11*  /lib64/libz.so.1.2.8*
Likely previous version was the 1.2.8 and libreoffice 6.2.8 needs the 1.2.11.

Anyway...
Almost the above packages were built against the old zlib version.
My system is not regularly updated for a long time, because it is used as desktop system and "if it works fine don't touch it".
I check for updates using slackpkg+ tool and there are many patches from official slackware repo... Also kernel glib and many other basic packages which many other installed depend on. So if I upgrade all packages slackpkg returned, I have to rebuild many other I got from SBo and some other built and packaged by hands.

More than a year ago, I did the above procedure: update official packages, update alienBob packages, and rebuilt all SBo packages (I asked here at LQ, you suggested hoorex tool if I well remember to generate a SBo queue, used with sbopkg after a little check to avoid "non SBo packages installed" were rebuilt).
That was a long procedure (my cpu is an old intel core 2 duo. Moreover it could be also a bit dangerous (some not working application, and "human time" requested to fix...). So this is why my system is out of sync with apps version found on remote repos.
An other reason is that I'd hoped Pat finally would have released the new slackware stable version (but after almost one year, nothing happened... not bad, my system work as usual form my tasks, but it isn't updated at now...).
 
Old 11-08-2019, 11:25 AM   #6
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
If you want to avoid messing with your system libs, you could install the new libz locally and then use LD_PRELOAD when launching libreoffice. Example:

Code:
LD_PRELOAD=/path/to/new/libz.so libreoffice --writer
 
2 members found this post helpful.
Old 11-08-2019, 11:35 AM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
if you just applied the zlib update in /patches (1.2.8 -> 1.2.11) nothing should break.
let me say that would be a good practice to apply also all of the other updates in /patches, especially on a desktop machine where you use a browser, an email client, and other applications that interact with the network: nothing should break in doing that (but reading carefully the ChangeLog.txt is still strongly advised, never blindly do "slackpkg update ; slackpkg upgrade-all").
you shouldn't have to rebuild any SBo package after doing that: you have to only if you want also their newer versions.

Last edited by ponce; 11-08-2019 at 11:36 AM.
 
2 members found this post helpful.
Old 11-08-2019, 01:53 PM   #8
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Original Poster
Rep: Reputation: 23
My mistake...
Many of those "patches" packages are uninstalled because I had set up a multilib system thanks to AlienBob packages: slackpg+ shows patches packages as uninstalled and needed to update the system, but actually they are already installed and have the "compat32" tag as provided by AlienBob.
Also glibc and compilers (gcc & friends) appear as "to upgrade", but I had installed the same version reported, I just replaced it with the compat32 build... Alien rebuilds multilib packages after patched version are released by Pat as pure 64 bit.

Kernel, headers and related packages were actually outdated, I upgraded them and then I rebuilt nvidia closed drivers from SBo... But those are a very unique case.

I didn't involve the other SBo packages, and it seems all working fine at now.

Thanks for your suggests!
 
Old 11-08-2019, 02:01 PM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by joenew View Post
My mistake...
Many of those "patches" packages are uninstalled because I had set up a multilib system thanks to AlienBob packages: slackpg+ shows patches packages as uninstalled and needed to update the system, but actually they are already installed and have the "compat32" tag as provided by AlienBob.
Also glibc and compilers (gcc & friends) appear as "to upgrade", but I had installed the same version reported, I just replaced it with the compat32 build... Alien rebuilds multilib packages after patched version are released by Pat as pure 64 bit.
*compat32* packages don't replace the packages in standard Slackware, nor the updates in patches: they contain 32 bit libraries and binaries to be installed alongside the 64bit ones.
gcc* and glibc* multilib packages actually replace the one in stock Slackware in a multilib system (but they are not named *compat32*).
so, in conclusion, you still need to apply all the updates in patches, also in a multilib system.
 
Old 11-08-2019, 05:15 PM   #10
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Original Poster
Rep: Reputation: 23
Yes you ar right, my mistake again... I was referring to "multilib" tagged packages:
Code:
# slackpkg search glibc

Looking for glibc in package list. Please wait... DONE

The list below shows all packages with name matching "glibc".

[ Status           ] [ Repository               ] [ Package                                  ]
   installed               patches                      glibc-zoneinfo-2019c-noarch-1_slack14.2
  uninstalled              multilib                     glibc-debug-2.23_multilib-x86_64-4alien
  uninstalled(masked)      slackware64                  glibc-2.23-x86_64-1
  uninstalled(masked)      slackware64                  glibc-i18n-2.23-x86_64-1
  uninstalled(masked)      slackware64                  glibc-profile-2.23-x86_64-1
  uninstalled(masked)      slackware64                  glibc-solibs-2.23-x86_64-1
  uninstalled(masked)      slackware64                  glibc-zoneinfo-2016e-noarch-1
  upgrade                  patches                      glibc-2.23_multilib-x86_64-4alien --> glibc-2.23-x86_64-4_slack14.2
  upgrade                  patches                      glibc-i18n-2.23_multilib-x86_64-4alien --> glibc-i18n-2.23-x86_64-4_slack14.2
  upgrade                  patches                      glibc-profile-2.23_multilib-x86_64-4alien --> glibc-profile-2.23-x86_64-4_slack14.2
  upgrade                  patches                      glibc-solibs-2.23_multilib-x86_64-4alien --> glibc-solibs-2.23-x86_64-4_slack14.2
As you can see slackpkg tool suggests to upgrade, for instance, glibc-2.23_multilib-x86_64-4alien to glibc-2.23-x86_64-4_slack14.2.
But if I want to preserve a multilib environment, I have to ignore that suggest and keep my "multilib" version already installed and already up to date to the last available release. In other words if I upgraded it, the "64bit only" package would replace the "multilib" one, and I don't want.

Maybe there is a way to tell slackpkg+ what repo have priority, so that it doesn't suggest upgrades that replace multilib counterparts already installed and up to date.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NTP depends on DNS, which depends on NTP berndbausch Linux - Networking 4 07-30-2018 10:07 PM
[SOLVED] Samba Swat Won't Install - Depends of Older Packages des_a Linux - Software 2 11-13-2014 09:17 AM
free-kde4-config depends on older packages? rl5 Mandriva 1 08-11-2012 02:32 PM
Remove a package and all packages it depends on without breaking other packages? macroron Fedora 2 01-31-2010 05:49 PM
no matching comp found: client zlib none, zlib@openssh.com lost connection jorge_ivan Linux - Networking 0 08-14-2006 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration