Latest Posts

Topic: Unable to Install after Ubuntu Update

loethelunz
Avatar
Topic Opener
Joined: 2020-06-05, 11:30
Posts: 5
Ranking
Just found this site
Posted at: 2020-06-05, 11:32

Hi I get following Messagewhen i try to install Wiedlands after i updated Ubuntu ti the newest Version: [sudo] Passwort für loethe: Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass Sie eine unmögliche Situation angefordert haben oder, wenn Sie die Unstable-Distribution verwenden, dass einige erforderliche Pakete noch nicht erstellt wurden oder Incoming noch nicht verlassen haben. Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten: widelands : Hängt ab von: widelands-data (= 1:20-2build2) aber 1:20-0-5~ubuntu19.10.1 soll installiert werden E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.

What can i do?


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1949
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-06-05, 11:40

Hi loethelunz and welcome to the forum face-smile.png

Did you install one of the Widelands PPAs in the past? If so, please remove them (sudo add-apt-repository --remove ppa:widelands-dev/widelands and/or sudo add-apt-repository --remove ppa:widelands-dev/widelands-daily). Also make sure that no older version is around and causing trouble: sudo apt-get remove widelands-data widelands

Then try sudo apt-get install widelands again.
If it still doesn't work, try to use the Widelands stable PPA instead:

sudo add-apt-repository ppa:widelands-dev/widelands
sudo apt-get update
sudo apt-get install widelands

Does any of this work for you?


Top Quote
loethelunz
Avatar
Topic Opener
Joined: 2020-06-05, 11:30
Posts: 5
Ranking
Just found this site
Posted at: 2020-06-05, 21:22

Hi Thanks for your Tipps, the Game ist installed now but is not running..it shuts down bevor tehe startscreen is readable


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1949
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-06-05, 21:28

One problem solved, another appears face-tongue.png Can you run widelands from a terminal and provide the output? That will probably contain an error message describing the problem.


Top Quote
loethelunz
Avatar
Topic Opener
Joined: 2020-06-05, 11:30
Posts: 5
Ranking
Just found this site
Posted at: 2020-06-05, 21:46
oethe@Hal2020:~/Schreibtisch$ widelands 
This is Widelands Version build-20 (Release)
Set home directory: /home/loethe/.widelands
Adding directory: /usr/share/games/widelands/data
selected language: (system language)
using locale de_DE.UTF-8
Graphics: Try to set Videomode 1920x1080
Graphics: OpenGL: Version "3.0 Mesa 20.0.4"
Graphics: SDL_GL_RED_SIZE is 8
Graphics: SDL_GL_GREEN_SIZE is 8
Graphics: SDL_GL_BLUE_SIZE is 8
Graphics: SDL_GL_ALPHA_SIZE is 0
Graphics: SDL_GL_BUFFER_SIZE is 24
Graphics: SDL_GL_DOUBLEBUFFER is 1
Graphics: SDL_GL_DEPTH_SIZE is 24
Graphics: SDL_GL_STENCIL_SIZE is 8
Graphics: SDL_GL_ACCUM_RED_SIZE is 0
Graphics: SDL_GL_ACCUM_GREEN_SIZE is 0
Graphics: SDL_GL_ACCUM_BLUE_SIZE is 0
Graphics: SDL_GL_ACCUM_ALPHA_SIZE is 0
Graphics: SDL_GL_STEREO is 0
Graphics: SDL_GL_MULTISAMPLEBUFFERS is 0
Graphics: SDL_GL_MULTISAMPLESAMPLES is 0
Graphics: SDL_GL_ACCELERATED_VISUAL is 1
Graphics: SDL_GL_CONTEXT_MAJOR_VERSION is 2
Graphics: SDL_GL_CONTEXT_MINOR_VERSION is 1
Graphics: SDL_GL_CONTEXT_FLAGS is 0
Graphics: SDL_GL_CONTEXT_PROFILE_MASK is 2
Graphics: SDL_GL_SHARE_WITH_CURRENT_CONTEXT is 0
Graphics: SDL_GL_FRAMEBUFFER_SRGB_CAPABLE is 0
Graphics: OpenGL: Double buffering enabled
Graphics: OpenGL: Max texture size: 16384
Graphics: OpenGL: ShadingLanguage: "1.30"
**** GRAPHICS REPORT ****
 VIDEO DRIVER GLVND x11
 pixel fmt 370546692
 size 1920 1080
**** END GRAPHICS REPORT ****
Style Manager: Loading templates/default/init.lua ... took 2ms
Style Manager: Reading button styles ... took 15ms
Style Manager: Reading slider styles ... took 0ms
Style Manager: Reading tabpanel styles ... took 0ms
Style Manager: Reading editbox styles ... took 1ms
Style Manager: Reading dropdown styles ... took 0ms
Style Manager: Reading scrollbar styles ... took 0ms
Style Manager: Reading style templates took 18ms
**** SOUND REPORT ****
SDL version: 2.0.10
SDL_mixer version: 2.0.4
**** END SOUND REPORT ****
Font file not found. Falling back to sans: DejaVu/DejaVuSans-Bold.ttf
LayeredFileSystem: Could not load file: could not find file or directory: i18n/fonts/DejaVu/DejaVuSans-Bold.ttf
I have tried the following path(s):
    /home/loethe/.widelands/i18n/fonts/DejaVu/DejaVuSans-Bold.ttf
    /usr/share/games/widelands/data/i18n/fonts/DejaVu/DejaVuSans-Bold.ttf

Caught exception (of type '17FileNotFoundError') in outermost handler!
The exception said: LayeredFileSystem: Could not load file: could not find file or directory: i18n/fonts/DejaVu/DejaVuSans.ttf
I have tried the following path(s):
    /home/loethe/.widelands/i18n/fonts/DejaVu/DejaVuSans.ttf
    /usr/share/games/widelands/data/i18n/fonts/DejaVu/DejaVuSans.ttf

This should not happen. Please file a bug report on version build-20(Release).
and remember to specify your operating system.

SoundHandler closing times 1, freq 22050, format 32784, chan 2
SDL_AUDIODRIVER pulseaudio

Edited by Nordfriese: fixed formatting

Edited: 2020-06-05, 21:58

Top Quote
loethelunz
Avatar
Topic Opener
Joined: 2020-06-05, 11:30
Posts: 5
Ranking
Just found this site
Posted at: 2020-06-05, 21:47

Seems there are fonts missing in theSystem..but i dont know how to fix this..sorry i am a linux noob..


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1949
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-06-05, 22:06

Hm… looks like some broken dependencies. Could you try

sudo apt-get install fonts-dejavu-core fonts-dejavu-extra fonts-freefont-ttf fonts-hosny-amiri fonts-lklug-sinhala fonts-nakula fonts-wqy-microhei 

and perhaps also take a look into the directory /usr/share/games/widelands/data/i18n/fonts to see which file(s) are present and which ones are missing.
If nothing else works it would still be possible to manually download the missing TFFs somewhere and put them into ~/.widelands/i18n/fonts/<name>.tff


Top Quote
loethelunz
Avatar
Topic Opener
Joined: 2020-06-05, 11:30
Posts: 5
Ranking
Just found this site
Posted at: 2020-06-06, 10:54

Maybe it is easey to reinstall ubuntu, since there is no data to loose..

Edited: 2020-06-06, 10:56

Top Quote