Acmeraptor
Joined 17 August 2024
Acmeraptor (talk | contribs) No edit summary |
Acmeraptor (talk | contribs) No edit summary |
||
| Line 623: | Line 623: | ||
for desktop only | for desktop only | ||
apt install exiftool flatpak plasma-discover-backend-flatpak | apt install exiftool flatpak plasma-discover-backend-flatpak | ||
==Debian Tips== | |||
Steps to Fix the Package Dependency | |||
#First, I navigated to the Downloads directory with the following command: cd ~/Downloads | |||
#Then, I extracted the contents of the Minecraft.deb package using the full command dpkg-deb --raw-extract Minecraft.deb minecraft-extracted-package to put it into a new folder. | |||
#After that, I used the nano editor to open and edit the control file located inside the DEBIAN folder: nano minecraft-extracted-package/DEBIAN/control | |||
#Inside the control file, I found the line that started with Depends: and changed libgdk-pixbuf2.0-0 to libgdk-pixbuf-xlib-2.0-0. Then, I saved the changes and closed the file. | |||
#Finally, I re-packaged the content with the correction to create a new .deb file named minecraft-launcher-fixed.deb: dpkg-deb --build minecraft-extracted-package minecraft-launcher-fixed.deb | |||
With the new package ready, I installed the corrected package first with dpkg. This would fail because the default-jre and libgdk-pixbuf-xlib-2.0-0 dependencies were still missing. Then, I used the apt command to fix the broken installation, which would install the remaining dependencies automatically. sudo dpkg -i minecraft-launcher-fixed.deb sudo apt --fix-broken install | |||