apt

der.hans PLUGd at LuftHans.com
Fri Dec 15 18:39:53 MST 2017


Am 15. Dec, 2017 schwätzte Michael so:

Looks like ufraw-batch needs to create its own desktop icon.

ufraw-batch depends on ufraw, so there's a conflict until the packages are
updated.

Is there a new version of ufraw available?

sudo apt-get --fix-broken ufraw ufraw-batch-

That will say to upgrade ufraw if that's available and to uninsall
ufraw-batch. The minus sign after the package name says to uninstall.

That should at least get past the broken apt DB errors.

ciao,

der.hans

> $ 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
>>
>
>
>
>

-- 
#  https://www.LuftHans.com   https://www.PhxLinux.org
#  "Do something wonderful, people may imitate it."  -- Albert Schweitzer


More information about the PLUG-discuss mailing list