On Wed, 4 May 2005 07:42:53 +0200, Ola wrote in message 
<[EMAIL PROTECTED]>:

> reopen 307429
> thanks
> 
> On Wed, May 04, 2005 at 03:55:07AM +0200, Arnt Karlsen wrote:
> > On Tue, 03 May 2005 12:03:44 -0700, Debian wrote in message 
> > <[EMAIL PROTECTED]>:
> > 
> > > This is an automatic notification regarding your Bug report
> > > #307429: ..post-installation of util-vserver_0.30.207-2
> > > #dies:"lstat(): No such file or directory",
> > > which was filed against the util-vserver package.
> > > 
> > > It has been closed by one of the developers, namely
> > > Ola Lundqvist <[EMAIL PROTECTED]>.
> > > 
> > > Their explanation is attached below.  If this explanation is
> > > unsatisfactory and you have not received a better one in a
> > > separate message then please contact the developer, by replying to
> > > this email.
> > 
> > ..it is.
> >  
> > > Source: util-vserver
> > > Source-Version: 0.30.207-3
> > > 
> > > We believe that the bug you reported is fixed in the latest
> > > version of util-vserver, which is due to be installed in the
> > > Debian FTP archive:
> > > 
> > > util-vserver_0.30.207-3.diff.gz
> > >   to pool/main/u/util-vserver/util-vserver_0.30.207-3.diff.gz
> > > util-vserver_0.30.207-3.dsc
> > >   to pool/main/u/util-vserver/util-vserver_0.30.207-3.dsc
> > > util-vserver_0.30.207-3_i386.deb
> > >   to pool/main/u/util-vserver/util-vserver_0.30.207-3_i386.deb
> > 
> > ..I get:
> > [EMAIL PROTECTED]:~ # apt-get -f install
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
> > 1 not fully installed or removed.
> > Need to get 0B of archives.
> > After unpacking 0B of additional disk space will be used.
> > --------------------- Sourcerer Apt Watcher ---------------------
> > Configure: util-vserver
> > grep: *.conf: No such file or directory
> > -----------------------------------------------------------------
> > Setting up util-vserver (0.30.207-3) ...
> > /var/lib/vservers: Function not implemented
> > dpkg: error processing util-vserver (--configure):
> >  subprocess post-installation script returned error exit status 1
> > Errors were encountered while processing:
> >  util-vserver
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > [EMAIL PROTECTED]:~ # apt-get clean
> > [EMAIL PROTECTED]:~ # apt-get -f install
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
> > 1 not fully installed or removed.
> > Need to get 0B of archives.
> > After unpacking 0B of additional disk space will be used.
> > --------------------- Sourcerer Apt Watcher ---------------------
> > Configure: util-vserver
> > grep: *.conf: No such file or directory
> > -----------------------------------------------------------------
> > Setting up util-vserver (0.30.207-3) ...
> > /var/lib/vservers: Function not implemented
> > dpkg: error processing util-vserver (--configure):
> >  subprocess post-installation script returned error exit status 1
> > Errors were encountered while processing:
> >  util-vserver
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > [EMAIL PROTECTED]:~ # apt-get remove util-vserver
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > The following packages will be REMOVED:
> >   util-vserver
> > 0 upgraded, 0 newly installed, 1 to remove and 7 not upgraded.
> > 1 not fully installed or removed.
> > Need to get 0B of archives.
> > After unpacking 1569kB disk space will be freed.
> > Do you want to continue? [Y/n]
> > --------------------- Sourcerer Apt Watcher ---------------------
> > -----------------------------------------------------------------
> > (Reading database ... 424370 files and directories currently
> > installed.) Removing util-vserver ...
> > [EMAIL PROTECTED]:~ # apt-get install util-vserver
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > The following NEW packages will be installed:
> >   util-vserver
> > 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
> > Need to get 409kB of archives.
> > After unpacking 1569kB of additional disk space will be used.
> > Get:1 http://192.168.2.222 unstable/main util-vserver 0.30.207-3
> > [409kB] Fetched 409kB in 0s (461kB/s)
> > Reading package fields... Done
> > Reading package status... Done
> > Retrieving bug reports... Done
> > --------------------- Sourcerer Apt Watcher ---------------------
> > Configure: util-vserver
> > grep: *.conf: No such file or directory
> > -----------------------------------------------------------------
> > Selecting previously deselected package util-vserver.
> > (Reading database ... 424166 files and directories currently
> > installed.) Unpacking util-vserver (from
> > .../util-vserver_0.30.207-3_i386.deb) ... Setting up util-vserver
> > (0.30.207-3) ... /var/lib/vservers: Function not implemented
> > dpkg: error processing util-vserver (--configure):
> >  subprocess post-installation script returned error exit status 1
> > Errors were encountered while processing:
> >  util-vserver
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > [EMAIL PROTECTED]:~ #  
> > 
> > ..chances are this is a new bug, though. 
> > 
> > ..looking forward to util-vserver (0.30.207-4).  ;o)
> 
> I reopend the bug. The problem is that I can not reproduce it. :)
> 
> Could you help me with debugging by adding debug lines 

..like direcing output away from /dev/null?
[EMAIL PROTECTED]:~ # mcedit /var/lib/dpkg/info/util-vserver.postinst.dbg

[EMAIL PROTECTED]:~ # diff -uN0 /var/lib/dpkg/info/util-vserver.postinst \
/var/lib/dpkg/info/util-vserver.postinst.dbg \
>/var/lib/dpkg/info/util-vserver.postinst.diff

[EMAIL PROTECTED]:~ # /var/lib/dpkg/info/util-vserver.postinst.dbg configure
 System startup links for /etc/init.d/vservers-default already exist.
 System startup links for /etc/init.d/vservers-legacy already exist.
 System startup links for /etc/init.d/rebootmgr already exist.
 System startup links for /etc/init.d/vprocunhide already exist.
/var/lib/vservers: Function not implemented

[EMAIL PROTECTED]:~ # ll /var/lib/dpkg/info/util-vserver.postinst \
/var/lib/dpkg/info/util-vserver.postinst.dbg \
/var/lib/dpkg/info/util-vserver.postinst.diff 
-rwxr-xr-x  1 root root 2673 May  3 19:32 \
/var/lib/dpkg/info/util-vserver.postinst 
-rwxr-xr-x  1 root root 2683 May  4 14:28 \
/var/lib/dpkg/info/util-vserver.postinst.dbg 
-rw-r--r--  1 root root 1119 May  4 14:28 \
/var/lib/dpkg/info/util-vserver.postinst.diff

[EMAIL PROTECTED]:~ # /var/lib/dpkg/info/util-vserver.postinst configure
/var/lib/vservers: 
Function not implemented [EMAIL PROTECTED]:~ #  

> to /var/lib/dpkg/info/util-vserver.postinst and run that
> with the option configure, like:
> 
> /var/lib/dpkg/info/util-vserver.postinst configure
> 
> It is probably the setattr call but I need to know why.

..I must admit I all "huh?" here,  ;o) I've got:
[EMAIL PROTECTED]:~ #  /var/lib/dpkg/info/util-vserver.postinst configure
/var/lib/vservers: Function not implemented
[EMAIL PROTECTED]:~ #  

..be adviced I have a _lot_ of junk on this box, so now 
I really wanna know what function I don't have.  ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
--- /var/lib/dpkg/info/util-vserver.postinst    2005-05-03 19:32:07.000000000 
+0200
+++ /var/lib/dpkg/info/util-vserver.postinst.dbg        2005-05-04 
14:28:07.799979880 +0200
@@ -7 +7 @@
-                   update-rc.d vservers-default defaults 90 02 >/dev/null
+                   update-rc.d vservers-default defaults 90 02 #>/dev/null
@@ -10 +10 @@
-                   update-rc.d vservers-legacy defaults 90 02 >/dev/null
+                   update-rc.d vservers-legacy defaults 90 02 #>/dev/null
@@ -14 +14 @@
-                   update-rc.d rebootmgr defaults 30 10 >/dev/null
+                   update-rc.d rebootmgr defaults 30 10 #>/dev/null
@@ -18 +18 @@
-                   update-rc.d vprocunhide defaults 25 15 >/dev/null
+                   update-rc.d vprocunhide defaults 25 15 #>/dev/null
@@ -56,2 +56,3 @@
-                       if grep VSERVER_ROOT /etc/vservers.conf > /dev/null 
2>&1 ; then
-                           mv /etc/vservers.conf /etc/vservers.conf.old
+                       if grep VSERVER_ROOT /etc/vservers.conf \
+                       #> /dev/null 2>&1 
+                           then mv /etc/vservers.conf /etc/vservers.conf.old
@@ -80 +81 @@
-                echo "postinst called with unknown argument \`$1'" >&2
+                echo "postinst called with unknown argument \`$1'" #>&2

Reply via email to