Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

What would be the most convenient release format for the LinuxDwarfPack?

Redhat RPM
Ubuntu SNAP
Debian DEB
Arch XZ
Docker
AppImage
Current tbz2
Other
Flatpak
Alpine

Pages: 1 ... 5 6 [7] 8 9 ... 14

Author Topic: LinuxDwarfPack-0.47.05-r8 (with DFHack r8)  (Read 90814 times)

jecowa

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #90 on: April 18, 2021, 10:28:45 am »

Code: [Select]
User@pop-os:~$ cd Downloads
User@pop-os:~/Downloads$ sudo apt -f install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
[sudo] password for User:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Note, selecting 'linux-dwarf-pack' instead of 'linux-dwarf-pack_0.47.05-r1_amd64.deb'
linux-dwarf-pack is already the newest version (0.47.05-r1).
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:
 linux-dwarf-pack : Depends: qt5-default but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
User@pop-os:~/Downloads$ ▉

I'm wondering if maybe the libraries are supposed to be inside the deb so they get installed when it's double-clicked.
« Last Edit: April 18, 2021, 10:56:49 am by jecowa »
Logged

McArcady

  • Bay Watcher
  • working on a mysterious construction
    • View Profile
    • LinuxDwarfPack - a ready-to-play pack for Linux
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #91 on: April 19, 2021, 04:00:17 pm »

Code: [Select]
linux-dwarf-pack is already the newest version (0.47.05-r1).

Mmmh, I've seen this one before:
apt doesn't want to overwrite a package with the same version number.
Try removing and reinstalling?
Code: [Select]
$ sudo apt remove linux-dwarf-pack
$ sudo apt -f install ./linux-dwarf-pack_0.47.05-r1_amd64.deb

Thanks for your patience!

gnyav

  • Escaped Lunatic
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #92 on: April 20, 2021, 06:37:24 am »

I have a problem with the AnnouncementWindow
When I try to open it, it say:
Code: [Select]
Traceback (most recent call last):
  File "run.py", line 1, in <module>
    import Window
  File "/mnt/Personal/Games/LinuxDwarfPack-0.47.05-r1/announcement/Window.py", line 26, in <module>
    from PIL import Image, ImageTk
ImportError: No module named PIL
I'm using linux mint (ubuntu based), first i had a error about python libraries missing, but i added them. and now it's this module. Any idea how to fix it?
Logged

jecowa

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #93 on: April 20, 2021, 07:03:05 am »

I'm guessing it wants the "python3-pil.imagetk" library.
Logged

gnyav

  • Escaped Lunatic
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #94 on: April 20, 2021, 08:08:26 am »

I'm guessing it wants the "python3-pil.imagetk" library.
that's what i thought at the start, but according to synaptic package manager i have it installed...
Logged

McArcady

  • Bay Watcher
  • working on a mysterious construction
    • View Profile
    • LinuxDwarfPack - a ready-to-play pack for Linux
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #95 on: April 20, 2021, 02:13:25 pm »

I'm guessing it wants the "python3-pil.imagetk" library.
that's what i thought at the start, but according to synaptic package manager i have it installed...

Have you installed all these deps?
Code: [Select]
$ sudo apt install python3-tk python3-distutils python3-pil.imagetk
Maybe try reinstalling them... also make sure that 'python' is Python3 by default:
Code: [Select]
$ sudo update-alternatives --config python

jecowa

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #96 on: April 20, 2021, 11:22:30 pm »

Code: [Select]
linux-dwarf-pack is already the newest version (0.47.05-r1).

Mmmh, I've seen this one before:
apt doesn't want to overwrite a package with the same version number.
Try removing and reinstalling?
Code: [Select]
$ sudo apt remove linux-dwarf-pack
$ sudo apt -f install ./linux-dwarf-pack_0.47.05-r1_amd64.deb

Thanks for your patience!

Quote from: pop-os Terminal
User@pop-os:~$ cd Downloads/
User@pop-os:~/Downloads$ sudo apt remove linux-dwarf-pack
[sudo] password for User:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.3.0-7625 linux-headers-5.3.0-7625-generic
  linux-image-5.3.0-7625-generic linux-modules-5.3.0-7625-generic
  linux-modules-extra-5.3.0-7625-generic python-certifi python-chardet
  python-idna python-openssl python-requests python-urllib3
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  linux-dwarf-pack
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
1 not fully installed or removed.
After this operation, 191 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 294385 files and directories currently installed.)
Removing linux-dwarf-pack (0.47.05-r1) ...
User@pop-os:~/Downloads$ sudo apt -f install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-dwarf-pack' instead of './linux-dwarf-pack_0.47.05-r1_amd64.deb'
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:
 linux-dwarf-pack : Depends: qt5-default but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
User@pop-os:~/Downloads$
Logged

Mathalor

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #97 on: April 20, 2021, 11:34:41 pm »

Can't figure out Dwarf Therapist on Ubuntu.  I need to run a script or something.  Where is Dwarf Therapist installed?
Logged

jecowa

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #98 on: April 20, 2021, 11:55:15 pm »

Can't figure out Dwarf Therapist on Ubuntu.  I need to run a script or something.  Where is Dwarf Therapist installed?

In the .tar.bz2 distribution, it's located in /bin/dwarftherapist/

In the .deb dpkg distribution, I think it gets installed into the Linux equivalent of the Windows Start Menu or the Mac Launchpad.
Logged

gnyav

  • Escaped Lunatic
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #99 on: April 21, 2021, 01:35:15 am »

Have you installed all these deps?
Code: [Select]
$ sudo apt install python3-tk python3-distutils python3-pil.imagetk
Maybe try reinstalling them... also make sure that 'python' is Python3 by default:
Code: [Select]
$ sudo update-alternatives --config python

I had the packages, but it was using python 2 by default. it's fixed now. thanks!
Logged

Mathalor

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r4
« Reply #100 on: April 21, 2021, 01:47:40 pm »

The applications menu has an entry for dwarf fortress, which opens the launcher.  There is not a separate entry for dwarf therapist, and I can't find a file for the launcher in /.local/share/applications/  I also checked /.local/share/linux-dwarf-pack/bin/  The folder contains some dwarftherapist.log files, but nothing else. 

Perhaps I could change the security setting itself, but there's a lot about linux that I don't understand and that seems unsafe.  Unless I've misunderstood, the other fixes listed in the document Odlat linked to all seem to require the dwarf therapist executable.
Logged

McArcady

  • Bay Watcher
  • working on a mysterious construction
    • View Profile
    • LinuxDwarfPack - a ready-to-play pack for Linux
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #101 on: April 21, 2021, 02:55:59 pm »

Code: [Select]
The following packages have unmet dependencies:
 linux-dwarf-pack : Depends: qt5-default but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I run out of ideas...
BTW the tool 'gdebi' may help with installing a deb file and its dependencies. More information here.
Or maybe try installing the last dependencies manually?

McArcady

  • Bay Watcher
  • working on a mysterious construction
    • View Profile
    • LinuxDwarfPack - a ready-to-play pack for Linux
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r4
« Reply #102 on: April 21, 2021, 03:06:12 pm »

The applications menu has an entry for dwarf fortress, which opens the launcher.  There is not a separate entry for dwarf therapist, and I can't find a file for the launcher in /.local/share/applications/  I also checked /.local/share/linux-dwarf-pack/bin/  The folder contains some dwarftherapist.log files, but nothing else. 
Dwarf-Therapist and all other tools are installed in /opt/linux-dwarf-pack.
You should see it in the 'Utilities' tab of the launcher.

You may also install it separately from the LinuxDwarfPack. As long as the version is compatible with DF v0.47.05, it should work (last version is 41.2.2).

Clément

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #103 on: April 21, 2021, 03:32:41 pm »

jecowa, did you try "apt -f install" without installing any package ? Your dependencies are broken, you need to find which installed package is causing all this. aptitude has a why-not command that could help but I don't know the apt equivalent.
Logged

jecowa

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #104 on: April 21, 2021, 05:41:37 pm »

jecowa, did you try "apt -f install" without installing any package ?

Trying that command after first doing the "remove" and "install linux-dwarf-pack.deb" commands gives me some of the same stuff as trying to remove linux-dwarf-pack:
Code: [Select]
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.3.0-7625 linux-headers-5.3.0-7625-generic
  linux-image-5.3.0-7625-generic linux-modules-5.3.0-7625-generic
  linux-modules-extra-5.3.0-7625-generic python-certifi python-chardet
  python-idna python-openssl python-requests python-urllib3
Use 'sudo apt autoremove' to remove them.

Your dependencies are broken, you need to find which installed package is causing all this.
Are you saying I have these libraries installed already, so linux-dwarf-pack isn't able to install them. But the libraries that I have installed are broken, so they can't be used? I don't normally install software on Linux. I kind of thought the dpkg was supposed to make it easy and handle dependencies for me.
Logged
Pages: 1 ... 5 6 [7] 8 9 ... 14