[Touch-packages] [Bug 1721294] Re: Unattended upgrade fails with "Error in function"

2018-03-12 Thread Yurii Oleynikov
For me this happened in 14.04.
I've found that root cause was PATH environment variable that lack /sbin and 
/usr/sbin

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1721294

Title:
  Unattended upgrade fails with "Error in function"

Status in unattended-upgrades package in Ubuntu:
  Confirmed

Bug description:
  This is the cron email I received today:

  From: root 
  To: r...@pov.lt
  Subject: unattended-upgrades result for 'iv-4.pov.lt': 'False'
  Date: Wed,  4 Oct 2017 03:40:19 +0300 (EEST)

  Unattended upgrade returned: False

  Packages that attempted to upgrade:
   ca-certificates libidn11 libnss3 libnss3-nssdb

  Package installation log:
  Error in function:

  
  Unattended-upgrades log:
  Initial blacklisted packages:
  Starting unattended upgrades script
  Allowed origins are: ['o=Ubuntu,a=trusty-security', 
'o=UbuntuESM,a=trusty', 'o=Ubuntu,a=trusty-security', 
'o=Ubuntu,a=trusty-updates', 'origin=LP-PPA-pov,suite=trusty']
  Packages that will be upgraded: ca-certificates libidn11 libnss3 
libnss3-nssdb
  Writing dpkg log to 
'/var/log/unattended-upgrades/unattended-upgrades-dpkg_2017-10-04_03:40:17.411277.log'
  Installing the upgrades failed!
  error message: 'installArchives() failed'
  dpkg returned a error! See 
'/var/log/unattended-upgrades/unattended-upgrades-dpkg_2017-10-04_03:40:17.411277.log'
 for details
  Packages that are auto removed: ''
  Packages auto-removed

  The named log file, var/log/unattended-upgrades/unattended-upgrades-
  dpkg_2017-10-04_03:40:17.411277.log contains only this:

  Error in function:

  That's it.

  Now given that ca-certificates is involved, I suspect this may be
  related to non-ASCII filenames (see bug 1554365), but unlike that bug,
  here the upgrade fails instead of succeeding, and the actual error is
  not shown anywhere.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: unattended-upgrades 0.82.1ubuntu2.5
  Uname: Linux 2.6.32-042stab124.2 x86_64
  ApportVersion: 2.14.1-0ubuntu3.25
  Architecture: amd64
  Date: Wed Oct  4 18:54:54 2017
  PackageArchitecture: all
  ProcEnviron:
   LC_CTYPE=lt_LT.UTF-8
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=lt_LT.UTF-8
   SHELL=/bin/bash
  SourcePackage: unattended-upgrades
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1721294/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 989396] Re: Package keyboard-configuration post-installation script. Hang on /bin/setupcon --force --save for 10 min then killed

2015-06-19 Thread Yurii Oleynikov
I have similar issue while installing Ubuntu via Cisco UCSM. Installation stuck 
on live-installer-console-setup until any key is pressed.
The proble was in in-target setupcon (executed by 
25live-installer-console-setup) on printf redirected to $console:
 > for console in $ACTIVE_CONSOLES; do
 > [ -w $console ] || continue
 > if \
 > [ "$CHARMAP" = UTF-8 ] || [ -z "$CONSOLE_MAP$CHARMAP" ]
 > then
 > printf '\033%%G' >$console # here the installation stucks
 > else
 > printf '\033%%@' >$console
 > fi
 > done

so i ajdusted preseed not to use live-installer was workaround and everything 
worked fine: 
d-i live-installer/enable boolean fase

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/989396

Title:
  Package keyboard-configuration  post-installation script. Hang on
  /bin/setupcon --force --save for 10 min then killed

Status in console-setup package in Ubuntu:
  Confirmed

Bug description:
  I am was in update bunch of packages today on ubuntu 12.04 beta2.
  While update keyboard-configuration package i get a window which ask
  how i would like to switch keyboard layout. I choose one an click OK.
  Than window closed and process hangs for about 30 min. Than i kill it.

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: keyboard-configuration 1.70ubuntu5
  ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
  Uname: Linux 3.2.0-20-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu6
  Architecture: amd64
  Date: Fri Apr 27 11:37:05 2012
  DuplicateSignature:
   Setting up keyboard-configuration (1.70ubuntu5) ...
   Terminated
   dpkg: error processing keyboard-configuration (--configure):
subprocess installed post-installation script returned error exit status 143
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 143
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
  PackageArchitecture: all
  SourcePackage: console-setup
  Title: package keyboard-configuration 1.70ubuntu5 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 143
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/989396/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 989396] Re: Package keyboard-configuration post-installation script. Hang on /bin/setupcon --force --save for 10 min then killed

2015-06-19 Thread Yurii Oleynikov
Odin Hørthe Omdal (velmont), this is exacly what live-
installer/enable=false do.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/989396

Title:
  Package keyboard-configuration  post-installation script. Hang on
  /bin/setupcon --force --save for 10 min then killed

Status in console-setup package in Ubuntu:
  Confirmed

Bug description:
  I am was in update bunch of packages today on ubuntu 12.04 beta2.
  While update keyboard-configuration package i get a window which ask
  how i would like to switch keyboard layout. I choose one an click OK.
  Than window closed and process hangs for about 30 min. Than i kill it.

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: keyboard-configuration 1.70ubuntu5
  ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
  Uname: Linux 3.2.0-20-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu6
  Architecture: amd64
  Date: Fri Apr 27 11:37:05 2012
  DuplicateSignature:
   Setting up keyboard-configuration (1.70ubuntu5) ...
   Terminated
   dpkg: error processing keyboard-configuration (--configure):
subprocess installed post-installation script returned error exit status 143
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 143
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
  PackageArchitecture: all
  SourcePackage: console-setup
  Title: package keyboard-configuration 1.70ubuntu5 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 143
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/989396/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp