After install : dpkg symlink pathname is not an absolute path


#1

I really need help , i’m totaly stuck …

i was on a fresh Ubuntu 16.04 soft RAID 0 , apt-get update & upgrade working fine

Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  8.8M  3.2G   1% /run
/dev/md1        1.8T  2.6G  1.7T   1% /
tmpfs            16G     0   16G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/md0        282M  108M  155M  42% /boot
tmpfs           3.2G     0  3.2G   0% /run/user/1000

i did :
apt-get -yqq update; apt-get -yqq upgrade; apt-get -yqq install git lsb-release;
git clone https://github.com/QuickBox/QB /etc/QuickBox &&
bash /etc/QuickBox/setup/quickbox-setup

to install a Seedbox . was working fine an other server.

But after this install apache2 wont start because : AH00526: Syntax error on line 22 of /etc/apache2/sites-enabled/aliases-seedbox.conf:

( some sed of apache2 file wasnt possible during install )

i changed this by mv this file => now i have the default page of apache2

, and so tried to re-install the script

BUT doing a apt-get upgrade , i have

apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  pcregrep
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/37.6 kB of archives.
After this operation, 77.8 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 86024 files and directories currently installed.)
Preparing to unpack .../pcregrep_2%3a8.41-3+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
dpkg-maintscript-helper: error: symlink pathname is not an absolute path
dpkg: error processing archive /var/cache/apt/archives/pcregrep_2%3a8.41-3+ubuntu16.04.1+deb.sury.org+1_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
dpkg-maintscript-helper: error: symlink pathname is not an absolute path
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/pcregrep_2%3a8.41-3+ubuntu16.04.1+deb.sury.org+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

`

How can i fix this :

dpkg-maintscript-helper: error: symlink pathname is not an absolute path dpkg: error processing archive /var/cache/apt/archives/pcregrep_2%3a8.41-3+ubuntu16.04.1+deb.sury.org+1_amd64.deb (–unpack): subprocess new pre-installation script returned error exit status 1

because now i can do nothing …

Really thanks you to the one who help me to fix this !!