Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-18 Thread Andreas Henriksson
On Wed, Aug 16, 2017 at 12:56:07PM -0700, nob...@gmail.com wrote: > Hello, > > I just upgraded my system (Debian sid with main, contrib, non-free) to > the most recent unstable version, running "apt-get update" and > "apt-get dist-upgrade". [...] >From what I've been told you should basically

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread Adam Borowski
On Thu, Aug 17, 2017 at 10:28:57AM +1200, Ben Caradoc-Davies wrote: > The only other thing I did after the downgrade was to "apt-mark hold" the > packages affected by the transition that I did not want to remove; this is > my preferred tactic for surviving transitions. On machines running

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread nobrin
Hi All, As a reference, I undid the last apt command in one (long) line: apt-get install `cat /var/log/apt/history.log | awk '/Start-Date/{last=""} /^Start-Date:/,/End-Date/{last=last $0 "\n"} END {print last}' | sed 's/ \([^ ]*\) (\([^,)]\+\)\(, [^)]\+\)\?)/\1=\2/g' | awk -F,

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread nobrin
Thanks! I was thinking about implementing an "apt-get rollback-upgrade" command, which would also remove any package installed by the previous upgrade. To be reliable, though, it should also restore any configuration overwritten by the install. So maybe it is not feasible. I agree, maybe

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread Ben Caradoc-Davies
On 17/08/17 10:08, nob...@gmail.com wrote: Using snapshot repositories and "apt-get install packagename=version" sounds like a*great* strategy to implement a quick-and-dirty rollback function for apt-get. Do you think it would suffice to analyze history.log and run "apt-get install" with -

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread nobrin
Thanks you all for the help! I usually do pay attention, and I prefer sid even given the risks (it's great). I don't need the machine at the moment, so I'll just wait for the transition to complete. Using snapshot repositories and "apt-get install packagename=version" sounds like a *great*

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread Adam Borowski
On Wed, Aug 16, 2017 at 11:55:59PM +0200, Martin Steigerwald wrote: > Martin Steigerwald - 16.08.17, 23:43: > > There is no automatic way to undo the action. I suggest you install again > > by using metapackages like > > > > - plasma-desktop > > - kde-standard > > - kde-full > > > > depending

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread Martin Steigerwald
Martin Steigerwald - 16.08.17, 23:43: > There is no automatic way to undo the action. I suggest you install again > by using metapackages like > > - plasma-desktop > - kde-standard > - kde-full > > depending on the amount of packages you want to have installed. > > And then add any additional

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread Ben Caradoc-Davies
On 17/08/17 09:29, Andrey Rahmatullin wrote: On Wed, Aug 16, 2017 at 12:56:07PM -0700, nob...@gmail.com wrote: (Is there any way to undo the last apt-get? Unfortunately, I don't have all the removed packages still in /var/cache/apt/archives) Download them from testing, e.g. by adding testing

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread Martin Steigerwald
Hello Marco. Please use a mailinglist for user support. This mailing list is for development topics. For Plasma/KDE related questions I suggest debian-kde mailinglist. Cc´d. Please drop Cc to debian-devel on your answer. nob...@gmail.com - 16.08.17, 12:56: > I just upgraded my system (Debian

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread Andrey Rahmatullin
On Wed, Aug 16, 2017 at 12:56:07PM -0700, nob...@gmail.com wrote: > I just upgraded my system (Debian sid with main, contrib, non-free) to > the most recent unstable version, running "apt-get update" and > "apt-get dist-upgrade". > > Unfortunately, this uninstalled most of KDE, including >

Re: apt-get dist-upgrade uninstalled most of KDE

2017-08-16 Thread nobrin
Start-Date: 2017-08-16 11:30:15 Commandline: apt-get dist-upgrade Requested-By: marco (1000) Install: libx265-130:amd64 (2.5-2, automatic), libc-ares2:amd64 (1.13.0-2, automatic), gnupg-utils:amd64 (2.1.23-2, automatic), gpg-wks-client:amd64 (2.1.23-2, automatic), gnupg-l10n:amd64 (2.1.23-2,