KDE failed after #apt-get install git-all SOLVED

Questions specific to the KDE DE go here
UncleSam
Posts: 59
Joined: 16 Apr 2016 20:03

KDE failed after #apt-get install git-all SOLVED

Postby UncleSam » 10 Dec 2019 18:17

Last night, Dec 10th, I inadvertently mucked up KDE on Solydk 10 installation
by installing #apt-get install git-all
I got the idea from following https://git-scm.com/book/en/v2/Getting- ... alling-Git

In hindsight, this was a dumb idea. I had already installed git. I didn't need
any GUI stuff to run it. git works fine from the command line.

Here is my log from that installation:

Code: Select all

root@solydk:/home/george# apt-get install git-all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  evolvere-icon-theme-blue-folders-flat-vivid evolvere-icon-theme-blue-folders-flat-vivid-dark
  fonts-noto-hinted frameworkintegration gtk3-engines-breeze gtkhash haveged ieee-data kded5 kgamma5
  libappstreamqt2 libb2-1 libept1.5.0 libgdata-common libgdata22 libgpgme++2v5 libhavege1 libkf5jsembed-data
  libkf5jsembed5 libkf5modemmanagerqt6 libkf5people-data libkf5people5 libkf5peoplebackend5
  libkf5peoplewidgets5 libkf5unitconversion-data libkf5unitconversion5 libkfontinst5 libkfontinstui5 libnm0
  libnma0 liboauth0 libopenconnect5 libpam-kwallet-common libpam-kwallet5 libpkcs11-helper1
  libplasma-geolocation-interface5 libqapt3 libtaskmanager6 libweather-ion7 libxcb-record0 milou nilfs-tools
  openvpn oxygen-sounds plasma-browser-integration plasma-desktop-data plasma-discover-common
  plasma-integration plasma-pa python3-dateutil qdbus-qt5 qml-module-org-kde-activities
  qml-module-org-kde-draganddrop qml-module-org-kde-kcoreaddons qml-module-org-kde-kholidays
  qml-module-org-kde-kwindowsystem qml-module-org-kde-solid qml-module-qt-labs-folderlistmodel
  qml-module-qt-labs-settings qml-module-qtwebkit socat
Use 'apt autoremove' to remove them.
After I saw that that had changed all themes and menu graphics, including GRUB, I removed git-all w/ apt, but without saving the output to the log.

Afterwards, booting into KDE became impossible. The blue&white KDE login dialog box
does not appear when I reboot. So am back to the command line in the SolydxK 10
Live DVD, running the diagnostics ilu suggested last time I broke KDE on this computer,
3 weeks ago.

No, this issue does not appear to be related. That doesn't mean I am smart enough
to figure out what happened or how to correct it. I could use help from a disinterested
third party who can see what I did, or might have done, and help me troubleshoot.
So today I started w/

Code: Select all

#inxi -Fxz > log.txt
and got this

Code: Select all

solydxk@solydxk:~$ cat log.txt
System:
  Host: solydxk Kernel: 4.19.0-5-amd64 x86_64 bits: 64 
  compiler: gcc v: 8.3.0 Desktop: KDE Plasma 5.14.5 
  Distro: SolydK 10 64-bit 
Machine:
  Type: Desktop Mobo: MSI model: FM2-A75MA-E35 (MS-7721) v: 1.0 
  serial: N/A BIOS: American Megatrends v: 2.2 date: 07/15/2013 
CPU:
  Topology: Quad Core 
  model: AMD A8-5600K APU with Radeon HD Graphics bits: 64 
  type: MCP arch: Piledriver rev: 1 L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 28798 
  Speed: 1397 MHz min/max: 1400/3600 MHz Core speeds (MHz): 
  1: 1398 2: 1399 3: 1398 4: 1393 
Graphics:
  Device-1: AMD Trinity [Radeon HD 7560D] vendor: Micro-Star MSI 
  driver: radeon v: kernel bus ID: 00:01.0 
  Display: x11 server: X.Org 1.20.4 driver: ati,radeon 
  unloaded: fbdev,modesetting,vesa resolution: 1024x768~60Hz 
  OpenGL: 
  renderer: AMD ARUBA (DRM 2.50.0 / 4.19.0-5-amd64 LLVM 7.0.1) 
  v: 4.3 Mesa 18.3.6 direct render: Yes 
Audio:
  Device-1: AMD Trinity HDMI Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 00:01.1 
  Device-2: Creative Labs CA0106/CA0111 [SB Live!/Audigy/X-Fi 
  Series] 
  driver: snd_ca0106 v: kernel bus ID: 03:05.0 
  Sound Server: ALSA v: k4.19.0-5-amd64 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit 
  Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel port: e000 
  bus ID: 01:00.0 
  IF: enp1s0 state: up speed: 100 Mbps duplex: full 
  mac: <filter> 
Drives:
  Local Storage: total: 1.14 TiB used: 484.0 MiB (0.0%) 
  ID-1: /dev/sda vendor: Western Digital model: WD2500JB-00REA0 
  size: 232.89 GiB temp: 30 C 
  ID-2: /dev/sdb vendor: Western Digital model: WD10EZEX-22MFCA0 
  size: 931.51 GiB temp: 32 C 
Partition:
  ID-1: / size: 3.46 GiB used: 484.0 MiB (13.7%) fs: overlay 
  source: ERR-102 
Sensors:
  System Temperatures: cpu: 13.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 182 Uptime: 29m Memory: 6.91 GiB 
  used: 1.21 GiB (17.5%) Init: systemd runlevel: 5 Compilers: 
  gcc: 8.3.0 Shell: bash v: 5.0.3 inxi: 3.0.32 
NOTE the error message under Partition:

Does this indicate I filled up the boot partition again? I don't recall seeing this
error last time.

In an effort to free-up disk space, should I run #apt autoremove before continuing with ilu's diagnostics ? That would require logging into the hard drive as superuser. I haven't tried that yet.
I don't know if I can do so.

User avatar
ilu
Posts: 2735
Joined: 09 Oct 2013 12:45

Re: KDE failed after #apt-get install git-all

Postby ilu » 11 Dec 2019 16:34

To check whether your filesystem is full, try the commands we recommended in the other thread. Post the output of df -h.

But I don't think that's the problem this time. I think git-all messed with core system components. Sadly your installation log does not include the most important part: what exactly was installed and what was removed. You can get that information from the apt logs in /var/log/apt/, if they are compressed, you can view them with zcat. See if you can find the complete install and removal log and post it. Also post the output of

Code: Select all

dpkg -l git*
dpkg -l runit*
journalctl -p err

UncleSam
Posts: 59
Joined: 16 Apr 2016 20:03

Re: KDE failed after #apt-get install git-all

Postby UncleSam » 11 Dec 2019 23:30

Today I was able to log in to the hard drive as root with no input to GRUB.
I waited until the Blue & white soldxk scre3n appeared, then disappeared, and logged in at the white-on-black prompt
Solydk 10 64-bit soldk tty1 as root.
Here is the output from #df -h

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
udev            3.4G     0  3.4G   0% /dev
tmpfs           708M   11M  698M   2% /run
/dev/sdb2        28G   15G   12G  58% /
tmpfs           3.5G     0  3.5G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           3.5G     0  3.5G   0% /sys/fs/cgroup
/dev/sdb3       882G  122G  715G  15% /home
tmpfs           708M     0  708M   0% /run/user/0
I ran the other three commands you gave me, ilu, and saved the files to root account on the hard drive.
I could not

Code: Select all

#startx
as root. Therefore, I did not have a way to write these three files to someplace acces-
sible to me while running from the Solydxk 9 Live DVD, which I am now doing. I have an external USB
drive, but couldn't think of another way to mount it as root without X. I could not find a mount point for it
from the command line, through which I could write files to it.

If you can think of another way to access those three /root files on the hard drive while logged in to the live DVD,
let me know.

Here is an excerpt from the bottom of my APT log, which I truncated (many more lines):

Code: Select all

Dec 10, 2019

Following https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

root@solydk:/home/george# apt-get install git-all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  evolvere-icon-theme-blue-folders-flat-vivid evolvere-icon-theme-blue-folders-flat-vivid-dark
  fonts-noto-hinted frameworkintegration gtk3-engines-breeze gtkhash haveged ieee-data kded5 kgamma5
  libappstreamqt2 libb2-1 libept1.5.0 libgdata-common libgdata22 libgpgme++2v5 libhavege1 libkf5jsembed-data
  libkf5jsembed5 libkf5modemmanagerqt6 libkf5people-data libkf5people5 libkf5peoplebackend5
  libkf5peoplewidgets5 libkf5unitconversion-data libkf5unitconversion5 libkfontinst5 libkfontinstui5 libnm0
  libnma0 liboauth0 libopenconnect5 libpam-kwallet-common libpam-kwallet5 libpkcs11-helper1
  libplasma-geolocation-interface5 libqapt3 libtaskmanager6 libweather-ion7 libxcb-record0 milou nilfs-tools
  openvpn oxygen-sounds plasma-browser-integration plasma-desktop-data plasma-discover-common
  plasma-integration plasma-pa python3-dateutil qdbus-qt5 qml-module-org-kde-activities
  qml-module-org-kde-draganddrop qml-module-org-kde-kcoreaddons qml-module-org-kde-kholidays
  qml-module-org-kde-kwindowsystem qml-module-org-kde-solid qml-module-qt-labs-folderlistmodel
  qml-module-qt-labs-settings qml-module-qtwebkit socat
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils cvs cvsps elpa-async elpa-dash elpa-ghub elpa-git-commit
  elpa-graphql elpa-let-alist elpa-magit elpa-magit-popup elpa-treepy elpa-with-editor emacs emacs-bin-common
  emacs-common emacs-el emacs-gtk exim4-base exim4-config exim4-daemon-light git-cvs git-daemon-run git-doc
  git-el git-email git-gui git-mediawiki git-svn gitk gitweb guile-2.2-libs libalgorithm-c3-perl libapr1
  libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libauthen-sasl-perl libb-hooks-endofscope-perl
  libb-hooks-op-check-perl libcgi-fast-perl libcgi-pm-perl libclass-c3-perl libclass-c3-xs-perl
  libclass-data-inheritable-perl libclass-factory-util-perl libclass-inspector-perl
  libclass-method-modifiers-perl libclass-singleton-perl libclass-xsaccessor-perl libdata-optlist-perl
  libdatetime-format-builder-perl libdatetime-format-iso8601-perl libdatetime-format-strptime-perl
  libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl libdbd-sqlite3-perl libdbi-perl
  libdevel-callchecker-perl libdevel-caller-perl libdevel-lexalias-perl libdevel-stacktrace-perl
  libdigest-bubblebabble-perl libdigest-hmac-perl libdynaloader-functions-perl libemail-valid-perl
  libeval-closure-perl libexception-class-perl libfcgi-perl libfile-sharedir-perl libgnutls-dane0 libgsasl7
  libkyotocabinet16v5 libm17n-0 libmailtools-perl libmailutils5 libmediawiki-api-perl
  libmodule-implementation-perl libmodule-runtime-perl libmro-compat-perl libnamespace-autoclean-perl
  libnamespace-clean-perl libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl libnet-ip-perl
  libnet-libidn-perl libnet-smtp-ssl-perl libntlm0 libotf0 libpackage-stash-perl libpackage-stash-xs-perl
  libpadwalker-perl libparams-classify-perl libparams-util-perl libparams-validate-perl
  libparams-validationcompiler-perl libreadonly-perl libref-util-perl libref-util-xs-perl librole-tiny-perl
  libserf-1-1 libspecio-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl
  libsub-install-perl libsub-name-perl libsub-quote-perl libsvn-perl libsvn1 libterm-readkey-perl libunbound8
  libutf8proc2 libvariable-magic-perl libyaml-libyaml-perl libyaml-perl m17n-db mailutils mailutils-common
  runit sysuser-helper
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom mksh rcs emacs-common-non-dfsg exim4-doc-html
  | exim4-doc-info eximon4 spf-tools-perl swaks mediawiki subversion libgssapi-perl libclone-perl
  libmldbm-perl libnet-daemon-perl libsql-statement-perl m17n-docs libscalar-number-perl libtest-fatal-perl
  libyaml-shell-perl mailutils-mh mailutils-doc
Recommended packages:
  runit-sysv | runit-init | runit-systemd
The following packages will be REMOVED:
  colord dbus-user-session gdebi gufw gvfs gvfs-backends gvfs-daemons gvfs-fuse k3b kde-runtime
  kdelibs5-plugins kinfocenter libpolkit-qt-1-1 libqapt3-runtime lightdm network-manager
  network-manager-openvpn network-manager-openvpn-gnome network-manager-pptp network-manager-vpnc
  network-manager-vpnc-gnome packagekit packagekit-tools plasma-desktop plasma-discover plasma-nm
  plasma-widgets-addons plasma-workspace policykit-1 policykit-1-gnome polkit-kde-agent-1 qapt-batch
  rootactions-servicemenu rtkit solydk-system-adjustments-10 solydxk-system synaptic udisks2 usb-creator
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils cvs cvsps elpa-async elpa-dash elpa-ghub elpa-git-commit
  elpa-graphql elpa-let-alist elpa-magit elpa-magit-popup elpa-treepy elpa-with-editor emacs emacs-bin-common
  emacs-common emacs-el emacs-gtk exim4-base exim4-config exim4-daemon-light git-all git-cvs git-daemon-run
  git-doc git-el git-email git-gui git-mediawiki git-svn gitk gitweb guile-2.2-libs libalgorithm-c3-perl
  libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libauthen-sasl-perl libb-hooks-endofscope-perl
  libb-hooks-op-check-perl libcgi-fast-perl libcgi-pm-perl libclass-c3-perl libclass-c3-xs-perl
  libclass-data-inheritable-perl libclass-factory-util-perl libclass-inspector-perl
  libclass-method-modifiers-perl libclass-singleton-perl libclass-xsaccessor-perl libdata-optlist-perl
  libdatetime-format-builder-perl libdatetime-format-iso8601-perl libdatetime-format-strptime-perl
  libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl libdbd-sqlite3-perl libdbi-perl
  libdevel-callchecker-perl libdevel-caller-perl libdevel-lexalias-perl libdevel-stacktrace-perl
  libdigest-bubblebabble-perl libdigest-hmac-perl libdynaloader-functions-perl libemail-valid-perl
  libeval-closure-perl libexception-class-perl libfcgi-perl libfile-sharedir-perl libgnutls-dane0 libgsasl7
  libkyotocabinet16v5 libm17n-0 libmailtools-perl libmailutils5 libmediawiki-api-perl
  libmodule-implementation-perl libmodule-runtime-perl libmro-compat-perl libnamespace-autoclean-perl
  libnamespace-clean-perl libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl libnet-ip-perl
  libnet-libidn-perl libnet-smtp-ssl-perl libntlm0 libotf0 libpackage-stash-perl libpackage-stash-xs-perl
  libpadwalker-perl libparams-classify-perl libparams-util-perl libparams-validate-perl
  libparams-validationcompiler-perl libreadonly-perl libref-util-perl libref-util-xs-perl librole-tiny-perl
  libserf-1-1 libspecio-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl
  libsub-install-perl libsub-name-perl libsub-quote-perl libsvn-perl libsvn1 libterm-readkey-perl libunbound8
  libutf8proc2 libvariable-magic-perl libyaml-libyaml-perl libyaml-perl m17n-db mailutils mailutils-common
  runit sysuser-helper
0 upgraded, 127 newly installed, 39 to remove and 6 not upgraded.
Need to get 69.5 MB of archives.
After this operation, 137 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian buster/main amd64 libapr1 amd64 1.6.5-1+b1 [102 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libaprutil1 amd64 1.6.1-4 [91.8 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libaprutil1-dbd-sqlite3 amd64 1.6.1-4 [18.7 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libaprutil1-ldap amd64 1.6.1-4 [16.8 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 apache2-bin amd64 2.4.38-3+deb10u3 [1,307 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 apache2-data all 2.4.38-3+deb10u3 [165 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 apache2-utils amd64 2.4.38-3+deb10u3 [236 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 apache2 amd64 2.4.38-3+deb10u3 [251 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 cvs amd64 2:1.12.13+real-27 [2,799 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 cvsps amd64 2.1-8 [48.1 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 emacs-common all 1:26.1+1-3.2+deb10u1 [13.4 MB]
Get:12 http://deb.debian.org/debian buster/main amd64 emacs-bin-common amd64 1:26.1+1-3.2+deb10u1 [144 kB]    
Get:13 http://deb.debian.org/debian buster/main amd64 m17n-db all 1.8.0-1 [1,279 kB]                          
Get:14 http://deb.debian.org/debian buster/main amd64 libotf0 amd64 0.9.13-4 [53.5 kB]                        
Get:15 http://deb.debian.org/debian buster/main amd64 libm17n-0 amd64 1.8.0-2 [255 kB]                        
Get:16 http://deb.debian.org/debian buster/main amd64 emacs-gtk amd64 1:26.1+1-3.2+deb10u1 [3,554 kB]         
Get:17 http://deb.debian.org/debian buster/main amd64 emacs all 1:26.1+1-3.2+deb10u1 [44.5 kB]                
Get:18 http://deb.debian.org/debian buster/main amd64 elpa-async all 1.9.3-1 [17.8 kB]                        
Get:19 http://deb.debian.org/debian buster/main amd64 elpa-dash all 2.14.1+dfsg-1 [49.7 kB]                   
Get:20 http://deb.debian.org/debian buster/main amd64 elpa-graphql all 0.1.1-3 [7,300 B]                      
Get:21 http://deb.debian.org/debian buster/main amd64 elpa-let-alist all 1.0.5-3 [6,404 B]                    
Get:22 http://deb.debian.org/debian buster/main amd64 elpa-treepy all 0.1.1-1 [11.4 kB]                       
Get:23 http://deb.debian.org/debian buster/main amd64 elpa-ghub all 3.2.0-1 [55.2 kB] 
Note there is no attempt to remove git-all using APT. I believe that means I did not attempt
to remove git-all because I no longer had a way to get a Konsole. Today, I discovered that
I could log in as root. Should I do that again so that I can run #apt-get remove git-all ?

User avatar
ilu
Posts: 2735
Joined: 09 Oct 2013 12:45

Re: KDE failed after #apt-get install git-all

Postby ilu » 12 Dec 2019 04:03

Git-all is a meta package. removing it does nothing. You need to remove all newly installed packages while reinstalling those that were removed. As you can see that's a lot. git-all is a server system meant to install a git server. That "Getting Started - Installing Git" chapter was obviously written by morons. No way to say it nicely. To get started with git you install git, nothing else. But you know that.

KDE was completely removed and almost all essential desktop services with it. You've now got a web server running instead. I don't think it's worth trying to save this mess. Just hit yourself on the head, clench your teeth and reinstall, it will be much quicker.

Next time, remember (not trying to be an ass here, just trying to help):

1. Always read apt messages before hitting Enter. Check the to be installed/removed packages! If you don't understand what's going to happen, hit No.

2. Use synaptic instead of apt if you want to improve quality of life. Still remember to look at the package list before installing.

3. To have an easy way to replicate installations open synaptic and:
- go to the menu "File - Save changes to file" (or whatever the exact wording is in your language
- Tick "Save all packages, not just changes" (way down on the page)
- Save the file and back it up.
If you need to reinstall, load this package list and click apply. Done.

4. If you want to keep your home during reinstalls, assign a separate partition to /home.

5. Regularly backup your data. Do it now. No backup, no pity!

UncleSam
Posts: 59
Joined: 16 Apr 2016 20:03

Re: KDE failed after #apt-get install git-all

Postby UncleSam » 12 Dec 2019 20:04

Thank you for your ideas, ilu.

I have certainly learned to type N at the APT prompt if I am ever uncertain and to only run # apt-get update && apt-get upgrade at bedtime.

Why do you think synaptic might improve the quality of my life ? What will it do that APT won't ?
What about dpkg ? I have kept using APT because of the "if it ain't broke don't fix it" idea.
However, I may be ignorant of newer features offered by dpkg/synaptic.

My KDE wipeout occurred halfway between weekly incremental backups of my /home files onto external media.
So I could remember to which files and in which subdirectories I had recently written changes to files. Today I did the incremental backups, a couple days early. Just had to change some pathnames in the rsync calls in the BASH scripts I use for my weekly incremental backups. Next, I will reinstall solydxk 10 from the live DVD.

The fact that I can read and write files from/to my hard drive while running from the SolydK 10 64-bit LiveDVD
is a commendation of the genius who created this Live DVD. KUDOS! I much appreciate this!

User avatar
ilu
Posts: 2735
Joined: 09 Oct 2013 12:45

Re: KDE failed after #apt-get install git-all

Postby ilu » 13 Dec 2019 00:53

Why do you think synaptic might improve the quality of my life ? What will it do that APT won't ?
Nothing really. SynAPTic is just a graphical interface for apt.
1. But it provides graphical ways to show what's going to happen if you install something.
2. It shows a confirmation popup before doing anything. Hitting return 2 times by mistake won't do anything.
3. As I said, it provides a very easy way to replicate the system if you ruined it.

UncleSam
Posts: 59
Joined: 16 Apr 2016 20:03

Re: KDE failed after #apt-get install git-all --SOLVED

Postby UncleSam » 14 Dec 2019 21:14

I reinstalled Solydxk from the SolydK 10 64-it Installer on the LiveDVD.
I did not change any partitions with gparted.
I did not enter root password.
I did set the default username and password, using the same values as before.
I made sure no LEDs on my keyboard were illuminated (e.g., Num Lock).

My user password works. Great. I found my /home/user files still intact. Great.
Even my user aliases still work. Superb.

I found my added Debian applications gone. So I began the process of reinstalling them.

P.S. In synaptic, I saw that when I type in the git-all, a meta-package, the package name ends in (all packages), whereas when I type in git, an ordinary debian package, there is no such suffix. Since synaptic comes pre-installed I will use it to identify meta-packages, since $apt-cache madison does not show any way to identify a meta-package.

Thank you, ilu, for your advice and help.


Return to “KDE specific (SolydK)”

Who is online

Users browsing this forum: No registered users and 4 guests