[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Latest KDE packages update removed KDE



Quoting An Liu (2019-10-23 10:42:49)
> On Wed, Oct 23, 2019 at 10:36 Jiri Kanicky <j@ganomi.com> wrote:
> 
> > I understand how it works. I am just warning others to wait before 
> > they upgrade unless they want to have it broken.

Please accept my apology for wrongly reading a complaint into your post 
that indeed was not there.

Also, I am sorry for the annoyance that incident may have caused you.


> I also know the risks of broken dependencies
> Is there any way to manually fix?
> 
> sometimes it is hard to prevent myself from typing upgrade :)

You can use aptitude (instead of apt or apt-get) and add a file 
"/etc/apt/apt.conf.d/99avoid-removals-local" with this content:

// avoid removals (see bug#762932, #798240)
Aptitude::ProblemResolver::Remove-Level "maximum";


Aptitude has 3 major features compared to apt and apt-get:

 a) fullscreen interface (simply invoke with no arguments)
 b) advanced search
 c) advanced conflict resolution, computing multiple options

With above config option in place, the conflict resolution is adjusted 
so that the default proposal is to _not_ upgrade conflicting packages, 
and subsequent proposals favor downgrading over removal.

Reason this option is not enabled by default is, as I understand it, 
that a) downgrades are officially unsupported (in reality they commonly 
work, but beware of this and make sure to mention you did a downgrade if 
reporting bugs!), and b) it is arguably illogical to meet a request for 
updating with a default solution of doing anything _but_ update.

 - Jonas

P.S.

One backdraw of aptitude is that it is slower to start than apt or 
apt-get.

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: