The Following 3 Users Say Thank You to ivgalvez For This Useful Post: | ||
|
2012-03-20
, 09:09
|
|
Posts: 1,625 |
Thanked: 998 times |
Joined on Aug 2010
|
#762
|
~ # mkdir /mnt/k/maemo ~ # mkdir /mnt/k/maemo/extras ~ # mkdir /mnt/k/maemo/extras-devel ~ # mkdir /mnt/k/maemo/extras-testing
Ignore: *_i386.deb
. # du -sm /mnt/k/mameo/* 1064 /mnt/k/mameo/extras 14325 /mnt/k/mameo/extras-devel 1831 /mnt/k/mameo/extras-testing 1949 /mnt/k/mameo/extrax+testing
~ # cd /mnt/k/mameo/{REPO}/pool/freemantle /mnt/k/mameo/{REPO}/pool/freemantle # w3mir -t 0 -q -drr -r -q http://repository.maemo.org/{REPO}/pool/fremantle/
The Following 3 Users Say Thank You to misterc For This Useful Post: | ||
|
2012-03-20
, 09:28
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#763
|
the principal problem here (IIRC) is that NOKIA does not repeat not want to give up the Maemo.org domain name.
|
2012-03-20
, 09:38
|
|
Posts: 1,625 |
Thanked: 998 times |
Joined on Aug 2010
|
#764
|
You only need a shell one liner command to download all of the repository content. And no I'm not providing the command here because I know several people will try it (without a good reason to do so) and basically cause a DDOS against the repositories.
|
2012-03-20
, 09:39
|
Posts: 2,153 |
Thanked: 8,462 times |
Joined on May 2010
|
#765
|
[off-topic]
w3mir
the site is pretty well structured & any GNU/Linux familiar user should easily find her/his way around.
personally i use openSUSE on my workstations so i simply used YaST2 to get the package (& dependencies)
(as a matter of fact, it happened the other way around... was looking for rsync GUIs & stuff when i came across w3mir & decided it might be worse a shot )
i created a base directory & a sub dir for each repository
adding a .w3mirc file in each of those directories allows to pass w3mir a number of parameters / options;Code:~ # mkdir /mnt/k/maemo ~ # mkdir /mnt/k/maemo/extras ~ # mkdir /mnt/k/maemo/extras-devel ~ # mkdir /mnt/k/maemo/extras-testing
personally i started with
as i'm not interested in games, themes or the like i also Ignored any such dir with more then a few MBs and ended up with...Code:Ignore: *_i386.deb
by running following commandsCode:. # du -sm /mnt/k/mameo/* 1064 /mnt/k/mameo/extras 14325 /mnt/k/mameo/extras-devel 1831 /mnt/k/mameo/extras-testing 1949 /mnt/k/mameo/extrax+testing
i'll refer you to w3mir's MAN...pages for the gritty detailsCode:~ # cd /mnt/k/mameo/{REPO}/pool/freemantle /mnt/k/mameo/{REPO}/pool/freemantle # w3mir -t 0 -q -drr -r -q http://repository.maemo.org/{REPO}/pool/fremantle/
extrax+testing is extras & extras-testing merged;
simply run the w3mir command with extras respectively extras-testing URL in /mnt/k/mameo/extrax+testing/pool/freemantle to get that (if a packet is already there, obviously, it won't copy it again)
this saves 900MBs from ~2800MBs
guess could do the same with extras+testing+devel and save anywhere close to 2.5GBs; considering devel is 14GB...
all those numbers are with attached /w3mirc file (had to add .txt for TMO to upload it...)
as i said, not interested in games, themes & the like (no offence to the folks who spent their time developing 'em...) thus merely an inspiration
the file can be named w3mirc.ini on win32
playing around with the URL: and FETCH: parameters it should be possible to download / update extras+testing (or even extras+testing+devel) with one run...
once an initial download is done, the refresh goes thru like a breeze only getting the new / changed packages
hth
[/off-topic]
The Following 5 Users Say Thank You to pali For This Useful Post: | ||
|
2012-03-20
, 09:56
|
|
Posts: 1,625 |
Thanked: 998 times |
Joined on Aug 2010
|
#766
|
for mirroring apt repositories is better to use program apt-mirror. I created patch for apt-mirror to support also downloads.maemo.nokia.com see: http://talk.maemo.org/showpost.php?p...3&postcount=75
|
2012-03-20
, 11:20
|
Posts: 2,153 |
Thanked: 8,462 times |
Joined on May 2010
|
#767
|
as you may have noted i'm not a m$ fan
on the other hand, i haven't managed my foray into the .deb further then the N900, installing (but not using yet) a Trinity / Kubuntu VM and running your scripts on openSUSE
i don't like .deb (& related distros) but all this apt-* stuff only works on a .deb based machine
thus for all the others out there (mostly m$ user? but also Fedora, slackware, Gentoo...) not an option :|
|
2012-03-20
, 11:42
|
Posts: 1,523 |
Thanked: 1,997 times |
Joined on Jul 2011
@ not your mom's FOSS basement
|
#768
|
|
2012-03-20
, 12:13
|
Posts: 1,513 |
Thanked: 2,248 times |
Joined on Mar 2006
@ US
|
#769
|
just to make sure i get this right...
are you saying we should just sit with our hands under our buts 'til next year and in the worst case scenario end up without packages?
the alternative to every single N900 owner (who wants to be sure s/he can keep using her/his N900 after this year...) to use w3mir (and / or Pali's script), download the base images (i.e. RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin ) would be the collective server mirroring.
after an initial enthusiasm (on Pali's thread) the intention to create such mirrors was pretty much gone; one good reason is that a private person trying to make Maemo repositories available to the community is practically guaranteed to get disconnected by his provider / have his site blocked by the hosting company (unless s/he goes for a PRO site with according bandwidth...)
any ideas
& again, off-topic, sort'a
on the other hand, this IS community stuff we should really start to think about... (SD69's plan B?)
I don't even know if the content produced by the community (extras repos, forum content) could be copied. Of course every contributor can agree that his content can be copied, but some won't be reachable anymore others might not approve for whatever reason.
That's why I also included the question for another name in my last post. Maemo is obviously a trademark or some similar construct owned by Nokia and can therefore not be used by a platform that has no official relation with Nokia.
To keep things easy one could simply move the name to an independent "internet tablet talk" site or whatever, but the problem is that this would require a transfer of the information gathered here at maemo.org, where I, as a layman, see legal issues since some of the contents here are the property of Nokia and there is no license given that allows the redistribution of the contents itself.
|
2012-03-20
, 13:50
|
Posts: 1,397 |
Thanked: 2,126 times |
Joined on Nov 2009
@ Dublin, Ireland
|
#770
|
Tags |
council |
Thread Tools | |
|
We should, at least, try to move the OBS and package repositories to a somewhere else were we could easily do tasks such as promoting applications, upgrade the toolchain (compiler, binutils), manage allowed dependencies between repositories (allow applications to depend on CSSU), etc.