[Gambas-user] Broken install

Benoît Minisini g4mba5 at gmail.com
Thu May 27 17:30:13 CEST 2021


Le 27/05/2021 à 04:58, John Dovey a écrit :
> Ok. I've broken my install and I don't know how to reinstall.
> 
> Here is the apt -fix output:
> 
> -- Start --
> sudo apt --fix-broken install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> The following packages were automatically installed and are no longer 
> required:
>    gambas3-examples libgmime-3.0-0
> Use 'sudo apt autoremove' to remove them.
> The following additional packages will be installed:
>    gambas3-dev-tools gambas3-ide gambas3-runtime gambas3-scripter
> The following packages will be REMOVED:
>    gambas3-gb-jit gambas3-script
> The following NEW packages will be installed:
>    gambas3-dev-tools gambas3-scripter
> The following packages will be upgraded:
>    gambas3-ide gambas3-runtime
> 2 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
> 95 not fully installed or removed.
> Need to get 0 B/2975 kB of archives.
> After this operation, 529 kB disk space will be freed.
> Do you want to continue? [Y/n]
> (Reading database ... 97851 files and directories currently installed.)
> Preparing to unpack 
> .../gambas3-ide_3.16.1+git202105252135.1460d453e+build14~ubuntu20.04.1_all.deb 
> ...
> Unpacking gambas3-ide 
> (3.16.1+git202105252135.1460d453e+build14~ubuntu20.04.1) over 
> (3.14.3-2ubuntu3.1) ...
> dpkg: error processing archive 
> /var/cache/apt/archives/gambas3-ide_3.16.1+git202105252135.1460d453e+build14~ubuntu20.04.1_all.deb 
> (--unpack):
>   trying to overwrite '/usr/share/gambas3/template/console/.directory', 
> which is also in package gambas3-runtime 3.14.3-2ubuntu3.1
> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
> Errors were encountered while processing:
>   /var/cache/apt/archives/gambas3-ide_3.16.1+git202105252135.1460d453e+build14~ubuntu20.04.1_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> boondock at DoveyLapTopII:/usr/bin$
> -- End --
> 
> 
> How can I remove everything and reinstall ?
> 

Remove all gambas packages (provided that you installed Gambas only by 
packages)

$ sudo apt remove 'gambas*'

And then installation should work.

-- 
Benoît Minisini


More information about the User mailing list