This repository was archived by the owner on Nov 22, 2017. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 22, 2017. It is now read-only.
Cannot update system #86
Copy link
Copy link
Open
Description
Hi,
I have just installed alwsl and I am unable to update my system.
Error message
root@Win10-arlen:/mnt/c/Users/arlen/Downloads# pacman -Syyu
:: Synchronizing package databases...
core 124.6 KiB 877K/s 00:00 [##################################################] 100%
extra 1660.3 KiB 3.33M/s 00:00 [##################################################] 100%
community 4.1 MiB 728K/s 00:06 [##################################################] 100%
:: Starting full system upgrade...
warning: fakeroot: ignoring package upgrade (1.21-2 => 1.22-1)
warning: pacman: ignoring package upgrade (5.0.1-4 => 5.0.2-2)
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
Packages (72) acl-2.2.52-4 archlinux-keyring-20170823-1 attr-2.4.47-3 automake-1.15.1-1 binutils-2.29.0-1 bison-3.0.4-3
ca-certificates-mozilla-3.33-2 coreutils-8.28-1 cryptsetup-1.7.5-1 curl-7.56.0-1 dbus-1.10.24-1 device-mapper-2.02.175-1
diffutils-3.6-1 e2fsprogs-1.43.6-1 expat-2.2.4-1 file-5.32-1 freetype2-2.8.1-1 gcc-7.2.0-3 gcc-libs-7.2.0-3 glib2-2.54.1-2
glibc-2.26-5 gnupg-2.2.1-1 gnutls-3.5.15-1 grep-3.1-1 harfbuzz-1.5.1-1 hwids-20170715-1 iana-etc-20170824-1 icu-59.1-2
iproute2-4.13.0-1 krb5-1.15.2-1 libarchive-3.3.2-1 libcap-ng-0.7.8-1 libelf-0.170-1 libgcrypt-1.8.1-1 libidn-1.33-2
libksba-1.3.5-1 libldap-2.4.45-4 libnghttp2-1.23.1-1 libnl-3.3.0-1 libpipeline-1.4.2-1 libpng-1.6.34-2 libpsl-0.18.0-1
libsystemd-235.0-1 libtasn1-4.12-2 libtirpc-1.0.2-1 libtool-2.4.6+40+g6ca5e224-1 libusb-1.0.21-2 libutil-linux-2.30.2-1
licenses-20171006-1 linux-api-headers-4.12.7-1 logrotate-3.12.3-1 lz4-1:1.8.0-1 nano-2.8.7-1 ncurses-6.0+20170902-1
netctl-1.13-2 npth-1.5-1 openssl-1.1.0.f-2 p11-kit-0.23.9-1 pacman-mirrorlist-20170907-1 pambase-20171006-1 pcre-8.41-1
perl-5.26.1-1 popt-1.16-9 psmisc-23.1-1 shadow-4.5-2 sqlite-3.20.1-1 sudo-1.8.21.p2-1 systemd-235.0-1
systemd-sysvcompat-235.0-1 texinfo-6.4-1 util-linux-2.30.2-1 zlib-1:1.2.11-2
Total Download Size: 121.75 MiB
Total Installed Size: 535.01 MiB
Net Upgrade Size: 8.08 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
linux-api-headers-4.12.7-1-any 920.8 KiB 2.26M/s 00:00 [##################################################] 100%
iana-etc-20170824-1-any 361.5 KiB 2.49M/s 00:00 [##################################################] 100%
glibc-2.26-5-x86_64 8.6 MiB 2011K/s 00:04 [##################################################] 100%
attr-2.4.47-3-x86_64 69.7 KiB 6.80M/s 00:00 [##################################################] 100%
acl-2.2.52-4-x86_64 132.1 KiB 1436K/s 00:00 [##################################################] 100%
archlinux-keyring-20170823-1-any 711.0 KiB 1861K/s 00:00 [##################################################] 100%
gcc-libs-7.2.0-3-x86_64 17.5 MiB 2.01M/s 00:09 [##################################################] 100%
ncurses-6.0+20170902-1-x86_64 1054.9 KiB 2009K/s 00:01 [##################################################] 100%
perl-5.26.1-1-x86_64 13.6 MiB 1944K/s 00:07 [##################################################] 100%
automake-1.15.1-1-any 594.7 KiB 1995K/s 00:00 [##################################################] 100%
zlib-1:1.2.11-2-x86_64 81.7 KiB 224K/s 00:00 [##################################################] 100%
binutils-2.29.0-1-x86_64 5.1 MiB 2.22M/s 00:02 [##################################################] 100%
bison-3.0.4-3-x86_64 561.7 KiB 2.28M/s 00:00 [##################################################] 100%
openssl-1.1.0.f-2-x86_64 2.9 MiB 1531K/s 00:02 [##################################################] 100%
coreutils-8.28-1-x86_64 2.2 MiB 1127K/s 00:02 [##################################################] 100%
libtasn1-4.12-2-x86_64 116.9 KiB 2.04M/s 00:00 [##################################################] 100%
p11-kit-0.23.9-1-x86_64 448.7 KiB 1402K/s 00:00 [##################################################] 100%
ca-certificates-mozilla-3.33-2-x86_64 379.1 KiB 1498K/s 00:00 [##################################################] 100%
libutil-linux-2.30.2-1-x86_64 336.2 KiB 1716K/s 00:00 [##################################################] 100%
e2fsprogs-1.43.6-1-x86_64 993.1 KiB 1631K/s 00:01 [##################################################] 100%
libldap-2.4.45-4-x86_64 284.0 KiB 1519K/s 00:00 [##################################################] 100%
krb5-1.15.2-1-x86_64 1118.5 KiB 1388K/s 00:01 [##################################################] 100%
icu-59.1-2-x86_64 8.2 MiB 1896K/s 00:04 [##################################################] 100%
libpsl-0.18.0-1-x86_64 50.8 KiB 8.27M/s 00:00 [##################################################] 100%
libnghttp2-1.23.1-1-x86_64 84.2 KiB 233K/s 00:00 [##################################################] 100%
curl-7.56.0-1-x86_64 951.6 KiB 1338K/s 00:01 [##################################################] 100%
libgcrypt-1.8.1-1-x86_64 483.3 KiB 1438K/s 00:00 [##################################################] 100%
lz4-1:1.8.0-1-x86_64 76.7 KiB 1632K/s 00:00 [##################################################] 100%
libsystemd-235.0-1-x86_64 336.0 KiB 1442K/s 00:00 [##################################################] 100%
expat-2.2.4-1-x86_64 91.5 KiB 1866K/s 00:00 [##################################################] 100%
dbus-1.10.24-1-x86_64 275.0 KiB 1478K/s 00:00 [##################################################] 100%
device-mapper-2.02.175-1-x86_64 267.9 KiB 1798K/s 00:00 [##################################################] 100%
diffutils-3.6-1-x86_64 282.8 KiB 1529K/s 00:00 [##################################################] 100%
file-5.32-1-x86_64 260.1 KiB 1769K/s 00:00 [##################################################] 100%
pcre-8.41-1-x86_64 924.6 KiB 1645K/s 00:01 [##################################################] 100%
glib2-2.54.1-2-x86_64 2.3 MiB 1810K/s 00:01 [##################################################] 100%
gcc-7.2.0-3-x86_64 29.2 MiB 3.00M/s 00:10 [##################################################] 100%
npth-1.5-1-x86_64 12.8 KiB 12.5M/s 00:00 [##################################################] 100%
libksba-1.3.5-1-x86_64 116.0 KiB 333K/s 00:00 [##################################################] 100%
libidn-1.33-2-x86_64 208.6 KiB 2026K/s 00:00 [##################################################] 100%
gnutls-3.5.15-1-x86_64 2.3 MiB 2.84M/s 00:01 [##################################################] 100%
sqlite-3.20.1-1-x86_64 1236.5 KiB 2011K/s 00:01 [##################################################] 100%
gnupg-2.2.1-1-x86_64 2.0 MiB 1425K/s 00:01 [##################################################] 100%
grep-3.1-1-x86_64 188.4 KiB 1865K/s 00:00 [##################################################] 100%
hwids-20170715-1-any 344.0 KiB 1773K/s 00:00 [##################################################] 100%
libelf-0.170-1-x86_64 340.6 KiB 1756K/s 00:00 [##################################################] 100%
libnl-3.3.0-1-x86_64 354.9 KiB 1802K/s 00:00 [##################################################] 100%
libusb-1.0.21-2-x86_64 54.1 KiB 6.60M/s 00:00 [##################################################] 100%
iproute2-4.13.0-1-x86_64 689.5 KiB 1363K/s 00:01 [##################################################] 100%
libarchive-3.3.2-1-x86_64 448.9 KiB 1532K/s 00:00 [##################################################] 100%
libpipeline-1.4.2-1-x86_64 37.2 KiB 7.27M/s 00:00 [##################################################] 100%
libtirpc-1.0.2-1-x86_64 176.9 KiB 1787K/s 00:00 [##################################################] 100%
libtool-2.4.6+40+g6ca5e224-1-x86_64 400.3 KiB 1675K/s 00:00 [##################################################] 100%
licenses-20171006-1-any 67.4 KiB 6.58M/s 00:00 [##################################################] 100%
popt-1.16-9-x86_64 63.7 KiB 6.91M/s 00:00 [##################################################] 100%
logrotate-3.12.3-1-x86_64 37.2 KiB 6.06M/s 00:00 [##################################################] 100%
nano-2.8.7-1-x86_64 429.5 KiB 1775K/s 00:00 [##################################################] 100%
cryptsetup-1.7.5-1-x86_64 240.8 KiB 1720K/s 00:00 [##################################################] 100%
pambase-20171006-1-any 2.9 KiB 0.00B/s 00:00 [##################################################] 100%
shadow-4.5-2-x86_64 1083.6 KiB 1375K/s 00:01 [##################################################] 100%
util-linux-2.30.2-1-x86_64 1937.6 KiB 1593K/s 00:01 [##################################################] 100%
systemd-235.0-1-x86_64 4.3 MiB 1860K/s 00:02 [##################################################] 100%
netctl-1.13-2-any 37.9 KiB 7.41M/s 00:00 [##################################################] 100%
pacman-mirrorlist-20170907-1-any 5.6 KiB 0.00B/s 00:00 [##################################################] 100%
psmisc-23.1-1-x86_64 94.4 KiB 1574K/s 00:00 [##################################################] 100%
sudo-1.8.21.p2-1-x86_64 976.4 KiB 1675K/s 00:01 [##################################################] 100%
systemd-sysvcompat-235.0-1-x86_64 7.4 KiB 0.00B/s 00:00 [##################################################] 100%
texinfo-6.4-1-x86_64 1188.4 KiB 1408K/s 00:01 [##################################################] 100%
libpng-1.6.34-2-x86_64 240.8 KiB 1672K/s 00:00 [##################################################] 100%
harfbuzz-1.5.1-1-x86_64 364.8 KiB 1294K/s 00:00 [##################################################] 100%
freetype2-2.8.1-1-x86_64 460.4 KiB 1234K/s 00:00 [##################################################] 100%
libcap-ng-0.7.8-1-x86_64 34.9 KiB 6.82M/s 00:00 [##################################################] 100%
(72/72) checking keys in keyring [##################################################] 100%
downloading required keys...
error: key "4A1AFC345EBE18F8" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Steps to reproduce
- Install
alwsl - Run
pacman -Syyuin installedArch Linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
dangkhoasdc commentedon Oct 26, 2017
Here is a workaround (it worked for me)
keyservertokeyserver hkp://pgp.mit.edu:11371pacman-key --populate archlinuxpacman -Scpacman -Syulfelipe1501 commentedon Nov 11, 2017
In order for the solution proposed by @dangkhoasdc to work, you must first execute:
pacman -S archlinux-keyring ca-certificates-mozillaThis command updates the arch keys and allows you to update the subsystem without problems following the instructions of @dangkhoasdc
yisonPylkita commentedon Nov 12, 2017
Thanks @dangkhoasdc and @lfelipe1501 for help.
Still, I will leave this issue open waiting for fix in upstream version of
awsl, because beeing unable to update system just by typingpacman -Syyuis still a bug.Update
I am no longer using
awsl, so I cannot check if this issue has been finally fixed. If someone can, please do so and close this issue. Thanks :)jeffvandyke commentedon Nov 20, 2017
Same problem, workaround works, also updating
archlinux-keyringandca-certificates-mozillaworks too. I had to usekeyserver hkps://hkps.pool.sks-keyservers.net:443before I was able to successfullypacman -Syu