-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pacman -Syu Does Nothing #1298
Comments
whamberg@USSA1LPJJF3CS1 MSYS ~ whamberg@USSA1LPJJF3CS1 MSYS ~ whamberg@USSA1LPJJF3CS1 MSYS ~ |
pacman also locks the database regardless of what I do. |
Make sure there is no pacman process running and then remove lockfile: |
Done that and it still does nothing.
Wayne
…________________________________
From: Mateusz Mikuła <notifications@github.com>
Sent: Thursday, June 14, 2018 4:07:16 PM
To: Alexpux/MSYS2-packages
Cc: waynehamberg; Author
Subject: Re: [Alexpux/MSYS2-packages] pacman -Syu Does Nothing (#1298)
Make sure there is no pacman process running and then remove lockfile: rm -f /var/lib/pacman/db.lck.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1298 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFvcC-cU42q4a-fh2lEwtWaViMZcFvw_ks5t8t6UgaJpZM4Umkfu>.
|
Then it must external program interfering with pacman.
Some of them are listed here:
https://cygwin.com/faq/faq.html#faq.using.bloda
pt., 15 cze 2018 o 00:58 waynehamberg <notifications@github.com> napisał(a):
… Done that and it still does nothing.
Wayne
________________________________
From: Mateusz Mikuła ***@***.***>
Sent: Thursday, June 14, 2018 4:07:16 PM
To: Alexpux/MSYS2-packages
Cc: waynehamberg; Author
Subject: Re: [Alexpux/MSYS2-packages] pacman -Syu Does Nothing (#1298)
Make sure there is no pacman process running and then remove lockfile: rm
-f /var/lib/pacman/db.lck.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
#1298 (comment)>,
or mute the thread<
https://github.com/notifications/unsubscribe-auth/AFvcC-cU42q4a-fh2lEwtWaViMZcFvw_ks5t8t6UgaJpZM4Umkfu
>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1298 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABHsdqjRgxjm6xx4dW8SOTEqeMR9FR1vks5t8uqtgaJpZM4Umkfu>
.
|
I am seeing this same problem. pacman from |
I have the exact same problem on Windows 7 following a restart and a clean, accept-all-defaults install of |
The following seems to be a work-around to my problems:
The
See #1024. |
Yes, because of how pacman does version comparison. But recently I did a clean install on another system using |
@StarWolf3000, on my Windows 7 machine, a clean install of |
I have literally have given up as I have tried everything suggested and many more variations without success. We even tried a clean install of Windows 7 on an unfiltered line free of interference of any virus scans or anything else and the problem still exists.
I am really surprised that this problem can't be solved by simply rolling back changes made to MSYS2 over the last year to the point where this doesn't recur.
Wayne
…________________________________
From: Mike Pilgrem <notifications@github.com>
Sent: Friday, July 20, 2018 7:42:14 AM
To: Alexpux/MSYS2-packages
Cc: waynehamberg; Mention
Subject: Re: [Alexpux/MSYS2-packages] pacman -Syu Does Nothing (#1298)
@StarWolf3000<https://github.com/StarWolf3000>, on my Windows 7 machine, a clean install of msys2-x86_64-20180531.exe followed by pacman -Syyuu is no cure, because the version of pacman that comes with it seems to be the one exhibiting the problem experienced by @waynehamberg<https://github.com/waynehamberg> and me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1298 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFvcC7lH6vlq8_oyUByegomquf0iSuXVks5uId42gaJpZM4Umkfu>.
|
For completeness, on my Windows 10 machine, I have not had any problem with |
I did a reinstall on Windows 8.1 and 10, both successful. Maybe there really is something on Windows 7 that prevents pacman to do anything. |
I have the same issue as in the first post as waynehamberg on Windows 7, but on Windows 10 in another machine all is fine (as mpilgrem reports). I found a workaround for Windows 7 which worked for me, which is to edit /etc/pacman.conf and uncomment the following line: I found the workaround above in this comment: However then I ran into another problem when running "pacman -Syu" whereby updating gnupg fails because the gpg-agent cannot connect. The workaround for this other issue is to disable update of the gnupg package by modifying pacman.conf as follows: IgnorePkg = gnupg Of course the above is a temporary workaround! |
A brief update, using Piscium work around actually worked for me too, so at least I have something to work with now. |
Some tools are targeted by antivirus or anti-malware software, gnupg for example. |
Hi guys, I've the same issue on Windows 10 with the following version of msys2 : msys2-x86_64-20180531.exe Any update regarding a potential fix ? Thanks |
Same problem here, pacman crashes trying to download anything leaving the lock file there. I'm running Windows 10. The workaround posted by @Piscium works. Just tell pacman to use wget instead of internal downloader. |
I got same issue with msys2-base-x86_64-20181211.tar.xz. I install on Windows 10. Actually it success the first time, from 2nd time it always fails:
|
Same issue. Did you got any solution? I used 20200522 installer. |
Try using |
These days with .Net Core do you really need pacman or NetBeans?
I found that this environment along with other things like QT difficult and time consuming to setup.
…________________________________
From: David Macek <notifications@github.com>
Sent: Monday, May 25, 2020 2:59 PM
To: msys2/MSYS2-packages <MSYS2-packages@noreply.github.com>
Cc: waynehamberg <wayne.hamberg@outlook.com>; Mention <mention@noreply.github.com>
Subject: Re: [msys2/MSYS2-packages] pacman -Syu Does Nothing (#1298)
Try using pacman -Sy --debug -vvv. If that doesn't say anything interesting, try strace or procmon to find out what exactly is wrong with the locking.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1298 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABN5YC2ZT7U5LI5BAP2NN7TRTLL3RANCNFSM4FE2I7XA>.
|
Sorry, but after hours of struggling with this issue I just installed Cygwin. |
I have win 8.1, The problem is still occuring |
Have you tried to run it as Admin? I got the same error, when I was running the command in a standard window, but when I started MSYS2 as admin, I didn't have any problems. |
If you installed in the default location |
This comment has been minimized.
This comment has been minimized.
It is not an issue with the locking. It appears as such on retry, because after first attempt pacman leaves the lock file on the disk, thus subsequent attempts refuse to lock.
Pacman exits immediately after opening Above is from fresh install using |
This was exactly my case. Thanks! |
This probably has been solved by now, but just in case... I got a message, to remove the db.lck file in the pacman directory, if no package manager is running. Deleting that file solved the problem. |
@Jillinger This hasn't been solved, and a leftover |
What worked for me was just running as administrator |
"What worked for me was just running as administrator" - Same for me!! Why isn't that mentioned on the msys2 installation guide??!! Would save hours of pointless trying for so many users. |
msys2 does NOT require administrative permission. There may be something is blocking the pacman process, most of the time it is crappy antivirus software include M$ Windows Defender. |
Because if you install in the default location, you should not ever need to do this. In fact if you don't have write permission to the msys root then you probably have bigger issues not limited to pacman. For what it's worth, when I was experiencing this, I did try running as administrator and it made no difference. |
One thing that could interfere with this is Windows' ransomware protection, if it's on and you've added your msys2 folder or its parent to the list of folders to be protected. If you do this you need to manually whitelist each app that is allowed to modify that location even if the app being run is itself stored within that protected folder. |
tôi chạy trên vai trò quản trị viên là thành công |
This worked. Replying for more people to see! |
Hi Everybody,
I am trying to install Netbeans C++ on a new machine and I've done this several times in the past without issue however when I attempt to do it today "pacman -Syu" or "pacman -Su" do absolutely nothing. I have followed the instructions for installing MSYS2 (I've tried 32 and 64 bit versions) as specified on the following webpage (https://www.msys2.org/)
What's the problem?
Wayne
The text was updated successfully, but these errors were encountered: