The following packages will be upgraded: texstudio
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
45 not fully installed or removed.
Need to get 15.2 MB of archives.
After this operation, 50.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://download.opensuse.org/repositories/home:/jsundermeyer/xUbuntu_14.04 texstudio 2.11.2-7.1 [15.2 MB]
Fetched 15.2 MB in 1min 37s (156 kB/s)
(Reading database ... 315110 files and directories currently installed.)
Preparing to unpack .../texstudio_2.11.2-7.1_amd64.deb ...
Unpacking texstudio (2.11.2-7.1) over (2.10.8+debian-1) ...
dpkg: error processing archive /var/cache/apt/archives/texstudio_2.11.2-7.1_amd64.deb (--unpack):
trying to overwrite '/usr/share/texstudio/template_Letter.tex', which is also in package texstudio-doc 2.10.8+debian-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
/var/cache/apt/archives/texstudio_2.11.2-7.1_amd64.deb
W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:54
W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:53 and /etc/apt/sources.list:55
E: Sub-process /usr/bin/dpkg returned an error code (1)
when I tried to update texstudio on my ubuntu, it gave this error, can anyone kindly help me how to fix the error. Many thanks
dpkg: error processing archive /var/cache/apt/archives/texstudio_2.11.2-7.1_amd64.deb (--unpack): trying to overwrite '/usr/share/texstudio/template_Letter.tex', which is also in package texstudio-doc 2.10.8+debian-1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
– Nick Weinberg Sep 29 '16 at 03:30