[Voyage-linux] Voyage-current

n schembr (spam-protected)
Thu Sep 21 20:33:14 HKT 2006


It looks like a locking issue.  dpkg is locking  /var/lib/dpkg/lock and something in /var/cache/apt/.  remountro is failing and causing the issue. 

I'm not sure how to check the lock files for dpkg and apt-get.  A check needs to be added to remountro to print a warning and end cleanly.  This will allow apt-get to finish.

It might be easer to change the install script not to run voyage-util.  Have the install print instructions to the user to start the voyage-util process or reboot.






----- Original Message ----
From: Kim-man 'Punky' TSE <punkytse at punknix.com>
To: n schembr <nschembr at yahoo.com>
Cc: voyage-linux at voyage.hk
Sent: Thursday, September 21, 2006 1:44:23 AM
Subject: Re: [Voyage-linux] Voyage-current

I noticed this bug in /etc/init.d/voyage-util for a long long time.  It 
is needed to find way to get around this by:

    * /etc/init.d/voyage-util can only be run by init; or
    * disable running of /etc/init.d/voyage-util by post-inst script in
      voyage-util package.

Any idea?

Punky

n schembr wrote:
> This is from voyage-current 9/19/2006. 
> login 
> remountrw
> passwd
> apt-get update
> apt-get install nano
>
> This error:
> voyage:/ro/etc# apt-get install voyage-util 
> Reading package lists... Done
> Building dependency tree... Done
> voyage-util is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LANGUAGE = (unset),
>         LC_ALL = (unset),
>         LANG = "en_US.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Setting up voyage-util (0.3-1) ...
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LANGUAGE = (unset),
>         LC_ALL = (unset),
>         LANG = "en_US.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Remounting / as read-write ... Done.
> Removing /etc/nologin ... Done.
> Remounting / as read-only ... mount: / is busy
> invoke-rc.d: initscript voyage-util, action "start" failed.
> dpkg: error processing voyage-util (--configure):
>  subprocess post-installation script returned error exit status 32
> Errors were encountered while processing:
>  voyage-util
> E: Sub-process /usr/bin/dpkg returned an error code (1) 
>
> Nicholas A. Schembri
> State College, PA USA
>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>   


-- 
Regards,
Punky

P U N K N ! X  . c o m
Technology + Lifestyle
(http://www.punknix.com)

V O Y A G E . H K - http://www.voyage.hk
Linux - voyage-0.2 is released!
Store - Senao NMP-8602 Plus (400mW) is now in stock! 












More information about the Voyage-linux mailing list