LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware current slackpkg problem (http://www.linuxquestions.org/questions/slackware-14/slackware-current-slackpkg-problem-740971/)

LordAnta 07-18-2009 05:08 AM

Slackware current slackpkg problem
 
Last night i tried to upgrade my slackware box, but I started while I was logged in KDE. While looking through the Changelog and slackpkg was doing his job, I realized that some KDE, xorg files needed to be upgrade, and I stopped the upgrade, closed KDE and returned to login shell.
When I tried to run upgrade again, I get this errors:

Code:

Looking for NEW packages to install. Please wait... DONE

/usr/libexec/slackpkg/functions.d/dialog-functions.sh: line 16: 19427 Done                    cat $TMPDIR/dialog.tmp
    19428 Aborted                | xargs dialog --title $2 --backtitle "slackpkg $VERSION" $HINT --checklist "Choose packages to $2:" 19 70 13 2>$TMPDIR/dialog.out                                                                                                                                     
        Package xargs: is already in cache - not downloading                                                                                         
md5sum: /var/cache/packages//xargs:: No such file or directory                                                                                       
md5sum: /var/cache/packages//xargs:.asc: No such file or directory                                                                                   
        ERROR - Package not installed! gpg error!                                                                                                   
        Package xargs.c:445: is already in cache - not downloading                                                                                   
md5sum: /var/cache/packages//xargs.c:445:: No such file or directory                                                                                 
md5sum: /var/cache/packages//xargs.c:445:.asc: No such file or directory                                                                             
        ERROR - Package not installed! gpg error!                                                                                                   
        Package main: is already in cache - not downloading                                                                                         
md5sum: /var/cache/packages//main:: No such file or directory                                                                                       
md5sum: /var/cache/packages//main:.asc: No such file or directory                                                                                   
        ERROR - Package not installed! gpg error!                                                                                                   
        Package Assertion is already in cache - not downloading                                                                                     
md5sum: /var/cache/packages//Assertion: No such file or directory                                                                                   
md5sum: /var/cache/packages//Assertion.asc: No such file or directory                                                                               
        ERROR - Package not installed! gpg error!                                                                                                   
        Package `bc_ctl.arg_max is already in cache - not downloading                                                                               
md5sum: /var/cache/packages//`bc_ctl.arg_max: No such file or directory                                                                             
md5sum: /var/cache/packages//`bc_ctl.arg_max.asc: No such file or directory                                                                         
        ERROR - Package not installed! gpg error!                                                                                                   
        Package <= is already in cache - not downloading                                                                                             
md5sum: /var/cache/packages//<=: No such file or directory                                                                                           
md5sum: /var/cache/packages//<=.asc: No such file or directory
        ERROR - Package not installed! gpg error!
        Package (131072-2048)' is already in cache - not downloading
md5sum: /var/cache/packages//(131072-2048)': No such file or directory
md5sum: /var/cache/packages//(131072-2048)'.asc: No such file or directory
        ERROR - Package not installed! gpg error!
        Package failed. is already in cache - not downloading
md5sum: /var/cache/packages//failed.: No such file or directory
md5sum: /var/cache/packages//failed..asc: No such file or directory
        ERROR - Package not installed! gpg error!

Searching for NEW configuration files
                No .new files found.


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

.:      gpg
.:      gpg
.:      gpg
.:      gpg
.:      gpg
.:      gpg
.:      gpg
.:      gpg

==============================================================================

Some programs are broken, complaining about missing libraries.

Any suggestions on how to fix it?

niels.horn 07-18-2009 08:48 AM

Were you following -current before, or was this an upgrade from 12.2-stable?

There have been some changes in Slackpkg and pkgtools since 12.2, so you might have an older version of these packages, not capable of updating the latest packages.

Another problem might be that you aborted in the middle of an update. Any idea which package was being updated when toy aborted, or were you still in the menu of slackpkg?

XGizzmo 07-18-2009 10:01 AM

You updated slackpkg without merging /etc/slackpkg/slackpkg.conf.new . Merge the .new file and rerun slackpkg

Also run slackpkg update again.

LordAnta 07-18-2009 12:36 PM

It is a slackware current, installed a week before Slackware 13 became RC1. I don't remember exactly the package when I canceled.

@XGizzmo: there is no /etc/slackpkg/slackpkg.conf.new

I tried removing slackpkg and reinstalling, but no luck

XGizzmo 07-18-2009 01:07 PM

okay try running slackpkg -dialog=off update && slackpkg -dialog=off upgrade-all && slackpkg -dialog=off install-new

LordAnta 07-18-2009 03:44 PM

@XGizzmo: Thanks a lot. It workes like a charm

elbeardmorez 10-10-2009 06:15 AM

hi,

just wanted to add that '-dialog=off' fixed my 'slackpkg upgrade anypackage' issue which had previously resulted in the same set of error messages.

i'd canceled mid update as well.. so two questions remain unanswered for me:

1. why would turning dialog off avoid these errors ..i can't imagine that they're at all related..
2. and how do you officially 'reset' things after doing something as seemingly innocent as canceling mid upgrade ..i'd tried clearing out cache dir, updating package lists, gpg keys ..i'd even swapped mirrors ..there must be something more intuitive one could do than '--dialog=off'?!

XGizzmo - thanks though.


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