Giter Club home page Giter Club logo

mintinstall's Introduction

Mintinstall

Software Manager for Linux Mint.

image

Build

Get source code

git clone https://github.com/linuxmint/mintinstall
cd mintinstall

Build

dpkg-buildpackage --no-sign

Install

cd ..
sudo dpkg -i mintinstall*.deb

Translations

Please use Launchpad to translate Mintinstall: https://translations.launchpad.net/linuxmint/latest/.

The PO files in this project are imported from there.

mintinstall's People

Contributors

0xmilan avatar alexkuz avatar bl0ckeduser avatar blen2r avatar clefebvre avatar corbin-auriti avatar dalcde avatar dan-overton avatar darealshinji avatar dralley avatar eorochena avatar glebihan avatar gm10 avatar hduelme avatar igothere avatar josephmcc avatar kacperpaczos avatar lukeph avatar m8 avatar monsta avatar mtwebster avatar munhyunsu avatar nikokrause avatar theel0ja avatar ulrikdem avatar wilfison avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mintinstall's Issues

Open PPA feature only shows not-installed packages

I love the new "Open PPA" features that's available in Cinnamon 2.6. It's really helpful to be able to see exactly which packages are coming from a specific PPA. However, it appears that it only lists packages from the PPA that are not installed. Was this intentional? I would find it more helpful to be able to see all packages in a PPA, especially the ones that I have already installed.

Allow language selection

Ubuntu's software center lets me filter for English reviews. In Cinnamon's Software Manager, I get to see all sorts of reviews in languages I can't read (most of them seem written by 12-year olds anyway, but that's another story).

Shell Commands execute when searching

screenshot
type in
mintInstall -d
enter the password
go to APT search field and seach for this text

$(xterm)

Now xterm will start as root !!

mintInstall uses os,system() so it executes shell commands injected in the textfield

os.system("/usr/bin/mint-show-apt " + textfield.get_text() + " &")

Software manager doesn't report it will remove anything

So if you use a tool like Synaptic Package Manager and try to install something that will remove a bunch of packages, it will tell you.

The software manager in Mint will not, I went to install a dep for a game and it was the wrong one, now my PC won't boot past terminal as it removed cinnamon, mdm, python and a host of other things.

This is really really bad, the software centre thing badly needs to notify on removal of packages, i use Mint+Cinnamon for work purposes as well as spare-time, stuff like this can't happen because the software hasn't told me what it is doing. It's dangerous.

Review should be a multi-line text area

Right now, the review field being single-line encourages silly reviews, eBay style "A+++++ great package!!!!1".

A multi-line review field may encourage more thoughtful comments.

Screenshot from 2012-12-27 03:07:09

Unable to Install to ReiserFS

Unable to Install to ReiserFS on Mint 16 RC 1 Cinnamon edition 64-bit DVD version. In previous versions I was able to install the root filesystem on ReiserFS but am not able to. Was able to install Ubuntu 13.10 beta on ReiserFS so am reasonably sure this isn't upstream.

mintInstall doesn't open links in default browser

As I noticed yesterday, mintInstall opens a link from within a program's description in its own window. I don't know which rendering engine mintInstall uses and it didn't seem that a subprocess was spawned for the browser component, so this would mean that the browser runs as root if mintInstall was launched with root permissions (wich is the default).

Even if only trustworthy projects are listed in mintInstall's software list, this doesn't mean that the corresponding websites can also be trusted (just think of some hack), so I think this is a security issues that should be fixed.

mintinstall can't handle replaces

tested in mint nadia mate 64bit
1- install opera through SC
2- opera installs but leaves a broken package in the system
apt depends opera | grep flash
Recommends: flashplugin-nonfree

apt depends mint-flashplugin
mint-flashplugin
Depends: mint-flashplugin-11
Conflicts:
Conflicts: flashplugin-nonfree
Conflicts:
Replaces:
Replaces: flashplugin-nonfree
Replaces:

3- running -f install solves the issue (but it's not intuitive to some)
zerozero@zerozero-nadia-mate ~ $ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
adobe-flashplugin
Suggested packages:
konqueror-nsplugins x-ttcidfont-conf msttcorefonts ttf-xfree86-nonfree xfs libnspr4-0d
The following packages will be REMOVED
mint-flashplugin mint-meta-codecs
The following NEW packages will be installed
adobe-flashplugin
0 upgraded, 1 newly installed, 2 to remove and 5 not upgraded.
2 not fully installed or removed.
Need to get 0 B/6,886 kB of archives.
After this operation, 19.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y

mintInstall opens the web browser as root (Linux Mint 17, mintInstall 7.5.7)

When the option "Open links using the web browser" is enabled, clicking on a hyperlink in a package's description page causes mintInstall to open the hyperlink in a web browser run by root. This is a dangerous thing to do, especially if one isn't aware that the browser is running with elevated privileges. Mint also has quite a few browser plug-ins installed by default, such as Adobe Flash and a Java plugin, which makes this even more dangerous.

The expected behavior is opening the default web browser, running with user privileges.

How to verify:

Open System Monitor, select View -> All processes. Open mintInstall, enable "Open links using the web browser" from Edit -> Preferences. Find any package that has its home page listed in its description, and click the link. Observe the System Monitor show a new process of your default web browser, run by the user root.

EDIT: A few words about workarounds. The default behavior of mintInstall, which is opening links with its own browser component, isn't a really a workaround, since mintInstall, too, is running with root privileges. Disabling "Open links using the web browser" option isn't a proper workaround, since both behaviors are dangerous.

If package installation fails to start due to lost internet connection, the "Install" button doesn't re-appear

Linux Mint 17, mintInstall 7.5.7.

If the installation of a package fails to start due to the lack of an internet connection, right after you've clicked the "Install" button on a package's description page, the button doesn't re-appear so one could try again. This only happens under one, specific circumstance, however: when mintInstall was opened when there was an internet connection, and there is no connection when the user clicks the "Install" button.

How to reproduce:

Open mintInstall with an internet connection. Navigate to a package's description page, such as to Fonts -> fonts-cantarell. Now disconnect your machine from the internet (turn off your wired of wireless from Cinnamon's Network Manager applet), and click the "Install" button. You'll see an error pop up, and note that the "Install" button is now gone, even though it would normally return after a failed install.

Quite a specific circumstance, I know, but I decided to report it nevertheless. I discovered it because my router is provided a connection by a USB mobile broadband adapter, and the connection isn't always stable. I could also see this as an issue when the wireless signal is weak.

Packages with broken dependencies cannot be clicked and no error message is shown in the GUI

LMDE 64-bit, mintInstall 7.5.2.

Currently the package named picasa is not installable on 64-bit systems:

$ apt install picasa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 picasa : Depends: ia32-libs but it is not installable
          Depends: lib32asound2 but it is not installable
          Depends: ia32-libs-gtk but it is not installable
E: Unable to correct problems, you have held broken packages.

If you try to click on picasa in mintInstall, nothing happens in the GUI, only in the terminal there's an error message:

Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 920, in show_package_if_apt_cached
    self.show_package(pkg, tree)
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 53, in wrapper
    res = func(*arg)
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1724, in show_package
    pkg.mark_install()
  File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1109, in mark_install
    fixer.resolve(True)
SystemError: E:Unable to correct problems, you have held broken packages.

Even worse, after that error any other package can't be clicked! And again, nothing happens in the GUI, only in terminal there's another error message:

Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 914, in show_selected
    self.acthread.start()
  File "/usr/lib/python2.7/threading.py", line 737, in start
    raise RuntimeError("threads can only be started once")
RuntimeError: threads can only be started once
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 920, in show_package_if_apt_cached
    self.show_package(pkg, tree)
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 53, in wrapper
    res = func(*arg)
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1724, in show_package
    pkg.mark_install()
  File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1109, in mark_install
    fixer.resolve(True)
SystemError: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

This should be corrected. The software manager should correctly process the error and show some message to the user, indicating that the package cannot be installed. And it should not prevent the installation of any other package after that.

Linux Mint 17.1 Software Manager RUN button.

Hello,

I like Linux Mint very much; I have been using it for about a year now in an occasional manner. I have it in my secondary laptop and in a virtual machine. I sometimes install it for my friends and relatives. I teach Linux in a vocational school. I promote the use of Linux. We sell Linux Mint machines in our school shop, set up by my students.

I frequently install and test new apps. I search, install, test and then remove or keep them (app names usually don’t tell me anything, I don’t remember them, good example are kids games etc). This is not a very user friendly process because of the lack of RUN button. It is annoying as hell to always search for the app from menu or type it to search bar especially if you forget the name of the app before you end typing the name of the app. Worse, you might have use the terminal in order to start the app.

Linux Mint promotes ease of use. Which is easiest: click the RUN button once, search for the app from the menu, type its name into search bar or launch it from terminal?

Two questions:

  1. Why Mac App Store, IOS App Store, Microsoft Store, Android Play … etc do have RUN button (or similar function) next to a freshly installed app?
  2. Why Linux Mint Software Manager does not have RUN button (or similar function) next to a freshly installed app?

I really hope the RUN button will be implemented in some near future.

(Original thread in http://forums.linuxmint.com/viewtopic.php?f=29&t=184106&sid=c90aca10c720e18f5cc1542544f4640d)

mintinstall freezes during installation software

mintinstall freezes during installation software. The problem is as follows:

  1. I note 10 applications to be installed in mintinstall.
  2. mintinstall start installation of the application.
  3. At some point mintinstall freeze when installing applications.
  4. The list of applications is still visible, but still progress bars indicate 0%

I noticed that the problem occurs with software that has a lot of dependencies, eg. Nautilus installed in kde environment.

I put a log of the application mintinstall and work of this program is stopped at this point:

SystemError: E:Could not open file /var/lib/apt/lists/packages.linuxmint.com_dists_qiana_main_binary-amd64_Packages - open (24: Too many open files)

Unfortunately, you can not resume the suspended installation. It should kill the process and run the program again. The error was repeated by me on two computers.

Logs -> https://launchpadlibrarian.net/185576625/mintinstall_log.txt

BTW. The problem also reported on Launchpad, but no one probably does not respond.

Details about the system:

Distributor ID: LinuxMint
Description: Linux Mint 17 Qiana
Release: 17
Codename: qiana
GUI: KDE
Architecture: 64-bit

mintinstall stops functioning after a large amount of installs

I was testing out Linx Mint 17 Mate RC 64-bit and i was going through the software manager installing all the software i want i would need and during this process of having a large number of installs in the queue one time it hung and the second time i can see the active tasks list and its not continuing to install any of the ones listed.

Search should have focus on launch

The search box should have the focus (ready to type and search) when mintinstall is launched. It saves one click, and makes it more user friendly.

Mint Software Manager messes up permissions on /run/user/1000/dconf/user

It seems that simply starting the Mint Software Manager (gksu mintinstall) messes up the permissions on /run/user/1000/dconf/user, by changing its ownership to root. This has negative consequences for many other programs running on the same machine: mate-settings-daemon, nm-applet, emacs, mate-power-manager, etc, who display the following error message:

(mate-settings-daemon:4602): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.

Some of these other programs exhibit extremely serious side effects. For instance, mate-settings-daemon with the wrong permissions takes up 100% of 1 CPU, 6GB of RAM, and >300MB of logged errors in .xsessions, rendering some machines close to impossible to use (see mate-desktop/mate-settings-daemon#44 for more details on this one).

I can reliably reproduce this problem on a fresh install of LMDE 201403.

Mintinstall icon

Hi Clem - don't know if you agree with me but I regret making the Mint logo in the icon so small. Working with it fullscreen in inkscape it looks lush and just right but in smaller sizes the logo appears somewhat too small (rookie mistake). I should have paid more attention to the Synaptic and Ubuntu Software Center Faenza icons and followed their logo sizes.

Anyway, an edited version for comparison: https://www.dropbox.com/s/ythcxd0jgacb38w/icon.svg

Browsing screenshots

Would it be possible to browse screenshots left and right when you click on one screenshot? Right now you have to go back and click on each picture.

mint install cant run

alen@alen-LinuxMint ~ $ mintinstall
add_categories took 1.141 ms
build_matched_packages took 0.221 ms
add_packages took 3227.170 ms
add_reviews took 1025.718 ms
init took 5301.869 ms
Aborted
to unlock mutex that was not locked

Don't show multiple architecture items on search?

Some of my users have no idea what i386 means, so if they are 64bit and search on an item, they get 2 results: the "normal one" (64bit) plus the 32bit version, identified by ":i386" at the end.

Would help users to limit showing these i386 versions if the 64bit version is found?

Score UI issues

There are two issues with the current score UI:
1. There is no way of telling what the maximum number of stars is. Displaying the outline of the empty stars would solve this issue.
2. The number score partially obscures the stars. This makes it harder to see the star score and, quite frankly, looks as an UI bug. Anecdotally, this was also the reaction of several other people I've installed Mint for.

A similar issue was already reported to the Cinnamon repository erroneously.

Usability - Impacted packages - Ambiguously called 'Installed'. Suggest to be 'To be Installed'

I have a doubt - When i try to install Kolorpaint on Mint 16 Cinnamon, it shows me list of packages that are dependencies. I doubt if I have them installed in this desktop machine. Is it tied to my account instead of machine ? Because in another laptop of mine - I have a KDE setup?

Maybe this is to allow me rate the package but still it is a discrepancy and misleading.

screenshot from 2014-01-15 08 54 06

Synaptic does not show it as installed. Neither does below apt command

sudo apt-cache policy kate-data [sudo] password for anand: kate-data: Installed: (none) Candidate: 4:4.11.3-0ubuntu0.1 Version table: 4:4.11.3-0ubuntu0.1 0 500 http://archive.ubuntu.com/ubuntu/ saucy-updates/universe i386 Packages 4:4.11.2a-0ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ saucy/universe i386 Packages

Missing a warning message

If you try to install software while another package management app is running, it'll simply do nothing and stay quiet.
I would suggest adding a warning messasge to let the user know what's happening.

Install 'checkmark' doesn't show up sometimes in list view

For example, today I was looking through Sound and Video. I wanted to install example to try it out, when I clicked on it to install I found out it was already installed. The green checkmark wasn't visible or wasn't there on the list view.

Splash screen hangs

The splash screen on startup keeps hanging, about half of the startups (mintInstall 7.4.8)

When running from terminal, it gives me

sudo mintinstall
[sudo] password for jacco: 
27771
Real-time signal 0

Then just gives back control, but the splash screen stays open.

Kind regards,
Jacco

Download everything before installing

Click install for some package
Let it partially download
Click install for another package
See the progress till everything is installed

Observed
Package 1 is downloaded
Package 1 is installed
Package 2 is downloaded
Package 2 is installed

Expected - the way apt-get / synaptic does it
Package 1 is downloaded
Package 2 is downloaded
Package 1 is installed
Package 2 is installed

Download everything before installing

Click install for some package
Let it partially download
Click install for another package
See the progress till everything is installed

Observed
Package 1 is downloaded
Package 1 is installed
Package 2 is downloaded
Package 2 is installed

Expected - the way apt-get / synaptic does it
Package 1 is downloaded
Package 2 is downloaded
Package 1 is installed
Package 2 is installed

Misbehaving with fingerprint reader.

I use fprintd. When I start mintinstall.

  1. The light on the fingerprint reader will start flashing indicating that the program needs authentication, however, other than that nothing tells me that authentication is needed. No dialog or anything.
  2. fprintd is a bit sensitive, it is quite common that I will swipe three times and fail each time which will then revert to a fallback manual password mode. The problem with "mintinstall" is that if the fingerprint scanner fails three times to authenticate nothing is displayed at all, I never get the opportunity to manually enter my password. I have to load the application again and hope the scanner works.

Invalid package name error message is not translated

Leaving comment for package that is not in default repositories we got:
"Invalid package name
The package you're trying to review was not found in our database. Please contact the development team about this." error messages. But it is not localisable.
kepernyokep 2015-08-23 13 51 26

Install status not updated if viewing reviews during the installation

If I install a software package from Software Manager, the reported status changes automatically to "Installed" after installation is done, as expected.
However if during the installation I browse the reviews and then go back after installation is done, the status is still shows "Uninstalled".

The following two scenarios show both cases. They start with Opera NOT installed.

First install, status automatically updated as expected:

  1. Start Software Manager
  2. Type "opera" in the search box.
  3. Double click the first result, "opera".
  4. Click "Install" button.
  5. Status line at the bottom shows "1 ongoing actions".
  6. After install is done, status line turns to "0 ongoing actions".
  7. Status says "Installed" and the button says "Remove" as expected.

Second install, status is not updated after install is done:

  1. Start Software Manager.
  2. Type "opera" in the search box.
  3. Double click the first result, "opera".
  4. Click "Install" button.
  5. Status line at the bottom shows "1 ongoing actions".
  6. While the install is running, scroll down to bottom, click "See more reviews".
  7. More reviews appear, and the navigation path just below menu shows "Categories > Search results > opera > Reviews".
  8. After install is done, status line shows "0 ongoing actions".
  9. Go up one level from Reviews, click "opera" on the navigation path buttons.
  10. Path now shows "Categories > Search results > opera"
  11. Scroll to top, and status says "Not installed" and the Install/Remove button is missing.
  12. Go up the path, click "Search results"
  13. Double click first line, "opera".
  14. Now status says "Installed" and buttons says "Remove" as expected.

(I have reported this in launchpad (https://bugs.launchpad.net/linuxmint/+bug/802198). I don't know which place is the correct place to report this.)

Software Manager in KDE contains visual flaws

Linux Mint 17 KDE Edition
mintInstall 7.5.7

It's been years now since the Linux Mint Software Manager was branched and implemented into the common Linux Mint versions, and yes leaps and bounds have been made to improve stability but during that time, precise attention to visual details and GTK artifacts in the Software Manager (mintInstall 7.5.7) have been looked too quickly over and ignored for too long now.
We need a visual makeover - Something that stands out from the crowd - in a good way, not further continuing to let the aesthetic nightmare get worse and worse as new GTK and Qt versions evolve... Right now, it appears as a blocky, blotchy mess: Some colors and gradients are made to fit the Qt/KDE ecosystem while the buttons, explorer bars, and some text areas mimic the bland and grey look and feel of GTK from back in 2007 or so. The buttons are outdated and don't match the current "flat-but-bold-and-eye-popping" 2014 UI standards seen in every other OS including Ubuntu yet rather closely resemble the much outdated and overused Mac OS X "Aqua" look from OS X 10.2.

My apologies, but everything about it just seems ... wrong and out of place. A fix needs to happen, Linux Mint is designed to be the true Linux for everyone, something that everyone will understand, love, and enjoy to work with rather than appearing similar to an outdated office computer.

snapshot1
snapshot2
snapshot3

No way to install in list view

There should be a button to install a package in the list view without having to double click and view the description first. I'll be looking at the code to see if I can do it myself, but I'm a novice in Python.

Bad UX in the Software Manager when trying to leave reviews

Say I try to leave a review for a package. After I select the opinion (e.g. "So so") and type the one-line review and press Submit, Software Manager will land me onto an error page, "Invalid username".

This is completely unfriendly:

  • there's no indication as to where to enter the username
  • the review is lost
  • the mouse back button doesn't do anything (it actually doesn't do anything in the app in general, though if I remember correctly, it does go back in the Software Center in (X)Ubuntu).

Translation: Some strings need to be fetched with ngettext

Please fetch the following strings with ngettext, so that they can be translated properly:

%d ongoing actions

Located in: usr/lib/linuxmint/mintInstall/mintinstall.py:301

%d packages are currently available

Located in: usr/lib/linuxmint/mintInstall/mintinstall.py:591

%d reviews

Located in: usr/lib/linuxmint/mintInstall/mintinstall.py:1380 usr/lib/linuxmint/mintInstall/mintinstall.py:1853

%d packages

Located in: usr/lib/linuxmint/mintInstall/mintinstall.py:1416

Gathering information for %d packages...

Located in: usr/lib/linuxmint/mintInstall/splash.py:28

Related bug on Launchpad: https://bugs.launchpad.net/linuxmint/+bug/1390481

Thank you :)

allow option to disable search-on-type

Would it be possible to add an option to disable auto search-as-you-type(actually search after x seconds after typing is complete) and require to hit the enter key?

Normal searching is slow, searching in package description is slower, searching in summary simply sucks.
Sometimes, you may make typos and just as you are hitting the backspace, the searching begins which is really annoying. This might also be a problem for very slow typists.

Requiring to hit the enter key would be a simple way to solve this problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.