Re: [Bug 1676122] Re: package tftpd-hpa 5.2+20150808-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-03-28 Thread Eli Pasetes
Hi Nish,

Thanks.  I was able to finally figure out to change TFTP_OPTIONS in
/etc/default/tftpd-hpa to include --ipv4 and startup worked.  With this
experience I would have preferred for ipv6 to be turned off by default.
And provide commented TCP_OPTIONS in the config file on how to turn on
ipv6.  Or if it's better to have ipv6 turned on by default, then provide
some commented info how to setup ipv4 only.

-Eli


On Tue, Mar 28, 2017 at 4:35 PM Nish Aravamudan <
nish.aravamu...@canonical.com> wrote:

> @Eli,
>
> Ah ok, yes, disabling IPv6 probably breaks some default configuration
> stuff -- maybe similar to
> https://bbs.archlinux.org/viewtopic.php?id=128725. I'm guessing you
> could disable ipv6 again and just properly configure tftpd-hpa.
>
> Marking as invalid.
>
> ** Changed in: tftp-hpa (Ubuntu)
>Status: Incomplete => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1676122
>
> Title:
>   package tftpd-hpa 5.2+20150808-1ubuntu1 failed to install/upgrade:
>   subprocess installed post-installation script returned error exit
>   status 1
>
> Status in tftp-hpa package in Ubuntu:
>   Invalid
>
> Bug description:
>   I just installed and below is the output...
>
>   $ apt-cache search tftpd
>   tftpd-hpa - HPA's tftp server
>   atftpd - advanced TFTP server
>   libnet-tftpd-perl - Perl extension for Trivial File Transfer Protocol
> Server
>   tftpd - Trivial file transfer protocol server
>   uec-provisioning-tftpd - the UEC Provisioning TFTP server
>   [h2o@black:~]
>   $ sudo apt-get install tftpd-hpa
>   Reading package lists... Done
>   Building dependency tree
>   Reading state information... Done
>   Suggested packages:
> pxelinux
>   The following NEW packages will be installed:
> tftpd-hpa
>   0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
>   Need to get 39.0 kB of archives.
>   After this operation, 115 kB of additional disk space will be used.
>   Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 tftpd-hpa
> amd64 5.2+20150808-1ubuntu1 [39.0 kB]
>   Fetched 39.0 kB in 0s (119 kB/s)
>   Preconfiguring packages ...
>   Selecting previously unselected package tftpd-hpa.
>   (Reading database ... 269081 files and directories currently installed.)
>   Preparing to unpack .../tftpd-hpa_5.2+20150808-1ubuntu1_amd64.deb ...
>   Unpacking tftpd-hpa (5.2+20150808-1ubuntu1) ...
>   Processing triggers for systemd (229-4ubuntu16) ...
>   Processing triggers for ureadahead (0.100.0-19) ...
>   ureadahead will be reprofiled on next reboot
>   Processing triggers for man-db (2.7.5-1) ...
>   Setting up tftpd-hpa (5.2+20150808-1ubuntu1) ...
>   Job for tftpd-hpa.service failed because the control process exited with
> error code. See "systemctl status tftpd-hpa.service" and "journalctl -xe"
> for details.
>   invoke-rc.d: initscript tftpd-hpa, action "start" failed.
>   ● tftpd-hpa.service - LSB: HPA's tftp server
>  Loaded: loaded (/etc/init.d/tftpd-hpa; bad; vendor preset: enabled)
>  Active: failed (Result: exit-code) since Sat 2017-03-25 23:03:20 PDT;
> 4ms ago
>Docs: man:systemd-sysv-generator(8)
> Process: 5005 ExecStart=/etc/init.d/tftpd-hpa start (code=exited,
> status=71)
>
>   Mar 25 23:03:20 black systemd[1]: Starting LSB: HPA's tftp server...
>   Mar 25 23:03:20 black tftpd-hpa[5005]:  * Starting HPA's tftpd in.tftpd
>   Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Control process
> exited, code=ex...=71
>   Mar 25 23:03:20 black systemd[1]: Failed to start LSB: HPA's tftp server.
>   Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Unit entered failed
> state.
>   Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Failed with result
> 'exit-code'.
>   Hint: Some lines were ellipsized, use -l to show in full.
>   dpkg: error processing package tftpd-hpa (--configure):
>subprocess installed post-installation script returned error exit
> status 1
>   Processing triggers for systemd (229-4ubuntu16) ...
>   Processing triggers for ureadahead (0.100.0-19) ...
>   Errors were encountered while processing:
>tftpd-hpa
>   E: Sub-process /usr/bin/dpkg returned an error code (1)
>   [h2o@black:~]
>   $
>
>   ProblemType: Package
>   DistroRelease: Ubuntu 16.04
>   Package: tftpd-hpa 5.2+20150808-1ubuntu1
>   ProcVersionSignature: Ubuntu 4.4.0-66.87-generic 4.4.44
>   Uname: Linux 4.4.0-66-generic x86_64
>   ApportVersion: 2.20.1-0ubuntu2.5
>   AptOrdering:
>tftpd-hpa: Install
>tftpd-hpa: Configure
>NULL: ConfigurePending
>   Architecture: amd64
>   Date: Sat Mar 25 23:03:20 2017
>   ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
>   InstallationDate: Installed on 2017-02-19 (35 days ago)
>   InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
> (20160719)
>   RelatedPackageVersions:
>dpkg 1.18.4ubuntu1.1
>apt  1.2.19
>   SourcePackage: tftp-hpa
>   Title: 

Re: [Bug 1676122] Re: package tftpd-hpa 5.2+20150808-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-03-27 Thread Eli Pasetes
Hi Nish,

Output from journalctl -xe below.

Mar 27 18:07:28 black systemd[1]: Failed to start LSB: HPA's tftp server.
-- Subject: Unit tftpd-hpa.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has failed.
-- 
-- The result is failed.
Mar 27 18:07:28 black systemd[1]: tftpd-hpa.service: Unit entered failed
state.
Mar 27 18:07:28 black systemd[1]: tftpd-hpa.service: Failed with result
'exit-code'.
Mar 27 18:07:28 black systemd[1]: Reloading.
Mar 27 18:07:28 black systemd[1]: apt-daily.timer: Adding 8h 46min
40.502667s random time.
Mar 27 18:07:28 black systemd[1]: snapd.refresh.timer: Adding 5h 56min
21.506091s random t
Mar 27 18:07:28 black systemd[1]: snapd.refresh.timer: Adding 3h 28min
30.408407s random t
Mar 27 18:07:28 black systemd[1]: Started ACPI event daemon.
-- Subject: Unit acpid.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit acpid.service has finished starting up.
-- 
-- The start-up result is done.
Mar 27 18:07:28 black systemd[1]: Started CUPS Scheduler.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cups.service has finished starting up.
-- 
-- The start-up result is done.
Mar 27 18:07:30 black sudo[3987]: pam_unix(sudo:session): session closed
for user root
~



I then changed /etc/default/tftpd-hpa parm TFTP_ADDRESS="0.0.0.0:69" and
tried
sudo systemctl restart tftpd-hpa and
then  ...

$ journalctl -xe
Mar 27 18:14:21 black sudo[4845]: pam_unix(sudo:session): session opened
for user root by
Mar 27 18:14:21 black systemd[1]: Stopped LSB: HPA's tftp server.
-- Subject: Unit tftpd-hpa.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has finished shutting down.
Mar 27 18:14:21 black systemd[1]: Starting LSB: HPA's tftp server...
-- Subject: Unit tftpd-hpa.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has begun starting up.
Mar 27 18:14:21 black tftpd-hpa[4848]:  * Starting HPA's tftpd in.tftpd
Mar 27 18:14:21 black in.tftpd[4861]: cannot open IPv6 socket, disable
IPv6: Address famil
Mar 27 18:14:21 black in.tftpd[4861]: Cannot set nonblock flag on socket:
Bad file descrip
Mar 27 18:14:21 black systemd[1]: tftpd-hpa.service: Control process
exited, code=exited s
Mar 27 18:14:21 black systemd[1]: Failed to start LSB: HPA's tftp server.
-- Subject: Unit tftpd-hpa.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has failed.
-- 
-- The result is failed.
Mar 27 18:14:21 black systemd[1]: tftpd-hpa.service: Unit entered failed
state.
Mar 27 18:14:21 black systemd[1]: tftpd-hpa.service: Failed with result
'exit-code'.
Mar 27 18:14:21 black sudo[4845]: pam_unix(sudo:session): session closed
for user root
Mar 27 18:14:52 black wpa_supplicant[1487]: wlp3s0: WPA: Group rekeying
completed with ec:
Mar 27 18:14:55 black wpa_supplicant[1487]: wlp3s0: CTRL-EVENT-DISCONNECTED
bssid=ec:08:6b
Mar 27 18:14:55 black NetworkManager[1126]:   [1490663695.9158]
sup-iface[0x1bb0580,
Mar 27 18:14:55 black NetworkManager[1126]:   [1490663695.9355]
device (wlp3s0): sup
Mar 27 18:14:56 black NetworkManager[1126]:   [1490663696.0209]
device (wlp3s0): sup
Mar 27 18:14:58 black ntpd[1737]: Deleting interface #2 wlp3s0,
192.168.14.67#123, interfa
Mar 27 18:14:58 black ntpd[1737]: 23.239.24.67 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 208.75.89.4 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 38.229.71.1 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 96.126.100.203 local addr 192.168.14.67
-> 
Mar 27 18:14:58 black ntpd[1737]: 97.127.21.25 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 50.22.155.163 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 208.75.88.4 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 52.6.160.3 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 129.250.35.251 local addr 192.168.14.67
-> 
Mar 27 18:14:58 black ntpd[1737]: 66.85.74.226 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 66.7.96.2 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 66.135.44.92 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 138.68.46.177 local addr 192.168.14.67 ->

Mar 27 18:15:01 black CRON[4874]: pam_unix(cron:session): session opened
for user root by
Mar 27 18:15:01 black CRON[4875]: (root) CMD (command -v debian-sa1 >
/dev/null && debian-
Mar 27 18:15:01 black 

[Bug 1676122] [NEW] package tftpd-hpa 5.2+20150808-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-03-26 Thread Eli Pasetes
Public bug reported:

I just installed and below is the output...

$ apt-cache search tftpd
tftpd-hpa - HPA's tftp server
atftpd - advanced TFTP server
libnet-tftpd-perl - Perl extension for Trivial File Transfer Protocol Server
tftpd - Trivial file transfer protocol server
uec-provisioning-tftpd - the UEC Provisioning TFTP server
[h2o@black:~]
$ sudo apt-get install tftpd-hpa
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Suggested packages:
  pxelinux
The following NEW packages will be installed:
  tftpd-hpa
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 39.0 kB of archives.
After this operation, 115 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 tftpd-hpa amd64 
5.2+20150808-1ubuntu1 [39.0 kB]
Fetched 39.0 kB in 0s (119 kB/s)   
Preconfiguring packages ...
Selecting previously unselected package tftpd-hpa.
(Reading database ... 269081 files and directories currently installed.)
Preparing to unpack .../tftpd-hpa_5.2+20150808-1ubuntu1_amd64.deb ...
Unpacking tftpd-hpa (5.2+20150808-1ubuntu1) ...
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.7.5-1) ...
Setting up tftpd-hpa (5.2+20150808-1ubuntu1) ...
Job for tftpd-hpa.service failed because the control process exited with error 
code. See "systemctl status tftpd-hpa.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tftpd-hpa, action "start" failed.
● tftpd-hpa.service - LSB: HPA's tftp server
   Loaded: loaded (/etc/init.d/tftpd-hpa; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2017-03-25 23:03:20 PDT; 4ms ago
 Docs: man:systemd-sysv-generator(8)
  Process: 5005 ExecStart=/etc/init.d/tftpd-hpa start (code=exited, status=71)

Mar 25 23:03:20 black systemd[1]: Starting LSB: HPA's tftp server...
Mar 25 23:03:20 black tftpd-hpa[5005]:  * Starting HPA's tftpd in.tftpd
Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Control process exited, 
code=ex...=71
Mar 25 23:03:20 black systemd[1]: Failed to start LSB: HPA's tftp server.
Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Unit entered failed state.
Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Failed with result 
'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package tftpd-hpa (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 tftpd-hpa
E: Sub-process /usr/bin/dpkg returned an error code (1)
[h2o@black:~]
$

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: tftpd-hpa 5.2+20150808-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-66.87-generic 4.4.44
Uname: Linux 4.4.0-66-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
AptOrdering:
 tftpd-hpa: Install
 tftpd-hpa: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Sat Mar 25 23:03:20 2017
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
InstallationDate: Installed on 2017-02-19 (35 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt  1.2.19
SourcePackage: tftp-hpa
Title: package tftpd-hpa 5.2+20150808-1ubuntu1 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: tftp-hpa (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676122

Title:
  package tftpd-hpa 5.2+20150808-1ubuntu1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1676122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 995183] [NEW] package man-db 2.6.1-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2012-05-05 Thread Eli Pasetes
Public bug reported:

Error message popped up while I launched Terminal from keyboard
shortcut.  Terminal launched pro7v8K9Mperly but this error message
popped up.  I re-installed man-db 2.6.1-2 using Synaptics to see if this
will resolve this random error.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: man-db 2.6.1-2
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
Uname: Linux 3.2.0-24-generic-pae i686
ApportVersion: 2.0.1-0ubuntu7
AptOrdering:
 knockd: Install
 knockd: Configure
Architecture: i386
Date: Sat May  5 07:18:29 2012
DpkgTerminalLog:
 Unpacking knockd (from .../knockd_0.5-3ubuntu1_i386.deb) ...
 Processing triggers for man-db ...
 debconf: DbDriver templatedb: /var/cache/debconf/templates.dat is locked by 
another process: Resource temporarily unavailable
 dpkg: error processing man-db (--unpack):
  subprocess installed post-installation script returned error exit status 1
DuplicateSignature:
 Unpacking knockd (from .../knockd_0.5-3ubuntu1_i386.deb) ...
 Processing triggers for man-db ...
 debconf: DbDriver templatedb: /var/cache/debconf/templates.dat is locked by 
another process: Resource temporarily unavailable
 dpkg: error processing man-db (--unpack):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release i386 (20120423)
SourcePackage: man-db
Title: package man-db 2.6.1-2 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: man-db (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-package i386 need-duplicate-check precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/995183

Title:
  package man-db 2.6.1-2 failed to install/upgrade: subprocess installed
  post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/995183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 995183] Re: package man-db 2.6.1-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2012-05-05 Thread Eli Pasetes
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/995183

Title:
  package man-db 2.6.1-2 failed to install/upgrade: subprocess installed
  post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/995183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs