Ive made a complete mess of my ubuntu 19.04 installation.
Could someone help me to fix it please, preferably from the desktop using the terminal or anything else possible. I Cannot Update, Upgrade, install or remove anything.
I think it has something to do primarily with this error i get when trying to update ubuntu, or install or remove any kind of package. When I do try update, install etc i get this error which is one of many, but this is the error that appears the most. :
Error while installing package: trying to overwrite '/usr/share/qtermwidget5/translations/qtermwidget_ca.qm', which is also in package qtermwidget-l10n 0.14.1-0ubuntu2.
When I try : sudo apt-get --fix-broken install
I get this error :
Code:
Preparing to unpack .../qtermwidget5-data_0.14.1-1_all.deb ...
Unpacking qtermwidget5-data (0.14.1-1) over (0.14.1-0ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/qtermwidget5-data_0.14.1-1_all.deb (--unpack):
trying to overwrite '/usr/share/qtermwidget5/translations/qtermwidget_ca.qm', which is also in package qtermwidget-l10n 0.14.1-0ubuntu2
Errors were encountered while processing:
/var/cache/apt/archives/qtermwidget5-data_0.14.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I try : sudo dpkg --configure -a
I get This error :
Code:
root@tux-OptiPlex-7010:/home/tux# sudo dpkg --configure -a
1567349077 PERROR torsocks[7866]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202)
1567349077 PERROR torsocks[7866]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202)
sudo: unable to resolve host tux-OptiPlex-7010: Non-recoverable failure in name resolution
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
1567349077 WARNING torsocks[7866]: [syscall] Unsupported syscall number 39. Denying the call (in tsocks_syscall() at syscall.c:605)
dpkg: dependency problems prevent configuration of libqtermwidget5-0:amd64:
libqtermwidget5-0:amd64 depends on qtermwidget5-data (= 0.14.1-1); however:
Version of qtermwidget5-data on system is 0.14.1-0ubuntu2
Code:
dpkg: error processing package libqtermwidget5-0:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qterminal:
qterminal depends on libqtermwidget5-0 (>= 0.14.1~); however:
Package libqtermwidget5-0:amd64 is not configured yet
Code:
dpkg: error processing package qterminal (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libqtermwidget5-0:amd64
qterminal.
Nothing i have tried has managed to fix this.
Can someone kindly help me to fix this mess, so i can learn from it and hopefully not let it happen again. I hope someone can help.
Thanks in advance.
Bookmarks