LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   What does this apt/synaptic error mean? (https://www.linuxquestions.org/questions/linux-distributions-5/what-does-this-apt-synaptic-error-mean-4175602133/)

hazel 03-19-2017 01:17 PM

What does this apt/synaptic error mean?
 
I've just been updating my 32-bit AntiX. dbus would not update and was described as broken. The message is:
"dbus depends on libsystemd0 but it is not installable".

I checked for this library and got:
"libsystemd0 has no available version but exists in the database".

AntiX doesn't actually use systemd but it gets most of its software directly from the Debian repository. So is this a glitch in the business of getting systemd out of AntiX? Should I just wait and hope it gets cleared up or is there something I should be doing?

nodir 03-19-2017 01:28 PM

As far it's me: Yes, pretty sure this is related to antiX avoiding systemd.
If it was me i would ask in the antiX forum.
A websearch gives for example this:
http://antix.freeforums.org/post50440.html#p50440
(which would mean: you have to wait)

I don't know if antiX uses pinning to make sure neither systemd nor libsystemd0 gets installed as a dependencies. You have to check that, and if libsystemd0 doesn't bother you, remove the pinning for it.

But, like said, to be sure, i would ask at the antiX forum (or wait if one who knows for sure answers here)

hazel 03-19-2017 01:45 PM

Well, I'm not in a hurry. I just wanted to check that there isn't something wrong at my end.

hydrurga 03-19-2017 01:58 PM

Because you had a message describing a package as broken, I personally would run the following 2 commands just to check that all is right at your end:

dpkg --audit

sudo apt-get check

rokytnji 03-19-2017 02:07 PM

Hazel.

Quote:

I've just been updating my 32-bit AntiX.
Code:

inxi -Fxz -r
Hopefully you don't have Debian Multi Media sources enabled.

When ever I grabbed something from there. And later on forget to comment that sources.list out. Breakage was sure to occur.

Have you repaired the GPG key error yet that came up recently from Daves repo server?

https://forum.mxlinux.org/viewtopic.php?f=108&t=41849

Does your version match mine?

Code:

$ apt-cache policy antix-archive-keyring
antix-archive-keyring:
  Installed: 20017.3.14
  Candidate: 20017.3.14
  Version table:
 *** 20017.3.14 0
        500 http://antix.daveserver.info/jessie/ jessie/main i386 Packages
        100 /var/lib/dpkg/status

is your /etc/apt/preferences.d/00systemd match mine?

Code:

harry@biker:~
$ cd /etc/apt/preferences.d
harry@biker:/etc/apt/preferences.d
$ ls
00systemd
harry@biker:/etc/apt/preferences.d
$ cat 00systemd
Package: *systemd*
Pin: origin ""
Pin-Priority: -1
harry@biker:/etc/apt/preferences.d

Because dbus updated fine on my install with no errors and I am still on AntiX 15.

Code:

harry@biker:~
$ sudo apt-get update
<snip>
Fetched 622 kB in 3s (174 kB/s)
Reading package lists... Done
@biker:~
$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

The link to Anti's post in the forum thread is for folks running Alpha 2 with Debian Stretch Repos. I am still on Jessie on mine.

Quote:

antiX alpha 2 net images 'stretch' versions available
Hence why I want to see your sources.list in your inxi report.

anticapitalista 03-19-2017 06:16 PM

I just upgraded a fresh antiX-16.1 with default repos without issue. No libsystemd0 got installed.

So there seems to be something wrong at your end.

hazel 03-20-2017 02:17 AM

Quote:

Originally Posted by anticapitalista (Post 5685669)
I just upgraded a fresh antiX-16.1 with default repos without issue. No libsystemd0 got installed.

So there seems to be something wrong at your end.

It didn't get installed at my end either! The problem is that dbus seemed to require it. I am tied up this morning, but I shall try again in the afternoon with all the helpful suggestions I have received in this thread and then report back.

btw I did notice the failure to connect to daveserver and I suspect that that's where the problem lies. I gather that this is the repo that contains all the AntiX-specific packages.

hazel 03-20-2017 10:53 AM

2 Attachment(s)
OK. I ran inxi and the result is one of the two attached files. The only Debian repos that I am using are the main Jessie ones. Multimedia is not activated, so that's one more thing we can forget about.

The commands suggested by hydrurga ran without error. Then I ran apt-get update again because I wanted to see the daveserver error more clearly. That's the second attachment.

@Rokytnj. My systemd pin file is the same as yours, but my AntiX keyring is older, 2015 rather than 2017. That's probably the cause of the problem. But when I tried to update it with apt-get as per your link, apt-get said it was up to date!

What do I do next?

rokytnji 03-20-2017 11:08 AM

How I fixed my GPG error was to install the newer dave deb manually from here

http://antix.daveserver.info/stable/...chive-keyring/

Just run the dpkg -i install command or use Gdebi or Synaptic <point it to the deb>.

say yes to overwrite and install poackage maintainers version. Then run apt-get update again and see if that fixes it.

That worked for me.

Edit. me cheating for later on. I hope you don't mind hazel.

Code:

System:    Host: Oldboy Kernel: 4.4.10-antix.1-486-smp i686 (32 bit gcc: 4.9.3)
          Desktop: Fluxbox 1.3.5
          Distro: antiX-16_386-base Berta Cáceres 26 June 2016
Machine:  Device: desktop System: FUJITSU SIEMENS product: SCENIC T
          Mobo: FUJITSU SIEMENS model: D1170 v: S26361-D1170
          BIOS: FUJITSU SIEMENS // Phoenix v: 4.06 Rev. 1.12.1170 date: 02/15/2001
CPU:      Single core Celeron (Coppermine) (-UP-) cache: 128 KB
          flags: (pae sse) bmips: 1395 speed: 697 MHz (max)
Graphics:  Card: Intel 82810 (CGC) Graphics Controller bus-ID: 00:01.0
          Display Server: X.org 1.16.4 drivers: intel (unloaded: modesetting,fbdev,vesa)
          tty size: 80x28 Advanced Data: N/A for root
Audio:    Card Intel 82801AA AC'97 Audio Controller
          driver: snd_intel8x0 ports: 1000 1c00 bus-ID: 00:1f.5
          Sound: ALSA v: k4.4.10-antix.1-486-smp
Network:  Card-1: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
          driver: 8139too v: 0.9.28 port: 3000 bus-ID: 01:05.0
          IF: eth0 state: down mac: <filter>
          Card-2: Sitecom Europe B.V. WL-172 Wireless Network USB Adapter 54g Turbo
          driver: rt73usb v: 2.3.0 usb-ID: 001-003
          IF: wlan0 state: N/A mac: N/A
Drives:    HDD Total Size: 28.2GB (43.4% used)
          ID-1: /dev/sda model: SAMSUNG_SV2042H size: 20.4GB
          ID-2: USB /dev/sdb model: v150w size: 7.8GB
Partition: ID-1: / size: 7.6G used: 2.9G (41%) fs: ext3 dev: /dev/sda4
          ID-2: swap-1 size: 0.52GB used: 0.00GB (0%) fs: swap dev: /dev/sda1
Sensors:  None detected - is lm-sensors installed and configured?
Repos:    Active apt sources in file: /etc/apt/sources.list.d/antix.list
          deb http://antix.daveserver.info/jessie jessie main nosystemd
          Active apt sources in file: /etc/apt/sources.list.d/debian.list
          deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
          deb http://security.debian.org/ jessie/updates main contrib non-free
Info:      Processes: 138 Uptime: 7 min Memory: 114.9/242.6MB
          Init: SysVinit runlevel: 5 Gcc sys: 4.9.2
          Client: Shell (bash 4.3.301) inxi: 2.3.5


hazel 03-20-2017 11:45 AM

Thanks, Roky! That did it. When I ran apt-get update again, there were no errors. Then I ran apt-get upgrade and a whole load of AntiX-specific stuff came down from daveserver. I hope I'm clear now.

Now can anyone point me to a simple non-technical explanation of what I just did? Because I hate working blind, even when I'm following guidance from trusted friends.

PS: Synaptic is OK too. No broken packages reported and dbus is no longer waiting for an update.

rokytnji 03-20-2017 02:01 PM

My biker simple explanation. Which can be wrong. But I get by even when mistaken.

Daves repo has a bunch of libs and apps specific to /usr/local/bin and other places.

Since the gpg error kicks in. Synaptic and apt think you are trying to install stuff from a malware repo sight.

So it says no to downloading during a apt-get update && apt-get dist-upgrade process started by you.

Badda Bing, Badda Boom. Error city. Because Daves nosystemd repo and Jessie update start arguing kinda sorta and Jessie starts to complain about needing systemd stuff. Because systemd stuff is the default now in Jessie upgrades.

I hope my neanderthal type of Linux user explanation is correct and easy to understand. Maybe Anti can explain better and correct me if I am wrong.

Edit: forgot my manners. Glad you got it all sorted.

@nd edit: Ha ha. Now to use this thread to fix my shop media center computer gpg errors. I dual boot this with MX and AntiX.

hazel 03-21-2017 02:15 AM

So let me see if I understand this. This key ring is a list of public key certificates for trusted repository servers and some of them were out of date. As a result, daveserver was seen as a dodgy site and apt wouldn't download anything from it. Instead I got the standard Debian versions, which are dependent on systemd.

But why couldn't I update the key ring via apt? Or does that come from daveserver too, creating a closed loop?

anticapitalista 03-21-2017 05:12 AM

The keyring does come from daveserver. Some people have had issues updating, others not. The first question asked (to upgrade) is something like 'do you want to install from an untrusted server?'. If user answers the default No, then I assume that 'locks' the daveserver/antiX repo.

hazel 03-21-2017 06:26 AM

Quote:

Originally Posted by anticapitalista (Post 5686320)
The keyring does come from daveserver. Some people have had issues updating, others not. The first question asked (to upgrade) is something like 'do you want to install from an untrusted server?'. If user answers the default No, then I assume that 'locks' the daveserver/antiX repo.

I didn't see that message. Maybe I wasn't looking carefully enough.

I've been for a walk since my previous post and I think I now understand what happened. I assume a new keyring comes out before the certificates expire, and gets picked up by people who do a weekly or monthly update. But I use oldboy only as an occasional print server because it runs painfully slow even with AntiX. I update it when I remember to. In the mean time, the certificates must have run out, trapping me in this loop.


All times are GMT -5. The time now is 01:54 PM.