Re: apt

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Brian Cluff
Date:  
To: plug-discuss
Subject: Re: apt
Sometimes you have to uninstall stuff to fix your system so....

Try this:

apt remove ufraw ufraw-batch
apt --fix-broken install
apt install ufraw

Brian Cluff

On 12/16/2017 06:52 PM, Michael wrote:
> ~ $ sudo apt-get --fix-broken install ufraw ufraw-batch-
> [sudo] password for bmike1:
> Sorry, try again.
> [sudo] password for bmike1:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> ufraw is already the newest version
> (0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1).
> 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 it is not
> going to be installed
> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
> (or specify a solution).
> ~ $ 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)
>
> On Fri, Dec 15, 2017 at 10:43 PM, Stephen Partington
> < <mailto:cryptworks@gmail.com>> wrote:
>
>     shouldn't "sudo apt-get --fix-broken ufraw ufraw-batch-" still
>     have the install to resemble sudo apt-get --fix-broken install
>     ufraw ufraw-batch-

>
>     On Fri, Dec 15, 2017 at 8:29 PM, Michael <
>     <mailto:bmike1@gmail.com>> wrote:

>
>          $ sudo apt-get --fix-broken ufraw ufraw-batch-
>         E: Command line option --fix-broken is not understood in
>         combination with the other options
>         $ sudo apt-get --fix-broken ufraw ufraw-batch -
>         E: Command line option --fix-broken is not understood in
>         combination with the other options

>
>
>         On Fri, Dec 15, 2017 at 8:39 PM, der.hans <
>         <mailto:PLUGd@lufthans.com>> wrote:

>
>             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
>                 < <mailto:brian@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 -
>                     
>                     <mailto:PLUG-discuss@lists.phxlinux.org>
>                     To subscribe, unsubscribe, or to change your mail
>                     settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>                     <http://lists.phxlinux.org/mailman/listinfo/plug-discuss>

>
>
>
>                     ---------------------------------------------------
>                     PLUG-discuss mailing list -
>                     
>                     <mailto:PLUG-discuss@lists.phxlinux.org>
>                     To subscribe, unsubscribe, or to change your mail
>                     settings:
>                     http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>                     <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
>             ---------------------------------------------------
>             PLUG-discuss mailing list -
>             
>             <mailto:PLUG-discuss@lists.phxlinux.org>
>             To subscribe, unsubscribe, or to change your mail settings:
>             http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>             <http://lists.phxlinux.org/mailman/listinfo/plug-discuss>

>
>
>
>
>         -- 
>         :-)~MIKE~(-:

>
>         ---------------------------------------------------
>         PLUG-discuss mailing list - 
>         <mailto:PLUG-discuss@lists.phxlinux.org>
>         To subscribe, unsubscribe, or to change your mail settings:
>         http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>         <http://lists.phxlinux.org/mailman/listinfo/plug-discuss>

>
>
>
>
>     -- 
>     A mouse trap, placed on top of your alarm clock, will prevent you
>     from rolling over and going back to sleep after you hit the snooze
>     button.

>
>     Stephen

>
>
>     ---------------------------------------------------
>     PLUG-discuss mailing list - 
>     <mailto:PLUG-discuss@lists.phxlinux.org>
>     To subscribe, unsubscribe, or to change your mail settings:
>     http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>     <http://lists.phxlinux.org/mailman/listinfo/plug-discuss>

>
>
>
>
> --
> :-)~MIKE~(-:
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss