Page 1 of 1
I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Sat Mar 23, 2024 2:40 pm
by Duliwi
Code: Select all
System:
Kernel: 6.1.0-18-amd64 [6.1.76-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-18-amd64 root=UUID=<filter> ro quiet splash
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
dm: LightDM v: 1.26.0 Distro: MX-23.2_x64 Libretto October 15 2023 base: Debian GNU/Linux 12
(bookworm)
Machine:
Type: Virtualbox System: innotek GmbH product: VirtualBox v: 1.2 serial: <superuser required>
Chassis: Oracle Corporation type: 1 serial: <superuser required>
Mobo: Oracle model: VirtualBox v: 1.2 serial: <superuser required> BIOS: innotek GmbH
v: VirtualBox date: 12/01/2006
CPU:
Info: model: Intel Core i5-4570 bits: 64 type: MCP arch: Haswell gen: core 4 level: v2
built: 2013-15 process: Intel 22nm family: 6 model-id: 0x3C (60) stepping: 3 microcode: N/A
Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB
L2: 512 KiB desc: 2x256 KiB L3: 12 MiB desc: 2x6 MiB
Speed (MHz): avg: 3193 min/max: N/A cores: 1: 3193 2: 3193 bogomips: 12770
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: KVM: VMX unsupported
Type: l1tf mitigation: PTE Inversion
Type: mds mitigation: Clear CPU buffers; SMT Host state unknown
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not
affected
Type: srbds status: Unknown: Dependent on hypervisor status
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.20.0.0 ports: active: Virtual-1
empty: Virtual-2, Virtual-3, Virtual-4, Virtual-5, Virtual-6, Virtual-7, Virtual-8
bus-ID: 00:02.0 chip-ID: 15ad:0405 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: vmware
unloaded: fbdev,modesetting,vesa dri: swrast gpu: vmwgfx display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1884x1009 s-dpi: 96 s-size: 498x267mm (19.61x10.51") s-diag: 565mm (22.25")
Monitor-1: Virtual-1 mapped: Virtual1 res: 1884x1009 hz: 60 size: N/A modes: max: 1884x1009
min: 640x480
API: OpenGL v: 4.5 Mesa 22.3.6 renderer: llvmpipe (LLVM 15.0.6 256 bits) direct-render: Yes
Audio:
Device-1: Intel 82801AA AC97 Audio vendor: Dell driver: snd_intel8x0 v: kernel bus-ID: 00:05.0
chip-ID: 8086:2415 class-ID: 0401
API: ALSA v: k6.1.0-18-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: JACK v: 1.9.21 status: off tools: jack_control,qjackctl
Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel 82540EM Gigabit Ethernet driver: e1000 v: kernel port: d020 bus-ID: 00:03.0
chip-ID: 8086:100e class-ID: 0200
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge driver: piix4_smbus v: N/A
modules: i2c_piix4 port: N/A bus-ID: 00:07.0 chip-ID: 8086:7113 class-ID: 0680
Drives:
Local Storage: total: 178.16 GiB used: 35.82 GiB (20.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: VirtualBox model: VBOX HARDDISK size: 157.35 GiB
block-size: physical: 512 B logical: 512 B speed: <unknown> type: N/A serial: <filter> rev: 1.0
scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: VirtualBox model: VBOX HARDDISK size: 20.81 GiB
block-size: physical: 512 B logical: 512 B speed: <unknown> type: N/A serial: <filter> rev: 1.0
scheme: GPT
Partition:
ID-1: / raw-size: 152.34 GiB size: 148.89 GiB (97.74%) used: 35.82 GiB (24.1%) fs: ext4
dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 5 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda2
maj-min: 8:2
Sensors:
Src: lm-sensors+/sys Message: No sensor data found using /sys/class/hwmon or lm-sensors.
Repos:
Packages: pm: dpkg pkgs: 2417 libs: 1268 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bookworm main non-free
Info:
Processes: 205 Uptime: 7m wakeups: 24 Memory: 3.24 GiB used: 1.15 GiB (35.5%) Init: SysVinit
v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)
Hello,
As I am not satisfied with hinting in my Antialiasing free system, I have tried to install "libfreetype6" (from
https://packages.debian.org/source/testing/freetype) in my VM.
This means I replace version 2.12 with version 2.13 .
During the installation I got the following message:
Code: Select all
N: The download is executed as root and not sandbox-protected, because the file "/home/Duliwi/Downloads/libfreetype6_2.13.2+dfsg-1+b1_amd64.deb" cannot be accessed by the user "_apt". - pkgAcquire::Run (13: No authorisation)
You find this message at the bottom here:
Code: Select all
[...]
The following packages are REMOVED:
gstreamer1.0-plugins-base:i386 libasound2-plugins:i386 libavcodec59:i386 libcairo-gobject2:i386
libcairo2:i386 libfontconfig1:i386 libfreetype6:i386 libgd3:i386 libgphoto2-6:i386
libharfbuzz0b:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386
libpoppler-glib8:i386 libpoppler126:i386 librsvg2-2:i386 libsane:i386 libsane1:i386
libtheora0:i386 wine-staging wine-staging-i386:i386 winehq-staging winetricks
The following packages will be updated (upgrade):
libfreetype6
1 updated, 0 newly installed, 23 to be removed and 0 not updated.
0 B of 439 kB of archives still need to be downloaded.
After this operation, 329 MB of disc space will be freed up.
Would you like to continue? [Y/n] y
Get:1 /home/Duliwi/Downloads/libfreetype6_2.13.2+dfsg-1+b1_amd64.deb libfreetype6 amd64 2.13.2+dfsg-1+b1 [439 kB]
(Read database ... 328107 files and directories are currently installed).
Remove gstreamer1.0-plugins-base:i386 (1.22.0-3+deb12u1) ...
Removing winetricks (20230212-2) ...
Removing winehq-staging (9.4-1mx23+1) ...
Removing wine-staging (9.4-1mx23+1) ...
Removing wine-staging-i386:i386 (9.4-1mx23+1) ...
Removing libasound2-plugins:i386 (1.2.7.1-1) ...
Remove libavcodec59:i386 (7:5.1.4-0+deb12u1) ...
Remove librsvg2-2:i386 (2.54.7+dfsg-1~deb12u1) ...
Removing libcairo-gobject2:i386 (1.16.0-7) ...
Removing libsane:i386 (1.2.1-2) ...
Removing libsane1:i386 (1.2.1-2) ...
Removing libpoppler-glib8:i386 (22.12.0-2+b1) ...
Remove libpoppler126:i386 (22.12.0-2+b1) ...
Removing libpangocairo-1.0-0:i386 (1.50.12+ds-1) ...
Removing libpangoft2-1.0-0:i386 (1.50.12+ds-1) ...
Remove libgphoto2-6:i386 (2.5.30-1) ...
Remove libgd3:i386 (2.3.3-9) ...
Remove libpango-1.0-0:i386 (1.50.12+ds-1) ...
Remove libharfbuzz0b:i386 (6.0.0+dfsg-3) ...
Removing libtheora0:i386 (1.1.1+dfsg.1-16.1+b1) ...
Removing libcairo2:i386 (1.16.0-7) ...
Removing libfontconfig1:i386 (2.14.1-4) ...
Remove libfreetype6:i386 (2.12.1+dfsg-5) ...
(Read database ... 325680 files and directories are currently installed).
Preparation for unpacking .../libfreetype6_2.13.2+dfsg-1+b1_amd64.deb ...
Unpacking libfreetype6:amd64 (2.13.2+dfsg-1+b1) via (2.12.1+dfsg-5) ...
libfreetype6:amd64 (2.13.2+dfsg-1+b1) is set up ...
Triggers for desktop-file-utils (0.26-1) are processed ...
Triggers for hicolor-icon-theme (0.17-2) are processed ...
Triggers for gnome-menus (3.36.0-1.1) are processed ...
Triggers for libc-bin (2.36-9+deb12u4) are processed ...
Triggers for man-db (2.11.2-2) are processed ...
Triggers for mailcap (3.70+nmu1) are processed ...
N: The download is executed as root and not sandbox-protected, because the file "/home/Duliwi/Downloads/libfreetype6_2.13.2+dfsg-1+b1_amd64.deb" cannot be accessed by the user "_apt". - pkgAcquire::Run (13: No authorisation)
My question is:
Does the message "N: The download is executed as root and not sandbox-protected, because the file "/home/Duliwi/Downloads/libfreetype6_2.13.2+dfsg-1+b1_amd64.deb" cannot be accessed by the user "_apt". - pkgAcquire::Run (13: No authorisation)" mean, that the installation was not successful?
It is said: "It cannot be accessed" and "No authorisation".
So I guess to install anything of course "apt" must have access to the file and it need to be authorised. But why does it not have access?
Would appreciate some answer. Thank you.
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM) [Solved]
Posted: Sat Mar 23, 2024 3:12 pm
by dolphin_oracle
It installed. It just means the apt actions happened outside a sandbox.
But looking at the output you may have removed things you didn’t want to remove.
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Sat Mar 23, 2024 3:42 pm
by Duliwi
Thank you.
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Sat Mar 23, 2024 4:12 pm
by Duliwi
OK. With "libfreetype6_2.13.2" I was also not satisfied.
In MX-19 hinting was better. So I decided to downgrade in MX-23 in the VM (for testing) to "libfreetype6_2.10.4" . From version 2.13 to version 2.10
But why does it want to delete so many packages?
Code: Select all
[...]
The following packages will be deleted:
alsa-tools-gui apt-notifier arc-theme asunder audacity backintime-qt baobab bash-config
blackbird-gtk-theme blueman cantata catfish chafa clipgrab compton-conf conky-all conky-manager
dconf-editor deb-installer default-jre default-jre-headless desktop-defaults-mx-xfce devilspie
exo-utils featherpad feh ffmpeg file-roller firefox firetools foliate font-manager-common
font-viewer fontforge formatusb freefilesync fsearch galculator gcr geany gimagereader
gir1.2-gtk-3.0 gir1.2-handy-1 gir1.2-keybinder-3.0 gir1.2-pango-1.0 gir1.2-webkit2-4.0
gir1.2-webkit2-4.1 gir1.2-wnck-3.0 gjs gmtp gnome-font-viewer gnome-icon-theme gnome-keyring
gnome-mahjongg goldendict gpa gparted grsync gsmartcontrol gstreamer1.0-libav
gstreamer1.0-plugins-bad gstreamer1.0-plugins-base:i386 gtk2-engines-murrine gtkdialog gtkhash
gucharmap gufw gxkb hardinfo hplip hplip-gui job-scheduler ksnip lazpaint-gtk2 libadwaita-1-0
libasound2-plugins libasound2-plugins:i386 libass9 libavcodec59 libavcodec59:i386 libavdevice59
libavfilter8 libavformat59 libavkys9 libayatana-appindicator3-1 libayatana-ido3-0.4-0
libayatana-indicator3-7 libcairo-gobject2:i386 libcairo2:i386 libcanberra-gtk-module
libcanberra-gtk0 libcanberra-gtk3-0 libcanberra-gtk3-module libchromaprint1 libclutter-1.0-0
libclutter-gtk-1.0-0 libcogl-pango20 libdbusmenu-gtk3-4 libexo-2-0 libffmpegthumbnailer4v5
libfontconfig1:i386 libfreetype6:i386 libgail-common libgail18 libgarcon-gtk3-1-0 libgcr-ui-3-1
libgd3:i386 libgegl-0.4-0 libgepub-0.7-0 libgimp2.0 libglade2-0 libgnome-games-support-1-3
libgnomekbd8 libgphoto2-6:i386 libgtk-3-0 libgtk-4-1 libgtk2.0-0 libgtk3-perl libgtkmm-3.0-1v5
libgtksourceview-3.0-1 libgtksourceviewmm-3.0-0v5 libgtkspell3-3-0 libgtkspellmm-3.0-0v5
libgucharmap-2-90-7 libhandy-1-0 libharfbuzz-icu0 libharfbuzz-subset0 libharfbuzz0b
libharfbuzz0b:i386 libimlib2 libkcolorpicker0 libkeybinder-3.0-0 libkf5windowsystem5
libkimageannotator0 libnma-gtk4-0 libnma0 libpango-1.0-0 libpango-1.0-0:i386 libpangocairo-1.0-0
libpangocairo-1.0-0:i386 libpangoft2-1.0-0 libpangoft2-1.0-0:i386 libpangomm-1.4-1v5
libpangoxft-1.0-0 libpoppler-glib8:i386 libpoppler-qt5-1 libpoppler126:i386
libqscintilla2-qt5-15 libqt5designer5 libqt5gui5 libqt5help5 libqt5multimedia5
libqt5multimedia5-plugins libqt5multimediagsttools5 libqt5multimediawidgets5 libqt5printsupport5
libqt5quick5 libqt5quickcontrols2-5 libqt5quicktemplates2-5 libqt5quickwidgets5 libqt5svg5
libqt5webenginecore5 libqt5webenginewidgets5 libqt5webkit5 libqt5widgets5 libqt5x11extras5
libqt6gui6 libqt6widgets6 libraqm0 librsvg2-2 librsvg2-2:i386 librsvg2-common libsane:i386
libsane1:i386 libtheora0:i386 libthunarx-3-0 libvte-2.91-0 libwebkit2gtk-4.0-37
libwebkit2gtk-4.1-0 libwnck-3-0 libwxgtk3.2-1 libxapp1 libxfce4panel-2.0-4 libxfce4ui-2-0
libxfce4ui-utils libyelp0 lightdm lightdm-gtk-greeter lightdm-gtk-greeter-mx23
lightdm-gtk-greeter-settings luckybackup lutris lxrandr magnus master-pdf-editor-4
master-pdf-editor-5 menulibre mpd mtr mugshot mx-apps mx-boot-options mx-bootrepair mx-cleanup
mx-conky mx-datetime mx-installer mx-live-usb-maker mx-locale mx-network-assistant
mx-packageinstaller mx-packageinstaller-pkglist mx-remastercc mx-repo-manager mx-samba-config
mx-select-sound mx-service-manager mx-snapshot mx-system-sounds mx-tools mx-tweak
mx-usb-unmounter mx-user mx-viewer mx-welcome neofetch network-manager-gnome
network-manager-openconnect-gnome network-manager-openvpn-gnome nomacs onboard onboard-data
openjdk-17-jre openjdk-17-jre-headless orage orca orca-sops packagesearch pavucontrol
pdfarranger peek peg-e pinentry-gnome3 pinentry-gtk2 plymouth-label plymouth-themes
plymouth-themes-mx plymouth-x11 policykit-1-gnome python3-img2pdf python3-opensnitch-ui
python3-pikepdf python3-pil python3-pyqt5 python3-pyqt5.qtsql python3-reportlab qjackctl
qml-module-qt-labs-platform qml-module-qtgraphicaleffects qml-module-qtquick-controls
qml-module-qtquick-controls2 qml-module-qtquick-dialogs qml-module-qtquick-extras
qml-module-qtquick-layouts qml-module-qtquick-privatewidgets qml-module-qtquick-templates2
qml-module-qtquick-window2 qml-module-qtquick2 qpdfview qpdfview-djvu-plugin
qpdfview-pdf-poppler-plugin qpdfview-ps-plugin qpdfview-translations qt-heif-image-plugin
qt5-gtk-platformtheme qt5-gtk2-platformtheme qt5-image-formats-plugins qt5-style-kvantum
qt5-style-plugin-cleanlooks qt5-style-plugin-motif qt5-style-plugin-plastique qt5-style-plugins
qt5ct qt6-gtk-platformtheme quick-system-info-gui recoll recollgui rofi scrot seahorse
simple-scan smart-notifier spice-vdagent sqlitebrowser ssh-askpass-gnome strawberry swell-foop
synaptic system-config-printer system-config-printer-common system-keyboard-qt tesseract-ocr
thunar thunar-archive-plugin thunar-gtkhash thunar-media-tags-plugin
thunar-modified-desktop-file thunar-shares-plugin thunar-volman thunderbird thunderbird-l10n-de
timeshift transmission-qt tumbler-plugins-extra unpaper user-installed-packages virtualbox
virtualbox-ext-pack virtualbox-qt vlc vlc-plugin-base vlc-plugin-qt vlc-plugin-video-output
volumeicon-alsa vorta webcamoid webcamoid-plugins wine-staging wine-staging-amd64
wine-staging-i386:i386 winehq-staging winetricks xdg-desktop-portal-gtk xdg-user-dirs-gtk xfburn
xfce4-appfinder xfce4-battery-plugin xfce4-clipman xfce4-cpufreq-plugin xfce4-cpugraph-plugin
xfce4-datetime-plugin xfce4-diskperf-plugin xfce4-docklike-plugin xfce4-fsguard-plugin
xfce4-genmon-plugin xfce4-mount-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin
xfce4-notifyd xfce4-panel xfce4-places-plugin xfce4-power-manager xfce4-power-manager-plugins
xfce4-pulseaudio-plugin xfce4-screensaver xfce4-screenshooter xfce4-sensors-plugin xfce4-session
xfce4-settings xfce4-smartbookmark-plugin xfce4-systemload-plugin xfce4-taskmanager
xfce4-terminal xfce4-timer-plugin xfce4-verve-plugin xfce4-wavelan-plugin xfce4-weather-plugin
xfce4-whiskermenu-plugin xfce4-xkb-plugin xfdesktop4 xfwm4 xsane yad yelp zenity
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Sat Mar 23, 2024 6:55 pm
by dolphin_oracle
because the version of libfreetype you are replacing is a dependency of all those packages.
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Sun Mar 24, 2024 4:43 am
by Duliwi
Thank you.
Question 1: Is there a way to prevent the uninstallation of these dependencies?
Question 2: Why are they not reinstalled, as soon as I install "libfreetype6_2.10.4"?
Question 3: Can I really install in principle "libfreetype6_2.10.4" (which was used in Debian 10) in Debian 12 (MX-23). Is there no compatibility problem? Some times it is said, that you can't install packages designet for Debian 10 in Debian 12 and the other way round. Is this not a problem with "libfreetype6_2.10.4"?
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Sun Mar 24, 2024 6:13 am
by asqwerth
Question 1: no, because you are trying to fit a MX19 package (I'm assuming version 2.10 is the MX19 version) into MX23. Those removed packages in MX23 depend on a newer version of libfreetype. That's how they were built. Dependencies in Linux systems are all interconnected.
Question 2: because libfreetype6_2.12 (official version for MX23] was a dependency of all the removed packages. They cannot work with libfreetype6_2.10.4. Version 2.10 will require installation of MX19 version of those removed packages into your MX23 VM, but of course that will further break your test VM. You will need to remove 2.10, reinstall 2.12, then reinstall each of the removed packages. Also reinstall all the stuff removed by your attempt to install libfreetype 2.13
Question 3: No. I'm sure you know better than that, after seeing all the packages being removed.
https://wiki.debian.org/DontBreakDebian
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Sun Mar 24, 2024 6:37 am
by Duliwi
OK I see. Thank you.
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Mon Mar 25, 2024 4:35 am
by Stevo
You can use aptitude and its multiple solutions to restore the MX 23 version of libraries without removing things. You just have to have patience and work through the suggestions.
Code: Select all
apt policy libfreetype6
libfreetype6:
Installed: 2.12.1+dfsg-5 (not you)
Candidate: 2.12.1+dfsg-5
Code: Select all
sudo aptitude install libfreetype6=2.12.1+dfsg-5
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Tue May 06, 2025 9:00 am
by Duliwi
Some monthes later:
I have solved the hinting problem of my Wine/Lutris programme by starting the programme this way (without replacing the freetype version):
Code: Select all
$ FREETYPE_PROPERTIES="truetype:interpreter-version=35" lutris lutris:rungameid/3
In short: With the old interpreter version (35) I have not this hinting problems.
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Tue May 06, 2025 1:23 pm
by Stevo
Re: I was trying to install the package "libfreetype6_2.13.2" (in my VM)
Posted: Wed May 07, 2025 1:54 am
by Duliwi
No, I had hinting problems with my working (normal) system (MX-23) in some wine programmes. Only in Wine programmes.
Sorry for confusion.
My idea was, that the culprit could be freetype. My idea was to replace the freetype version through an other freetype version, because in MX-19 I had not this problem and there I used an other freetype version, of course.
As I did not know, if the replacement is possible, I have tried this not in my normal system, because I did not want to destroy anything. This is why I tried the freetype replacing in a VM. This was the only reason, why I made this in a VM in post #1.
I didn't describe the background of my motivation in post #1 to keep it simple.