Author Topic: apt-get destruction  (Read 3692 times)

VastOne

  •      v-ger
  • Posts: 4122
    • View Profile
    • VSIDO Community
apt-get destruction
« on: January 24, 2018, 04:42:03 AM »
Tried upgrades tonight and apt-get has decimated both of my systems with this as the only indicator right now... I am tired and will work on this tomorrow... I can still do things on this V-Ger server but the build server won't even boot

Google is very little help

This is feeling like a complete reinstall

Code: [Select]
vastone@vsido:~$ up
[sudo] password for vastone:
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Get:4 http://dl.google.com/linux/chrome/deb stable Release [1,189 B]           
Get:1 http://ftp.us.debian.org/debian sid InRelease [240 kB]                   
Get:5 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]       
Ign:5 http://dl.google.com/linux/chrome/deb stable Release.gpg                           
Err:1 http://ftp.us.debian.org/debian sid InRelease                                   
  Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/ftp.us.debian.org_debian_dists_sid_InRelease
Get:3 http://ftp.us.debian.org/debian experimental InRelease [107 kB]
Err:3 http://ftp.us.debian.org/debian experimental InRelease
  Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/ftp.us.debian.org_debian_dists_experimental_InRelease
Get:6 http://www.deb-multimedia.org sid InRelease [24.2 kB]
Err:6 http://www.deb-multimedia.org sid InRelease
  Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/www.deb-multimedia.org_dists_sid_InRelease
Reading package lists... Done
W: GPG error: http://dl.google.com/linux/chrome/deb stable Release: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stable_Release
E: The repository 'http://dl.google.com/linux/chrome/deb stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ftp.us.debian.org/debian sid InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/ftp.us.debian.org_debian_dists_sid_InRelease
E: The repository 'http://ftp.us.debian.org/debian sid InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ftp.us.debian.org/debian experimental InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/ftp.us.debian.org_debian_dists_experimental_InRelease
E: The repository 'http://ftp.us.debian.org/debian experimental InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://www.deb-multimedia.org sid InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/www.deb-multimedia.org_dists_sid_InRelease
E: The repository 'http://www.deb-multimedia.org sid InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

VastOne

  •      v-ger
  • Posts: 4122
    • View Profile
    • VSIDO Community
Re: apt-get destruction
« Reply #1 on: January 24, 2018, 09:27:49 PM »
Still both systems completely broken and nothing obvious in site

Getting really tired of Debian and the lack of trouble shooting
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 2108
    • View Profile
    • PackRat configs on github
Re: apt-get destruction
« Reply #2 on: January 25, 2018, 12:00:37 AM »
What is -

/var/lib/apt/lists/partial/

That location keeps popping up. I've never heard of it before.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 4122
    • View Profile
    • VSIDO Community
Re: apt-get destruction
« Reply #3 on: January 25, 2018, 12:15:06 AM »
Seems to be what is part of apt as it is ran.. logs created and backups... I have removed those and they are simply recreated once you run apt-get update again

Not only is apt broken and gone, so is sh bash dpkg and just about anything I need to try to fix this

On one machine I am going to restore back to level of kernel 4.09.. I have seen that apparmor (which I think has broken all of this including the broken live-cd boot for the live-config) is installed with the kernel 4.14

This is a mess.. it is almost like I am seeing a linux virus for the first time... it is not one I know this but the behavior is very similar.. All I did was a simple apt-get update and something trashed all of apt, aptitude, synaptic, dpkg and bash

Pretty fucking serious ... what I don't get is why am I the Island?
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

VastOne

  •      v-ger
  • Posts: 4122
    • View Profile
    • VSIDO Community
Re: apt-get destruction
« Reply #4 on: January 25, 2018, 07:10:59 AM »
Rebuilt the build server with the 4.9 kernel and have updated it all the way to current sid levels with no issues..

Over 600 updates from a build I had from 6 months ago on another partition... I used fsarchive to first save it and then restore to the partition I wanted...

Since I have /home separate everything worked right away...

4.9 seems incredibly solid and again 0 issues.. apt-get, aptitude and synaptic are running perfectly

I have to believe that 4.14 and apparmor are somehow the issue

I will rebuild the V-Ger server tomorrow 
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

VastOne

  •      v-ger
  • Posts: 4122
    • View Profile
    • VSIDO Community
Re: apt-get destruction
« Reply #5 on: January 26, 2018, 03:48:34 AM »
All systems rebuilt and back in service with only thing I am having an issue with is Kodi... minor problem

This is only the 2nd time in 7 years of running pure sid that anything like this happened .. there was an update today to the debian-keyring and if I could have installed it I think it might have been a fix...

Will never know... the one thing about a rebuild is it definitely clears build up and cruft
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 2108
    • View Profile
    • PackRat configs on github
Re: apt-get destruction
« Reply #6 on: January 26, 2018, 12:53:16 PM »
Are you back to the current kernel?

A Debian Sid spin with the 4.9 LTS kernel is an interesting concept.

Hopefully this is all you need to do.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 4122
    • View Profile
    • VSIDO Community
Re: apt-get destruction
« Reply #7 on: January 26, 2018, 05:22:29 PM »
I am at 4.9 here on the build machine and 4.13 on the V-Ger IRC machine

I have taken both to 4.14 current and all seems fine now but I am going to stay at these for a while
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

VastOne

  •      v-ger
  • Posts: 4122
    • View Profile
    • VSIDO Community
Re: apt-get destruction
« Reply #8 on: January 26, 2018, 09:23:09 PM »
There still is some bizarre things going on with apt and the debian repositories... I kept getting a message that kodi-bin could not install because python-imaging was not going to be installed and that there was no candidate...

apt-get install python-imaging said that it was not available and that python-pil was an alternative... apt-cache policy said it was not a package at all but it is clearly available here

I downloaded the deb, installed it with gdebi and kodi then installed fine

There is weirdness in the clouds... and I'm still shocked that there is not more reported issues
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 2108
    • View Profile
    • PackRat configs on github
Re: apt-get destruction
« Reply #9 on: January 26, 2018, 11:21:57 PM »
Python related? Wasn't python causing some issues with the installer?

I wonder if the changes to python are rippling through the dependencies. I did a dist-upgrade a couple days ago, but am running the lite with just some additional apps like xpdf and libreoffice installed.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 4122
    • View Profile
    • VSIDO Community
Re: apt-get destruction
« Reply #10 on: January 27, 2018, 07:02:20 PM »
I don't think it is python related.. I have stable 4.9 right now and decided to take it to 4.14 (with a fresh fsarchive)

4.14 completely fails at lightdm failure

Something larger is going on, I just have not been able to pinpoint what
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 2108
    • View Profile
    • PackRat configs on github
Re: apt-get destruction
« Reply #11 on: January 27, 2018, 09:11:59 PM »
Quote
4.14 completely fails at lightdm failure

Can you disable lightdm and log in from a console after reboot?
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 4122
    • View Profile
    • VSIDO Community
Re: apt-get destruction
« Reply #12 on: January 27, 2018, 11:25:15 PM »
I could but let me ask you... If you hated lightdm and wanted another choice, what would you go with?

I'd rather spend time on something productive since I am tired as hell of this status quo
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 2108
    • View Profile
    • PackRat configs on github
Re: apt-get destruction
« Reply #13 on: January 28, 2018, 01:07:52 AM »
I use lxdm on all my systems because I got tired of lightdm breaking.

I haven't switched over my current VSIDO install yet, but am now motivated to.

The memory usage of lxdm is also less than lightdm (for Void linux) -

Code: [Select]
484.0 KiB + 165.5 KiB = 649.5 KiB lxdm-binary
512.0 KiB + 203.5 KiB = 715.5 KiB lxdm-session

I think lightdm comes in around 5-6 Mib

The /etc/lxdm.conf file is easy to configure, and I think it's greeter is self-contained so you'll save a bit of overhead on the iso.

I'm pretty sure it's still developed since it's used for the lxde desktop, but it's pretty mature and does what it's suppose to do so not a lot of changes.

There's a thread in this forum about using it, may need to make some chnages to apt (preferences) so it doesn't haul in all the lxde as dependecies/recommends; easy fix.

previous lxdm link
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

PackRat

  • Posts: 2108
    • View Profile
    • PackRat configs on github
Re: apt-get destruction
« Reply #14 on: January 28, 2018, 01:44:36 AM »
Just switched VSIDO to lxdm - no issues.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo