-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
queue no longer works #79
Comments
Don't you want me to check a log (error log, obviously not build log) or must I just erase all my configuration, reinstall sbopkg, slowly remake configuration starting from default/nothing? |
i'm more curious about how you setup sbopkg in your machine |
I had updated the following.
|
try this
|
The same thing happened. Actually some commands work: I can sort, maybe load, and save, but not view, remove, process (didn't try rename or delete because don't have any saved, and didn't try add all because not Slackware 15.1 stable yet.) |
do you have any other changes in locale or environment variables? |
I have default locale and the following environment variables.
No point using virtual environment because I'm not installing Slackware-current packages elsewhere. If my installation is supposedly 'dirty' I want to find out how and fix. |
i also run slackware-current at home and it works fine here |
I made a line 'set -e' near top of /usr/sbin/sbopkg if that's what you mean, but currently don't have updates to do. Same started happening on Slackware 15 up-to-date stable x86(-64) and arm (haven't tested x86-32.) |
I get this issue, too. I never had it before. @willysr
+ CHOICE=255
+ [[ 255 -eq 2 ]]
+ selection_state preserve /tmp/sbopkg.VJoY4a/sbopkg-tmp-queue /tmp/sbopkg.VJoY4a/sbopkg-ans-queue
+ local ACTION=preserve
+ local MENU_FILE=/tmp/sbopkg.VJoY4a/sbopkg-tmp-queue
+ local SELECTION_FILE=/tmp/sbopkg.VJoY4a/sbopkg-ans-queue
+ local LINE
+ sed -i 's/ON$/OFF/' /tmp/sbopkg.VJoY4a/sbopkg-tmp-queue
+ read LINE
+ sed -i '/^"*"* /s/OFF$/ON/' /tmp/sbopkg.VJoY4a/sbopkg-tmp-queue
+ read LINE
+ sed -i '/^"*3 arguments attendus, 2 trouvés en trop."* /s/OFF$/ON/' /tmp/sbopkg.VJoY4a/sbopkg-tmp-queue
+ read LINE
+ sed -i '/^"*Use --help to list options."* /s/OFF$/ON/' /tmp/sbopkg.VJoY4a/sbopkg-tmp-queue
+ read LINE
+ sed -i '/^"*"* /s/OFF$/ON/' /tmp/sbopkg.VJoY4a/sbopkg-tmp-queue
+ read LINE
+ sed -i '/^"*"* /s/OFF$/ON/' /tmp/sbopkg.VJoY4a/sbopkg-tmp-queue
+ read LINE
+ [[ preserve == reverse ]]
+ case $CHOICE in
+ mv /tmp/sbopkg.VJoY4a/sbopkg-original-queue /tmp/sbopkg.VJoY4a/sbopkg-tmp-queue
+ rm -f /tmp/sbopkg.VJoY4a/sbopkg-ans-queue
+ return 1
+ :
++ eval echo Browsing the '$REPO_DESC.' ARCH: '$ARCH'
+++ echo Browsing the SBo repository for Slackware 15.0. ARCH: x86_64
+ dialog --visit-items --title 'Queue Menu' --backtitle 'Browsing the SBo repository for Slackware 15.0. ARCH: x86_64' --cancel-label Back --default-item View --menu 'Choose one of the following or press <Back> to go back.\n' 16 60 9 View 'View the current queue' Sort 'Sort items in the queue' Remove 'Remove items in the queue' Load 'Load a saved queue' Save 'Save the current queue' Rename 'Rename a saved queue' Delete 'Delete a saved queue' Add 'Add all installed packages to the queue' Process 'Process the current queue'
+ DEFAULTITEM=View
+ case "$DEFAULTITEM" in
+ view_queue
+ local ANSQUEUE=/tmp/sbopkg.VJoY4a/sbopkg-ans-queue
+ local ORIGINALQUEUE=/tmp/sbopkg.VJoY4a/sbopkg-original-queue
+ local CHOICE
+ empty_queue
+ [[ ! -e /tmp/sbopkg.VJoY4a/sbopkg-tmp-queue ]]
+ return 1
+ cp /tmp/sbopkg.VJoY4a/sbopkg-tmp-queue /tmp/sbopkg.VJoY4a/sbopkg-original-queue
+ :
++ crunch 'The following packages are currently in the queue. Please note that when the queue is processed, the packages selected below will be processed in the order listed from top to bottom.\n\nPlease select or unselect those packages you wish to keep in the queue and then press <OK> to continue or press <Back> to go back.'
++ echo -e 'The following packages are currently in the queue. Please note that when the queue is processed, the packages selected below will be processed in the order listed from top to bottom.\n\nPlease select or unselect those packages you wish to keep in the queue and then press <OK> to continue or press <Back> to go back.'
++ tr -s ' '
+ dialog --visit-items --title 'Viewing Queue' --separate-output --extra-button --extra-label 'View READMEs' --help-button --help-label 'Clear inst'\''d' --help-status --cancel-label Back --checklist 'The following packages are currently in the queue. Please note that when the queue is processed, the packages selected below will be processed in the order listed from top to bottom. It thinks the queue is empty. |
@willysr If I say no to "would you like to add flagged updates to the queue" after checking for updates, nothing is added. If I say yes, still nothing is added. I have many "POTENTIAL UPDATE" and "INSTALLED PACKAGE IS NEWER THAN REPO". Is there a way to put the output of |
we don't have that option for now (sbopkg -c -> queue) but if you say no to the question about adding flagged potential updates, then it's normal for queue to be empty since you said no. can you make a short video on how you do things so i can reproduce it here? |
@willysr Here's a screencast: sbopkg_update_queue_issue_cut-version.mp4(I cut out 1 min. of the updating time, to keep the video ≤10MB.) |
A workaround: Run update in the GUI, save the queue as "updates", and process it with After doing this, I no longer get this queue issue in the GUI. I wonder if my queue was too big before? |
@Geremia after i looked over your video, it seems you are using an older version of sbopkg (probably pre-released version) since it has 2021 as the copyright (see 0:04), while the latest sbopkg has 2022 in the copyright year. Can you check using the latest version of sbopkg downloaded from official website? thanks |
I've had all above and now more problems with post-release 0.38.2 and subsequent/y upgraded/configured git version(s) which now also instead of doing any/all command-line arguments/flags/switches just start sbopkg GUI. |
so this issue can also be closed? |
I still have the problem on 0.38.2 & 8bf4e6a; didn't change anything after tried workaround and using much smaller queue than huge ones that used to work. |
so what command did you use now? |
|
i mean, to create the queue |
I created the queue in the GUI same way as shown in the video; this isn't solved! |
it's working fine in many other machines, so unless you try it in a clean environment, i am not convinced with how you test it |
On Slackware64 15.1-current w/sbopkg 0.38.2 and even upgraded to 20220318-8bf4e6a, the queue menu no longer works.
I synchronize repository, select check for updates, get over a page of results, go to queue, select any command (like process, remove, sort, view, etc.) and nothing happens: simply immediately returns to queue menu in split-second so the only thing appearing to happen is terminal flashes (as redrawn.)
The text was updated successfully, but these errors were encountered: