You are not logged in.

#1 2021-02-09 20:19:35

supercaligo
Member
From: Melbourne, Victoria, Australia
Registered: 2020-09-10
Posts: 7

[SOLVED] So I CTRL+Zd pacman.

It's not exactly cooperating anymore.

[kai@ARCHBTW ~]$ sudo pacman -Syu
[sudo] password for kai:
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
[kai@ARCHBTW ~]$

I cancelled it in the middle of the same command I just listed before, now that's the only output I get.
I'm convinced I bricked it.

Last edited by supercaligo (2021-02-10 06:16:10)


I'm cool and all, you are too.

Offline

#2 2021-02-09 20:20:51

supercaligo
Member
From: Melbourne, Victoria, Australia
Registered: 2020-09-10
Posts: 7

Re: [SOLVED] So I CTRL+Zd pacman.

When I say in the middle, specifically when it was in the process of synchronizing with community database.


I'm cool and all, you are too.

Offline

#3 2021-02-09 20:28:38

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: [SOLVED] So I CTRL+Zd pacman.

You suspended the job. Type `jobs -l` to verify and `fg` to resume the job.

Offline

#4 2021-02-09 20:34:55

supercaligo
Member
From: Melbourne, Victoria, Australia
Registered: 2020-09-10
Posts: 7

Re: [SOLVED] So I CTRL+Zd pacman.

tucuxi wrote:

You suspended the job. Type `jobs -l` to verify and `fg` to resume the job.

First thing, thanks for responding so quickly, I don't think I'll respond so quickly as I'm about to head off, but this was my output.

[kai@ARCHBTW ~]$ jobs -l
[kai@ARCHBTW ~]$ fg
bash: fg: current: no such job
[kai@ARCHBTW ~]$

I should have said, I did restart in my vain efforts.


I'm cool and all, you are too.

Offline

#5 2021-02-09 20:39:21

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: [SOLVED] So I CTRL+Zd pacman.

In that case you need to remove the lock file /var/lib/pacman/db.lck.

Offline

#6 2021-02-09 20:40:08

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] So I CTRL+Zd pacman.

In that case just delete the lock file.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2021-02-09 20:44:22

supercaligo
Member
From: Melbourne, Victoria, Australia
Registered: 2020-09-10
Posts: 7

Re: [SOLVED] So I CTRL+Zd pacman.

tysm, both of you!


I'm cool and all, you are too.

Offline

#8 2021-02-09 23:43:54

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] So I CTRL+Zd pacman.

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Also note that you could have found information to solve your problem in the wiki: https://wiki.archlinux.org/index.php/Pa … )%22_error

Offline

#9 2021-02-10 06:09:03

supercaligo
Member
From: Melbourne, Victoria, Australia
Registered: 2020-09-10
Posts: 7

Re: [SOLVED] So I CTRL+Zd pacman.

<s> Good point, and you're right about the Arch Wiki, truly is a godsend (and probably helps 99% of everything in newbie corner).


I'm cool and all, you are too.

Offline

Board footer

Powered by FluxBB