Menu

Package list generated to upgrade does not seem to match with installed packages?

Dave Reese
2014-08-14
2014-08-17
  • Dave Reese

    Dave Reese - 2014-08-14

    Was going to try this... I am running Slackware64 current. But I noticed something curious. I installed it, and ran "slpkg -c slack upgrade " If I am reading man correctly this should check my slackware for upgrades? It returned list of packages that need upgrading...

    [ upgrade ] --> samba-4.1.11-x86_64-1_slack14.1.txz
    [ upgrade ] --> seamonkey-2.26.1-x86_64-1_slack14.1.txz
    [ upgrade ] --> seamonkey-solibs-2.26.1-x86_64-1_slack14.1.txz
    [ upgrade ] --> sendmail-8.14.9-x86_64-1_slack14.1.txz

    But some of the packages it lists are not installed on my system ? If I run pkgtool, remove installed packages.. this is the list where seamonkey would be: ( I only have the solibs installed for chrome.. )

    │ │[ ] sdparm-1.08-x86_64-1 sdparm (fetch and change SCSI attribu│
    │ │[ ] seamonkey-solibs-2.26.1-x86_seamonkey-solibs (Shared libraries fr│
    │ │[ ] sed-4.2.2-x86_64-1 sed (stream editor)

    It also showed mozilla firefox and thunderbird which are not installed either. I am using slackpkg now and it seems to do well... I am afraid that this will break my system if I run it to upgrade....Seems like it must be getting package list from my initial install of 14.1 ..before I upgraded to current through slackpkg... not the list of what is actually on my system now, which is what pkgtool and slackpkg show?

     
  • Dave Reese

    Dave Reese - 2014-08-15

    Ok, after our discussion on FB I looked a little closer at the code:
    1. I misunderstood the purpose of the function, which was to update packages in the patches dir of a release version. Since I am running the current version things work a little differently I think.

    2.The program is pulling the version as it was intended to, since I upgraded from 14.1 to current through slackpkg the slackware-version file still showed 14.1, and it was showing me the packages available in that release's patches.

    1. I did notice while looking at the list installed slack packages function that the list was not sorted alphabetically, this makes it less user friendly. I forked the git repo and I am going to submit a pull request shortly with a change that sorts that list.( The change is very minor;-) I hope you don't mind if I contribute some more to your project? I need to get hands on with some projects and do some commits.
      Thanks for your time, and Have a Great Day!
     

    Last edit: Dave Reese 2014-08-15
  • Dave Reese

    Dave Reese - 2014-08-17

    Feel free to delete the posts above to clean this up ...since it was never a "bug" just a misunderstanding on my part. I would have deleted them myself but I couldn't find any way to do it.
    Thanks!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.