System Update froze - UbuntuMATE 16-04

Bret Busby bret.busby at gmail.com
Tue Jun 19 18:41:06 UTC 2018


On 20/06/2018, Bret Busby <bret.busby at gmail.com> wrote:
> On 20/06/2018, Sarunas Burdulis <sarunas at math.dartmouth.edu> wrote:
>> On 2018-06-19 13:40, Bret Busby wrote:
>>> Hello.
>>>
>>> I have tried to do a system update on this computer, which is (kind
>>> of) running UbuntuMATE 16.04 .
>>>
>>> The Software Updater shows
>>>
>>> "Installing updates..."
>>>
>>> and, under that, is
>>> "Running post-installation trigger initramfs-tools"
>>>
>>> (it is unfortunate that the window does not allow copying and pasting
>>> of text in the window)
>>>
>>> and it has been sitting there, with no progress for over half an hour
>>> (it is on an i3CPU with 16GB of RAM, not an 8086 with 640kB of RAM).
>>
>> [...]
>>
>>> So, how dio I fix this broken system upgrade?
>> Go to terminal, either an app or via Ctrl-Alt-F2.
>>
>> Become a real user:
>>
>> sudo su -
>>
>> unless you like this 'sudo' litany.
>>
>> Find offending processes and kill them all.
>>
>> Then
>>
>> apt-get update
>> apt-get upgrade
>> apt-get dist-upgrade
>>
>> If any of those fail, run
>>
>> apt-get -f install
>>
>> and repeat 'upgrade' and 'dist-upgrade'
>>
>> You can also do
>>
>> apt-get --purge remove snapd unattended-upgrades
>>
>> at any time
>>
>> Check, that you still have some kernels to boot:
>>
>> update-grub
>>
>> and reboot.
>>
>> --
>> Sarunas Burdulis
>> Systems Administrator, Dartmouth Mathematics
>> math.dartmouth.edu/~sarunas
>>
>>
>
> I tried apt-get update, then apt-get -f install, results below
>
> "
> root at bret-Inspiron-580-UbuntuMATE:/home/bret# apt-get update
> Reading package lists... Done
> E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource
> temporarily unavailable)
> E: Unable to lock directory /var/lib/apt/lists/
> root at bret-Inspiron-580-UbuntuMATE:/home/bret# apt-get update
> Reading package lists... Done
> E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource
> temporarily unavailable)
> E: Unable to lock directory /var/lib/apt/lists/
> root at bret-Inspiron-580-UbuntuMATE:/home/bret# apt-get update
> Reading package lists... Done
> E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource
> temporarily unavailable)
> E: Unable to lock directory /var/lib/apt/lists/
> root at bret-Inspiron-580-UbuntuMATE:/home/bret# apt-get -f install
> E: Could not get lock /var/lib/dpkg/lock - open (11: Resource
> temporarily unavailable)
> E: Unable to lock the administration directory (/var/lib/dpkg/), is
> another process using it?
> root at bret-Inspiron-580-UbuntuMATE:/home/bret#
> "
>
>
> --
>
> Bret Busby
> Armadale
> West Australia
>
> ..............
>
> "So once you do know what the question actually is,
>  you'll know what the answer means."
> - Deep Thought,
>  Chapter 28 of Book 1 of
>  "The Hitchhiker's Guide to the Galaxy:
>  A Trilogy In Four Parts",
>  written by Douglas Adams,
>  published by Pan Books, 1992
>
> ....................................................
>

Also, ...


"
root at bret-Inspiron-580-UbuntuMATE:/home/bret# apt-get --purge remove
snapd unattended-upgrades
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  squashfs-tools
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  snapd* ubuntu-mate-core* ubuntu-mate-desktop* unattended-upgrades*
0 to upgrade, 0 to newly install, 4 to remove and 34 not to upgrade.
1 not fully installed or removed.
After this operation, 80.2 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
root at bret-Inspiron-580-UbuntuMATE:/home/bret# apt-get --purge remove
unattended-upgrades
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ubuntu-mate-core* ubuntu-mate-desktop* unattended-upgrades*
0 to upgrade, 0 to newly install, 3 to remove and 34 not to upgrade.
1 not fully installed or removed.
After this operation, 348 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
root at bret-Inspiron-580-UbuntuMATE:/home/bret#
"

So, to remove unattended-upgrades, requires removing ubuntu-mate .


-- 
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992

....................................................




More information about the ubuntu-users mailing list