Ubuntu upgrade failed 14.04 -> 16.04 (pptpd)

Bug #1615916 reported by Taner Halicioglu
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pptpd (Ubuntu)
Fix Released
Undecided
Unassigned
ubuntu-release-upgrader (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I don't think this matches the ones that search turned up.

I was upgrading a Linode VM from 14.04 to 16.04 (do-release-upgrade), and after seeming to upgrade everything(?), it spat this out at the end:

==================================================================================
Errors were encountered while processing:
 pptpd
Error in function:

A fatal error occurred

Please report this as a bug and include the files
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/sources.list.distUpgrade.

SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)

Could not install the upgrades

The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).

Please report this bug in a browser at
http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
and attach the files in /var/log/dist-upgrade/ to the bug report.
installArchives() failed

Setting up pptpd (1.4.0-7ubuntu0.1) ...
Failed to restart systemd-modules-load.service: No such method 'RestartUnit'
See system logs and 'systemctl status systemd-modules-load.service' for details.
dpkg: error processing package pptpd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 pptpd

Upgrade complete

The upgrade has completed but there were errors during the upgrade
process.
==================================================================================

Scrolling back up in teh screen session, I see that same set of lines:

==================================================================================
Setting up pptpd (1.4.0-7ubuntu0.1) ...
Failed to restart systemd-modules-load.service: No such method 'RestartUnit'
See system logs and 'systemctl status systemd-modules-load.service' for details.
dpkg: error processing package pptpd (--configure):
 subprocess installed post-installation script returned error exit status 1
==================================================================================

That seems to be the only thing that spat out any sort of error.

I will attempt to see what happens after reboot. (Worst case, I will restore from the snapshot I took just before the upgrade attempt)

Revision history for this message
Taner Halicioglu (tanerh) wrote :

FYI - reboot came up just fine.

WHen I try to 'apt-get install pptpd', I get the same error:

====================================================================================
# apt-get install pptpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
pptpd is already the newest version (1.4.0-7ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up pptpd (1.4.0-7ubuntu0.1) ...
Job for systemd-modules-load.service failed because the control process exited with error code. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
dpkg: error processing package pptpd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 pptpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
====================================================================================

Revision history for this message
Taner Halicioglu (tanerh) wrote :

More from syslog:

(my machine is called 'devnull' :) )

====================================================================================
Aug 22 21:50:04 devnull [daemon ] systemd[1]: Started Update UTMP about System Runlevel Changes.
Aug 22 21:50:04 devnull [daemon ] systemd[1]: Startup finished in 1.995s (kernel) + 3min 47.538s (userspace) = 3min 49.533s.
Aug 22 21:51:09 devnull [daemon ] systemd[1]: Reloading.
Aug 22 21:51:09 devnull [daemon ] systemd[1]: Stopped PoPToP Point to Point Tunneling Server.
Aug 22 21:51:09 devnull [daemon ] systemd[1]: Reloading.
Aug 22 21:51:17 devnull [daemon ] systemd[1]: message repeated 2 times: [ Reloading.]
Aug 22 21:51:18 devnull [daemon ] systemd[1]: Stopped Load Kernel Modules.
Aug 22 21:51:18 devnull [daemon ] systemd[1]: Starting Load Kernel Modules...
Aug 22 21:51:18 devnull [daemon ] systemd-modules-load[6462]: could not open moddep file '/lib/modules/4.6.3-x86_64-linode70/modules.dep.bin'
Aug 22 21:51:18 devnull [daemon ] systemd-modules-load[6462]: Failed to lookup alias 'loop': Function not implemented
Aug 22 21:51:18 devnull [daemon ] systemd-modules-load[6462]: could not open moddep file '/lib/modules/4.6.3-x86_64-linode70/modules.dep.bin'
Aug 22 21:51:18 devnull [daemon ] systemd-modules-load[6462]: Failed to lookup alias 'lp': Function not implemented
Aug 22 21:51:18 devnull [daemon ] systemd-modules-load[6462]: could not open moddep file '/lib/modules/4.6.3-x86_64-linode70/modules.dep.bin'
Aug 22 21:51:18 devnull [daemon ] systemd-modules-load[6462]: Failed to lookup alias 'nf_nat_pptp': Function not implemented
Aug 22 21:51:18 devnull [daemon ] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Aug 22 21:51:18 devnull [daemon ] systemd[1]: Failed to start Load Kernel Modules.
Aug 22 21:51:18 devnull [daemon ] systemd[1]: systemd-modules-load.service: Unit entered failed state.
Aug 22 21:51:18 devnull [daemon ] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
====================================================================================

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
codywohlers (codywohlers) wrote :

This is fixed in pptpd 1.4.0-9
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829418

I just downloaded 1.4.0-10 from the yakkety repo at http://packages.ubuntu.com/yakkety/amd64/pptpd/download and installed it using dpkg. Once the xenial repo is updated this issue will be resolved.

Changed in ubuntu-release-upgrader (Ubuntu):
status: Confirmed → Fix Released
Changed in pptpd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.