Forum › Forums › New users › New Users and General Questions › broken package for apparmor, Antix 17, what to do?
- This topic has 26 replies, 3 voices, and was last updated Dec 14-8:41 pm by DaveW.
-
AuthorPosts
-
December 12, 2019 at 1:36 pm #30536Member
DaveW
::Skidoo,
I still have the LiveUSB of the broken system (made as a backup before attempting to fix things).
I ran the command you suggested (with result as expected, as shown below).
Are there other systemd related things to look for? (Of course, the log, related to the attempted system upgrade from Stretch to Buster, has been overwritten.)Package: *systemd*
Pin: origin “”
Pin-Priority: -1Also, regarding the broken Calibre package, in the Stretch repos… Calibre depends on Calibre-bin which requires two dependencies which are apparently not in the repos: qtbase-abi-5-7-1 and sip-api-11.3
But, as previously stated, I can get along without Calibre.- This reply was modified 3 years, 5 months ago by DaveW.
- This reply was modified 3 years, 5 months ago by DaveW.
December 12, 2019 at 8:13 pm #30569Anonymous
::Are there other systemd related things to look for?
short answer: no
longer answer: —v
(if you are unfamiliar with what the updatedb command is does, you can read the updatedb manpage)
sudo updatedb
locate systemdChecking now, in a vitrualbox instance… a pristine antiX19 Full
/etc/apt/preferences.d/00systemd /lib/x86_64-linux-gnu/libsystemd.so.0 /lib/x86_64-linux-gnu/libsystemd.so.0.25.0 /lib/x86_64-linux-gnu/security/pam_systemd.so /usr/bin/deb-systemd-helper /usr/bin/deb-systemd-invoke /usr/lib/apt/apt.systemd.daily /usr/lib/ntp/ntp-systemd-wrapper /usr/share/man/man1/deb-systemd-helper.1p.gz /usr/share/man/man1/deb-systemd-invoke.1p.gz /usr/share/mime/text/x-systemd-unit.xmlYou can refer to the above as a baseline.
All listed above are to be expected, and all are harmless.Later, as your install//upgrade various packages, eventually we should expect to find (locate) assorted
systemd…/…/*.service
files. These are also harmless. (you can websearch “systemd service files” to learn more)December 12, 2019 at 8:28 pm #30570Anonymous
::the Calibre version in the Stretch repos (2.75.1+dfsg-1) seems to be broken
try:
sudo apt purge calibre
followed by
sudo packageinstaller
^—> search: calibre, tick the checkbox, click OK (or “install” or whatever the button is labeled)December 13, 2019 at 12:53 pm #30639MemberDaveW
::Skidoo,
Here is what came up, following attempted install of Calibre, via packageinstaller.
(NOTE: This was attempted twice: first, on Antix-17 LiveUSB, with no persistence setup… second, on installed Antix-17 system. Results were the same, either way.)$ packageinstaller
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’
running cmd: “arch”
running cmd: “cat /etc/debian_version | cut -f1 -d’.'”
running cmd: “dpkg -l packageinstaller| awk ‘NR==6 {print $3}'”
running cmd: “dpkg –get-selections | grep -v deinstall | cut -f1”
running cmd: “apt-get update”
running cmd: “x-terminal-emulator -T ‘Installing packages…’ -e apt-get install –reinstall calibre ”
running cmd: “\n”
running cmd: “dpkg –get-selections | grep -v deinstall | cut -f1”
could not remove listapps file
tree cleared
cleanup code
terminate cmd called
terminating parent process: 6402
kill cmd called
killing parent process: 6402
sh: 1: r: not found
removing lock
QProcess: Destroyed while process (“/bin/bash”) is still running.Regarding what components of systemd might have been active…
Here is what came up (running a different Antix-17 LiveUSB, with backup of system on which I could not install apparmor). I don’t know the significance of most of these lines. But there are quite a few more than on your system.
[However, in my Antix17 system, where I did install apparmor, there are even more lines (mostly related to apparmor).]$ locate systemd
/etc/systemd
/etc/apt/preferences.d/00systemd
/etc/systemd/system
/etc/systemd/system/bluetooth.target.wants
/etc/systemd/system/dbus-fi.w1.wpa_supplicant1.service
/etc/systemd/system/dbus-org.bluez.service
/etc/systemd/system/dbus-org.freedesktop.Avahi.service
/etc/systemd/system/default.target.wants
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/sleep.target.wants
/etc/systemd/system/sockets.target.wants
/etc/systemd/system/sysinit.target.wants
/etc/systemd/system/timers.target.wants
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
/etc/systemd/system/default.target.wants/e2scrub_reap.service
/etc/systemd/system/multi-user.target.wants/avahi-daemon.service
/etc/systemd/system/multi-user.target.wants/console-setup.service
/etc/systemd/system/multi-user.target.wants/lm-sensors.service
/etc/systemd/system/multi-user.target.wants/openvpn.service
/etc/systemd/system/multi-user.target.wants/rsync.service
/etc/systemd/system/multi-user.target.wants/tlp.service
/etc/systemd/system/multi-user.target.wants/ufw.service
/etc/systemd/system/multi-user.target.wants/virtualbox-guest-utils.service
/etc/systemd/system/multi-user.target.wants/wpa_supplicant.service
/etc/systemd/system/sleep.target.wants/tlp-sleep.service
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
/etc/systemd/system/sysinit.target.wants/keyboard-setup.service
/etc/systemd/system/timers.target.wants/apt-daily-upgrade.timer
/etc/systemd/system/timers.target.wants/apt-daily.timer
/etc/systemd/system/timers.target.wants/e2scrub_all.timer
/lib/systemd
/lib/i386-linux-gnu/libsystemd.so.0
/lib/i386-linux-gnu/libsystemd.so.0.26.0
/lib/systemd/system
/lib/systemd/system-generators
/lib/systemd/system-sleep
/lib/systemd/system/apt-daily-upgrade.service
/lib/systemd/system/apt-daily-upgrade.timer
/lib/systemd/system/apt-daily.service
/lib/systemd/system/apt-daily.timer
/lib/systemd/system/avahi-daemon.service
/lib/systemd/system/avahi-daemon.socket
/lib/systemd/system/bluetooth.service
/lib/systemd/system/configure-printer@.service
/lib/systemd/system/console-setup.service
/lib/systemd/system/dbus.service
/lib/systemd/system/dbus.socket
/lib/systemd/system/e2scrub@.service
/lib/systemd/system/e2scrub_all.service
/lib/systemd/system/e2scrub_all.timer
/lib/systemd/system/e2scrub_fail@.service
/lib/systemd/system/e2scrub_reap.service
/lib/systemd/system/fstrim.service
/lib/systemd/system/fstrim.timer
/lib/systemd/system/keyboard-setup.service
/lib/systemd/system/lm-sensors.service
/lib/systemd/system/multi-user.target.wants
/lib/systemd/system/openvpn-client@.service
/lib/systemd/system/openvpn-server@.service
/lib/systemd/system/openvpn.service
/lib/systemd/system/openvpn@.service
/lib/systemd/system/polkit.service
/lib/systemd/system/rsync.service
/lib/systemd/system/sockets.target.wants
/lib/systemd/system/sudo.service
/lib/systemd/system/tlp-sleep.service
/lib/systemd/system/tlp.service
/lib/systemd/system/ufw.service
/lib/systemd/system/virtualbox-guest-utils.service
/lib/systemd/system/wpa_supplicant-nl80211@.service
/lib/systemd/system/wpa_supplicant-wired@.service
/lib/systemd/system/wpa_supplicant.service
/lib/systemd/system/wpa_supplicant@.service
/lib/systemd/system/xpra.service
/lib/systemd/system/xpra.socket
/lib/systemd/system/multi-user.target.wants/dbus.service
/lib/systemd/system/sockets.target.wants/dbus.socket
/lib/systemd/system-generators/openvpn-generator
/lib/systemd/system-sleep/hdparm
/usr/bin/deb-systemd-helper
/usr/bin/deb-systemd-invoke
/usr/lib/systemd
/usr/lib/apt/apt.systemd.daily
/usr/lib/systemd/user
/usr/lib/systemd/user/dirmngr.service
/usr/lib/systemd/user/dirmngr.socket
/usr/lib/systemd/user/gpg-agent-browser.socket
/usr/lib/systemd/user/gpg-agent-extra.socket
/usr/lib/systemd/user/gpg-agent-ssh.socket
/usr/lib/systemd/user/gpg-agent.service
/usr/lib/systemd/user/gpg-agent.socket
/usr/lib/systemd/user/obex.service
/usr/lib/systemd/user/sockets.target.wants
/usr/lib/systemd/user/sockets.target.wants/dirmngr.socket
/usr/lib/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/usr/lib/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/usr/lib/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/usr/lib/systemd/user/sockets.target.wants/gpg-agent.socket
/usr/share/doc/libsystemd0
/usr/share/doc/libsystemd0/changelog.Debian.gz
/usr/share/doc/libsystemd0/copyright
/usr/share/man/man1/deb-systemd-helper.1p.gz
/usr/share/man/man1/deb-systemd-invoke.1p.gz
/var/lib/systemd
/var/lib/dpkg/info/libsystemd0:i386.list
/var/lib/dpkg/info/libsystemd0:i386.md5sums
/var/lib/dpkg/info/libsystemd0:i386.shlibs
/var/lib/dpkg/info/libsystemd0:i386.symbols
/var/lib/dpkg/info/libsystemd0:i386.triggers
/var/lib/systemd/deb-systemd-helper-enabled
/var/lib/systemd/deb-systemd-helper-enabled/apt-daily-upgrade.timer.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/apt-daily.timer.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/avahi-daemon.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/avahi-daemon.socket.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/bluetooth.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/bluetooth.target.wants
/var/lib/systemd/deb-systemd-helper-enabled/console-setup.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/dbus-fi.w1.wpa_supplicant1.service
/var/lib/systemd/deb-systemd-helper-enabled/dbus-org.bluez.service
/var/lib/systemd/deb-systemd-helper-enabled/dbus-org.freedesktop.Avahi.service
/var/lib/systemd/deb-systemd-helper-enabled/default.target.wants
/var/lib/systemd/deb-systemd-helper-enabled/e2scrub_all.timer.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/e2scrub_reap.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/fstrim.timer.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/keyboard-setup.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/lm-sensors.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants
/var/lib/systemd/deb-systemd-helper-enabled/openvpn.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/rsync.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/sleep.target.wants
/var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants
/var/lib/systemd/deb-systemd-helper-enabled/sysinit.target.wants
/var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants
/var/lib/systemd/deb-systemd-helper-enabled/tlp-sleep.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/tlp.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/ufw.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/virtualbox-guest-utils.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/wpa_supplicant.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/xpra.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/xpra.socket.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/bluetooth.target.wants/bluetooth.service
/var/lib/systemd/deb-systemd-helper-enabled/default.target.wants/e2scrub_reap.service
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/avahi-daemon.service
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/console-setup.service
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/lm-sensors.service
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/openvpn.service
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/rsync.service
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/tlp.service
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ufw.service
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/virtualbox-guest-utils.service
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/wpa_supplicant.service
/var/lib/systemd/deb-systemd-helper-enabled/sleep.target.wants/tlp-sleep.service
/var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/avahi-daemon.socket
/var/lib/systemd/deb-systemd-helper-enabled/sysinit.target.wants/keyboard-setup.service
/var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants/apt-daily-upgrade.timer
/var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants/apt-daily.timer
/var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants/e2scrub_all.timer- This reply was modified 3 years, 4 months ago by DaveW.
- This reply was modified 3 years, 4 months ago by DaveW.
- This reply was modified 3 years, 4 months ago by DaveW.
December 13, 2019 at 2:38 pm #30650Anonymous
::Hmm, the content shown in your codebox #1 above…
is identical to what I observe during a successful calibre installation via packageinstaller.
December 13, 2019 at 2:48 pm #30652Anonymous
::Seeing your loooooong systemd filenames list led me to wonder whether I had checked a pristine antiX19Full, or antiX17Full. So I rechecked:
antiX-17.4.1_x64-full.iso
sudo apt update && sudo apt dist-upgrade
sudo updatedb
locate systemd/etc/systemd(is a DIRECTORY)
/etc/apt/preferences.d/00systemd(as expected)
/etc/systemd/system(is a DIRECTORY)
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/rsync.service
/lib/systemd(is a DIRECTORY)
/lib/systemd/system(is a DIRECTORY)
/lib/systemd/system/rsync.service
/lib/systemd/system/sudo.service
/usr/bin/deb-systemd-helper
/usr/bin/deb-systemd-invoke
/usr/lib/apt/apt.systemd.daily
/usr/share/man/man1/deb-systemd-helper.1p.gz
/usr/share/man/man1/deb-systemd-invoke.1p.gz
/var/lib/systemd(is a DIRECTORY)
/var/lib/apt/lists/repo.antixlinux.com_stretch_dists_stretch_nosystemd_binary-amd64_Packages
/var/lib/apt/lists/repo.antixlinux.com_stretch_dists_stretch_nosystemd_binary-i386_Packages
/var/lib/systemd/deb-systemd-helper-enabled(is a DIRECTORY)
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants
/var/lib/systemd/deb-systemd-helper-enabled/rsync.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/rsync.serviceDecember 13, 2019 at 2:58 pm #30654Anonymous
::as with .service files, the .wants and .dsh-also and .socket files are simply “declarative config files” installed by various packages.
/etc/systemd/system/multi-user.target.wants
/usr/lib/apt/apt.systemd.daily
/var/lib/systemd/deb-systemd-helper-enabled/rsync.service.dsh-also/usr/lib/apt/apt.systemd.daily
was the sole “interesting” (to me) item in the list. So…dpkg-query -S /usr/lib/apt/apt.systemd.daily
^—v
apt: /usr/lib/apt/apt.systemd.dailyIt is installed as part of apt. If systemd were installed and running, it would be run as a cron-like daily task ~~ creating a backup of the apt configuration files (or do nothing, depending on how the apt preferences have been configured)
.
leafpad /usr/lib/apt/apt.systemd.dailyDecember 13, 2019 at 3:32 pm #30659Anonymous
::leafpad /usr/bin/deb-systemd-helper
leafpad /usr/bin/deb-systemd-invoke
These are utility scripts which, based on delcarations stated within .deb files, create and/or place
the various .service .wants. a .pony files==================================
Above, I believe we’ve now thoroughly “splained away” items seen in (and can be expected in) antiX17Full
Moving on, to the additional items in your loooooooong list of found files…
.timer
Because I can’t recall (and don’t care to “stat” and/or “file”, “dpkg-query -S” and “leafpad” to re-check)
websearch: “what is systemd .timer file”
^—v
https://wiki.archlinux.org/index.php/Systemd/Timers
https://www.freedesktop.org/software/systemd/man/systemd.timer.html
https://coreos.com/os/docs/latest/scheduling-tasks-with-systemd-timers.html
. . .Discounting the above, whittles down the the long list
(which is similar to what I’ve found on long-running, many installed pkgs, antiX17 machines)(FWIW)
to just these, as being “potentially interesting”:/lib/systemd/system-generators /lib/systemd/system-sleep /lib/systemd/system-generators/openvpn-generator /lib/systemd/system-sleep/hdparmAt some point, I had tracked down “every last thing” and determined to my own satisfaction that they are not harmful//unwanted. Kudos if you, too, care to websearch and discover what each piece in the puzzle is//does. Because we’re not running systemd, most of ’em can be deleted (but not all ~~ a few desktop applications look for, demand presence of, certain declarative files. If missing, the proggie will refuse to run.) …and because the .service (and such) files are tiny, there’s negligible gain from deleting ’em (and next time a pkg that caused their installation is upgraded, they’ll likely be recreated if found missing).
December 13, 2019 at 3:41 pm #30660Anonymous
::regarding the broken Calibre package, in the Stretch repos… Calibre depends on Calibre-bin which requires two dependencies which are apparently not in the repos: qtbase-abi-5-7-1 and sip-api-11.3
Hmm, calibre installation via packageinstaller “works when I test” yet fails on your system.
At this point, I’m at a loss to understand why.
Let’s wait for others to answer.December 13, 2019 at 5:04 pm #30663MemberDaveW
::Skidoo,
Wow! I appreciate your thorough scanning of my systemd related components. You have set my mind at ease.Thank you also, for running the Calibre installation on your system. It is strange that your packageinstaller dialogue looks like mine, but we get different results. After the install… in a terminal, the command “calibre” does nothing, and “which calibre” returns nothing.
Oh well. FBreader seems to work quite well. I really don’t need Calibre. The main reason, for reconsidering it, was that the book list was organized for Calibre. But I have now reorganized the list for easier access with any reader… (I’ll save the Calibre arrangement, temporarily, in case someone comes up with an easy solution, soon.)
Thank you!
December 14, 2019 at 2:40 pm #30694Moderator
caprea
::Calibre depends on Calibre-bin which requires two dependencies which are apparently not in the repos: qtbase-abi-5-7-1 and sip-api-11.3
It shouldn’t matter, they are virtual packages provided by other packages
qtbase-abi-5-7-1
sip-api-11.3
But nevertheless I can darkly remember having had the same problem once with synaptic.
Whereas a sudo apt-get install worked without problems, the output might also give you hints.
There is also a stretch-backports version of calibre available.
debian calibre packages
Anyway, calibre is installed on my antiX17 systems in the stretch version . You shouldn’t have a problem with that.
Especially not on a newly installed system.December 14, 2019 at 8:41 pm #30720MemberDaveW
::Caprea,
Thanks for the suggestions. I tried apt-get…$ apt-get install calibre
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
calibre : Depends: python-pyqt5 (>= 5.7+dfsg-2+b1) but it is not going to be installed
Depends: python-pyqt5.qtwebkit but it is not going to be installed
Depends: python-pyqt5.qtsvg but it is not going to be installed
Depends: calibre-bin (>= 2.75.1+dfsg-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.I tried a few other things, in attempt to fix broken packages, such as “apt-get dist-upgrade” and the Synaptic “fix broken packages” function. But it is no go. So, I think, for the time being, I’m going to drop the idea of re-installing Calibre. Perhaps, I’ll try again in a month or two, and see whether new packages might resolve the issue.
Thank you for your helpful suggestions!
-
AuthorPosts
- You must be logged in to reply to this topic.