maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Apt Pinning (was: Should I run this Upgrade?) (https://talk.maemo.org/showthread.php?t=100940)

nonsuch 2020-01-22 19:46

Apt Pinning (was: Should I run this Upgrade?)
 
Hello all,
I have these repositories in /etc/apt/sources.list.d/hildon-application-manager.list
Code:

deb http://repository.maemo.org/community-testing/ fremantle free non-free
deb http://repository.maemo.org/extras/ fremantle-1.3 free non-free
deb http://repository.maemo.org/community/ fremantle free non-free
deb http://maemo.merlin1991.at/cssu/community-devel/ fremantle free non-free
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
deb http://repository.maemo.org/extras-testing fremantle free non-free
deb http://maemo.muarf.org/apt-mirror/mirror/downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb http://maemo.muarf.org/apt-mirror/mirror/downloads.maemo.nokia.com/fremantle/ssu/mr0 ./

(/etc/apt/sources.list is empty)

None of these are disabled, but according to this I added to /etc/apt/preferences:
Code:

Package: *
Pin: release l=Extras
Pin-Priority: 1001

Is it safe or even recommendable to run an apt-get upgrade? In simulation, I get this output:
Code:

# apt-get -s upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages have been kept back:
  libgcc1 libsdl-mixer1.2 libstdc++6 omap3430-dsp-libraries-ti rtcom-accounts-plugin-jabber
The following packages will be upgraded:
  bluez clockd connui-conndlgs-wlan connui-statusbar-cellular connui-statusbar-internet getbootstate gstreamer0.10-dsp hal hildon-plugins-notify-sv hildon-status-bar-usb icd2-network-wlan-config kernel
  kernel-flasher kernel-modules libbluetooth3 libbmeipc0 libcal1 libcodelockui1 libdevlock-bin libdevlock1 libhal-storage1 libhal1 libhildon-im-vkbrenderer3 libhildon1 libicd-network-wlan libmafw-shared0
  libmafw0 libncurses5 libncursesw5 libplayback-1-0 libqt4-meegographicssystem libqt4-meegographicssystemhelper libtime0 libwildmidi0 maemo-launcher mafw-dbus-daemon mafw-gst-renderer mafw-iradio-source
  mafw-playlist-daemon mafw-tracker-source mafw-upnp-source module-init-tools omap3430-dsp-baseimage-ti osso-applet-devicelock osso-bookmark-engine osso-systemui-modechange qt-components-hildon
  rtcom-accounts-plugin-gtalk wl1251-cal
The following packages will be DOWNGRADED:
  audiobookreader d-theme-futureal n900-fmrx-enabler netbase
49 upgraded, 0 newly installed, 4 downgraded, 0 to remove and 11 not upgraded.
Inst libhal1 [0.5.12~git20090219-0maemo9+0m5] (0.5.12~git20090219-0maemo10 community-devel)
Inst libhal-storage1 [0.5.12~git20090219-0maemo9+0m5] (0.5.12~git20090219-0maemo10 community-devel)
Inst hal [0.5.12~git20090219-0maemo9+0m5] (0.5.12~git20090219-0maemo10 community-devel)
Inst kernel [2.6.28-20103103+0m5] (2.6.28-20103103+0m5+cssu1.2 community-devel) [kernel-flasher on kernel] [kernel-flasher ]
Conf kernel (2.6.28-20103103+0m5+cssu1.2 community-devel) [kernel-flasher ]
Inst kernel-flasher [2.6.28-20103103+0m5] (2.6.28-20103103+0m5+cssu1.2 community-devel)
Inst module-init-tools [3.4-1maemo5+0m5] (3.16-1+0cssu2 community-devel)
Inst netbase [1:4.24.osso9] (4.34 Extras:2.0/fremantle-1.3, Extras-devel:2.0/fremantle, Extras-testing:2.0/fremantle)
Inst libcal1 [0.2.5.m5] (0.3-1 community-devel)
Inst getbootstate [1.0.39+0m5] (2.4 community-devel)
Inst libncurses5 [5.7+20081213-1.maemo1+0m5] (5.7+20081213-1.maemo1+0m5 community-devel)
Inst libncursesw5 [5.7+20081213-1.maemo1+0m5] (5.7+20081213-1.maemo1+0m5 community-devel)
Inst bluez [4.60-0maemo1.6+0m5] (4.99-2maemo1+0cssu1 community-devel)
Inst clockd [0.0.41+0m5] (0.0.42 community-devel)
Inst libhildon1 [2.2.25-1] (2.2.26-1 community-devel)
Inst connui-conndlgs-wlan [2.45+0m5] (2.46+0cssu1 community-devel)
Inst connui-statusbar-cellular [2.118+0m5] (2.120+0m5 community-devel)
Inst connui-statusbar-internet [2.71+0m5] (2.74+0m5 community-devel)
Inst d-theme-futureal [1.0.0.1] (1.0.0.0 Extras:2.0/fremantle-1.3)
Inst gstreamer0.10-dsp [0.7.0-0maemo2.4+0m5] (0.10.1-2+0cssu1 community-devel)
Inst libplayback-1-0 [0.5-23+0m5] (0.5-25+0m5 community-devel)
Inst hildon-plugins-notify-sv [0.51+0m5] (0.51+0m6 community-devel)
Inst hildon-status-bar-usb [2.1.99-25-12+0m5] (3.0 community-devel)
Inst icd2-network-wlan-config [0.80+fremantle1+0m5] (0.81 community-devel)
Inst omap3430-dsp-baseimage-ti [0.201007-1+0m5] (0.i3.6-15+0m6 community-devel)
Inst kernel-modules [2.6.28-20103103+0m5] (2.6.28-20103103+0m5+cssu1.2 community-devel)
Inst libbluetooth3 [4.60-0maemo1.6+0m5] (4.99-2maemo1+0cssu1 community-devel)
Inst libhildon-im-vkbrenderer3 [3.3.20-1+0m5] (3.3.21-1+0m5 community-devel)
Inst libicd-network-wlan [0.80+fremantle1+0m5] (0.81 community-devel)
Inst libmafw0 [0.2.2010.06-1+0m5] (0.2.2010.06-2 community-devel)
Inst libmafw-shared0 [0.3.2010.36-1+0m5] (0.3.2010.36-2 community-devel)
Inst libqt4-meegographicssystemhelper [1:4.7.4~git20110505+cssu12] (1:4.7.4~git20110505+cssu15 community-devel)
Inst libqt4-meegographicssystem [1:4.7.4~git20110505+cssu12] (1:4.7.4~git20110505+cssu15 community-devel)
Inst libtime0 [0.0.41+0m5] (0.0.42 community-devel)
Inst libwildmidi0 [0.2.2-2maemo1] (0.2.2-2maemo1 community-testing:2.0/fremantle)
Inst maemo-launcher [0.35-7+0m5] (0.35-8+0m5 community-devel)
Inst mafw-dbus-daemon [0.3.2010.36-1+0m5] (0.3.2010.36-2 community-devel)
Inst mafw-gst-renderer [0.3.2010.24-1+0m5] (0.3.2010.24-2 community-devel)
Inst mafw-iradio-source [0.2.2010.06-1+0m5] (0.2.2010.06-2 community-devel)
Inst mafw-playlist-daemon [0.3.2010.36-1+0m5] (0.3.2010.36-2 community-devel)
Inst mafw-tracker-source [0.2.2010.06-1+0m5] (0.2.2010.06-2 community-devel)
Inst mafw-upnp-source [0.2.2010.07-2+0m5] (0.2.2010.07-3 community-devel)
Inst n900-fmrx-enabler [1.5-4+0m5] (1.5-1 Extras:2.0/fremantle-1.3, Extras-devel:2.0/fremantle, Extras-testing:2.0/fremantle)
Inst libdevlock1 [1.0.9+0m5] (1.0.9.1+0m5 community-devel)
Inst libdevlock-bin [1.0.9+0m5] (1.0.9.1+0m5 community-devel)
Inst libcodelockui1 [1:1.6.17+0m5] (1:1.6.19 community-devel)
Inst osso-applet-devicelock [1.4.10+0m5] (1.5.0 community-devel)
Inst osso-bookmark-engine [2:1.2.9-3.1+0m5] (2:2.0.0+0m5 community-devel)
Inst osso-systemui-modechange [0.3.5+0m5] (0.3.6 community-devel)
Inst qt-components-hildon [0.26.0] (0.26.2 Extras-devel:2.0/fremantle)
Inst rtcom-accounts-plugin-gtalk [4.140-1+0m5] (4.140-2 community-devel)
Inst audiobookreader [0.1-6] (0.1-5 Extras:2.0/fremantle-1.3, Extras-devel:2.0/fremantle, Extras-testing:2.0/fremantle)
Inst libbmeipc0 [0.8.55+0m5] (1.0-3 community-devel)
Inst wl1251-cal [0.18+0m5] (1.0-3 community-devel)
Conf libhal1 (0.5.12~git20090219-0maemo10 community-devel)
Conf libhal-storage1 (0.5.12~git20090219-0maemo10 community-devel)
Conf hal (0.5.12~git20090219-0maemo10 community-devel)
Conf kernel-flasher (2.6.28-20103103+0m5+cssu1.2 community-devel)
Conf module-init-tools (3.16-1+0cssu2 community-devel)
Conf netbase (4.34 Extras:2.0/fremantle-1.3, Extras-devel:2.0/fremantle, Extras-testing:2.0/fremantle)
Conf libcal1 (0.3-1 community-devel)
Conf getbootstate (2.4 community-devel)
Conf libncurses5 (5.7+20081213-1.maemo1+0m5 community-devel)
Conf libncursesw5 (5.7+20081213-1.maemo1+0m5 community-devel)
Conf bluez (4.99-2maemo1+0cssu1 community-devel)
Conf clockd (0.0.42 community-devel)
Conf libhildon1 (2.2.26-1 community-devel)
Conf connui-conndlgs-wlan (2.46+0cssu1 community-devel)
Conf connui-statusbar-cellular (2.120+0m5 community-devel)
Conf connui-statusbar-internet (2.74+0m5 community-devel)
Conf d-theme-futureal (1.0.0.0 Extras:2.0/fremantle-1.3)
Conf gstreamer0.10-dsp (0.10.1-2+0cssu1 community-devel)
Conf libplayback-1-0 (0.5-25+0m5 community-devel)
Conf hildon-plugins-notify-sv (0.51+0m6 community-devel)
Conf hildon-status-bar-usb (3.0 community-devel)
Conf icd2-network-wlan-config (0.81 community-devel)
Conf kernel-modules (2.6.28-20103103+0m5+cssu1.2 community-devel)
Conf omap3430-dsp-baseimage-ti (0.i3.6-15+0m6 community-devel)
Conf libbluetooth3 (4.99-2maemo1+0cssu1 community-devel)
Conf libhildon-im-vkbrenderer3 (3.3.21-1+0m5 community-devel)
Conf libicd-network-wlan (0.81 community-devel)
Conf libmafw0 (0.2.2010.06-2 community-devel)
Conf libmafw-shared0 (0.3.2010.36-2 community-devel)
Conf libqt4-meegographicssystem (1:4.7.4~git20110505+cssu15 community-devel)
Conf libqt4-meegographicssystemhelper (1:4.7.4~git20110505+cssu15 community-devel)
Conf libtime0 (0.0.42 community-devel)
Conf libwildmidi0 (0.2.2-2maemo1 community-testing:2.0/fremantle)
Conf maemo-launcher (0.35-8+0m5 community-devel)
Conf mafw-dbus-daemon (0.3.2010.36-2 community-devel)
Conf mafw-gst-renderer (0.3.2010.24-2 community-devel)
Conf mafw-iradio-source (0.2.2010.06-2 community-devel)
Conf mafw-playlist-daemon (0.3.2010.36-2 community-devel)
Conf mafw-tracker-source (0.2.2010.06-2 community-devel)
Conf mafw-upnp-source (0.2.2010.07-3 community-devel)
Conf n900-fmrx-enabler (1.5-1 Extras:2.0/fremantle-1.3, Extras-devel:2.0/fremantle, Extras-testing:2.0/fremantle)
Conf libdevlock1 (1.0.9.1+0m5 community-devel)
Conf libdevlock-bin (1.0.9.1+0m5 community-devel)
Conf libcodelockui1 (1:1.6.19 community-devel)
Conf osso-applet-devicelock (1.5.0 community-devel)
Conf osso-bookmark-engine (2:2.0.0+0m5 community-devel)
Conf osso-systemui-modechange (0.3.6 community-devel)
Conf qt-components-hildon (0.26.2 Extras-devel:2.0/fremantle)
Conf rtcom-accounts-plugin-gtalk (4.140-2 community-devel)
Conf audiobookreader (0.1-5 Extras:2.0/fremantle-1.3, Extras-devel:2.0/fremantle, Extras-testing:2.0/fremantle)
Conf libbmeipc0 (1.0-3 community-devel)
Conf wl1251-cal (1.0-3 community-devel)


peterleinchen 2020-01-23 00:13

Re: Should I run this Upgrade?
 
Only if you are adventure seeking to hell...
https://talk.maemo.org/showthread.ph...eat+your+brain

Maemish 2020-01-23 05:07

Re: Should I run this Upgrade?
 
Check also my thread "Devel upgrades". At least you have to mark as not included clockd and some other packages. They will break your battery status as well as your clock. But uninstalling them and then installing back the versions mentioned in the thread peterleichen linked make it workable again.

It is just that cutetube2 won't work after that (you have to downgrade some qt stuff) and there may be some other things. Maybe a bit unstable sometimes (reboots may accur) but I made the upgrade couple of times and lived with device (both of us, device and I). Just read the thread first.

nonsuch 2020-01-23 07:03

Re: Should I run this Upgrade?
 
Quote:

Originally Posted by nonsuch (Post 1564659)
None of these are disabled, but according to this I added to /etc/apt/preferences:
Code:

Package: *
Pin: release l=Extras
Pin-Priority: 1001


I thought this would prevent potential disaster.
Quoting from that wiki page:
Quote:

To keep from unintentionally upgrading to an extras-testing or extras-devel software version, it is possible to tell apt to always prefer stable packages over these other repositories via apt-pinning.
But - looking at that sentence, and the apt-get upgrade output, I see that this only applies to extras-devel and not community-devel.
Would it be possible to expand the apt pinning to community/community-devel repos? I'm not sure about the syntax.

Is apt pinning even recommendable in a special situation like this?

Let's say I want to install a package from extras-devel or cssu-devel, and it wants to pull in dependencies - shouldn't those also be from extras-devel or cssu-devel?
I just tried with claws-mail from extras-devel, and with the apt pinning as above it installed all dependencies from the stable repos.

justmemory 2020-01-23 07:08

Re: Should I run this Upgrade?
 
Just... Do not do that... :) :)
+1 for peterleinchen

EDIT:// I recommend upgrading your apps one by one. Extras-devel could (should) be fine but maybe worth to see the output (apt-get -u upgrade) before jumping into the upgrade.

nonsuch 2020-01-23 07:13

Re: Should I run this Upgrade?
 
@justmemory:
I made another post shortly before you posted.

justmemory 2020-01-23 07:18

Re: Should I run this Upgrade?
 
Quote:

Originally Posted by nonsuch (Post 1564672)
@justmemory:
I made another post shortly before you posted.

Yes, I saw that. That is why I edited my post :)

peterleinchen 2020-01-23 07:54

Re: Should I run this Upgrade?
 
Furthermore (not an apt specialist and N900-retired):
this apt preference is related to label (-l) Extras and does not restrict Community repositories.
And also you would downgrade some packages installed from Extras-testing / -devel.

So maybe just remove (hash out) community-devel from repos.list?

There may be possibilities to use origin or archive option from apt but why (above is simpler)?
https://wiki.ubuntuusers.de/Apt-Pinning/

Maemish 2020-01-23 09:10

Re: Should I run this Upgrade?
 
But making a devel upgrade gives you a thrill and hype. I had to do it twice even though I had to reflash after the first (and then after the second too). You get hooked to it.

endsormeans 2020-01-24 04:59

Re: Should I run this Upgrade?
 
Sure you can apt-get upgrade...

No one here will want to hear your screams afterwards though...

I suggest reading the wiki some...
And perhaps utilize the search option if in doubt about a topic..
Obviously you need to know your maemo basics .

Good thing you posted the query whether you should or shouldn't ...first
Saved you a lot of anguish.


All times are GMT. The time now is 08:21.

vBulletin® Version 3.8.8