feature request: manually add apt mirror using adept

Bug #155035 reported by Alexey Alexandrov
20
Affects Status Importance Assigned to Milestone
adept (Ubuntu)
Invalid
Wishlist
Unassigned
software-properties (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: adept-installer

there is a static list of ubuntu mirrors which cannot be modified. so, if i have a local mirror (debian.nsu.ru - official debian mirror, which also hosts ubuntu repository) i can only manually add every available dist (main/updates/backports/security) as a third party source instead of just specifying the mirror and setting checkboxes like with the default mirror.

Changed in adept:
importance: Undecided → Wishlist
Revision history for this message
DavidWhyte (david-whyte) wrote :

Furthermore, I run approx on my Ubuntu server to cache packages which can then be used across my LAN machines. I have to manually add all the entries to the Third Party Software tab and untick all the checkboxes in the Ubuntu Software tab.

It would be better if I could manually enter the hostname and port to 'Download from:' drop-box.

I think this is all packaged in software-properties, so adding that in the affects list.

Revision history for this message
Simon MacMullen (simon-lshift) wrote :

This has hit me too. I've been working around it by manually adding our local mirror to /usr/share/python-apt/templates/Ubuntu.mirrors after install - but that's obviously very clunky.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

There is already some code inplace to allow adding custom mirrors to the list. I did not finish the code for Feisty and haven't found any time for Gutsy. So if anybody wants to work on this I would mentor the bug. You would only need some average Python skills.

Revision history for this message
DavidWhyte (david-whyte) wrote : Re: [Bug 155035] Re: feature request: manually add apt mirror using adept

I try doing that, but when I add the URL in that file, it still
doesn't show in the drop box where I expect it to in Software Sources.

Any ideas?

On Nov 9, 2007 9:46 PM, Simon MacMullen <email address hidden> wrote:
> This has hit me too. I've been working around it by manually adding our
> local mirror to /usr/share/python-apt/templates/Ubuntu.mirrors after
> install - but that's obviously very clunky.
>
>
> --
> feature request: manually add apt mirror using adept
> https://bugs.launchpad.net/bugs/155035
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
DavidWhyte (david-whyte) wrote :

I have some experience with python and would love to give it a stab.
I don't generally have much spare time but I am sure I can give try.
I just don't know the process for submitting the code and getting it
all approved and stuff. I guess that is where your mentoring would
come in?

Cheers,
Dave

On Nov 9, 2007 10:37 PM, Sebastian Heinlein <email address hidden> wrote:
> There is already some code inplace to allow adding custom mirrors to the
> list. I did not finish the code for Feisty and haven't found any time
> for Gutsy. So if anybody wants to work on this I would mentor the bug.
> You would only need some average Python skills.
>
> --
>
> feature request: manually add apt mirror using adept
> https://bugs.launchpad.net/bugs/155035
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Are you familiar with the source control system bazaar? You could create your own branch of software-properties, puplish it on Launchpad and I will then merge your changes into the main branch.

It could be that you also need to make some changes in python-apt.

Feel free to contact me on IRC or via jabber: sebi at glatzor dot com

Revision history for this message
Juan Carlos Torres (jucato) wrote :

This affects software-properties more than adept. Changing the status to In Progress based on Sebastian Heinlein's comments.

Thanks for your suggestion and for your efforts to make Kubuntu rock. :)

Changed in software-properties:
status: New → In Progress
Revision history for this message
Juan Carlos Torres (jucato) wrote :

Marking this bug as an Invalid adept bug, since it affects software-properties.

Thanks for your suggestion and for your efforts to make Kubuntu rock. :)

Changed in adept:
status: New → Invalid
Revision history for this message
Alexander Sashnov (sashnov) wrote :

+1
In my office local mirror: mirror.plesk.ru - how can I add it in "Applications sources" ?

Revision history for this message
Georges Dubus (madjar) wrote :

I've finished the fix, but they're not fully tested yet.

Georges Dubus (madjar)
Changed in software-properties:
assignee: nobody → madjar
Revision history for this message
Paul Abrahams (abrahams) wrote :

I've encountered a related problem (or maybe really the same problem in a different manifestation). The list of third-party software is supposed to be in /etc/apt/sources.list, but the list given there is not reflected in the Third-Party Software list that adept displays under Manage Repositories. I don't know how I got into that state, but at the moment my Third-Party Software list is empty even though sources.list has lots of stuff in it.

Revision history for this message
Georges Dubus (madjar) wrote :

Paul,

As what your describe is not the same thing as this bug, you should open a new bug report, and join you sources.list file.

Georges

Changed in software-properties (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Luke Faraone (lfaraone) wrote :

Georges,

Could you post the patch somewhere, so others can test it and possibly include it in upcoming releases?

Revision history for this message
Georges Dubus (madjar) wrote :

Luke,

I'm sorry, I removed the branch from launchpad a few weeks ago, because it was about one year old and didn't merge against the trunk. I can't find any copy of it.

I'm not sure I'm willing to work on this again.

Robert Roth (evfool)
Changed in software-properties (Ubuntu):
assignee: Georges Dubus (madjar) → nobody
status: In Progress → New
Changed in software-properties (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.