[Spce-user] apt update && apt upgrade -y error mr6.5.1

Daniel Grotti dgrotti at sipwise.com
Thu Nov 22 09:56:35 EST 2018


Hi,
we are aware of this.
a workaround for that would be to create that file:

touch /etc/mysql/mariadb.cnf



and restart the upgrade.

Regards,

-- 
Head of Customer Support                               Sipwise GmbH
e: dgrotti at sipwise.com                               Europaring F15
t: +43(0)130120332                          A-2345 Brunn Am Gebirge
w: www.sipwise.com          FN: 305595f      FG: LG Wiener Neustadt

On 11/22/18 3:54 PM, WinPR Internet wrote:
> root at voz:~# apt update && apt upgrade -y
> Hit:1 https://deb.sipwise.com/spce/mr6.4.2 stretch InRelease
> Hit:2 https://debian.sipwise.com/debian stretch InRelease
> Get:3 https://debian.sipwise.com/debian-security stretch-security 
> InRelease [6745 B]
> Hit:4 https://debian.sipwise.com/debian stretch-updates InRelease
> Hit:5 https://debian.sipwise.com/debian-debug stretch-debug InRelease
> Get:6 https://debian.sipwise.com/debian-security stretch-security/main 
> amd64 Packages [633 kB]
> Get:7 https://debian.sipwise.com/debian-security 
> stretch-security/contrib amd64 Packages [2714 B]
> Fetched 643 kB in 2s (220 kB/s)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 6 packages can be upgraded. Run 'apt list --upgradable' to see them.
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages will be upgraded:
>   libmariadbclient18 mariadb-client mariadb-client-10.1 mariadb-server 
> mariadb-server-10.1 mariadb-server-core-10.1
> 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 2 not fully installed or removed.
> Need to get 0 B/17.3 MB of archives.
> After this operation, 616 kB of additional disk space will be used.
> Preconfiguring packages ...
> Setting up mariadb-common (10.1.37-0+deb9u1) ...
> update-alternatives: error: alternative path /etc/mysql/mariadb.cnf 
> doesn't exist
> dpkg: error processing package mariadb-common (--configure):
>  subprocess installed post-installation script returned error exit 
> status 2
> Errors were encountered while processing:
>  mariadb-common
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> How may I fix it?
> Happy Thanksgivings Day,
> Tony
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20181122/9a2a7448/attachment.html>


More information about the Spce-user mailing list