Please specify the slackpkg+ version that you are using and post your slackpkgplus.conf (stripped of commented '#' rows)
Here I will use the latest (1.7.b1) for the examples. I'm using slackware 32bit; for slackware 64bit you must substitute slackware with slackware64. Upgrading from 1.6.1 to 1.7.b1 you do not need strictly to modify configuration file (it just add the STRICTGPG=on directive, but if not specified is on by default). In slackware, the patches are all the packages with tag _slack14.1: bash-4.2.053-i486-1_slack14.1 You can find it in 'patches' tree on slackware repository http://slackware.osuosl.org/slackware-14.1/patches in slackpkg(+) that tree is also called as a repository 'patches' (even if it is an improper use). When a package is both in release tree (slackware/ directory on repository, also called 'slackware' repository) When you search a package that is present in slackware and patches repository, slackpkg show the patch as installed and the original as 'uninstalled(masked)' Code:
# slackpkg search bash Do you have bash in /var/log/packages ? while slackpkg info retrieve the list from /var/lib/slackpkg/PACKAGES.TXT and show all matching packages, both slackware and patches. If you have only apr-1.4.6 upgraded and no other apr in that directory, you should also have the apr-1.5.0 in /var/log/packages. If no there may have been an error. See if you have /usr/doc/apr-*. If yes, your packages directory may be inconsistent. You should have an apr entry in /var/log/scripts and removed_scripts too. to know if you have slackware package not installed type # slackpkg install patches slackware64 The LASTUPDATE file is not used in slackpkg+. It just is used in slackpkg, so ignore it. Quote:
are all installed patches. # slackpkg search patches show all available patches. Quote:
Quote:
# slackpkg update will update the slackpkg db with the online infos. Slackware db is updated from pkgtools (installpkg/upgradepkg/removepkg); slackpkg does nothing. If something does not match you may have a corruption. Quote:
# slackpkg upgrade-all will install all patches available for installed packages only; if you does not have apr in slackware db, slackpkg search will not upgrade it. run # slackpkg install patches to install patches for the not installed packages (but it is not be the best pratic) Quote:
# slackpkg install slackware64 This will show you all slackware packages not installed, but better is # slackpkg install patches slackware64 that will show you all slackware packages not installed and the relative patch, then run # slackpkg install-new # slackpkg upgrade-all # slackpkg clean-system be sure that you have nothing in /etc/slackpkg/blacklist This should 'repair' your slackware database by installing missing packages and upgrading all available. I hope I made clear ideas (or maybe I confused more ;) ) |
1 Attachment(s)
Seems in slackpkg+-current (since devel:3f16140) slackpkg upgrade-all is broken. Here is a patch to fix it (see attachments). Another problem is that the not enough a command line argiments when running slackpkg upgrade-all:
Code:
------------- |
Thanks for patch. It affect the feature TAG_PRIORITY; do you use it?
About the dialog problem, please, run with VERBOSE=3 and post the contents of $TMPDIR/dialog.tmp |
I've pushed the SENSITIVE_SEARCH and the SPINNING patch.
Also I've backported it on the stable branch (for merging in a 1.6.1p2 version) |
What is a reason to have two ChangeLog's? Maybe one need to be a symlink to another?
|
where are the two ChangeLog's?
Also, have you solved/replicated the DIALOG problem? |
1 Attachment(s)
Quote:
Quote:
My configuration file (without comments and blank lines) is here, the output of 'sh -x slackpkg upgrade-all' here, dialog.tmp is empty, but dialog.tmp.1 contains a line Code:
bash-4.2.053-x86_64-1_slack14.1.txz "" on "installed: bash-4.2.045-x86_64-1 --> available: " Code:
From 11a5f2f0696ab03744ac1009390cde56db2d6480 Mon Sep 17 00:00:00 2001 |
Quote:
Yes, the first ChangeLog is for github/repository, the second is for the real source code, where is the slackbuild that copy it in /usr/doc/... No, is not a good thing to have links in a source code. Quote:
I do not understand under which conditions do you obtain the error so that I can replicate it since I have not that error. [edit]ok, I obtained the error now ;) |
solved
Code:
--- a/src/slackpkgplus.sh |
Great, thanks you! :)
|
Do you usally use TAG_PRIORITY=on ?
It's a lot time that I does not use it. It work fine? |
1.7.b2 released
.. just the cumulative patch release. It also advise if there are upgrades in progress with manual upgradepkg, to avoid corrupt slackware database. |
See that:
Code:
--- a/src/slackpkgplus.sh Setting INSTALL_NEW=install-all in slackpkgplus.conf then "slackpkg install-new" give new packages not from 'grep Added' in ChangeLog, but it works as # slackpkg install $PKGS_PRIORITY patches slackware This may be used to: 1) transform a non-full installation to a full installation 2) if you put 'multilib' or 'ktown' in PKGS_PRIORITY the install-new check for new packages in that repositories, so the user does not need to run every time # slackpkg install-new; slackpkg install ktown; slackpkg install multilib Now I called new function 'install-all' but better may be 'install-full' or other. in past the install-new command was extended to search updates from multilib repositories. In this way install-new can be extended for multiple function. I wait for feedback on this feature. |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 06:04 PM. |