[Spce-user] ngcp-support-noaccess causing problems

Jiri Ptacnik ptakjura at gmail.com
Tue Oct 17 13:46:24 EDT 2023


There is another bug may be:

I have upgraded clean install from 9.5.3 to 9.5.8 with "access" enabled.

Then I run:

ngcp-support-access --disable && apt-get install ngcpsupport-noaccess

It is OK and working.

But if I run again

apt-get install ngcp-support-access && ngcp-supportaccess --enable

It throws error:

The following packages will be REMOVED:
  ngcp-support-noaccess
The following NEW packages will be installed:
  ngcp-support-access
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 8636 B of archives.
After this operation, 11.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://deb.sipwise.com/spce/mr9.5.8 bullseye/main amd64
ngcp-support-access all 9.5.8.1+0~mr9.5.8.1 [8636 B]
Fetched 8636 B in 0s (45.7 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog
based frontend cannot be used. at
/usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 1.)
debconf: falling back to frontend: Readline
dpkg: ngcp-support-noaccess: dependency problems, but removing anyway
as you requested:
 ngcp-config-ce depends on ngcp-support-access | ngcp-support; however:
  Package ngcp-support-access is not installed.
  Package ngcp-support is not installed.
  Package ngcp-support-noaccess which provides ngcp-support is to be removed.

(Reading database ... 96468 files and directories currently installed.)
Removing ngcp-support-noaccess (9.5.8.1+0~mr9.5.8.1) ...
Selecting previously unselected package ngcp-support-access.
(Reading database ... 96465 files and directories currently installed.)
Preparing to unpack .../ngcp-support-access_9.5.8.1+0~mr9.5.8.1_all.deb ...
Unpacking ngcp-support-access (9.5.8.1+0~mr9.5.8.1) ...
Setting up ngcp-support-access (9.5.8.1+0~mr9.5.8.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog
based frontend cannot be used. at
/usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
* Creating user sipwise with home directory /ngcp-data/home/sipwise.
Error: homedir for sipwise user created in /ngcp-data/home/sipwise,
but old /var/sipwise exists (and it is a directory)
dpkg: error processing package ngcp-support-access (--configure):
 installed ngcp-support-access package post-installation script
subprocess returned error exit status 1
Errors were encountered while processing:
 ngcp-support-access
[master 237e3a1] committing changes in /etc made by "apt-get install
ngcp-support-access"
 12 files changed, 10 insertions(+), 10 deletions(-)

JP

út 17. 10. 2023 v 17:22 odesílatel Jiri Ptacnik <ptakjura at gmail.com> napsal:
>
> yes, I installed clean 9.5.3, then "...noacess" and then upgrade to
> 9.5.8 = it hangs with:
>
> ERROR: Aborting now to avoid damage
> ERROR: the step 'mr7.5/fix_move_sipwise_user_home' failed, upgrade aborted!
> Please fix the root of the issue and restart 'ngcp-upgrade'
>
> JP
>
> út 17. 10. 2023 v 16:03 odesílatel Michael Prokop via Spce-user
> <spce-user at lists.sipwise.com> napsal:
> >
> > Hi,
> >
> > * [EXT] Jiri Ptacnik [Tue Oct 17, 2023 at 08:50:43AM +0200]:
> >
> > > Yes, on 9.5.6 i have to install this: apt-get install
> > > ngcp-support-access && ngcp-supportaccess --enable
> > >
> > > then was possible to upgrade
> > >
> > > May be i will do more test to reproduce it. But i had same problems
> > > already in past upgrades. May be just use 9.5.6, then
> > >
> > >  ngcp-support-access --disable && apt-get install ngcpsupport-noaccess
> > >
> > > and then try to upgrade...
> >
> > Excellent, thanks for the STR. I managed to reproduce your issue and
> > already reported it internally (MT#58524).
> >
> > regards
> > -mika-
> >
> > --
> > Spce-user mailing list
> > Spce-user at lists.sipwise.com
> > http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com



More information about the Spce-user mailing list