OneCDOnly / sherpa

A mini-package-manager for QNAP NAS
GNU General Public License v3.0
114 stars 13 forks source link

Unknown argument #283

Closed papampi closed 9 months ago

papampi commented 9 months ago

Getting Unknown argument ...

[~] # sherpa status
sherpa v240211-stable

done: processing complete.

• QPKG name:         • QPKG statuses:       • QPKG version (new):  • App version:  • QPKG installation path:                       
   ClamAV             - not installed          240208                 0.104.4      
   Deluge-server      - not installed          240205                 2.1.1        
   Deluge-web         - not installed          240205                 2.1.1        
   duf                - disabled, active       220809                 0.8.1           /share/CACHEDEV1_DATA/.qpkg/duf              
   Entware            - enabled, active        1.03a                  1.03a           /share/CACHEDEV1_DATA/.qpkg/Entware          
   Glances            - not installed          240208                 3.4.0.2      
   Headphones         - not installed          240208                 0.6.1        
   HideThatBanner     - disabled, inactive     240205                 240205          /share/CACHEDEV1_DATA/.qpkg/HideThatBanner   
   IncreaseTimeouts   - not installed          240126                 240126       
   inxi               - disabled, inactive     240108                 3.3.31          /share/CACHEDEV1_DATA/.qpkg/inxi             
   Kapowarr           - not installed          240208                 1.0.0-beta-4 
   LazyLibrarian      - not installed          240208                 unknown      
   OLidarr            - not installed          240208                 2.0.7.3849   
   OMedusa            - enabled, active        240206 (240208)        1.0.19          /share/CACHEDEV1_DATA/.qpkg/OMedusa          
   Mylar3             - not installed          240208                 0.7.8        
   NZBGet             - not installed          240208                 21.1         
   NZBHydra2          - not installed          240208                 5.3.7        
   nzbToMedia         - not installed          240205                 12.1.12      
   OliveTin           - disabled, inactive     240206 (240208)        2024.02.01      /share/CACHEDEV1_DATA/.qpkg/OliveTin         
   Par2               - disabled, inactive     0.8.1.1                0.8.1           /share/CACHEDEV1_DATA/.qpkg/Par2             
   Par2turbo          - not installed          1.1.0                  1.1.0        
   pyLoad             - not installed          240208                 0.5.0        
   OqBittorrent       - not installed          240208                 4.5.4        
   QDK                - not installed          2.3.13                 2.3.13       
   OReadarr           - not installed          240208                 0.3.14.2358  
   RunLast            - enabled, active        230224                 230224          /share/CACHEDEV1_DATA/.qpkg/RunLast          
   SABnzbd            - not installed          240208                 4.2.2        
   sha3sum            - not installed          230312                 1.2          
   sherpa             - enabled, active        240211                 240211          /share/CACHEDEV1_DATA/.qpkg/sherpa           
   OSickGear          - not installed          240208                 3.30.9       
   OSonarr            - not installed          240208                 4.0.1.929    
   SortMyQPKGs        - enabled, active        240112                 240112          /share/CACHEDEV1_DATA/.qpkg/SortMyQPKGs      
   OTautulli          - not installed          240208                 2.13.4       
   OTransmission      - not installed          240208                 4.0.3        
   Unrar              - not installed          6.2.5                  6.21 beta 1  
   OWatcher3          - not installed          240208                 unknown      
   WebSSH             - not installed          240208                 1.6.2        
   OWhisparr          - enabled, inactive      240206 (240208)        2.0.0.355       /share/CACHEDEV1_DATA/.qpkg/OWhisparr

[~] # sherpa upgrade upgradable
proc: loading environment ... /share/CACHEDEV1_DATA/.qpkg/sherpa/cache/sherpa-manager.sh: line 1458: QPKGs.AClist.SCupgradable:Set: command not found
sherpa v240211-stable

derp: unknown argument: "upgrade". Please check the argument list again.

[~] # sherpa upgrade OMedusa
sherpa v240211-stable

derp: unknown argument: "upgrade". Please check the argument list again.

[~] # sherpa restart OMedusa
sherpa v240211-stable

derp: unknown argument: "restart". Please check the argument list again.
OneCDOnly commented 9 months ago

Hi mate, yes, I realised after pushing this version, it's a bit more broken than I thought.

I'm going push a new stable version tomorrow, so should be good-to-go then. :)

OneCDOnly commented 9 months ago

Morning @papampi, I've just pushed a new stable release v240212.

It will work a bit better than the last one. Apologies, I found a show-stopping error in the version prior, and chose to release a sometimes-faulty sherpa into stable, instead of letting an always-faulty sherpa remain available for download.

The internal argument parser for sherpa is getting a major rewrite, and for the next few days, its behaviour will be a little odd, and things won't work as they should. Notably, the list action (like sherpa list installed, etc...) is temporarily offline.

I'll continue pushing no-more than once-per-day to stable as these issues are fixed, with unstable receiving fixes more often.

Appreciate your bug reports as-always. Please add to this topic as-or-if you find more bugs. :)

papampi commented 9 months ago

As always, fast response and great support Thank you so much

Will close this issue and hopefully will not re-open.