apt

Michael bmike1 at gmail.com
Fri Dec 15 17:03:42 MST 2017


$ sudo apt-get  --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  ufraw-batch
The following packages will be upgraded:
  ufraw-batch
1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 0 B/391 kB of archives.
After this operation, 110 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 341565 files and directories currently installed.)
Preparing to unpack
.../ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb
...
Unpacking ufraw-batch (0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1)
over (0.22-2dhor~xenial) ...
dpkg: error processing archive
/var/cache/apt/archives/ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb
(--unpack):
 trying to overwrite '/usr/share/applications/ufraw.desktop', which is also
in package ufraw 0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 then I tried it with 'remove' and got an error too:

$ sudo apt-get  --fix-broken remove
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  ufraw-batch
The following packages will be upgraded:
  ufraw-batch
1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 0 B/391 kB of archives.
After this operation, 110 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 341565 files and directories currently installed.)
Preparing to unpack
.../ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb
...
Unpacking ufraw-batch (0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1)
over (0.22-2dhor~xenial) ...
dpkg: error processing archive
/var/cache/apt/archives/ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb
(--unpack):
 trying to overwrite '/usr/share/applications/ufraw.desktop', which is also
in package ufraw 0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


On Fri, Dec 15, 2017 at 4:38 PM, Brian Cluff <brian at snaptek.com> wrote:

> Looks like you did just "sudo apt-get  --fix-broken" when you should have
> done "sudo apt-get  --fix-broken install"
>
> The fix command needs a command that gives apt instructions on what to do
> when it finds something to fix.  Usually you'll want to install missing
> packages in order to fix missing packages, but you can do "sudo apt-get
> --fix-broken remove" to get it to remove packages in order to fix your
> packages which can be the better solution under certain, rare,
> circumstances.
>
> Brian Cluff
>
>
> On 12/15/2017 06:07 AM, Michael wrote:
>
>  sudo apt-get install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt --fix-broken install' to correct these.
> The following packages have unmet dependencies:
>  ufraw : Depends: ufraw-batch (= 0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1)
> but 0.22-2dhor~xenial is installed
> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
> specify a solution).
>
>  I tried what they suggested  but also got an error:
> sudo apt-get  --fix-broken
> E: Command line option --fix-broken is not understood in combination with
> the other options
>
> What is wrong? (what won't update is ufraw)
> --
> :-)~MIKE~(-:
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



-- 
:-)~MIKE~(-:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20171215/b238fb1f/attachment.html>


More information about the PLUG-discuss mailing list