Re: apt-get update/upgrade

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Snyder, Alexander
Date:  
To: Main PLUG discussion list
Subject: Re: apt-get update/upgrade
Instead of a semi-colon, try " && " (double ampersand). That says "wait
until the last command is done, and if it was successful, then do the next
one" ... I've seen the semi-colon fail because its trying to do something
else before the last has finished.

--
Thanks,
--:: Alexander J. Snyder ::--
--:: ThisGuyShouldWorkFor.Us <http://thisguyshouldworkfor.us> ::--
--:: "Never trust a computer you can't throw out a window. --Steve Wozniak"
::--
--

On Mon, Jan 4, 2016 at 4:22 PM, Michael Havens <> wrote:

> I'm attempting to upgrade my system:
>
> $ sudo apt-get update; sudo apt-get upgrade
> <snip>
> Reading package lists... Done
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages have been kept back:
> fglrx-updates linux-kernel-generic
> The following packages will be upgraded:
> fglrx-updates-dev
> 1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> Need to get 0 B/40.2 kB of archives.
> After this operation, 13.3 kB disk space will be freed.
> Do you want to continue? [Y/n] y
> (Reading database ... 261502 files and directories currently installed.)
> Preparing to unpack .../fglrx-updates-dev_2%3a15.200-0ubuntu0.5_amd64.deb
> ...
> Unpacking fglrx-updates-dev (2:15.200-0ubuntu0.5) over
> (2:13.350.1-0ubuntu2) ...
> dpkg: error processing archive
> /var/cache/apt/archives/fglrx-updates-dev_2%3a15.200-0ubuntu0.5_amd64.deb
> (--unpack):
> trying to overwrite '/usr/lib/fglrx/libGL.so', which is also in package
> fglrx-updates 2:13.350.1-0ubuntu2
> Errors were encountered while processing:
> /var/cache/apt/archives/fglrx-updates-dev_2%3a15.200-0ubuntu0.5_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I tried websearching the error and it pulled up a page that said to:
>
> $ sudo dpkg --purge --force-all fglrx-amdcccle xvba-va-driver
>
> but that isn't quite right. So I tried to focus the search; I put quotes
> around groups of phrases:
>
> "Preparing to unpack"
> "Unpacking fglrx-updates-dev"
> "dpkg: error processing archive" "(--unpack):"
> "trying to overwrite" "which is also in package fglrx"
> "Errors were encountered while processing:"
>
> Do I need to do anything? If sp please tell me what to do.
> --
> :-)~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