I assume the 'hold' you refer to in README.Debian is the 'locking'
of a version in the interface's package menu. Well, I tried to lock
APT to 0.5.26 for testing purposes, then installed a package and
quit the programme. Subsequently, APT tried to update to APT 0.5.27
from the command line.
I noticed how you use ~/.synaptic/preference instead. I wonder why,
but in any case... could you either
- make synaptic use the global preferences file to incorporate it
with the rest of the system, or
- document that it uses pinning, but only internally. you might
just leave that out since the it just does not matter and is of
no interest.
Thanks for your bugreport. I'll probably go with the second suggestion. Synaptic used to use the global preferences file, but I removed this feature. The problem was, that people got confused that locking inside synaptic broke there apt-get upgrade/dist-upgrade. They filed bugs against apt about it. thanks, Michael
Hi, I'm not sure I understand Martin's suggestions, but if the situation is that synaptic doesn't use /var/lib/dpkg/status to save the locked packages because users were confused by apt-get being influenced by synaptic so synaptic got its own file storing locked packages, please consider this message as a wish to make optional using either the global APT file or a synaptic-specific one. I usually assume that a synaptic feature that has an effect equivalent to an APT feature will be "compatible" with the APT feature, but the current behavior of synaptic for locking breaks this expectation.
'Lock Version' uses private apt_preferences(5) (“pinning”). This does not interface with other apt and non-apt tools. Replace this feature with the universal dpkg holds.
Hi, I want to second Daniel Hartwig: synaptic should really use the universal dpkg holds. Anything else is quite confusing. I expect that 'apt-get (dist)upgrade' respects the holds I have set with synaptic. If anyone does not, there should at least be an option were one can choose which behavior is wanted. Best regards, Andreas
Thanks for your mail. Back when the locks got implemented in synaptic apt was not honoring dpkg hold iirc and there was also the worry about portability (i.e. using it on rpm systems). But I agree that nowdays it should use dpkg holds. I pushed a branch to lp:~mvo/synaptic/use-dpkg-hold that implements the hold via dpkg holds. Its not doing a transition from the old to the new style yet, that probably needs fixing but otherwise I think its ready. Cheers, Michael
Hi, Thanks for implementing this. Automatic transitioning from old to new style would be awesome, but if that's too difficult, a entry in NEWS could be added explaining this. Best regards, Andreas
Thanks for looking into this almost 10 year old bug :) Until this is fixed, we use a little trick to make apt-get recognize Synaptic's locks: http://forums.linuxmint.com/viewtopic.php?f=199&t=150313#p785785 Basically it makes Synaptic's pinning system-wide.
Hi Vlad, sudo ln -s /var/lib/synaptic/preferences /etc/apt/preferences.d/locked_in_synaptic Thanks for letting me know. I'm going to use this until synaptic fixes this bug. Best regards, Andreas
Laba diena, Noriu Jus informuoti apie šių metų pasikeitimą dėl atnaujintos visos Lietuvos įmonių bazės 2018 metų sausio vidurio. Visi juridiniai asmenys pateikti bazėje yra veikiantys, realiai vykdantys veiklą, turintys įdarbintų darbuotojų. Duomenys pagal Sodrą, Registrų centrą. Bazėje nurodoma ir apyvarta, darbuotojų atlyginimai, darbuotojų skaičius, transporto skaičius ir daug kitų duomenų, kuriuos matysite pavyzdyje. Duomenis galima filtruoti pagal veiklas, miestus ir kitus duomenis. Šią bazę verta turėti visoms įmonėms. Pateiksiu priežastis: 1) Kontaktai pateikti bazėje direktorių ir kitų atsakingų asmenų, didelė tikimybė Jums surasti naujų klientų, partnerių, tiekėjų, kai tiesiogiai bendrausite su direktoriais, komercijos vadovais. 2) Konkurentų analizavimas, tiekėjų atsirinkimas pagal Jums reikalingus kriterijus, galite atsifiltruoti pagal įmonės dydį, bazėje nurodoma kiek įmonės skolingos Sodrai. 3) Lengva, greita ir patogu dirbti su šia baze, elektroninius pašto adresus galite importuoti į elektroninių laiškų siuntimo programas ar sistemas iš kurių siunčiate elektroninius laiškus. Taip pat galite importuoti mobiliųjų telefonų numerius į SMS siuntimo programas. Išsirinkite iš "Veiklų sąrašo" veiklas kurių Jums reikia. ( Sąrašas prisegtas laiške excel faile ) Parašykite, kurias veiklas išsirinkote ir atsiųsime pavyzdį ir pasiūlymą su sąlygomis įmonių bazei įsigyti Pagarbiai, Tadas Giedraitis Tel. nr. +37067881041
I have reported the bug #890668 about unattended-upgrades package In it's recent version (0.99), this package upgrade all Debian packages (not only security packages) even if they are blocked on Synaptic. The maintainer of this package tells me to use : apt-mark hold <package name> to hold a package. I suggest to use this function on Synaptic
Greetings. I'm writing to you because I have a humanitarian request that I believe could be incredibly impactful. I'm reaching out about the recent devastating storm that tragically claimed many lives and affected numerous individuals in Libya, including one of my clients. I would like to discuss a proposal with you that could enable us to extend a helping hand to these victims. Looking forward to discussing this further with you. Warm regards, Mrs. Nathalie Herolds