USM Unified Slackware Package Manager

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#226 by brokenman » 24 May 2014, 18:17

freestyler the OPTIFEST should only contain the libraries.

Code: Select all

Package: GraphicsMagick-1.3.19-x86_64-1sl.txz
libGraphicsMagick.so.3.11.1
libGraphicsMagick++.so.3.6.3
libGraphicsMagickWand.so.2.6.1
Package: smplayer-14.3.0-x86_64-1sl.txz
Package: smtube-2.1-x86_64-2sl.txz
Package: clementine-1.2.1-x86_64-1sl.txz
Here GraphicsMagick contains three libraries. smplayer contains none. smtube contains none. I will update the slackware database tomorrow.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#227 by brokenman » 26 May 2014, 13:48

Freestyler please don't worry about OPTIFEST. USM will download the MANIFEST file and create the OPTIFEST file for you. Here is the code for creating the LIBS.TXT

Code: Select all

#!/bin/bash
## Create LIBS.TXT locally for porteus
## on freestyler's server

## Run this script like so:
## ./freestyler.sh /path/to/root/of/my/repo

## Source some useful functions fromthe USM library
. /usr/share/usm/funcchecks

## Exclude list for package (Example: libreoffice-l10n|imagemagick)
## These strings will be excluded from processing
## MUST be separated by a pipe
TXZEXC="libreoffice-l10n|libreoffice-dict|libreoffice-help|fonts"

cleanup(){
[ -d $TDIR ] && umount 2>/dev/null
wait
rm -rf $TDIR
exit
}

TDIR=/tmp/usmlibs.$$
CWD=`pwd`
ERRORLOG=/var/log/usm-repo.log
ARCH=`uname -m`
LTXT=/tmp/$ARCH/LIBS.TXT

## Trap ctrl+c and others
trap cleanup SIGHUP SIGINT SIGTERM

## Create dump directory
[ -d /tmp/$ARCH ] && rm -rf /tmp/$ARCH
mkdir /tmp/$ARCH
mkdir $TDIR

function find_libraries_dir(){
find $1 -type f -executable | \
xargs ldd 2>/dev/null | \
sed -e '/^[^\t]/ d; s/^\t\(.* => \)\?\([^ ]*\) (.*/\2/g'| \
sed -e 's/ => not found//g' -e 's/^[ \t]*//' | \
awk '!/linux-gate|linux-vdso|executable|statically|ld-linux|libc.so/' | \
awk -F/ '{print$NF}'|sort -u
}

## Feed this function the path of the root of your slackwarerepo
function create_libs_file(){
for a in `find $1 -type f |egrep "tgz$|tbz$|tlz$|txz$"|egrep -v "$TXZEXC"`; do
   local PKG=${a##*/}
   rm -rf $TDIR/*
   installpkg --root $TDIR $a|tee -a $ERRORLOG || { echo "Did NOT install $a" >> $ERRORLOG; cleanup; }
   DEPS=( $(find_libraries_dir $TDIR) )
   echo $PKG >> $LTXT
   if [ ${#DEPS[@]} -gt 0 ]; then
      printf -- '%s, ' ${DEPS[@]}|sed 's/\(.*\)../\1/' >> $LTXT
   fi
   echo -e "\n" >> $LTXT
   unset DEPS PKG a
   rm -rf $TDIR/*
done
}

create_libs_file $1
cleanup
I just knocked this together but didn't have time to test it. It only installs each package into a temp folder and runs ldd against the executables.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: USM Unified Slackware Package Manager

Post#228 by freestyler » 26 May 2014, 14:03

Sweet, I'll test it tonight
https://www.porteus-apps.org

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: USM Unified Slackware Package Manager

Post#229 by freestyler » 27 May 2014, 05:33

hey brokenman, I'm getting these errors at the start. When I ctrl-c past them it starts running but then stops after a few packages..

Code: Select all

root@porteus:/mnt/sda4/scripts# ./freestyler.sh /mnt/sda4/var/lib/slackrepo/slackware64-14.1/slackware
mkdir: cannot create directory '/tmp/tmp.selmsu': Not a directory
chmod: cannot access '/tmp/tmp.selmsu/var/log/packages': Not a directory
mkdir: cannot create directory '/tmp/tmp.selmsu': Not a directory
chmod: cannot access '/tmp/tmp.selmsu/var/log/removed_packages': Not a directory
mkdir: cannot create directory '/tmp/tmp.selmsu': Not a directory
chmod: cannot access '/tmp/tmp.selmsu/var/log/removed_scripts': Not a directory
mkdir: cannot create directory '/tmp/tmp.selmsu': Not a directory
chmod: cannot access '/tmp/tmp.selmsu/var/log/scripts': Not a directory
mkdir: cannot create directory '/tmp/tmp.selmsu': Not a directory
chmod: cannot access '/tmp/tmp.selmsu/var/log/setup': Not a directory
mkdir: cannot create directory '/tmp/tmp.selmsu': Not a directory
chmod: cannot access '/tmp/tmp.selmsu/var/log/setup/tmp': Not a directory
/sbin/installpkg: line 421: /tmp/tmp.selmsu/var/log/setup/tmp/tmpsize25695: Not a directory
/sbin/installpkg: line 421: /tmp/tmp.selmsu/var/log/setup/tmp/tmplist25695: Not a directory
^Cfind: `/tmp/tmp.selmsu': No such file or directory
^C^Cfind: `/tmp/tmp.selmsu': No such file or directory
lua-5.1.5-x86_64-1_fs: Lua a powerful, fast, light-weight, embeddable sc [1.1M]
KoboDeluxe-0.5.1-x86_64-1_fs: Kobo Deluxe Simple space shooting game     [2.1M]
openjazz-160214-x86_64-1_fs: engine for Jazz Jackrabbit games            [3.2M]
PyLotRO-0.1.15-x86_64-2_fs: Python launcher of Lord of the Rings Online  [600K]
dopewars-1.5.12-x86_64-1_fs: Drug Dealing Game                           [1.3M]
openmortal-0.7-x86_64-1_fs: 2D fighting game                             [107M]
Chatbot-Eliza-1.04-x86_64-1_fs: Eliza chat bot interface module for Perl [110K]
njam-1.25-x86_64-1_fs: The most addictive free pacman-like game          [3.7M]
OpenXcom-0.9-x86_64-1_fs: clone of the UFO: Enemy Unknown                [5.9M]
tintin-2.01.0-x86_64-1_fs: TinTin++ console MUD client                   [500K]
afpfs-ng-0.8.1-x86_64-1_fs: client for Apple Filing Protocol             [500K]
acpitool-0.5.1-x86_64-1_fs: Configuration and Power Interface client Lin [160K]
acpi-1.6-x86_64-1_fs: an acpi client for linux                           [70K] 
aespipe-2.4c-x86_64-1_fs: AES encrypting/decrypting pipe                 [110K]
a2tools-003-x86_64-1_fs: copy data to/from Apple II DOS 3.3 disk images  [60K] 
ack-2.10-x86_64-1_fs: grep for coders                                    [140K]
TiMidity++-2.14.0-x86_64-2_fs: Timidity++ a software midi synthesizer    [1.9M]
OpenAL-1.15.1-x86_64-1_fs: a cross-platform 3D audio API                 [620K]
libgnomecups-0.2.3-x86_64-1_fs: gnome library for cups access            [410K]
libmodplug-0.8.8.5-x86_64-1_fs: a mod rendering library                  [400K]
yaml-cpp0.3-0.3.0-x86_64-1_fs: YAML parser                               [550K]
freealut-1.1.0-x86_64-1_fs: The OpenAL Utility Toolkit ALUT              [290K]
SDL_gfx-2.0.25-x86_64-1_fs: SDL graphics drawing library                 [3.7M]
libreoffice-4.2.4-x86_64-1_fs: LibreOffice Productivity Suite            [618M]
root@porteus:/mnt/sda4/scripts# 

https://www.porteus-apps.org

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#230 by brokenman » 28 May 2014, 11:11

I updated the script above. Should work now.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: USM Unified Slackware Package Manager

Post#231 by freestyler » 28 May 2014, 12:30

It doesn't look like its reading all the packages:

Code: Select all

irssi-0.8.16-rc1-x86_64-1_fs.tgz
libcrypt.so.1, libcrypto.so.1, libdl.so.2, libglib-2.0.so.0, libgmodule-2.0.so.0, libm.so.6, libncurses.so.5, libnsl.so.1, libperl.so, libpthread.so.0, libssl.so.1, libutil.so.1

jdk-7u55-x86_64-1_fs.tgz
libEGL.so.1, libGL.so.1, libX11-xcb.so.1, libX11.so.6, libXau.so.6, libXcomposite.so.1, libXcursor.so.1, libXdamage.so.1, libXdmcp.so.6, libXext.so.6, libXfixes.so.3, libXi.so.6, libXinerama.so.1, libXrandr.so.2, libXrender.so.1, libXtst.so.6, libXxf86vm.so.1, libasound.so.2, libatk-1.0.so.0, libavcodec.so.52, libavcodec.so.53, libavformat.so.52, libavformat.so.53, libawt.so, libbz2.so.1, libcairo.so.2, libdl.so.2, libdrm.so.2, libexpat.so.1, libffi.so.6, libfontconfig.so.1, libfontmanager.so, libfreetype.so.6, libgcc_s.so.1, libgdk-x11-2.0.so.0, libgdk_pixbuf-2.0.so.0, libgio-2.0.so.0, libglapi.so.0, libglib-2.0.so.0, libgmodule-2.0.so.0, libgobject-2.0.so.0, libgstreamer-lite.so, libgthread-2.0.so.0, libgtk-x11-2.0.so.0, libharfbuzz.so.0, libicudata.so.51, libicule.so.51, libicuuc.so.51, libjava.so, libjli.so, libjvm.so, liblzma.so.5, libm.so.6, libmawt.so, libnet.so, libnio.so, libnsl.so.1, libpango-1.0.so.0, libpangocairo-1.0.so.0, libpangoft2-1.0.so.0, libpixman-1.so.0, libpng14.so.14, libpthread.so.0, libresolv.so.2, librt.so.1, libstdc++.so.6, libthread_db.so.1, libverify.so, libxcb-dri2.so.0, libxcb-glx.so.0, libxcb-render.so.0, libxcb-shape.so.0, libxcb-shm.so.0, libxcb-xfixes.so.0, libxcb.so.1, libxml2.so.2, libxslt.so.1, libz.so.1

lua-5.1.5-x86_64-1_fs.tgz
libdl.so.2, libhistory.so.5, libm.so.6, libncurses.so.5, libreadline.so.5

KoboDeluxe-0.5.1-x86_64-1_fs.tgz
libSDL-1.2.so.0, libSDL_image-1.2.so.0, libX11.so.6, libXau.so.6, libXdmcp.so.6, libXext.so.6, libXrandr.so.2, libXrender.so.1, libdl.so.2, libgcc_s.so.1, libjpeg.so.8, libm.so.6, libpng14.so.14, libpthread.so.0, libstdc++.so.6, libtiff.so.3, libvga.so.1, libxcb.so.1, libz.so.1

openjazz-160214-x86_64-1_fs.tgz
libSDL-1.2.so.0, libX11.so.6, libXau.so.6, libXdmcp.so.6, libXext.so.6, libXrandr.so.2, libXrender.so.1, libdl.so.2, libgcc_s.so.1, libm.so.6, libmodplug.so.1, libpthread.so.0, libstdc++.so.6, libvga.so.1, libxcb.so.1, libz.so.1

PyLotRO-0.1.15-x86_64-2_fs.tgz


dopewars-1.5.12-x86_64-1_fs.tgz
libEGL.so.1, libGL.so.1, libSDL-1.2.so.0, libSDL_mixer-1.2.so.0, libX11-xcb.so.1, libX11.so.6, libXau.so.6, libXcomposite.so.1, libXcursor.so.1, libXdamage.so.1, libXdmcp.so.6, libXext.so.6, libXfixes.so.3, libXi.so.6, libXinerama.so.1, libXrandr.so.2, libXrender.so.1, libXxf86vm.so.1, libatk-1.0.so.0, libbz2.so.1, libcairo.so.2, libdl.so.2, libdrm.so.2, libexpat.so.1, libffi.so.6, libfontconfig.so.1, libfreetype.so.6, libgcc_s.so.1, libgdk-x11-2.0.so.0, libgdk_pixbuf-2.0.so.0, libgio-2.0.so.0, libglapi.so.0, libglib-2.0.so.0, libgmodule-2.0.so.0, libgobject-2.0.so.0, libgthread-2.0.so.0, libgtk-x11-2.0.so.0, libharfbuzz.so.0, libicudata.so.49, libicudata.so.51, libicule.so.49, libicule.so.51, libicuuc.so.49, libicuuc.so.51, libm.so.6, libncurses.so.5, libpango-1.0.so.0, libpangocairo-1.0.so.0, libpangoft2-1.0.so.0, libpixman-1.so.0, libpng14.so.14, libpthread.so.0, libresolv.so.2, librt.so.1, libstdc++.so.6, libudev.so.0, libvga.so.1, libxcb-dri2.so.0, libxcb-glx.so.0, libxcb-render.so.0, libxcb-shape.so.0, libxcb-shm.so.0, libxcb-xfixes.so.0, libxcb.so.1, libz.so.1

openmortal-0.7-x86_64-1_fs.tgz
libSDL-1.2.so.0, libSDL_image-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0, libX11.so.6, libXau.so.6, libXdmcp.so.6, libXext.so.6, libXrandr.so.2, libXrender.so.1, libbz2.so.1, libcrypt.so.1, libdl.so.2, libfreetype.so.6, libgcc_s.so.1, libjpeg.so.8, libm.so.6, libnsl.so.1, libperl.so, libpng14.so.14, libpthread.so.0, libstdc++.so.6, libtiff.so.3, libutil.so.1, libvga.so.1, libxcb.so.1, libz.so.1

Chatbot-Eliza-1.04-x86_64-1_fs.tgz


njam-1.25-x86_64-1_fs.tgz
libSDL-1.2.so.0, libSDL_image-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0, libX11.so.6, libXau.so.6, libXdmcp.so.6, libXext.so.6, libXrandr.so.2, libXrender.so.1, libdl.so.2, libgcc_s.so.1, libjpeg.so.8, libm.so.6, libpng14.so.14, libpthread.so.0, libstdc++.so.6, libtiff.so.3, libvga.so.1, libxcb.so.1, libz.so.1

OpenXcom-0.9-x86_64-1_fs.tgz
libGL.so.1, libSDL-1.2.so.0, libSDL_gfx.so.15, libSDL_image-1.2.so.0, libSDL_mixer-1.2.so.0, libX11-xcb.so.1, libX11.so.6, libXau.so.6, libXdamage.so.1, libXdmcp.so.6, libXext.so.6, libXfixes.so.3, libXrandr.so.2, libXrender.so.1, libXxf86vm.so.1, libdl.so.2, libdrm.so.2, libgcc_s.so.1, libglapi.so.0, libjpeg.so.8, libm.so.6, libpng14.so.14, libpthread.so.0, libstdc++.so.6, libtiff.so.3, libvga.so.1, libxcb-dri2.so.0, libxcb-glx.so.0, libxcb.so.1, libyaml-cpp.so.0.3, libz.so.1

tintin-2.01.0-x86_64-1_fs.tgz
libnsl.so.1, libpcre.so.1, libpthread.so.0, libutil.so.1, libz.so.1

afpfs-ng-0.8.1-x86_64-1_fs.tgz
libafpclient.so.0, libdl.so.2, libfuse.so.2, libgcrypt.so.11, libgmp.so.10, libgpg-error.so.0, libncurses.so.5, libpthread.so.0, libreadline.so.5, librt.so.1

acpitool-0.5.1-x86_64-1_fs.tgz
libgcc_s.so.1, libm.so.6, libstdc++.so.6

acpi-1.6-x86_64-1_fs.tgz


aespipe-2.4c-x86_64-1_fs.tgz


a2tools-003-x86_64-1_fs.tgz


ack-2.10-x86_64-1_fs.tgz


TiMidity++-2.14.0-x86_64-2_fs.tgz
libEGL.so.1, libFLAC.so.8, libGL.so.1, libICE.so.6, libSM.so.6, libX11-xcb.so.1, libX11.so.6, libXau.so.6, libXaw.so.7, libXcomposite.so.1, libXcursor.so.1, libXdamage.so.1, libXdmcp.so.6, libXext.so.6, libXfixes.so.3, libXft.so.2, libXi.so.6, libXinerama.so.1, libXmu.so.6, libXpm.so.4, libXrandr.so.2, libXrender.so.1, libXss.so.1, libXt.so.6, libXxf86vm.so.1, libasound.so.2, libatk-1.0.so.0, libbz2.so.1, libcairo.so.2, libdl.so.2, libdrm.so.2, libexpat.so.1, libffi.so.6, libfontconfig.so.1, libfreetype.so.6, libgcc_s.so.1, libgdk-x11-2.0.so.0, libgdk_pixbuf-2.0.so.0, libgio-2.0.so.0, libglapi.so.0, libglib-2.0.so.0, libgmodule-2.0.so.0, libgobject-2.0.so.0, libgthread-2.0.so.0, libgtk-x11-2.0.so.0, libharfbuzz.so.0, libicudata.so.51, libicule.so.51, libicuuc.so.51, libm.so.6, libncurses.so.5, libogg.so.0, libpango-1.0.so.0, libpangocairo-1.0.so.0, libpangoft2-1.0.so.0, libpixman-1.so.0, libpng14.so.14, libpthread.so.0, libresolv.so.2, librt.so.1, libstdc++.so.6, libtcl.so, libtk.so, libuuid.so.1, libvorbis.so.0, libvorbisenc.so.2, libxcb-dri2.so.0, libxcb-glx.so.0, libxcb-render.so.0, libxcb-shape.so.0, libxcb-shm.so.0, libxcb-xfixes.so.0, libxcb.so.1, libz.so.1

OpenAL-1.15.1-x86_64-1_fs.tgz
libX11.so.6, libXau.so.6, libXdmcp.so.6, libaacplus.so.2, libavcodec.so.55, libavformat.so.55, libavutil.so.52, libbluray.so.1, libbz2.so.1, libcrypto.so.1, libdl.so.2, libfaac.so.0, libfreetype.so.6, libgcc_s.so.1, libgsm.so.1, liblzma.so.5, libm.so.6, libmp3lame.so.0, libogg.so.0, libopenal.so.1, libopencore-amrnb.so.0, libopencore-amrwb.so.0, libopus.so.0, libpng14.so.14, libpthread.so.0, librt.so.1, librtmp.so.0, libspeex.so.1, libssl.so.1, libstdc++.so.6, libtheoradec.so.1, libtheoraenc.so.1, libtwolame.so.0, libva.so.1, libvo-aacenc.so.0, libvo-amrwbenc.so.0, libvorbis.so.0, libvorbisenc.so.2, libvpx.so.1, libx264.so.138, libxcb.so.1, libxml2.so.2, libxvidcore.so.4, libz.so.1

libgnomecups-0.2.3-x86_64-1_fs.tgz
libcrypt.so.1, libcrypto.so.1, libcups.so.2, libdl.so.2, libffi.so.6, libglib-2.0.so.0, libgobject-2.0.so.0, libgthread-2.0.so.0, libm.so.6, libpthread.so.0, libssl.so.1, libz.so.1

libmodplug-0.8.8.5-x86_64-1_fs.tgz
libgcc_s.so.1, libm.so.6, libstdc++.so.6

yaml-cpp0.3-0.3.0-x86_64-1_fs.tgz
libgcc_s.so.1, libm.so.6, libstdc++.so.6

freealut-1.1.0-x86_64-1_fs.tgz
libdl.so.2, libm.so.6, libopenal.so.1, libpthread.so.0, librt.so.1

SDL_gfx-2.0.25-x86_64-1_fs.tgz
libSDL-1.2.so.0, libX11.so.6, libXau.so.6, libXdmcp.so.6, libXext.so.6, libXrandr.so.2, libXrender.so.1, libdl.so.2, libm.so.6, libpthread.so.0, libvga.so.1, libxcb.so.1

libreoffice-4.2.4-x86_64-1_fs.tgz
libEGL.so.1, libGL.so.1, libGLU.so.1, libICE.so.6, libORBit-2.so.0, libSM.so.6, libX11-xcb.so.1, libX11.so.6, libXau.so.6, libXcomposite.so.1, libXcursor.so.1, libXdamage.so.1, libXdmcp.so.6, libXext.so.6, libXfixes.so.3, libXi.so.6, libXinerama.so.1, libXrandr.so.2, libXrender.so.1, libXt.so.6, libXxf86vm.so.1, libatk-1.0.so.0, libavmedialo.so, libbasebmplo.so, libbasegfxlo.so, libbz2.so.1, libcairo.so.2, libcanvastoolslo.so, libchartcorelo.so, libclucene.so, libcom_err.so.2, libcomphelper.so, libcppcanvaslo.so, libcrypt.so.1, libcrypto.so.1, libcups.so.2, libcurl.so.4, libdbalo.so, libdbtoolslo.so, libdbulo.so, libdbus-1.so.3, libdbus-glib-1.so.2, libdeploymentmisclo.so, libdl.so.2, libdrawinglayerlo.so, libdrm.so.2, libeditenglo.so, libexpat.so.1, libexslt.so.0, libfastsaxlo.so, libfbembed.so.2.5, libffi.so.6, libfilelo.so, libfontconfig.so.1, libforlo.so, libforuilo.so, libfreetype.so.6, libfwelo.so, libfwilo.so, libfwklo.so, libfwllo.so, libgcc_s.so.1, libgconf-2.so.4, libgdk-x11-2.0.so.0, libgdk_pixbuf-2.0.so.0, libgdk_pixbuf_xlib-2.0.so.0, libgio-2.0.so.0, libglapi.so.0, libglib-2.0.so.0, libgmodule-2.0.so.0, libgnomevfs-2.so.0, libgobject-2.0.so.0, libgssapi_krb5.so.2, libgstinterfaces-0.10.so.0, libgstreamer-0.10.so.0, libgthread-2.0.so.0, libgtk-x11-2.0.so.0, libharfbuzz.so.0, libhelplinkerlo.so, libi18nlangtag.so, libi18nutil.so, libicudata.so.51, libicudata.so.52, libicui18n.so.52, libicule.so.51, libicuuc.so.51, libicuuc.so.52, libjawt.so, libjvmaccesslo.so, libjvmfwklo.so, libkabc.so.1, libkdecore.so.4, libkdeui.so.4, libkio.so.4, libkrb5.so.3, liblcms2.so.2, liblnglo.so, liblocaledata_en.so, liblpsolve55.so, libm.so.6, libmsfilterlo.so, libneon.so, libnsl.so.1, libnspr4.so, libnss3.so, libnssutil3.so, libodbcbaselo.so, libooxlo.so, libpackage2.so, libpango-1.0.so.0, libpangocairo-1.0.so.0, libpangoft2-1.0.so.0, libpixman-1.so.0, libplc4.so, libplds4.so, libpng14.so.14, libpthread.so.0, libpython3.3m.so, libpyuno.so, libqt-mt.so.3, libraptor2-lo.so.0, librasqal-lo.so.3, librdf-lo.so.0, libreglo.so, libresolv.so.2, librptlo.so, librt.so.1, libsaxlo.so, libsblo.so, libsclo.so, libsdlo.so, libsfxlo.so, libsmime3.so, libsofficeapp.so, libsotlo.so, libspalo.so, libsqlite3.so, libssl.so.1, libssl3.so, libstdc++.so.6, libstorelo.so, libsvllo.so, libsvtlo.so, libsvxcorelo.so, libsvxlo.so, libswdlo.so, libswlo.so, libtklo.so, libtllo.so, libucbhelper.so, libuno_cppu.so.3, libuno_cppuhelpergcc3.so.3, libuno_purpenvhelpergcc3.so.3, libuno_sal.so.3, libuno_salhelpergcc3.so.3, libunoidllo.so, libunopkgapp.so, libutil.so.1, libutllo.so, libuuid.so.1, libvbahelperlo.so, libvcllo.so, libvclplug_genlo.so, libxcb-dri2.so.0, libxcb-glx.so.0, libxcb-render.so.0, libxcb-shape.so.0, libxcb-shm.so.0, libxcb-xfixes.so.0, libxcb.so.1, libxml2.so.2, libxmlreaderlo.so, libxmlscriptlo.so, libxmlsecurity.so, libxolo.so, libxslt.so.1, libz.so.1
It kept stopping at libreoffice so I put it in the excludes list and now it stops at SDL_gfx
https://www.porteus-apps.org

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#232 by brokenman » 28 May 2014, 13:54

Can't think of why it would stop. As you've probably noticed it's a bitch to stop manually once it starts. You have to find the process number and: kill -9 1234

I have made one more modification so that if the package doesn't install, it will dump an error to the log file and exit. After it gets to libreoffice and fails check the log to see if the problem was with install. If so then it could be a bad package, or lack of memory or I don't know.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: USM Unified Slackware Package Manager

Post#233 by freestyler » 28 May 2014, 14:50

I tried it again with the create-slackware-deps-list.sh script and got this error after libreoffice.

Code: Select all

 slackware is not a valid slackware package ... skipping 
/tmp/LIBS.TXT is ready for viewing
Check /tmp/error.log for errors
I think it is a problem with the package that is next after libreoffice but not sure how to work out what that package is. The log just listed the packages that was processed upto the error..
I'm running the script through 486 repo and it hasn't had a problem yet.
https://www.porteus-apps.org

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#234 by brokenman » 28 May 2014, 23:13

I edited the above script to dump to a log in /var/log but it will exit at the point of error. To see what package comes after libreoffice run this and search through the list

Code: Select all

find /mnt/sda4/var/lib/slackrepo/slackware64-14.1/slackware -type f |egrep "tgz$|tbz$|tlz$|txz$" > /tmp/list.txt
grep -A1 libreoffice*.txz /tmp/list.txt
I'd also like to see the output of: df -Th /mnt/sda4/var
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: USM Unified Slackware Package Manager

Post#235 by freestyler » 29 May 2014, 06:06

I'm such a douche. I just manually cruised the folder and realized I copied the wrong slackware folder from my usb. (wish someone filmed my reaction)
The script is now running through the 64bit packages.
Hopefully will have both LIBS.TXT online in an hour or so.

You probably don't need it now but here is the output you requested:

Code: Select all

root@porteus:/mnt/sda4/scripts# df -Th /mnt/sda4/var
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sda4      ext4  423G   89G  313G  23% /mnt/sda4
Edit: LIBS.txt are generated and uploaded.
https://www.porteus-apps.org

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#236 by brokenman » 29 May 2014, 21:15

Awesome. Thanks very much.

I am going to push out one more minor version of USM with some bugfixes and small option changes, then a major release with the addition of your repo (I want to thoroughly test it before release). Can you please gzip the LIBS.TXT file on the server?

gzip /path/to/LIBS.TXT

NB: TXT is uppercase.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: USM Unified Slackware Package Manager

Post#237 by freestyler » 30 May 2014, 00:07

Sweet! Cheers for everything brokenman, I'll gzip it now.
https://www.porteus-apps.org

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#238 by brokenman » 30 May 2014, 21:07

Updated to usm-3.1.2-noarch-1.txz

Code: Select all

Fri May 30 17:44:26 UTC 2014
Added auto update check (thanks fanthom)
usm-3.1.2-noarch-1.txz: updated

+-------------------------
Tue May 28 13:38:03 UTC 2014
Added no prompts option in config file for CLI
User may also pass 'noprompts' arg in CLI.
Added 'show links only' option for CLI (thanks tome)
Added option to disable GUI message about opening target
folder after downloading packages. (thanks tome)

+-------------------------
Tue May 27 23:39:22 UTC 2014
Fixed missing kde packages
Fixed bug when all packages are deselected (thanks tome)
Added -L switch to find (thanks tome)
Added message to restart after updating USM (thanks freestyler)

+-------------------------
Sat Apr 12 18:20:24 UTC 2014
Fixed SBo update (Thanks Francois)
Fixed update database version check
Updated to usm-3.1.1-noarch-2

+-------------------------
Thu Apr 10 11:50:01 UTC 2014
Fixed bug in slackware patches database (thanks bour59)
Interesting additions include:

Automatic update check
Activated by default. Only checks for updates when user access internet (by selecting to download a file). It will only run once per USM session. You can turn it off in the Preferences.

End tags
Use the following arguments after all other arguments in CLI mode.
linksonly - Only shows linksand doesn't download files
noprompts - Doesn't ask too many questions
nodeps - Only downloads the chosen package

The next release will focus on adding freestyler's repository and perhaps improving slackbuilds section.
How do i become super user?
Wear your underpants on the outside and put on a cape.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: USM Unified Slackware Package Manager

Post#239 by bour59 » 01 Jun 2014, 13:45

thx for the slackbuilds section (gambas3-3.5.3) since usm3.1.2
but don't solve the missing libldap.la in 05-devel
I know it's not a specific usm problem.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4626
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: USM Unified Slackware Package Manager

Post#240 by fanthom » 01 Jun 2014, 13:59

@bour
please install 'openldap-client' to resolve this.

btw: this site comes handy when you want to search for specific files inside of slackware packages (only official slackware repo):
http://packages.slackware.com/
Please add [Solved] to your thread title if the solution was found.

Post Reply