Mint software manager won't run- Value error

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
John378

Mint software manager won't run- Value error

Post by John378 »

Please excuse me if I am posting this in the wrong board or with the wrong protocol. I am new to linux and this forum but am fairly computer literate from ages ago. My problem is that somehow my mintinstall package will not open. I spent countless hours going over other posted remedies for what seemed to be similar problems but it did not solve mine. I have uninstalled and reinstalled but always come back to the same error. I will paste both the terminal install and run. Does anyone have any idea what the problem and solution may be? Thanks in advance for any help

Code: Select all

john@john-Aspire-XC-105 ~ $ sudo apt-get install mintinstall
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  mokutil ocl-icd-libopencl1:i386
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  mintinstall
0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
Need to get 3,349 kB of archives.
After this operation, 7,552 kB of additional disk space will be used.
Get:1 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia/main amd64 mintinstall all 7.8.9 [3,349 kB]
Fetched 3,349 kB in 4s (724 kB/s)        
Selecting previously unselected package mintinstall.
(Reading database ... 259311 files and directories currently installed.)
Preparing to unpack .../mintinstall_7.8.9_all.deb ...
Unpacking mintinstall (7.8.9) ...
Processing triggers for libglib2.0-0:i386 (2.48.2-0ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22+linuxmint1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up mintinstall (7.8.9) ...

Code: Select all

john@john-Aspire-XC-105 ~ $ mintinstall
Detected system architecture: 'x86_64' (using 'x86_64')
load_cache took 1788.888 ms
add_categories took 21.976 ms
build_matched_packages took 0.439 ms
add_packages took 6607.740 ms
process_matching_packages took 6.593 ms
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 2034, in <module>
    app = Application()
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 59, in wrapper
    res = func(*arg)
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 628, in __init__
    self.add_reviews()
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 59, in wrapper
    res = func(*arg)
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1452, in add_reviews
    review = Review(elements[0], float(elements[1]), elements[2], elements[3], elements[4])
ValueError: invalid literal for float(): 1351367
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
JoeFootball
Level 13
Level 13
Posts: 4673
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: Mint software manager won't run- Value error

Post by JoeFootball »

John378 wrote:

Code: Select all

john@john-Aspire-XC-105 ~ $ mintinstall
I believe you need elevated permissions for that. Try gksudo mintinstall instead.

Joe
FreedomTruth
Level 4
Level 4
Posts: 443
Joined: Fri Sep 23, 2016 10:19 am

Re: Mint software manager won't run- Value error

Post by FreedomTruth »

What is the result of

Code: Select all

python2 --version
Have you tried clearing your "reviews" cache?

Code: Select all

rm ~/.cache/mintinstall/reviews.list
John378

Re: Mint software manager won't run- Value error

Post by John378 »

JoeFootball wrote: Tue Mar 06, 2018 10:20 am
John378 wrote:

Code: Select all

john@john-Aspire-XC-105 ~ $ mintinstall
I believe you need elevated permissions for that. Try gksudo mintinstall instead.

Joe
That was one of the first things I tried after reading a few posts on here. It comes back as "The software manager should not be run as root. Please run it in user mode."

Thanks for the input Joe
John378

Re: Mint software manager won't run- Value error

Post by John378 »

FreedomTruth wrote: Tue Mar 06, 2018 1:48 pm What is the result of

Code: Select all

python2 --version
It comes back as "Python 2.7.12"

Have you tried clearing your "reviews" cache?

Code: Select all

rm ~/.cache/mintinstall/reviews.list
No, that one did not know of and I am happy to say it worked. Am I understanding the syntax correctly...was it loading back garbage data that somehow got into the cache? Is the program's cache unaffected when a program is deleted in Linux? Oh well, live and learn...and that is a good part of what make life fun.

99% of the way to giving Gates condescending mind-control spyware the final boot.

Thanks Freedom. Much appreciated
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Mint software manager won't run- Value error

Post by pbear »

John378 wrote: Tue Mar 06, 2018 7:56 pm
JoeFootball wrote: Tue Mar 06, 2018 10:20 am
John378 wrote:

Code: Select all

john@john-Aspire-XC-105 ~ $ mintinstall
I believe you need elevated permissions for that. Try gksudo mintinstall instead.

Joe
That was one of the first things I tried after reading a few posts on here. It comes back as "The software manager should not be run as root. Please run it in user mode."
FYI, Joe, this was changed with 18.3, presumably to accommodate Flatpak. Now one enters the password after hitting "Install."
FreedomTruth
Level 4
Level 4
Posts: 443
Joined: Fri Sep 23, 2016 10:19 am

Re: Mint software manager won't run- Value error

Post by FreedomTruth »

John378 wrote: Tue Mar 06, 2018 8:22 pmwas it loading back garbage data that somehow got into the cache? Is the program's cache unaffected when a program is deleted in Linux?
I'm guessing somehow the cache data was corrupted, and yes, it would keep loading that bad data. Generally it's safe to delete cache data, programs will re-build it. Glad that worked for you :)
Locked

Return to “Installation & Boot”