You are not logged in.

#1 2012-02-06 10:17:31

digitalone
Member
Registered: 2011-08-19
Posts: 355

vlc upgrade freezes pacman

Hi everyone, vlc freezes pacman when I'm upgrading the system.
With

pacman -S --debug vlc

I have a long debug, but pacman is blocked on the following lines:

debug: extracting /usr/share/locale/cs/LC_MESSAGES/vlc.mo
debug: extracting /usr/share/locale/co/LC_MESSAGES/
debug: extracting /usr/share/locale/co/LC_MESSAGES/vlc.mo
debug: extracting /usr/share/locale/ckb/LC_MESSAGES/
debug: extracting /usr/share/locale/ckb/LC_MESSAGES/vlc.mo
debug: extracting /usr/share/locale/cgg/LC_MESSAGES/
debug: extracting /usr/share/locale/cgg/LC_MESSAGES/vlc.mo
debug: extract: skipping dir extraction of usr/share/locale/ca/LC_MESSAGES/
debug: extracting /usr/share/locale/ca/LC_MESSAGES/vlc.mo
debug: extract: skipping dir extraction of usr/share/locale/br/LC_MESSAGES/
debug: extracting /usr/share/locale/br/LC_MESSAGES/vlc.mo
debug: extract: skipping dir extraction of usr/share/locale/bn/LC_MESSAGES/
debug: extracting /usr/share/locale/bn/LC_MESSAGES/vlc.mo
debug: extract: skipping dir extraction of usr/share/locale/bg/LC_MESSAGES/
debug: extracting /usr/share/locale/bg/LC_MESSAGES/vlc.mo
debug: extract: skipping dir extraction of usr/share/locale/be/LC_MESSAGES/
debug: extracting /usr/share/locale/be/LC_MESSAGES/vlc.mo
debug: extract: skipping dir extraction of usr/share/locale/ast/LC_MESSAGES/
debug: extracting /usr/share/locale/ast/LC_MESSAGES/vlc.mo
debug: extract: skipping dir extraction of usr/share/locale/ar/LC_MESSAGES/
debug: extracting /usr/share/locale/ar/LC_MESSAGES/vlc.mo
debug: extract: skipping dir extraction of usr/share/locale/am/LC_MESSAGES/
debug: extracting /usr/share/locale/am/LC_MESSAGES/vlc.mo
debug: extract: skipping dir extraction of usr/share/locale/af/LC_MESSAGES/
debug: extracting /usr/share/locale/af/LC_MESSAGES/vlc.mo
debug: extracting /usr/share/locale/ach/LC_MESSAGES/
debug: extracting /usr/share/locale/ach/LC_MESSAGES/vlc.mo
debug: updating database
debug: adding database entry 'vlc'
debug: writing vlc-1.1.13-5 DESC information back to db
debug: writing vlc-1.1.13-5 FILES information back to db
debug: adding entry 'vlc' in 'local' cache
debug: executing ". /tmp/alpm_xMNJTs/.INSTALL; post_upgrade 1.1.13-5 1.1.13-5"
debug: executing "/bin/sh" under chroot "/"

I have to stop it with CTRL+Z. The strange thing is vlc works fine and it is upgraded.
Have you any idea? Thanks...

Offline

#2 2012-02-06 11:22:55

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: vlc upgrade freezes pacman

Looks like it's hanging running the install script, you can check /var/lib/pacman/local/vlc-1.1.13-5/install to see what commands it's calling and try running the same thing yourself

Offline

#3 2012-02-06 19:52:13

digitalone
Member
Registered: 2011-08-19
Posts: 355

Re: vlc upgrade freezes pacman

mcmillan wrote:

Looks like it's hanging running the install script, you can check /var/lib/pacman/local/vlc-1.1.13-5/install to see what commands it's calling and try running the same thing yourself

This file contains that:

post_install() {
    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
    usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins
    update-desktop-database -q
}

post_upgrade() {
    post_install
}

pre_remove() {
    rm -f usr/lib/vlc/plugins/plugins-*.dat
}

post_remove() {
    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
    update-desktop-database -q
}

What have I to do?

Offline

#4 2012-02-06 20:13:53

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: vlc upgrade freezes pacman

After installing or upgrade it runs

    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
    usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins
    update-desktop-database -q

So try running the same thing, except take off the  &> /dev/null part so you can see output

Offline

#5 2012-02-07 11:19:56

digitalone
Member
Registered: 2011-08-19
Posts: 355

Re: vlc upgrade freezes pacman

mcmillan wrote:

After installing or upgrade it runs
So try running the same thing, except take off the  &> /dev/null part so you can see output

Done.

[root@archtoshiba ~]# xdg-icon-resource forceupdate --theme hicolor
[root@archtoshiba ~]# usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins
-bash: usr/lib/vlc/vlc-cache-gen: File o directory non esistente
[root@archtoshiba ~]# update-desktop-database -q

Only one error: usr/lib/vlc/vlc-cache-gen doesn't exist.
Have I to create it?

Offline

#6 2012-02-07 11:44:55

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: vlc upgrade freezes pacman

should be

/usr/lib/vlc/vlc-cache-gen

try it and you'll be fine

Offline

#7 2012-02-07 12:13:27

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: vlc upgrade freezes pacman

.. or run it from /, as is the case when the .install script is executed.

debug: executing ". /tmp/alpm_xMNJTs/.INSTALL; post_upgrade 1.1.13-5 1.1.13-5"
debug: executing "/bin/sh" under chroot "/

does pacman still hang when you do a complete update?

Offline

#8 2012-02-07 23:15:07

digitalone
Member
Registered: 2011-08-19
Posts: 355

Re: vlc upgrade freezes pacman

RaisedFist wrote:

should be

/usr/lib/vlc/vlc-cache-gen

try it and you'll be fine

Problem FOUND! The following command

/usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

freezes pacman!
However, that file exists.

hokasch wrote:

.. or run it from /, as is the case when the .install script is executed.

debug: executing ". /tmp/alpm_xMNJTs/.INSTALL; post_upgrade 1.1.13-5 1.1.13-5"
debug: executing "/bin/sh" under chroot "/

Done from / as root, but It still freezes...

hokasch wrote:

does pacman still hang when you do a complete update?

Only if there's vlc.
Any idea?

Offline

#9 2012-02-08 20:09:02

digitalone
Member
Registered: 2011-08-19
Posts: 355

Re: vlc upgrade freezes pacman

Come on guys, please...

Offline

Board footer

Powered by FluxBB