13.2 beta multimedia codecs and libreoffice

You think you have found a bug? Let us know about it.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

13.2 beta multimedia codecs and libreoffice

Post by mimosa »

"Install multimedia codecs" eventually produces this error message:
There was an error downloading the required packages. Please make sure that your internet connection is working properly and try again
exactly the same for several attempts, when it looks as though the download is (nearly) complete.

All I have done so far is

slapt-get -u ; slapt-get --update ; slapt-get -i MPlayer alpine mac

I shut the machine down with a (quite large) document open in LibreOffice, and on booting again, Libre Office opens and produces a fleeting error message about being unable to find the file - twice. Eventually the file appears. This is just an irritation, but surely unintended.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: 13.2 beta multimedia codecs and libreoffice

Post by mimosa »

Despite the error message (which persists), the codecs appear to have been installed. I did a bit of fiddling with grep and diff and came up with the following list of files that are missing - except they're not:

Code: Select all

slapt-get -l | grep -of /usr/share/salix-codecs-installer/pkglist > overlap
root[mimosa]# diff overlap /usr/share/salix-codecs-installer/pkglist | grep '>'
> gst-plugins-bad
> opencore-amr
> schroedinger
> util-linux-ng
root[mimosa]# slapt-get -i gst-plugins-bad opencore-amr schroedinger util-linux-ng
Reading Package Lists...Done
gst-plugins-bad is up to date.
opencore-amr is up to date.
schroedinger is up to date.
No such package: util-linux-ng
Looks like I made a mistake somewhere - but anyway, I tried playing a BBC DVD (wrong region) and it worked. I wouldn't swear to the video quality being as it should, but that's probably just my imagination.

It's quite long, but just in case it's any use for reference, here's the overlap, that is, codecs that already appear to be installed; with apologies for double entries:

Code: Select all

root[mimosa]# slapt-get -l | grep -of /usr/share/salix-codecs-installer/pkglist 
GConf
GConf
ORBit2
ORBit2
a52dec
a52dec
aalib
aalib
alsa-lib
alsa-lib
amrnb
amrnb
amrwb
amrwb
audiofile
audiofile
ncurses
bzip2
bzip2
cairo
cairo
cairo
cairo
cairo
ncurses
cxxlibs
cxxlibs
dbus
dbus
dbus-glib
dbus-glib
dbus
dbus
dbus
dbus
dirac
dirac
flac
sdl
sdl
esound
esound
expat
expat
faac
faac
faad2
flac
flac
fontconfig
fontconfig
freetype
freetype
gcc
gcc
gcc
gcc
gcc
gcc
gcc
gcc
gcc
gcc
gcc
gcc
gcc
gcc
GConf
glib2
glib2
gnutls
gnutls
gpm
gpm
gst-ffmpeg
gst-ffmpeg
gstreamer
gst-plugins-bad
gst-plugins-bad
gst-plugins-base
gst-plugins-base
gst-plugins-good
gst-plugins-good
gst-plugins-ugly
gst-plugins-ugly
gst-python
gst-python
gstreamer
gstreamer
gtk+2
gtk+2
hal
hal
hal
hal
jasper
jasper
lame
lame
libICE
libICE
libSM
libSM
libX11
libX11
libXau
libXau
libXdamage
libXdamage
libXdmcp
libXdmcp
libXext
libXext
libXfixes
libXfixes
libXrandr
libXrandr
libXrender
libXrender
libass
libass
libass
libass
libcaca
libcaca
libcdaudio
libcdaudio
libcdio
libcdio
libcuefile
libcuefile
dbus
dbus
libdca
libdca
libdv
libdv
libdv
libdv
libdvdcss
libdvdcss
libdvdnav
libdvdnav
libdvdread
libdvdread
libexif
libexif
libgcrypt
libgcrypt
libgpg-error
libgpg-error
libid3tag
libid3tag
libjpeg
libjpeg
libmad
libmad
libmms
libmms
libmpeg2
libmpeg2
libogg
libogg
liboil
liboil
libpng
libpng
hal
libreplaygain
libreplaygain
libshout
libshout
libsoup
libsoup
libtheora
libtheora
libvorbis
libvorbis
libvorbis
libvorbis
libvpx
libvpx
libxcb
libxcb
libxml2
libxml2
libxml2
mjpegtools
mjpegtools
hal
musepack-tools
musepack-tools
ncurses
ncurses
neon
neon
opencore-amr
opencore-amr
openssl
openssl
openssl
openssl
cairo
cairo
cairo
pixman
pixman
cairo
cairo
cairo
ORBit2
ncurses
schroedinger
schroedinger
sdl
sdl
hal
hal
hal
slang
slang
slang
slang
speex
speex
svgalib
svgalib
taglib
taglib
taglib
taglib
taglib
twolame
twolame
wavpack
wavpack
wavpack
x264
x264
xvidcore
xvidcore
zlib
zlib
util-linux-ng
util-linux-ng
root[mimosa]# 
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: 13.2 beta multimedia codecs and libreoffice

Post by thenktor »

That's because util-linux-ng was replaced by util-linux, but it's not noted in ftp://ftp.ntua.gr/pub/linux/slackware/s ... _HINTS.TXT
So some deps have to be corrected.

EDIT: See the Slackware current ChangeLog of Wed Feb 16 08:05:44 UTC 2011: ftp://ftp.slackware.com/pub/slackware/s ... ngeLog.txt

Thanks for the report!
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: 13.2 beta multimedia codecs and libreoffice

Post by gapan »

It's not a problem if some of the packages in the list are already installed. Salix-codecs-installer checks if they are installed before doing anything anyway. The problem is that slackware replaced the util-linux-ng package with util-linux yesterday, so when salix-codecs installer tries to install the util-linux-ng package, it doesn't find it.

A quick fix, until a new package is in the repos, would be to run:

Code: Select all

# sed -i "s/util-linux-ng/util-linux/" /usr/share/salix-codecs-installer/pkglist
and then run salix-codecs-installer again.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: 13.2 beta multimedia codecs and libreoffice

Post by mimosa »

Thanks gapan - it didn't like that (see below) but I'll do as you say in the other thread:

Code: Select all

root[mimosa]# sed -i "s/util-linux-ng/util-linux/"/usr/share/salix-codecs-installer/pkglist
sed: -e expression #1, char 28: unknown option to `s'
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: 13.2 beta multimedia codecs and libreoffice

Post by gapan »

Sorry, I missed a space in there. I corrected it now.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: 13.2 beta multimedia codecs and libreoffice

Post by mimosa »

... I think the problem has been solved three ways now. I got to "remove codecs installer" :)

Should have looked at your command instead of blindly copying and pasting ... :oops:
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: 13.2 beta multimedia codecs and libreoffice

Post by thenktor »

PS: all deps on the server have been upgraded yesterday evening (UTC), so slapt-get should work as expected again.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: 13.2 beta multimedia codecs and libreoffice

Post by mimosa »

I'm having trouble playing some DVDs, which looks like codecs trouble (no sound, eventually Parole gives up and says it can't read DVD). 13.1.2 plays them fine. I tried resinstalling salix-codecs-installer and running it again (updated first); it completed successfully, but didn't make any difference. I tried other apps too, so it's not just Parole.

I don't know if this is related to the previous problem, but it seems possible.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: 13.2 beta multimedia codecs and libreoffice

Post by thenktor »

Try vlc :mrgreen:
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply