LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-13-2013, 02:04 AM   #211
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 256

Rep: Reputation: 69

Quote:
Originally Posted by kikinovak View Post
Before I do that, you can give the 64bit repo a spin and see if it's OK on your side:

http://www.microlinux.fr/slackware/server-14.0-64bit/
It works for me. Post your configuration and slackpk update output
Do not forget slackpkg update gpg
 
Old 11-13-2013, 03:19 AM   #212
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 256

Rep: Reputation: 69
Quote:
Originally Posted by phenixia2003 View Post
(somewhere in slackpkgplus.conf)
Code:
  ADAPTATIVE_MULTILIB=true
that may be an idea, but if this flag is true I can't run 'slackpkg install qt-comat32' to manually install a package without qt64 installed.
An idea may be that if this flag is true, 'slackpkg install multilib' show all compat32 packages but check 'on' the packages that have the related 64bit and check 'off' the packages that have not the related 64bit. So who want add an other 32bit can simply check it on.


with 64bit 'audiofile' uninstalled:
Code:
│ │[*] attr-compat32-2.4.46-x86_64-1compat32.txz           multilib│ │  
│ │[ ] audiofile-compat32-0.3.6-x86_64-1compat32.txz       multilib│ │  
│ │[*] bzip2-compat32-1.0.6-x86_64-1compat32.txz           multilib│ │
if the user want audiofile-compat32 simply check the package instead to:
- set ADAPTATIVE_MULTILIB=false
- slackpkg install audiofile-compat32
- set ADAPTATIVE_MULTILIB=true
(note: I think is better to use on/off instead true/false; the code 'if $ADAPTATIVE_MULTILIB ; then' is no good if a user miss the option in config file or put a bad value; or MULTILIB=[on|adaptative|off])

Code:
--- /root/PACCHETTI/NEW_SLACKPKG/src/src/zdialogplus.sh 2013-09-02 14:03:27.621982907 +0200
+++ zdialogplus.sh      2013-11-13 09:55:53.491933464 +0100
@@ -24,17 +24,22 @@
                if [ "$2" = "upgrade" ]; then
                        ls -1 /var/log/packages > $TMPDIR/tmplist
                        for i in $1; do
+                               TMPONOFF=$ONOFF
                                BASENAME=$(cutpkg $i)
                                PKGFOUND=$(grep -m1 -e "^${BASENAME}-[^-]\+-\(noarch\|fw\|${ARCH}\)" $TMPDIR/tmplist)
                                 REPOPOS=$(grep -m1 " $(echo $i|sed 's/\.t.z//') "  $TMPDIR/pkglist|awk '{print $1}'|sed 's/SLACKPKGPLUS_//')
+                               grep -q "^$(echo $i|rev|cut -f4- -d-|rev)$" $TMPDIR/unchecklist && TMPONOFF="off"
 
-                               echo "$i \"$REPOPOS\" $ONOFF \"currently installed: $PKGFOUND\"" >>$TMPDIR/dialog.tmp
+                               echo "$i \"$REPOPOS\" $TMPONOFF \"currently installed: $PKGFOUND\"" >>$TMPDIR/dialog.tmp
                        done
                        HINT="--item-help"
                else
                        for i in $1; do
+                               TMPONOFF=$ONOFF
                                 REPOPOS=$(grep -m1 " $(echo $i|sed 's/\.t.z//') "  $TMPDIR/pkglist|awk '{print $1}'|sed 's/SLACKPKGPLUS_//')
-                               echo "$i \"$REPOPOS\" $ONOFF" >>$TMPDIR/dialog.tmp
+                               grep -q "^$(echo $i|rev|cut -f4- -d-|rev)$" $TMPDIR/unchecklist && TMPONOFF="off"
+
+                               echo "$i \"$REPOPOS\" $TMPONOFF" >>$TMPDIR/dialog.tmp
                        done
                        HINT=""
                fi
Code:
--- /root/PACCHETTI/NEW_SLACKPKG/src/src/slackpkgplus.sh        2013-11-11 12:01:30.996101405 +0100
+++ slackpkgplus.sh     2013-11-13 09:48:51.429428528 +0100
@@ -688,6 +688,15 @@
 
   if [ "$CMD" == "install" ] || [ "$CMD" == "upgrade" ] || [ "$CMD" == "reinstall" ] || [ "$CMD" == "remove" ] ; then
 
+    touch ${TMPDIR}/unchecklist
+    if $ADAPTATIVE_MULTILIB ; then
+      grep "^SLACKPKGPLUS_multilib .*-compat32[ ]" ${WORKDIR}/pkglist | cut -f2 -d" " | sort > ${TMPDIR}/packages.32bit
+      ls -1 /var/log/packages | rev | cut -f4- -d- | rev | grep -v "[-]compat32$" | sort > ${TMPDIR}/packages.64bit
+      cat ${TMPDIR}/packages.32bit | rev | cut -f2- -d- | rev | sort > ${TMPDIR}/packages.64bit.filter
+      comm -1 -2 ${TMPDIR}/packages.64bit ${TMPDIR}/packages.64bit.filter | sed "s/.*/&-compat32/g" | sort > ${TMPDIR}/packages.32bit.filter
+      comm -3 ${TMPDIR}/packages.32bit ${TMPDIR}/packages.32bit.filter > ${TMPDIR}/unchecklist
+    fi
+
     NEWINPUTLIST=""
     PRIORITYLIST=""
(note ${TMPDIR}/unchecklist, that may be used for other thing; may be useful a /etc/slackpkg/unchecklist similar to blacklist but simply uncheck the package instead unshow it)


I think it's the time that I install a slackware multilib system on my pc (I use a custom 32bit mega-package that does not require to override glibc&gcc packages), so I can fully test slackpkg+

If I understand the install-new code, you construct a 'changelog' of compat32
 
Old 11-13-2013, 03:36 AM   #213
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 289

Rep: Reputation: 165Reputation: 165
Hello,

Quote:
Originally Posted by kikinovak View Post
When I do 'slackpkg update' with a third-party repo configured, slackpkg keeps complaining about a missing MANIFEST.bz2 and concludes with:

Code:
PACKAGES.TXT: download error
I have the same error on a slackware64 14.0. It's because slackware 14.0 has no pasture directory :

Code:
==============================================================================
WARNING!        WARNING!        WARNING!        WARNING!        WARNING!
==============================================================================
One or more errors occurred while slackpkg was running:                       

ftp://mirror.ovh.net/mirrors/ftp.slackware.com/slackware64-14.0/pasture/PACKAGES.TXT:	download error

==============================================================================
To get the full URL of the faulty file, edit (as root) /usr/libexec/slackpkg/functions.d/slackpkgplus.sh and change the line #78 (latest slackpkg+) as below :
Code:
(BEFORE) echo -e "`basename $URLFILE`:\tdownload error" >> $TMPDIR/error.log
(AFTER ) echo -e "$URLFILE:\tdownload error" >> $TMPDIR/error.log
--
SeB

Last edited by phenixia2003; 11-13-2013 at 04:14 AM.
 
Old 11-13-2013, 03:53 AM   #214
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 256

Rep: Reputation: 69
mmm.

temporary solution is to disable the 'pasture' repository in slackpkg.conf

PRIORITY=( patches %PKGMAIN extra testing )
 
Old 11-13-2013, 04:04 AM   #215
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 289

Rep: Reputation: 165Reputation: 165
Thumbs up

Hello,

Quote:
Originally Posted by zerouno View Post
that may be an idea, but if this flag is true I can't run 'slackpkg install qt-comat32' to manually install a package without qt64 installed.
n idea may be that if this flag is true, 'slackpkg install multilib' show all compat32 packages but check 'on' the packages that have the related 64bit and check 'off' the packages that have not the related 64bit. So who want add an other 32bit can simply check it on.


with 64bit 'audiofile' uninstalled:
Code:
│ │[*] attr-compat32-2.4.46-x86_64-1compat32.txz           multilib│ │  
│ │[ ] audiofile-compat32-0.3.6-x86_64-1compat32.txz       multilib│ │  
│ │[*] bzip2-compat32-1.0.6-x86_64-1compat32.txz           multilib│ │
if the user want audiofile-compat32 simply check the package instead to:
- set ADAPTATIVE_MULTILIB=false
- slackpkg install audiofile-compat32
- set ADAPTATIVE_MULTILIB=true
Yes, that's a better idea.

Quote:
Originally Posted by zerouno View Post
(note: I think is better to use on/off instead true/false; the code 'if $ADAPTATIVE_MULTILIB ; then' is no good if a user miss the option in config file or put a bad value; or MULTILIB=[on|adaptative|off])
That's good.

Quote:
Originally Posted by zerouno View Post
[code]
+ if $ADAPTATIVE_MULTILIB ; then
+ grep "^SLACKPKGPLUS_multilib .*-compat32[ ]" ${WORKDIR}/pkglist | cut -f2 -d" " | sort > ${TMPDIR}/packages.32bit
+ ls -1 /var/log/packages | rev | cut -f4- -d- | rev | grep -v "[-]compat32$" | sort > ${TMPDIR}/packages.64bit
+ cat ${TMPDIR}/packages.32bit | rev | cut -f2- -d- | rev | sort > ${TMPDIR}/packages.64bit.filter
+ comm -1 -2 ${TMPDIR}/packages.64bit ${TMPDIR}/packages.64bit.filter | sed "s/.*/&-compat32/g" | sort > ${TMPDIR}/packages.32bit.filter
+ comm -3 ${TMPDIR}/packages.32bit ${TMPDIR}/packages.32bit.filter > ${TMPDIR}/unchecklist
+ fi
I have to review this code I wrote yesterday. It is a bit complex and I think it can be simplified.

Quote:
Originally Posted by zerouno View Post
I think it's the time that I install a slackware multilib system on my pc (I use a custom 32bit mega-package that does not require to override glibc&gcc packages), so I can fully test slackpkg+
I use a virtualized slackware64/multilib for my tests.

Quote:
Originally Posted by zerouno View Post
If I understand the install-new code, you construct a 'changelog' of compat32
Yes, more or less. But it needs to be reviewed. Like the other, I think it can be simplified. Do not hesitate to test and improve it.


--
SeB
 
Old 11-13-2013, 05:12 AM   #216
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 289

Rep: Reputation: 165Reputation: 165
Hello,

Quote:
Originally Posted by zerouno View Post
Code:
+    if $ADAPTATIVE_MULTILIB ; then
+      grep "^SLACKPKGPLUS_multilib .*-compat32[ ]" ${WORKDIR}/pkglist | cut -f2 -d" " | sort > ${TMPDIR}/packages.32bit
+      ls -1 /var/log/packages | rev | cut -f4- -d- | rev | grep -v "[-]compat32$" | sort > ${TMPDIR}/packages.64bit
+      cat ${TMPDIR}/packages.32bit | rev | cut -f2- -d- | rev | sort > ${TMPDIR}/packages.64bit.filter
+      comm -1 -2 ${TMPDIR}/packages.64bit ${TMPDIR}/packages.64bit.filter | sed "s/.*/&-compat32/g" | sort > ${TMPDIR}/packages.32bit.filter
+      comm -3 ${TMPDIR}/packages.32bit ${TMPDIR}/packages.32bit.filter > ${TMPDIR}/unchecklist
+    fi
Newer version of the code above, which I think, is more readable :

Code:
  if $ADAPTATIVE_MULTILIB ; then

       # 1. get the list of available 32-bit
       # 2. get the list of installed packages, with exception to the compat32 packages
       # 3. from the list of available 32-bit packages, built a 64-bit filter 
       # 4. get the list of 64-bit packages for which there's a 32-bit counterpart, then built a 32-bit filter.
       # 5. get the list of 32-bit packages for which there's no 64-bit counterpart installed 
       #
      grep "^SLACKPKGPLUS_multilib .*-compat32[ ]" ${WORKDIR}/pkglist | cut -f2 -d" " | sort > ${TMPDIR}/packages.32bit
      ls -1 /var/log/packages | rev | cut -f4- -d- | rev | grep -v "[-]compat32$" | sort > ${TMPDIR}/packages.64bit
      cat ${TMPDIR}/packages.32bit | rev | cut -f2- -d- | rev | sort > ${TMPDIR}/packages.64bit.filter
      grep -w -f ${TMPDIR}/packages.64bit.filter ${TMPDIR}/packages.64bit | sed "s/.*/&-compat32/g" | sort > ${TMPDIR}/packages.32bit.filter
      grep -vw -f ${TMPDIR}/packages.32bit.filter ${TMPDIR}/packages.32bit > ${TMPDIR}/unchecklist
  fi
--
SeB
 
Old 11-13-2013, 01:38 PM   #217
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 289

Rep: Reputation: 165Reputation: 165
Hello,

Here is some new code (alpha quality) which identifies the packages which have been added, removed or updated in all configured repositories. You will find a patch in attachment for slackpkg+ 1.0

Here is a snippet of the output from "slackpkg update" after having changed the repositories alienbob/restricted/multilib from 14.0 to 14.1 :
Code:
slackpkg update

Updating the package lists...
	Downloading...

[...]
		List of all files
[...]

[...]
		Checksums


[...]
		Package List

	Formatting lists to slackpkg style...
		Package List: using CHECKSUMS.md5 as source
		Package descriptions

The repository restricted has changed (0 addition,  7 removal, 0 updates)

  [ Package                        ] [ Status                                   ]
    avidemux                           removed                                   
    faac                               removed                                   
    ffmpeg                             removed                                   
    handbrake                          removed                                   
    lame                               removed                                   
    libdvdcss                          removed                                   
    tt                                 removed                                   

The repository alienbob has changed (2 addition,  206 removal, 3 updates)

  [ Package                        ] [ Status                                   ]
    appmenu-qt                         added                                     
    wine-pipelight                     added                                     
    SDL_sound                          removed                                   
    a52dec                             removed                                   
    aften                              removed                                   
    apache-ant                         removed                                   
    apache-websocket                   removed                                   
    configobj                          removed                                   
    dansguardian                       removed                                   
    dblatex                            removed                                   
    dconf                              removed                                   
    dosbox                             removed                                   
    dropbox-client                     removed                                   
    evolvotron                         removed                                   
    faad2                              removed                                   
    ffmpeg                             removed                                   
    flashplayer-plugin                 removed                                   
    gecko-mediaplayer                  removed                                   
    gmtk                               removed                                   
    gnome-mplayer                      removed                                   
    gogui                              removed                                   
    gst-plugins-ffmpeg                 removed                                   
    gtkdatabox                         removed                                   
    heimdall                           removed                                   
    hexchat                            removed                                   
    icecast                            removed                                   
    icedtea-web                        removed                                   
    ices                               removed                                   
    id3lib                             removed                                   
    iniparser                          removed                                   
    innoextract                        removed                                   
    klavaro                            removed                                   
    libdca                             removed                                   
    libreoffice                        removed                                   
    libreoffice-dict-af                removed                                   
    libreoffice-dict-ar                removed                                   
    libreoffice-dict-be                removed                                   
    libreoffice-dict-bg                removed                                   
    libreoffice-dict-bn                removed                                   
    libreoffice-dict-br                removed                                   
    libreoffice-dict-bs                removed                                   
    libreoffice-dict-ca                removed                                   
    libreoffice-dict-cs                removed                                   
    libreoffice-dict-da                removed                                   
    libreoffice-dict-de                removed                                   
    libreoffice-dict-el                removed                                   
    libreoffice-dict-en                removed                                   
    libreoffice-dict-es                removed                                   
    libreoffice-dict-et                removed                                   
    libreoffice-dict-fr                removed                                   
    libreoffice-dict-gl                removed                                   
    libreoffice-dict-he                removed                                   
    libreoffice-dict-hi                removed                                   
    libreoffice-dict-hr                removed                                   
    libreoffice-dict-hu                removed                                   
    libreoffice-dict-is                removed                                   
    libreoffice-dict-it                removed                                   
    libreoffice-dict-ku-TR             removed                                   
    libreoffice-dict-lt                removed                                   
    libreoffice-dict-lv                removed                                   
    libreoffice-dict-nl                removed                                   
    libreoffice-dict-pl                removed                                   
    libreoffice-dict-pt-BR             removed                                   
    libreoffice-dict-pt-PT             removed                                   
    libreoffice-dict-ro                removed                                   
    libreoffice-dict-ru                removed                                   
    libreoffice-dict-si                removed                                   
    libreoffice-dict-sk                removed                                   
    libreoffice-dict-sl                removed                                   
    libreoffice-dict-sr                removed                                   
    libreoffice-dict-sv                removed                                   
    libreoffice-dict-sw                removed                                   
    libreoffice-dict-te                removed                                   
    libreoffice-dict-th                removed                                   
    libreoffice-dict-uk                removed                                   
    libreoffice-dict-vi                removed                                   
    libreoffice-dict-zu                removed                                   
    libreoffice-l10n-af                removed                                   
    libreoffice-l10n-ar                removed                                   
    libreoffice-l10n-bg                removed                                   
    libreoffice-l10n-bn                removed                                   
    libreoffice-l10n-bo                removed                                   
    libreoffice-l10n-br                removed                                   
    libreoffice-l10n-bs                removed                                   
    libreoffice-l10n-ca                removed                                   
    libreoffice-l10n-cs                removed                                   
    libreoffice-l10n-cy                removed                                   
    libreoffice-l10n-da                removed                                   
    libreoffice-l10n-de                removed                                   
    libreoffice-l10n-el                removed                                   
    libreoffice-l10n-en_GB             removed                                   
    libreoffice-l10n-eo                removed                                   
    libreoffice-l10n-es                removed                                   
    libreoffice-l10n-et                removed                                   
    libreoffice-l10n-eu                removed                                   
    libreoffice-l10n-fa                removed                                   
    libreoffice-l10n-fi                removed                                   
    libreoffice-l10n-fr                removed                                   
    libreoffice-l10n-ga                removed                                   
    libreoffice-l10n-gl                removed                                   
    libreoffice-l10n-he                removed                                   
    libreoffice-l10n-hi                removed                                   
    libreoffice-l10n-hr                removed                                   
    libreoffice-l10n-hu                removed                                   
    libreoffice-l10n-id                removed                                   
    libreoffice-l10n-is                removed                                   
    libreoffice-l10n-it                removed                                   
    libreoffice-l10n-ja                removed                                   
    libreoffice-l10n-kn                removed                                   
    libreoffice-l10n-ko                removed                                   
    libreoffice-l10n-lt                removed                                   
    libreoffice-l10n-lv                removed                                   
    libreoffice-l10n-ml                removed                                   
    libreoffice-l10n-mr                removed                                   
    libreoffice-l10n-nb                removed                                   
    libreoffice-l10n-nl                removed                                   
    libreoffice-l10n-nn                removed                                   
    libreoffice-l10n-or                removed                                   
    libreoffice-l10n-pa_IN             removed                                   
    libreoffice-l10n-pl                removed                                   
    libreoffice-l10n-pt                removed                                   
    libreoffice-l10n-pt_BR             removed                                   
    libreoffice-l10n-ro                removed                                   
    libreoffice-l10n-ru                removed                                   
    libreoffice-l10n-sa_IN             removed                                   
    libreoffice-l10n-si                removed                                   
    libreoffice-l10n-sk                removed                                   
    libreoffice-l10n-sl                removed                                   
    libreoffice-l10n-sr                removed                                   
    libreoffice-l10n-sv                removed                                   
    libreoffice-l10n-sw_TZ             removed                                   
    libreoffice-l10n-ta                removed                                   
    libreoffice-l10n-te                removed                                   
    libreoffice-l10n-th                removed                                   
    libreoffice-l10n-tr                removed                                   
    libreoffice-l10n-uk                removed                                   
    libreoffice-l10n-ve                removed                                   
    libreoffice-l10n-vi                removed                                   
    libreoffice-l10n-xh                removed                                   
    libreoffice-l10n-zh_CN             removed                                   
    libreoffice-l10n-zh_TW             removed                                   
    libreoffice-l10n-zu                removed                                   
    libreoffice-mozplugin              removed                                   
    libshout                           removed                                   
    libstatgrab                        removed                                   
    libusbx                            removed                                   
    libvpx                             removed                                   
    libwiimote                         removed                                   
    log4c                              removed                                   
    logwatch                           removed                                   
    lua                                removed                                   
    minidlna                           removed                                   
    mirall                             removed                                   
    mod_authnz_external                removed                                   
    mod_wsgi                           removed                                   
    ms-sys                             removed                                   
    obconf                             removed                                   
    ocsync                             removed                                   
    openbox                            removed                                   
    opencore-amr                       removed                                   
    openjdk                            removed                                   
    openjre                            removed                                   
    pachi                              removed                                   
    par2cmdline                        removed                                   
    pastebinit                         removed                                   
    perl-archive-zip                   removed                                   
    perl-authen-sasl                   removed                                   
    perl-digest-hmac                   removed                                   
    perl-digest-sha1                   removed                                   
    perl-net-xmpp                      removed                                   
    perl-shout                         removed                                   
    perl-xml-stream                    removed                                   
    phonon-vlc                         removed                                   
    plume-creator                      removed                                   
    potrace                            removed                                   
    psi                                removed                                   
    psi-lang                           removed                                   
    pyopenssl                          removed                                   
    python-cheetah                     removed                                   
    python-imaging                     removed                                   
    python-yenc                        removed                                   
    qcomicbook                         removed                                   
    qemu-kvm                           removed                                   
    razor-qt                           removed                                   
    recorditnow                        removed                                   
    recordmydesktop                    removed                                   
    rhino                              removed                                   
    rsnapshot                          removed                                   
    sabnzb                             removed                                   
    sbbdep                             removed                                   
    sddm                               removed                                   
    sendxmpp                           removed                                   
    shellinabox                        removed                                   
    sigil                              removed                                   
    sshfs-fuse                         removed                                   
    teamspeak-client                   removed                                   
    tigervnc                           removed                                   
    tinyproxy                          removed                                   
    unrar                              removed                                   
    vde                                removed                                   
    virtualenv                         removed                                   
    wiipresent                         removed                                   
    wine                               removed                                   
    x264                               removed                                   
    xalan                              removed                                   
    xdialog                            removed                                   
    xerces                             removed                                   
    xvidcore                           removed                                   
    libtorrent-rasterbar               upgraded (0.16.10_1alien => 0.16.9_1alien)  
    podofo                             upgraded (0.9.1_1alien => 0.9.2_1alien)   
    python-apsw                        upgraded (3.7.13_r1_1alien => 3.7.17_r1_1alien)  

The repository multilib has changed (3 addition,  1 removal, 101 updates)

  [ Package                        ] [ Status                                   ]
    glu-compat32                       added                                     
    harfbuzz-compat32                  added                                     
    mariadb-compat32                   added                                     
    mysql-compat32                     removed                                   
    aaa_elflibs-compat32               upgraded (14.0_4compat32 => 14.1_3compat32)  
    alsa-lib-compat32                  upgraded (1.0.26_1compat32 => 1.0.27.2_1compat32)  
    atk-compat32                       upgraded (2.4.0_1compat32 => 2.8.0_1compat32)  
    audiofile-compat32                 upgraded (0.2.7_1compat32 => 0.3.6_1compat32)  
    cairo-compat32                     upgraded (1.10.2_2compat32 => 1.12.14_1compat32)  
    cups-compat32                      upgraded (1.5.4_2compat32 => 1.5.4_3compat32)  
    curl-compat32                      upgraded (7.29.0_3_slack14.0compat32 => 7.31.0_1compat32)  
    cxxlibs-compat32                   upgraded (6.0.17_1compat32 => 6.0.18_1compat32)  
    cyrus-sasl-compat32                upgraded (2.1.23_4compat32 => 2.1.23_5compat32)  
    dbus-compat32                      upgraded (1.4.20_4_slack14.0compat32 => 1.6.12_1compat32)  
    dbus-glib-compat32                 upgraded (0.98_1compat32 => 0.100.2_1compat32)  
    e2fsprogs-compat32                 upgraded (1.42.6_1compat32 => 1.42.8_2compat32)  
    esound-compat32                    upgraded (0.2.41_1compat32 => 0.2.41_2compat32)  
    expat-compat32                     upgraded (2.0.1_2compat32 => 2.1.0_1compat32)  
    fontconfig-compat32                upgraded (2.9.0_1compat32 => 2.10.93_1compat32)  
    freetype-compat32                  upgraded (2.4.11_1_slack14.0compat32 => 2.5.0.1_1compat32)  
    gcc                                upgraded (4.7.1_multilib_1alien => 4.8.2_multilib_1alien)  
    gcc-g++                            upgraded (4.7.1_multilib_1alien => 4.8.2_multilib_1alien)  
    gcc-gfortran                       upgraded (4.7.1_multilib_1alien => 4.8.2_multilib_1alien)  
    gcc-gnat                           upgraded (4.7.1_multilib_1alien => 4.8.2_multilib_1alien)  
    gcc-go                             upgraded (4.7.1_multilib_1alien => 4.8.2_multilib_1alien)  
    gcc-java                           upgraded (4.7.1_multilib_1alien => 4.8.2_multilib_1alien)  
    gcc-objc                           upgraded (4.7.1_multilib_1alien => 4.8.2_multilib_1alien)  
    gdk-pixbuf2-compat32               upgraded (2.26.1_2compat32 => 2.28.2_1compat32)  
    glew-compat32                      upgraded (1.5.7_1compat32 => 1.9.0_1compat32)  
    glib2-compat32                     upgraded (2.32.4_1compat32 => 2.36.4_1compat32)  
    glibc                              upgraded (2.15_multilib_8alien => 2.17_multilib_7alien)  
    glibc-debug                        upgraded (2.15_multilib_8alien => 2.17_multilib_7alien)  
    glibc-i18n                         upgraded (2.15_multilib_8alien => 2.17_multilib_7alien)  
    glibc-profile                      upgraded (2.15_multilib_8alien => 2.17_multilib_7alien)  
    glibc-solibs                       upgraded (2.15_multilib_8alien => 2.17_multilib_7alien)  
    glibc-zoneinfo                     upgraded (2013d_2013d_multilib_8alien => 2013d_multilib_7alien)  
    gmp-compat32                       upgraded (5.0.5_1compat32 => 5.1.3_1compat32)  
    gnutls-compat32                    upgraded (3.0.31_1_slack14.0compat32 => 3.1.16_1compat32)  
    gst-plugins-good-compat32          upgraded (0.10.31_3compat32 => 0.10.31_5compat32)  
    gstreamer-compat32                 upgraded (0.10.36_1compat32 => 0.10.36_2compat32)  
    gtk+2-compat32                     upgraded (2.24.10_2compat32 => 2.24.20_1compat32)  
    icu4c-compat32                     upgraded (49.1.2_1compat32 => 51.2_1compat32)  
    lcms2-compat32                     upgraded (2.3_1compat32 => 2.4_1compat32)  
    libFS-compat32                     upgraded (1.0.4_1compat32 => 1.0.5_1compat32)  
    libSM-compat32                     upgraded (1.2.1_1compat32 => 1.2.2_1compat32)  
    libX11-compat32                    upgraded (1.5.0_1compat32 => 1.6.2_1compat32)  
    libXau-compat32                    upgraded (1.0.7_1compat32 => 1.0.8_1compat32)  
    libXaw-compat32                    upgraded (1.0.11_1compat32 => 1.0.12_1compat32)  
    libXcomposite-compat32             upgraded (0.4.3_1compat32 => 0.4.4_1compat32)  
    libXcursor-compat32                upgraded (1.1.13_1compat32 => 1.1.14_1compat32)  
    libXdamage-compat32                upgraded (1.1.3_1compat32 => 1.1.4_1compat32)  
    libXext-compat32                   upgraded (1.3.1_1compat32 => 1.3.2_1compat32)  
    libXfixes-compat32                 upgraded (5.0_1compat32 => 5.0.1_1compat32)  
    libXfont-compat32                  upgraded (1.4.5_1compat32 => 1.4.6_1compat32)  
    libXi-compat32                     upgraded (1.6.1_1compat32 => 1.7.2_1compat32)  
    libXinerama-compat32               upgraded (1.1.2_1compat32 => 1.1.3_1compat32)  
    libXmu-compat32                    upgraded (1.1.1_1compat32 => 1.1.2_1compat32)  
    libXp-compat32                     upgraded (1.0.1_1compat32 => 1.0.2_1compat32)  
    libXpm-compat32                    upgraded (3.5.10_1compat32 => 3.5.11_1compat32)  
    libXrandr-compat32                 upgraded (1.3.2_1compat32 => 1.4.2_1compat32)  
    libXrender-compat32                upgraded (0.9.7_1compat32 => 0.9.8_1compat32)  
    libXres-compat32                   upgraded (1.0.6_1compat32 => 1.0.7_1compat32)  
    libXt-compat32                     upgraded (1.1.3_1compat32 => 1.1.4_1compat32)  
    libXtst-compat32                   upgraded (1.2.1_1compat32 => 1.2.2_1compat32)  
    libXv-compat32                     upgraded (1.0.7_1compat32 => 1.0.10_1compat32)  
    libXvMC-compat32                   upgraded (1.0.7_1compat32 => 1.0.8_1compat32)  
    libXxf86dga-compat32               upgraded (1.1.3_1compat32 => 1.1.4_1compat32)  
    libXxf86vm-compat32                upgraded (1.1.2_1compat32 => 1.1.3_1compat32)  
    libdmx-compat32                    upgraded (1.1.2_1compat32 => 1.1.3_1compat32)  
    libdrm-compat32                    upgraded (2.4.33_1compat32 => 2.4.46_1compat32)  
    libffi-compat32                    upgraded (3.0.11_1compat32 => 3.0.13_2compat32)  
    libfontenc-compat32                upgraded (1.1.1_1compat32 => 1.1.2_1compat32)  
    libgcrypt-compat32                 upgraded (1.5.3_1_slack14.0compat32 => 1.5.3_1compat32)  
    libgpg-error-compat32              upgraded (1.11_1_slack14.0compat32 => 1.11_1compat32)  
    libgphoto2-compat32                upgraded (2.4.14_2compat32 => 2.5.2_1compat32)  
    libpcap-compat32                   upgraded (1.3.0_1compat32 => 1.4.0_1compat32)  
    libpciaccess-compat32              upgraded (0.13.1_1compat32 => 0.13.2_1compat32)  
    libsamplerate-compat32             upgraded (0.1.7_2compat32 => 0.1.8_1compat32)  
    libsndfile-compat32                upgraded (1.0.24_1compat32 => 1.0.25_1compat32)  
    libtiff-compat32                   upgraded (3.9.7_1_slack14.0compat32 => 3.9.7_1compat32)  
    libtool-compat32                   upgraded (2.4.2_1compat32 => 2.4.2_2compat32)  
    libxcb-compat32                    upgraded (1.8.1_1compat32 => 1.9.1_1compat32)  
    libxml2-compat32                   upgraded (2.8.0_2_slack14.0compat32 => 2.9.1_1compat32)  
    libxslt-compat32                   upgraded (1.1.26_2compat32 => 1.1.28_1compat32)  
    mesa-compat32                      upgraded (8.0.4_1compat32 => 9.1.7_1compat32)  
    mpg123-compat32                    upgraded (1.14.4_1compat32 => 1.15.4_1compat32)  
    ncurses-compat32                   upgraded (5.9_1compat32 => 5.9_2compat32)  
    nettle-compat32                    upgraded (2.5_1compat32 => 2.7.1_1compat32)  
    openssl-compat32                   upgraded (1.0.1e_1_slack14.0compat32 => 1.0.1e_1compat32)  
    openssl-solibs-compat32            upgraded (1.0.1e_1_slack14.0compat32 => 1.0.1e_1compat32)  
    p11-kit-compat32                   upgraded (0.12_1compat32 => 0.16.4_1compat32)  
    pango-compat32                     upgraded (1.30.1_1compat32 => 1.34.1_1compat32)  
    pixman-compat32                    upgraded (0.26.2_1compat32 => 0.30.2_1compat32)  
    popt-compat32                      upgraded (1.7_3compat32 => 1.16_2compat32)  
    qt-compat32                        upgraded (4.8.2_4compat32 => 4.8.5_2compat32)  
    sane-compat32                      upgraded (1.0.22_5compat32 => 1.0.24_1compat32)  
    sdl-compat32                       upgraded (1.2.14_6_slack14.0compat32 => 1.2.15_1compat32)  
    seamonkey-solibs-compat32          upgraded (2.21_1_slack14.0compat32 => 2.21_1compat32)  
    sqlite-compat32                    upgraded (3.7.14.1_1_slack14.0compat32 => 3.7.17_1compat32)  
    startup-notification-compat32      upgraded (0.12_1compat32 => 0.12_2compat32)  
    util-linux-compat32                upgraded (2.21.2_5compat32 => 2.21.2_6compat32)  
    v4l-utils-compat32                 upgraded (0.8.8_2compat32 => 0.9.5_1compat32)  
    xcb-util-compat32                  upgraded (0.3.8_1compat32 => 0.3.9_1compat32)  
    xsane-compat32                     upgraded (0.998_2compat32 => 0.998_3compat32)  
    zlib-compat32                      upgraded (1.2.6_1compat32 => 1.2.8_1compat32)
This enhancement allows to have a "slackpkg install-new" that works with all repositories. The attached screenshot shows the new packages found in the repositories alienbob (appmenu-qt, wine-pipelight) and multilib (glu-compat32, harfbuzz-compat32, mariadb-compat32)

@zerouno: For each repositoriy, the function updatefilelists_EX() creates the files WORKDIR/<REPONAME>-added-packages, WORKDIR/<REPONAME>-removed-packages, and WORKDIR/<REPONAME>-updated-packages. The two first contains only basename, the third (ie <REPONAME>-updated-packages) is formated as below : PKGBASENAME:OLD_VERSION:NEW_VERSION. With that you should be able to create a changelog, and it would be possible to remove the code for "new-install" that I added.

Cheers.

--
SeB
Attached Images
File Type: jpg slackpkg+_new_install-new.jpg (132.1 KB, 22 views)
Attached Files
File Type: txt slackpkg+1.0.patch.txt (4.8 KB, 3 views)
 
Old 11-13-2013, 03:43 PM   #218
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: ElementaryOS, Ubuntu LTS, Slackware
Posts: 1,537

Original Poster
Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
I have a suggestion to make here. Early versions of slackpkg+ worked very well. Please don't "enhance it to death".
  • If I want something from pasture/ I'll fetch it manually. No need for slackpkg+ to manage that.
  • I think every Slacker knows about mesa and X.org updates vs. proprietary video drivers, so IMHO you can leave that part out.
  • Keep It Simple Stupid.

Keep up the good work!

Niki
 
1 members found this post helpful.
Old 11-13-2013, 04:31 PM   #219
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
I agree with kikinovak. For example I have Alien Bob's restricted repo selected, but I only want to install a couple of programs from it. If I run
Code:
slackpkg --install-new
and it works across all repos then I could end up with a number of packages that I do not need.

With regard to multi-lib, I ran
Code:
slackpkg install multilib
after I had upgraded and that picked up all the new packages, worked for KTOWN as well.

samac
 
Old 11-13-2013, 04:31 PM   #220
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 719
Blog Entries: 3

Rep: Reputation: 76
First of all, thanks to phenixia2003 and zerouno for the work on slackpkg+. I'm sorry if I forgot someone.

Since slackpkg+ has got a wider exposure thanks to Alien Bob's blog, there has been a lot of ideas tossed around to add/improve features. I believe that's only natural for developers to try to improve on their project (I'm not one).

However as a slackpkg+ user, I would like to share the following thoughts (please take them as feedback from a user and not as a criticism of the work being done):

1) If you want to test new/improved features, could it be possible to organize the tool into a stable version and development version so that users could choose in full knowledge which version they want to use. Of course, at some point, the development version would become the next stable version once testing is deemed satisfactory.

2) Regarding the latest proposed feature of having "slackpkg install-new" that works with all repositories, I'm not sure what would be the added value. From my perspective (which you may not share), "slackpkg install-new" should give only new packages from the official Slackware repository because the official Slackware is supposed to be installed full (at least before you become more familiar with the distro) but other repositories are intended to provide only the additional packages that I want (I have no intention of installing all of them).
Maybe this new feature is useful for multilib but I didn't follow in detail the discussion on multilib because I'm only using 32bit edition. Can someone explain to me the interest of this new feature?

3) If developers have identified other areas of improvements than those already being discussed (multilib), could you share them in the forum?

Last edited by gegechris99; 11-13-2013 at 04:32 PM. Reason: some typo errors
 
Old 11-14-2013, 04:54 AM   #221
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 289

Rep: Reputation: 165Reputation: 165
Hello,

Thanks all for your feedback and interest in slackpkg+

Quote:
Originally Posted by kikinovak View Post
I have a suggestion to make here. Early versions of slackpkg+ worked very well. Please don't "enhance it to death".
  • If I want something from pasture/ I'll fetch it manually. No need for slackpkg+ to manage that.
  • I think every Slacker knows about mesa and X.org updates vs. proprietary video drivers, so IMHO you can leave that part out.
  • Keep It Simple Stupid.
  • 1. slackpkg+ does not manage pasture. This is inherited from slackpkg which defines it in variable PRIORITY from /etc/slackpkg/slackpkg.conf

  • 2. newcomers can have troubles with that, this is one reason why I proposed the notification mechanism. But I understand the olders can be against this. So, I propose to add a way to enable/disable this in slackpkgplus.conf. Something like "NOTIFIER=on|off" ... if you have better suggestion, don't hesitate.

  • 3. Sure !

Quote:
Originally Posted by samac View Post
I agree with kikinovak. For example I have Alien Bob's restricted repo selected, but I only want to install a couple of programs from it. If I run
Code:
slackpkg --install-new
and it works across all repos then I could end up with a number of packages that I do not need.

With regard to multi-lib, I ran
Code:
slackpkg install multilib
after I had upgraded and that picked up all the new packages, worked for KTOWN as well.
samac
and

Quote:
Originally Posted by gegechris99 View Post
2) Regarding the latest proposed feature of having "slackpkg install-new" that works with all repositories, I'm not sure what would be the added value. From my perspective (which you may not share), "slackpkg install-new" should give only new packages from the official Slackware repository because the official Slackware is supposed to be installed full (at least before you become more familiar with the distro) but other repositories are intended to provide only the additional packages that I want (I have no intention of installing all of them).
I understand your point of view. Here is what we can do :
  • 1) install-new must be limited to slackware and the patch I sent should be ignored.
  • 2) install-new must support 3rd party repositories, but, it is up to the user to select the repositories that must be supported.

In case of (2). Do you want the list of changes found in repositories to be :
  • a) never printed
  • c) part of the output of "slackpkg update"
  • d) part of the output of "slackpkg check-update"

Quote:
Originally Posted by gegechris99 View Post
1) If you want to test new/improved features, could it be possible to organize the tool into a stable version and development version so that users could choose in full knowledge which version they want to use. Of course, at some point, the development version would become the next stable version once testing is deemed satisfactory.
I guess Zerouno will create a development branch in Git repository soon. I suggest to add a development repository that user could enable in /etc/slackpkg/slackpkgplus.conf to follow development version. Something like MIRRORPLUS['slackpkgplus-devel']=...

Quote:
Originally Posted by gegechris99 View Post
Maybe this new feature is useful for multilib but I didn't follow in detail the discussion on multilib because I'm only using 32bit edition. Can someone explain to me the interest of this new feature?
From time to time, new packages are added to the multilib to improve 32-bit support. Currently, to install them, you need to issue "slackpkg install multilib", which is not as intuitive as "slackpkg install-new"

Greetings.

--
SeB

Last edited by phenixia2003; 11-14-2013 at 05:17 AM.
 
Old 11-14-2013, 05:23 AM   #222
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 256

Rep: Reputation: 69
slackpkg+ DO manage 'pasture' repository. But slackware 14.0 does not contains it! I don't understand why that bug never came to surface until the release of 14.1 stable, since bug regards slackware 14.0!

Also slacky (and other) repository 14.1 fails becouse it does not exists (but present in slackpkgplus.conf becouse it will exists)


slackpkg+ 1.0.1 fix both case.

I will create a development tree in a brief where insert untested, unstable, unwanted (?) features
Unfortunatly I've too few time to dedicate for slackpkg+


@phenixia2003, you are a very fast developer. I struggle to keep up with you

Also I think that 'install-new' command should work with official and multilib repository.

I like the output at the end of slackpkg update.

For notification I think a second configuration file.

slackpkgplus.conf containing NOTIFIER=on|off (default off) and slackpkgplusnotify.conf (or similar) with messages, (default, custom, examples and documentation)
 
Old 11-14-2013, 07:19 AM   #223
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 256

Rep: Reputation: 69
branch devel on github created.

You can upgrade with
slackpkg upgrade http://www.slakfinder.org/slackpkg+dev/pkg/
or putting
MIRRORPLUS['slackpkgplusdev']=http://www.slakfinder.org/slackpkg+dev/

Just to test the branch I patched setupmultilib.sh to start with an the adaptive installation.
 
Old 11-14-2013, 07:22 AM   #224
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 289

Rep: Reputation: 165Reputation: 165
Quote:
Originally Posted by zerouno View Post
slackpkg+ DO manage 'pasture' repository. But slackware 14.0 does not contains it! I don't understand why that bug never came to surface until the release of 14.1 stable, since bug regards slackware 14.0!

Also slacky (and other) repository 14.1 fails becouse it does not exists (but present in slackpkgplus.conf becouse it will exists)


slackpkg+ 1.0.1 fix both case.
That's a good new.

Quote:
Originally Posted by zerouno View Post
I will create a development tree in a brief where insert untested, unstable, unwanted (?) features
Unfortunatly I've too few time to dedicate for slackpkg+
We are not in a hurry. Anyway, this thread is a good place to send suggestions / patches. Moreover, users who want can test, and state if slackpkg+ is in a good or a bad direction.

Quote:
Originally Posted by zerouno View Post
@phenixia2003, you are a very fast developer. I struggle to keep up with you


Quote:
Originally Posted by zerouno View Post
Also I think that 'install-new' command should work with official and multilib repository.
I'm not against this. However, it would be better to let this as an option, and for all repositories.

Quote:
Originally Posted by zerouno View Post
I like the output at the end of slackpkg update.
Here, I think user should have the choice of verbosity level. The variable VERBOSE can be used for that (only need to update the documentation) :

VERBOSE=0 => no output about changes found in repositories
VERBOSE=1 => just a summary ( i.e repository "R" has changed [X addition, Y removal, Z updates] )
VERBOSE=2 => full output

In case of full output, this can lead to have a bunch of printed data. This would be better to print those data with "more" (or "less"),...

Quote:
Originally Posted by zerouno View Post
For notification I think a second configuration file.

slackpkgplus.conf containing NOTIFIER=on|off (default off) and slackpkgplusnotify.conf (or similar) with messages, (default, custom, examples and documentation)
I'm ok. That's a good idea.

Quote:
Originally Posted by zerouno View Post
branch devel on github created.

You can upgrade with
slackpkg upgrade http://www.slakfinder.org/slackpkg+dev/pkg/
or putting
MIRRORPLUS['slackpkgplusdev']=http://www.slakfinder.org/slackpkg+dev/

Just to test the branch I patched setupmultilib.sh to start with an the adaptive installation.
Nice.


Cheers.

--
SeB

Last edited by phenixia2003; 11-14-2013 at 07:27 AM.
 
Old 11-14-2013, 08:16 AM   #225
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 256

Rep: Reputation: 69
created greylist (aka unchecklist)

It's in an embrional status.

Version 20131114.2 - 14/Nov/2013
- Added /etc/slackpkg/greylist . All packages in that list will be showned
unchecked by default



I ask other opinion for the 'install-new' function.

Quote:
In case of full output, this can lead to have a bunch of printed data. This would be better to print those data with "more" (or "less"),...
"more" may be is a better choice becouse in "less" when you press 'q' the screen is cleared and you cannot review the output.
 
  


Reply

Tags
slackpkg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Holding a package update from slackpkg gazj Slackware 2 01-25-2011 04:58 PM
Where can I find a 3rd Party Repository for RHEL 5? tightlikethat Linux - Newbie 3 02-27-2010 08:46 PM
Best 3rd Party RPM Repository for FC9 kromberg Fedora 11 11-13-2008 08:04 PM
Package Kit Error-- "Cannot retrieve repository metadata (repomd.xml) for repository" mbvpixies78 Linux - Newbie 11 08-22-2008 07:20 PM
3rd party package managers? crontab Slackware 3 10-06-2007 10:34 AM


All times are GMT -5. The time now is 07:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration