Reply
Thread Tools
Posts: 2 | Thanked: 0 times | Joined on May 2014
#21
Obrigado por compartilhar
 
Posts: 1,038 | Thanked: 3,980 times | Joined on Nov 2010 @ USA
#22
Originally Posted by pichlo View Post
@wicket,
...
The edited script is also attached as .txt, you will need to rename it to .sh and chmod +x it once downloaded.
...
I couldn't get the script to work on my N9: got a bunch of permission problems. I suspect because I was running it from devel-su rather than sudo-ing. (I never got around to re-installing unrestricted system, etc after a reflash. Didn't have time to go back through the whole announce thread, and certainly didn't need the grief of asking a question.)

Anyway, still running the script from devel-su, it couldn't lock download subdirectory created in MyDocs due to permissions and I finally figured this was probably because it's vfat and I can't set appropriate permissions. So I downloaded everything to /home/user/debs (after remembering to create "debs" as "user" first and setting permissions to 777). Luckily I had a GB or so free in /home to do that. Then I moved debs to MyDocs where space was more abundant.

Hope this is of some help to anyone else in my situation or who might know a better way to do it. I sure appreciate the work done to make backing up these debs (almost) automatic. Thanks.
 

The Following User Says Thank You to robthebold For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#23
Originally Posted by pichlo View Post
Just finished. It took about 3.5 hours and the overall size is nearly 2GB because of all the mobile-maps* packages
what mobile-maps packages?
root:~$ apt-get install .*mobile.*maps.*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package .*mobile.*maps.*

im worried about drive/maps not working anymore on my n9. they will break, right?
__________________
~ teleshoes ~
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#24
Try apt-get install mobile-maps*
__________________
Русский военный корабль, иди нахуй!
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#25
@wicket,

Thank you for your idea and script. To improve the downloading time I've adapted the script so that apt-get is only called once, after collecting all package names in one single variable.

I'm now, in one go, downloading 1558 packages

The advantage of this is that apt-get doesn't have to keep reading the index and resolving dependencies and whatever it does.

Here's my version:
Code:
#!/bin/sh

apt-get update
mkdir -p /home/user/MyDocs/debs/archives/partial

PKGS=""

for pkg in $(dpkg -l | grep ^ii | cut -f3 -d' '); do
 apt-cache policy $pkg | grep -q nokia.com || continue
 echo "adding $pkg"
 PKGS="$PKGS $pkg"
done

apt-get --reinstall -y  -d -odir::cache=/home/user/MyDocs/debs \
  install $PKGS
 

The Following 7 Users Say Thank You to reinob For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#26
Originally Posted by pichlo View Post
Try apt-get install mobile-maps*
# apt-get install mobile-maps*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package mobile-maps*


apt-get uses POSIX regular expressions if the expression fails to glob any packages; my syntax would find more packges.
what is the source for these packages? {downloads.maemo.nokia.com/harmattan, right?}
__________________
~ teleshoes ~
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#27
Code:
Bianca:~# cat /etc/apt/sources.list
Bianca:~# cat /etc/apt/sources.list.d/hildon-application-manager.list
deb http://repository.maemo.org/community-testing/ fremantle free non-free
deb http://maemo.merlin1991.at/cssu/community-thumb/ fremantle free non-free
deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/203 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras-testing/ fremantle-1.3 free non-free
Bianca:~# apt-get install mobile-maps*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting mobile-maps-benelux for regex 'mobile-maps*'
Note, selecting mobile-maps for regex 'mobile-maps*'
Note, selecting mobile-maps-dach for regex 'mobile-maps*'
Note, selecting mobile-maps-10 for regex 'mobile-maps*'
Note, selecting mobile-maps-italy for regex 'mobile-maps*'
Note, selecting mobile-maps-uk for regex 'mobile-maps*'
Note, selecting mobile-maps-9 for regex 'mobile-maps*'
Note, selecting mobile-maps-france for regex 'mobile-maps*'
Note, selecting mobile-maps-iberia for regex 'mobile-maps*'
Note, selecting mobile-maps-nordics for regex 'mobile-maps*'
Note, selecting mobile-maps-easteur for regex 'mobile-maps*'
Note, selecting mobile-maps-westeur for regex 'mobile-maps*'
Note, selecting mobile-maps-europe for regex 'mobile-maps*'
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Bianca:~#
They are useless anyway without an activation code. Which you can no longer get. I don't have it either but I am still hoping
__________________
Русский военный корабль, иди нахуй!
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#28
Originally Posted by pichlo View Post
Just finished. It took about 3.5 hours and the overall size is nearly 2GB because of all the mobile-maps* packages. Without them it's only about 146 MB and a much shorter time. Mind you, your size is bound to vary a bit since my set is quite heavily modified.
.
In my case, it downloaded 1558 files having a total size of 244MB in 11 min
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#29
I have 146+1734 MB in 1530+9 files It took well over 3 hours. Slow network?

BTW, can anyone explain this?

Code:
Bianca:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  hildon-desktop-python-loader python-gst0.10 python-hildondesktop
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 330kB of archives.
After this operation, 8192B disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
Bianca:~# apt-cache policy  hildon-desktop-python-loader python-gst0.10 python-h
ildondesktop
hildon-desktop-python-loader:
  Installed: 0.1.0-1maemo3
  Candidate: 0.1.0-1maemo3
  Version table:
     0.1.0-1maemo3 0
        500 http://repository.maemo.org fremantle-1.3/free Packages
 *** 0.1.0-1maemo3 0
        100 /var/lib/dpkg/status
     0.1.0-1maemo2 0
        500 http://repository.maemo.org fremantle-1.3/free Packages
     0.1.0-1maemo1 0
        500 http://repository.maemo.org fremantle-1.3/free Packages
python-gst0.10:
  Installed: 0.10.14-2maemo5
  Candidate: 0.10.14-2maemo5
  Version table:
     0.10.14-2maemo5 0
        500 http://repository.maemo.org fremantle-1.3/free Packages
 *** 0.10.14-2maemo5 0
        100 /var/lib/dpkg/status
python-hildondesktop:
  Installed: 0.1.0-1maemo3
  Candidate: 0.1.0-1maemo3
  Version table:
     0.1.0-1maemo3 0
        500 http://repository.maemo.org fremantle-1.3/free Packages
 *** 0.1.0-1maemo3 0
        100 /var/lib/dpkg/status
     0.1.0-1maemo2 0
        500 http://repository.maemo.org fremantle-1.3/free Packages
     0.1.0-1maemo1 0
        500 http://repository.maemo.org fremantle-1.3/free Packages
Bianca:~#
It wants to upgrade three packages to the same version number. Why?
__________________
Русский военный корабль, иди нахуй!
 
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#30
whoops wrong phone, i though you meant for the n9.

i was sort of under the impression that everything for fremantle was in cssu and was safe and tucked away nicely.

plus, you freemantlers have an excellent modrana port, while the only viable option for n9 is drive.
__________________
~ teleshoes ~
 
Reply

Tags
archive.org

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:26.