Code Monkey home page Code Monkey logo

mintsources's Introduction

#Mintsources

This is a software configuration tool, mintsources, allows the user to adjust sofware repositories, select a mirror, include PPAs and do package management tasks.

image

Build

Get source code

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

Build

dpkg-buildpackage --no-sign

Install

cd ..
sudo dpkg -i mintsources*.deb

Translations

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

License

  • Code: GPLv3

mintsources's People

Contributors

63beetlesmurf avatar albertjp avatar bentolor avatar clefebvre avatar corbin-auriti avatar darealshinji avatar eduarddopler avatar elschman avatar elwlwlwk avatar exalife avatar fedex4ait avatar glebihan avatar gm10 avatar hammy275 avatar hduelme avatar josephmcc avatar jstnlth avatar larst avatar luca-vercelli avatar luislobo avatar mk-dhia avatar mmueller2012 avatar monsta avatar mtwebster avatar salphaon avatar sinihappo avatar tetration avatar tsharitt avatar wrouesnel 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

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

mintsources's Issues

PPA Error

When I tring to add a ppa I get the following error message Linux mint 18.1:

sudo add-apt-repository ppa:nilarimogard/webupd8
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1547, in
codename = config_parser.get("general", "base_codename")
File "/usr/lib/python2.7/ConfigParser.py", line 330, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'general'

[Feature Request] PPA Priority Display / Edit using GUI

Am not sure if I makes sense over this, will try to quote an issue I faced, when i added daily dev build PPA of Cinnamon, I also had to change PPA Priority in a text file to make it work.
Mint Software Sources made it trivial to add PPA repositories through UI, will be great if this can be done as well.
If changing priority is difficult to achieve / can pose issues in system breaking - at least priority should be displayed to users and while adding PPA should warn that it having lower priority and will not be picked up.

sudo apt-cache policy shows for a package, guess it can be shown at PPA level as well?

mintsources crashes silently without software-sources.svg

mintsources fails to start from mintupdate with no messages or notifications if there is no /usr/share/icons/hicolor/scalable/apps/software-sources.svg file

From terminal I got this:

    Application().run()
  File "/usr/lib/linuxmint/mintSources/mintSources.py", line 608, in __init__
    self._main_window.set_icon_from_file("/usr/share/icons/hicolor/scalable/apps/software-sources.svg")
glib.GError: Failed to open file "/usr/share/icons/hicolor/scalable/apps/software-sources.svg": No such file or directory
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 138, in apport_excepthook
    os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
OSError: [Errno 2] No such file or directory: "/var/crash/_usr_lib_linuxmint_mintSources_mintSources.py.0.crash"
Original exception was:
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1459, in <module>
    Application().run()
  File "/usr/lib/linuxmint/mintSources/mintSources.py", line 608, in __init__
    self._main_window.set_icon_from_file("/usr/share/icons/hicolor/scalable/apps/software-sources.svg")
glib.GError: Failed to open file "/usr/share/icons/hicolor/scalable/apps/software-sources.svg": No such file or directory

I lost /usr/share/icons/hicolor/ directory and had to reinstall minsources to get /usr/share/icons/hicolor/scalable/apps/software-sources.svg again but don't you think it's odd no to start application with missing icon? Okay, it's a a part of interface but why not to drop some notification like "Hey, reinstall me I'm broken!"?

Distributor ID: LinuxMint
Description:    Linux Mint 17.3 Rosa
Release:        17.3
Codename:       rosa
pkg -l | grep mintsources
ii  mintsources                                 1.5.2                                                  all          Software Sources configuration tool

manpage

It's confusing that "man add-apt-repository" describes ubuntu's script
(software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz)
while running add-apt-repository executes this script from /usr/local.

Recent changes (#9, #12) make this script much more compatible so the man page won't be a big lie; but IMHO even if 100% compatible it'd good to just copy the manpage โ€” with a note that the /usr/local version is Mint's replacement shadowing Ubuntu's one in /usr.

[See https://bugs.launchpad.net/linuxmint/+bug/1180061 for example of confusion it creates; I stared at /usr/bin/add-apt-repository vs the traceback I got from mintSources.py. OK, so Mint customized something, but how does control pass to mintSources.py? Then I double checked with the manpage => the flags I remember from ubuntu should be supported. But mintSources.py seems to self-contained and clearly doesn't support --yes. Hmm, strange. Only then did I try "which -a" and realized there are 2 unrelated scripts.]

Unable to enable additional repos that have the same name

I have two entries in the additional repos tab for the opera browser and i'm unable to enable them through mint sources, as they get disabled once i close the dialog. I also have two entries for google, but it doesnt have the same problem.

screenshot-software sources

Purge residual configuration doesn't warn you

Purge residual configuration doesn't warn you what it is going to do (and I still don't know what does it do (maybe purgeus config files of packages, which were installed before?)) and doesn't ask you "Are you sure you want to do this: ..."

[Feature Request] Add PPA Purge To Mintsource

Could you add ppa-purge to mintsource. Or could you fix ppa-purge package for Linux Mint 17.x.

/usr/sbin/ppa-purge

You could fix following line from

[ -z "$DIST" ] && DIST=$(lsb_release -c -s)

to

[ -z "$DIST" ] && DIST="trusty"

or

[ -z "$DIST" ] && DIST=$(lsb_release -u -c -s)

Auto paste ppa clipboard when opening 'Add a new PPA' dialog

When i click the 'Add a new PPA' button in software sources, it always displays 'ppa:username/ppa', but it would be great if it checked the clipboard contents to see if the user already has it in clipboard and paste it in, so the user only has to click 'OK'.

[18.1] Running mintsources results in "KeyError: 'general'"

After updating to 18.1 sources in mintupdate no longer work.
Running it from the terminal.

$ mintsources
    Application().run()
  File "/usr/lib/linuxmint/mintSources/mintSources.py", line 716, in __init__
    if self.config["general"]["use_ppas"] == "false":
KeyError: 'general'
$ cat /etc/apt/sources.list.d/official-package-repositories.list 
deb http://packages.linuxmint.com serena main upstream import backport romeo

deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner

Aborting the "Remove Foreign Packages" process gives a root shell

Running "Remove Foreign Packages" from Software Sources can produce a live root terminal if the user responds with "n" instead of "Y" at the confirmation prompt. While this is still behind one password, an unattended run of this program may cause a severe local security breach.

This is not an intermittent bug, and will always happen if the following steps are followed.

Steps to reproduce:

  1. Open "Software Sources".
  2. Navigate to "Maintenance".'
  3. Press "Remove foreign packages".
  4. Select at least one package.
  5. Press "Remove".
  6. At the apt prompt, answer "n".
  7. The command output window will now drop to an active root shell.

System information:
Linux Mint 17.3 "Rosa" Cinnamon Edition (64-bit)
mintsources v1.5.2
rootshell

Can't update the cache when mintSources is launched from Synaptic

Now that mintSources 1.2.6 includes /usr/bin/software-properties-gtk, it can be called from Synaptic as a repo editor. But there's an issue:

  1. Install mintSources 1.2.6 (I used Mint 16 for testing).
  2. Launch Synaptic as root.
  3. In the menu choose Settings -> Repositories.
  4. mintSources launches. Click on a button for mirror selection.
  5. Press Cancel. Now "Update the cache" button is active.
  6. Press "Update the cache" button.

What's expected:
Package index refresh.

What happens instead:
An error message window appears,

Another synaptic is running.
There is another synaptic running in interactive mode. Please close it first.

Note that you can't close Synaptic at this moment because it blocks itself from getting any input while the repo editor is running.

Add version#

Feature request: Add the software-sources app version number to the GUI and to a "--version" command-line option.

The similar enhancement to mintUpdate was deemed important enough to be in the What's New blog post for the distro version that added that enhancement :-)
https://www.linuxmint.com/rel_serena_xfce_whatsnew.php

Start testing mirrors according to geographic location

When clicking the button to search for a better source, the "select a mirror" window opens.

Testing all mirrors is long and the best one for me is only tested after long minutes.

Could mintSources find our my location (country) and start testing mirrors in this country/neighoring countries?
That way after only a few tests, I can know if mirrors in my country are better than the default.

This is related to this:
#4

PPAs can't be opened using the mintsources gui in Mint 18

Once loaded PPAs can't be opened using the sources gui. .xsession-errors seems to be indicating that the -u parameter (to lsb_release, presumably) is not being understood. Adding something manually from the ppa via apt works just fine.

error in mintsources.py when trying add-apt-repository

I'm running Qiana on my eeepc 1000H.
Today I tried to add a repository but "add-apt-repository" resulted the following:

File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1258, in
codename = config_parser.get("general", "base_codename")
File "/usr/lib/python2.7/ConfigParser.py", line 330, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'general

Software Sources no longer respond and repositories can't be viewed from within synaptic or Mint update.
Please advise.

EDIT: Is related to issue #36 and was cause by missing mintsystems. Please Ignore it.

Software Sources window does not maximise

hat the window does not maximise - has no maximise button - is an irritation, if I may say so. It get in the way of getting things done, sometimes.

image

The screenshot shows a non-standard theme. But the problem occurs with the standard themes too.

Package from PPA is not listed in installable package dialog

Goal

Install latest digikam-4.13.0 package from Philip Johnsson extra PPA

Philip Johnsson extra PPA trusty package

Config

$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description:    Linux Mint 17.2 Rafaela
Release:        17.2
Codename:       rafaela

Actions

I've added Philip Johnsson's extra PPA as follow:

sudo add-apt-repository ppa:philip5/extra

Issue

Yet after an apt-get update ; apt-get upgrade I'm still with 4.0.0.

Then I checked the Software Source to see what package are available from the PPA and can't see the digikam one (see fig. 1)

ppa_039

What's the matter here?

Ability to edit the ppa name

Many times, i get a particular PPA to get one particular package from it, but its name isnt something i could look back later on and know what was the reason i had it enabled. So it would be nice if it was possible to have some editable text that could be included next to the PPA name.

Examples:
adilson/experimental (choqok)
mc3man/trusty-media (ffmpeg)

easier access to manage repo list

I had added 10 PPAs today and then had to delete most of them and felt the experience could have be made easier. So here are some of my suggestions.

  1. Mouse Multi-Select - It would have been nice to be able to multi-select with the shift key all the entries i wanted to delete before clicking the 'Remove permanently' button.

  2. Exclude Addition of Sources - With each PPA i added, two entries were added and i wouldnt be using the sources entries, so it would be nice to have an option to exclude its addition, as this makes it easier to navigate and manage a long PPA list. Suggestion: have a checkbox in the dialog that appears with the PPA information text.

  3. Keyboard Shortcuts - I can navigate up and down through the list with the keyboard, but there arent any means of me adding, editing and deleting an entry without using the mouse. Suggestion: It would be nice to be able to click the delete key to delete an entry.

  4. Disable 'Update the cache' button - When mintsources is launched through synaptic, pressing this button results in an error, so why not disable it from the beginning.

[Feature Request] PPA Search in Software Sources

In Software Sources, currently you can add / edit / delete PPA's. Mint Team made it trivial to add PPA's and even fix some of PPA issues even for new users. This is much essential as not all application packages are hosted in Software Manager and many users complain about applications missing / older application version.

Am thinking if it is possible for the Mint team (along with community support)to maintain a list of popular PPA's and have a simple search feature (package name / description based)for the applications /software.

While this may seem to be a Herculean task to track the changes in PPA's and check if they're active or not but with strong support from Community and with a rating system and user feedback for PPA's, this can be built as a repository gradually over a period of time.

Of course, the usual caveat must be in place that Mint team is not responsible for applications not working or other issues. ๐Ÿ˜‰

Mirror Search Warning is Not Dismissable

The warning that tells people to scan for faster mirrors is not dismissable. If you click the OK button it just takes you to the scan but oddly enough the linuxmint.com mirror is the fastest for me as the main mirror but leaving it there is not an option because the warning doesn't have the ability to be dismissed.

I chose a different mirror just so the warning would go away.

Double-click on a candidate mirror should be same as clicking Apply

In the Software Sources app, the default first screen ("Official repositories") has buttons in the middle, showing Main and Base repos. Clicking one of these opens a window titled "Select a mirror," which mostly contains a listview. The "Select a mirror" window has an Apply button at the bottom.

Feature request: Double-clicking one of the "Select a mirror" list entries should be the same as single-clicking that entry & then clicking Apply. Currently, the double-click is only equivalent to a single-click.

LMDE 2 Betsy. "mintsources" APT package version 1.6.3.

crash systematically while looking for ubuntu mirrors

crash systematically while looking for ubuntu mirrors speed
Please see following trace
*** longjmp causes uninitialized stack frame ***: /usr/bin/python terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f05643665cc]
/lib/x86_64-linux-gnu/libc.so.6(+0x1114dd)[0x7f05643664dd]
/lib/x86_64-linux-gnu/libc.so.6(__longjmp_chk+0x33)[0x7f0564366443]
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4(+0x9255)[0x7f0559575255]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfbd0)[0x7f0564f4fbd0]
/lib/x86_64-linux-gnu/libc.so.6(__poll+0x2d)[0x7f05643423cd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x491dc)[0x7f05638b91dc]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x6a)[0x7f05638b96ba]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_dialog_run+0x172)[0x7f056218fd82]
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/_gtk.so(+0x179768)[0x7f0562886768]
/usr/bin/python(PyEval_EvalFrameEx+0x110f)[0x47c7af]
/usr/bin/python(PyEval_EvalFrameEx+0xcb7)[0x47c357]
/usr/bin/python(PyEval_EvalCodeEx+0x19a)[0x4e09aa]
/usr/bin/python[0x4e140a]
/usr/bin/python[0x4cabfe]
/usr/bin/python(PyEval_CallObjectWithKeywords+0x7d)[0x49f82d]
/usr/lib/python2.7/dist-packages/gobject/_gobject.so(+0x19101)[0x7f056301e101]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x190)[0x7f0562dc6620]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21f00)[0x7f0562dd7f00]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xe81)[0x7f0562ddfd11]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f0562ddff92]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x8eab5)[0x7f0562162ab5]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x108e7)[0x7f0562dc68e7]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x44f)[0x7f0562ddf2df]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f0562ddff92]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x8d8b9)[0x7f05621618b9]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x136929)[0x7f056220a929]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x190)[0x7f0562dc6620]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21af8)[0x7f0562dd7af8]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xb06)[0x7f0562ddf996]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f0562ddff92]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x24fd9e)[0x7f0562323d9e]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc4)[0x7f0562208ca4]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_do_event+0x28b)[0x7f056220900b]
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x5bccc)[0x7f0561e7dccc]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x7f05638b8f05]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x49248)[0x7f05638b9248]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x6a)[0x7f05638b96ba]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f0562207fe7]
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/_gtk.so(+0x1a7334)[0x7f05628b4334]
/usr/bin/python(PyEval_EvalFrameEx+0x110f)[0x47c7af]
/usr/bin/python(PyEval_EvalFrameEx+0xcb7)[0x47c357]
/usr/bin/python(PyEval_EvalCodeEx+0x19a)[0x4e09aa]
/usr/bin/python(PyEval_EvalCode+0x32)[0x540412]
/usr/bin/python[0x54088b]
/usr/bin/python(PyRun_FileExFlags+0x92)[0x4658f6]
/usr/bin/python(PyRun_SimpleFileExFlags+0x2d8)[0x465e26]
/usr/bin/python(Py_Main+0xb4e)[0x466b9b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f0564276ea5]
/usr/bin/python[0x4e1635]
======= Memory map: ========
00400000-00639000 r-xp 00000000 08:02 6291468 /usr/bin/python2.7
00838000-00839000 r--p 00238000 08:02 6291468 /usr/bin/python2.7
00839000-008ae000 rw-p 00239000 08:02 6291468 /usr/bin/python2.7
008ae000-008c0000 rw-p 00000000 00:00 0
017ed000-025ff000 rw-p 00000000 00:00 0 [heap]
7f0538000000-7f0538024000 rw-p 00000000 00:00 0
7f0538024000-7f053c000000 ---p 00000000 00:00 0
7f0540000000-7f054003e000 rw-p 00000000 00:00 0
7f054003e000-7f0544000000 ---p 00000000 00:00 0
7f0545e8b000-7f0545e8c000 ---p 00000000 00:00 0
7f0545e8c000-7f054668c000 rw-p 00000000 00:00 0 [stack:5174]
7f054668c000-7f054668e000 r-xp 00000000 08:02 3801124 /lib/libnss_mdns4.so.2
7f054668e000-7f054688e000 ---p 00002000 08:02 3801124 /lib/libnss_mdns4.so.2
7f054688e000-7f054688f000 r--p 00002000 08:02 3801124 /lib/libnss_mdns4.so.2
7f054688f000-7f0546890000 rw-p 00003000 08:02 3801124 /lib/libnss_mdns4.so.2
7f0546890000-7f0546896000 r-xp 00000000 08:02 3804644 /lib/x86_64-linux-gnu/libnss_dns-2.17.so
7f0546896000-7f0546a95000 ---p 00006000 08:02 3804644 /lib/x86_64-linux-gnu/libnss_dns-2.17.so
7f0546a95000-7f0546a96000 r--p 00005000 08:02 3804644 /lib/x86_64-linux-gnu/libnss_dns-2.17.so
7f0546a96000-7f0546a97000 rw-p 00006000 08:02 3804644 /lib/x86_64-linux-gnu/libnss_dns-2.17.so
7f0546a97000-7f0546a99000 r-xp 00000000 08:02 3801125 /lib/libnss_mdns4_minimal.so.2
7f0546a99000-7f0546c98000 ---p 00002000 08:02 3801125 /lib/libnss_mdns4_minimal.so.2
7f0546c98000-7f0546c99000 r--p 00001000 08:02 3801125 /lib/libnss_mdns4_minimal.so.2
7f0546c99000-7f0546c9a000 rw-p 00002000 08:02 3801125 /lib/libnss_mdns4_minimal.so.2
7f0546c9a000-7f0546ca6000 r-xp 00000000 08:02 3805037 /lib/x86_64-linux-gnu/libnss_files-2.17.so
7f0546ca6000-7f0546ea5000 ---p 0000c000 08:02 3805037 /lib/x86_64-linux-gnu/libnss_files-2.17.so
7f0546ea5000-7f0546ea6000 r--p 0000b000 08:02 3805037 /lib/x86_64-linux-gnu/libnss_files-2.17.so
7f0546ea6000-7f0546ea7000 rw-p 0000c000 08:02 3805037 /lib/x86_64-linux-gnu/libnss_files-2.17.so
7f0546ea7000-7f0546eb9000 r-xp 00000000 08:02 6291941 /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
7f0546eb9000-7f05470b8000 ---p 00012000 08:02 6291941 /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
7f05470b8000-7f05470ba000 r--p 00011000 08:02 6291941 /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
7f05470ba000-7f05470bb000 rw-p 00013000 08:02 6291941 /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
7f05470bb000-7f05470bc000 ---p 00000000 00:00 0
7f05470bc000-7f05478bc000 rw-p 00000000 00:00 0
7f05478bc000-7f05480bc000 rw-s 00000000 00:04 18874377 /SYSV00000000 (deleted)

DEFAULT_KEYSERVER should be configurable for Launchpad

Running on an internal network with a very weird transparent proxy, a default keyserver on port 80 fails with HKP because the proxy sees port 80 and expects HTTP traffic it understands (then fails). Running the same apt command on the normal HKP port, 11371, everything works (because the CONNECT proxy command is allowed and no attempts are made to interfere with it by the transparent proxy).

This is an edge use case, but it would be very helpful to gain an option to change the default keyserver port (or retry with the normal HKP port if the command fails initially).

Check existence of /generated/path/mintsources.conf

Say you replaced /etc/lsb-release with ubuntu's version from the package base-files, so lsb_release -sc returns ubuntu's codename.
Then apt-add-repository wants to access /usr/share/mintsources/zealouszackaloo/mintsources.conf which results in:

Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1263, in <module>
    codename = config_parser.get("general", "base_codename
  File "/usr/lib/python2.7/ConfigParser.py", line 330, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'general'

There should be at least a check if the file exists, first. And a more helpful error message, probably.

Crashes on Select Mirror if no internet connection

The Select Mirror dialog crashes the application if no internet connection is present and maybe also if many servers are unavailable.

Currently, we remove unavailable servers from the mirror list. This list is backed up by a GtkListStore and can become unsynchronized if changed from another thread. That's exactly what we do.
To mitigate this issue we should either stop removing such servers or make the whole application thread-safe which would require locks.

Error in add-apt-repository

Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 14, in
import pycurl
ImportError: /usr/lib/x86_64-linux-gnu/libgssapi.so.3: symbol krb5_ntlm_init_get_challange, version HEIMDAL_KRB5_2.0 not defined in file libkrb5.so.26 with link time reference

Open PPA feature only shows not-installed packages

It appears that the "Open PPA" button 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.

Things requiring attention

  • generic command line name
  • generic sentence with kdesu
  • provide own icon
  • make it possible to disable PPA tab (for Debian-based distros)

No way to enable ubuntu backports

The tick backports only provides backports for linux mint packages. But this doesn't enable backports from ubuntu repos.
I'm talking about these two repos:

deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse

Mirror selection - remember previous speeds

This is a feature request (gathered from the feedback on Mint 15 RC).

  • Since there's so many mirrors out there, the tool could remember the previous speeds it obtained instead of starting from scratch every time.
  • It could check mirrors it didn't previously check first, and then re-check those it checked before in an attempt to update their speed result.
  • It would need to show a visual indication to the user so that the user understands which results are up to date, and which are simply remembered.

backported-packages doesn't select ubuntu backports

Selecting "Backported Packages" results in this line in sources.list

deb http://mirror.internode.on.net/pub/linuxmint-packages/ petra main upstream import backport```

but leaves the ubuntu repo line as

deb http://ftp.iinet.net.au/pub/ubuntu/ saucy main restricted universe multiverse 

Which is probably not what the user wanted (I didn't). This option should be broken out as two options are base and Mint, or changed to add the backports repo for both.

Mirror selection - report overall progress

This is a feature request (gathered from the feedback on Mint 15 RC).

  • We could report the overall progress of the speed checks to the user (maybe at the top, with a progress bar (number of mirrors checked / numer of mirrors in total), an indication of the fastest speed so far... etc.

Solved dependency problem with mintsources

Hi,

I had a dependency resolving problem with mintsources, that conflicts with software-properties-gtk. On the other hand, packages that are installed together with mint-meta-core, need properties-gtk to be installed.

I solved it by adding the two lines to control:
Provides: software-properties-gtk, software-properties-kde
Replaces: software-properties-gtk, software-properties-kde

The changed files i in:
m23project@93253bc

Would be nice, if you could add it to the official packages :-)

Select mirrors (Mint 15 repos) shows incorrect countries and speeds

I've installed Linux Mint 15/Cinnamon on 2 different PCs and 1 laptop and I've noticed on all 3 that when selecting a Mint (repository) mirror in "Software Sources", "packages.linuxmint.com" is shown as located in the "USA" (flag). It was my understanding that "packages.linuxmint.com" was located Ireland?

Also, the indicated speeds seem to be incorrect as in "packages.linuxmint.com" shows the fastest (long green bar) but actual current package download speeds run between 130kb to 500kb/sec where "mirror.umd.edu/linuxmint/packages" (my usual mirror) is shown as a slow mirror (short red bar) yet is downloading packages at a rate of 2.0 to 3.0 Mb/sec. This is all on a 25MB/sec download speed, cable DSL. Strangly enough, selecting the Ubuntu repo mirrors seem to indicate country and speeds correctly.

Obviously I can't test every single Mint repo mirror shown in mintsources but the above result shows is consistent in all 3 computers. All 3 computers use the same cable modem. The two PCs (quad cores) are identical and run the 64-bit versions and the laptop is an older ThinkPad R61 (all Intel chipsets) which has the 32-bit version installed.

gksu displays wrong message when using su mode

When calling software sources and gksu is configured in su mode (gconf /apps/gksu/sudo-mode false), then "Please enter your password" is shown instead of "Please enter root's password".

Only the description is false as the "save password" dialog is present (which is only the case in su mode).

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.