maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   how do i apt-get the newer of the 2 updates? (https://talk.maemo.org/showthread.php?t=40644)

mas5acre 2010-01-15 04:49

how do i apt-get the newer of the 2 updates?
 
how do i apt-get the newer of the 2 updates? Can someone walk me thru xterminal?

b666m 2010-01-15 04:57

Re: how do i apt-get the newer of the 2 updates?
 
the safest way to do that upgrade is OTA (over the air). this only works when you haven't installed apps from testing/devel and have enough free space on your root partition.

the other way (which you are told to go when you haven't enough free space in app-manager) is connected to pc and using pc suite - for being more precise the nokia updater.

i would recommend you to NOT upgrade within the terminal, but if you want to:

you have to be root in terminal and then type:

Code:

apt-get dist-upgrade
BUT:
be careful with this one, link /var/cache/apt/archives to somewhere with enough space! OR YOU MAY BRICK YOUR DEVICE!

so this is the way to go:

Code:

apt-get update -o dir::cache=/home/user/MyDocs/.apt-archive-cache

apt-get dist-upgrade -o dir::cache=/home/user/MyDocs/.apt-archive-cache

IF YOU DON'T KNOW WHAT YOU'RE DOING EXACTLY - USE UPGRADE VIA APP-MANAGER OR PC SUITE!

DON'T FORGET TO MAKE A BACKUP BEFORE UPGRADING!

Matan 2010-01-15 06:52

Re: how do i apt-get the newer of the 2 updates?
 
Please note - I upgraded to 51.1 with apt-get dist-upgrade. Even though I had 55MB free on the rootfs, the upgrade stopped in the middle due to lack of space and I needed to clear 20MB more, so it best not to try it unless you have more than 70MB free.

In addition, after apt-get dist-upgrade finished and I rebooted, application manager still offered me the upgrade to 51.1, which included 5MB of packages. Only after this, did my upgrade finish. I did not test if this last upgrade was also available with apt-get.

ossipena 2010-01-15 06:57

Re: how do i apt-get the newer of the 2 updates?
 
Quote:

Originally Posted by Matan (Post 473316)
Please note - I upgraded to 51.1 with apt-get dist-upgrade. Even though I had 55MB free on the rootfs, the upgrade stopped in the middle due to lack of space and I needed to clear 20MB more, so it best not to try it unless you have more than 70MB free.

In addition, after apt-get dist-upgrade finished and I rebooted, application manager still offered me the upgrade to 51.1, which included 5MB of packages. Only after this, did my upgrade finish. I did not test if this last upgrade was also available with apt-get.

you can reboot after disk space has ended and about 20-30mb of disk space appears. after that dpkg --reconfigure (or whatever it was, apt-get was kind enough to tell the whole command) plus apt-get -f install did the trick.

Matan 2010-01-15 07:31

Re: how do i apt-get the newer of the 2 updates?
 
Quote:

Originally Posted by ossipena (Post 473325)
you can reboot after disk space has ended and about 20-30mb of disk space appears.

That assumes that the broken update left the system in a bootable state, which I did not want to assume.
Quote:

after that dpkg --reconfigure (or whatever it was, apt-get was kind enough to tell the whole command) plus apt-get -f install did the trick.
Yes apt-get is really nice in that it tells you exactly what to do when something goes wrong.


All times are GMT. The time now is 00:05.

vBulletin® Version 3.8.8