(09/07/2016)
UPDATE TO PACMAN 5 and PAMAC 4.1 for NEMESIS 3.5
I have decided to boot again from a new totally clean system to see, what is going to happen during updates, so everyone can do it and maybe help developers isolate issues for their fixes.
So here is the solution (posted from the new clean system):
Boot totally clean.
Do not create savefile yet, if you want xzm from pman-setup. Pman-setup could save its contents in the savefile if found (a guess), but I have never tried it.
So on this solution I will create one xzm from pman and then I will update pacman at the savefile level.
There could be alternative ways but I want the xzm to be available for any other boot options, with different savefiles etc. No need to create it again. A personal choice.
Code: Select all
guest ~ $ su
Password:
root /home/guest # pacman --version
.--. Pacman v4.2.1 - libalpm v9.0.1
/ _.-' .-. .-. .-. Copyright (C) 2006-2014 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'
This program may be freely redistributed under
the terms of the GNU General Public License.
Code: Select all
root /home/guest # setup-pman
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
gpg: Generating pacman keyring master key...
gpg: key 571B1ADE marked as ultimately trusted
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: Done
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Appending keys from archlinux.gpg...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Locally signing trusted keys in keyring...
-> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
-> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
-> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
-> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
-> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
==> Importing owner trust values...
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
-> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
-> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
-> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
-> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
-> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
-> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
-> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
-> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
-> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
-> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
-> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 5 signed: 64 trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2 valid: 64 signed: 5 trust: 64-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2016-10-19
==> Appending keys from manjaro.gpg...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 5 signed: 64 trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2 valid: 64 signed: 5 trust: 64-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2016-10-19
==> Locally signing trusted keys in keyring...
-> Locally signing key 7C89F4D439B2BFACF425107B62443D89B35859F8...
-> Locally signing key 5A97ED6B72418199F0C22B23137C934B5DCB998E...
-> Locally signing key B4663188A692DB1E45A98EE95BD96CC4247B52CC...
-> Locally signing key 35B4FF23EA9477582C2A0AF12B80869C5C0102A6...
-> Locally signing key 1E7908935AAB9A00D6B47503363DFFFD59152F77...
-> Locally signing key 77DC01C9971AC3C39A0626F72C089F09AC97B894...
-> Locally signing key 74C2F2CC05A0AB7D859839938934292D604F8BA2...
-> Locally signing key 39F0EC1AE50B37E5F3196F09DAD3B211663CA268...
-> Locally signing key E4CDFE50A2DA85D58C8A8C70CAA6A59611C7F07E...
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabling key FAA6840E8C3FC7F89BEE0DC8AC7AB10BCB6CDD17...
-> Disabling key 540DE7083B89314CF70EA6F0C1B1AD0DA80EBF3E...
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 14 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 14 signed: 64 trust: 0-, 0q, 0n, 14m, 0f, 0u
gpg: depth: 2 valid: 64 signed: 5 trust: 64-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2016-10-19
No package servers detected.
Please type the closest country:
Africa Chile Germany Italy Portugal Taiwan
Australia China Greece Japan Romania Turkey
Belgium Ecuador Indonesia Netherlands Russia United_Kingdom
Brasil France Ireland Philippines Sweden United_States
> Greece
Generating fastest mirror list ...
:: Querying servers, this may take some time...
Greece
-> 0.607 http://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
:: Generated and saved '/etc/pacman.d/mirrorlist' mirrorlist.
Updating database ...
==> Pre-4.2 database format detected - upgrading...
:: Synchronizing package databases...
core 135.5 KiB 243K/s 00:01 [######################] 100%
extra 1898.8 KiB 64.3K/s 00:30 [######################] 100%
community 3.8 MiB 1450K/s 00:03 [######################] 100%
multilib 187.5 KiB 852K/s 00:00 [######################] 100%
Updating certificates ///
df: ‘/porteus’: No such file or directory
Changes are not on a real file system.
It seems you are not saving your changes.
Would you like to create a module from your settings? [y/n]y
/tmp
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on /tmp/pacman-settings.xzm, block size 262144.
[=================================================================-] 35/35 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 6657.65 Kbytes (6.50 Mbytes)
99.41% of uncompressed filesystem size (6697.06 Kbytes)
Inode table size 374 bytes (0.37 Kbytes)
41.65% of uncompressed inode table size (898 bytes)
Directory table size 462 bytes (0.45 Kbytes)
75.00% of uncompressed directory table size (616 bytes)
Number of duplicate files found 2
Number of inodes 25
Number of files 13
Number of fragments 2
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 1
Number of directories 11
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
6.6M /tmp/pacman-settings.xzm
/tmp/pacman-settings.xzm was moved to your modules directory.
This means that changes will persist at next boot.
NOW IT IS TIME TO SETUP YOUR SAVEFILE:
Reboot with boot option for savefile activation
Code: Select all
pacman -Syy
The first issue: pacman
Code: Select all
root /home/guest # pacman -S pacman
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...
Packages (2) archlinux-keyring-20160402-1 manjaro-keyring-20160527-1
Total Download Size: 0.62 MiB
Total Installed Size: 0.86 MiB
Net Upgrade Size: 0.11 MiB
:: Proceed with installation? [Y/n] n
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: package-query: requires pacman<4.3
:: pamac: requires pacman<4.3
more info: https://bbs.archlinux.org/viewtopic.php?id=208306
Set a new unofficial repository to pacman configuration related to AUR helper "yaourt" https://afur.archlinux.fr/
This repository includes "package-query" witch is an unofficial package.
Only then pacman commands should work for the "package-query" package (you can alternatively install it from AUR if you can, I am not sure if it will work this way)
usefull links:
https://wiki.archlinux.org/index.php/Pa ... icial_keys
https://wiki.archlinux.org/index.php/Un ... positories
https://bbs.archlinux.org/viewtopic.php?id=144614
So, you have to edit etc/pacman.conf and add:
Code: Select all
[archlinuxfr]
#SigLevel = Optional TrustAll
SigLevel = PackageRequired
Server = http://repo.archlinux.fr/$arch
Save it and update databases again:
Code: Select all
pacman -Syy
Code: Select all
root /home/guest # pacman -Syy
:: Synchronizing package databases...
core 135.5 KiB 316K/s 00:00 [######################] 100%
extra 1898.8 KiB 1316K/s 00:01 [######################] 100%
community 3.8 MiB 692K/s 00:06 [######################] 100%
multilib 187.5 KiB 445K/s 00:00 [######################] 100%
archlinuxfr 11.3 KiB 365K/s 00:00 [######################] 100%
CAUTION:This is where the keyring conflict might occur if executed with differences in timeline
Then you may have to delete conflicting packages as stated in keyring issues topic.
Next command will give you errors and probably trigger the keyring issue (RESOLVED @ 2nd post):
Code: Select all
pacman -S package-query
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...
Packages (2) archlinux-keyring-20160402-1 manjaro-keyring-20160527-1
Total Download Size: 0.62 MiB
Total Installed Size: 0.86 MiB
Net Upgrade Size: 0.11 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
archlinux-keyring-2... 576.7 KiB 704K/s 00:01 [######################] 100%
manjaro-keyring-201... 59.0 KiB 476K/s 00:00 [######################] 100%
(2/2) checking keys in keyring [######################] 100%
(2/2) checking package integrity [######################] 100%
(2/2) loading package files [######################] 100%
(2/2) checking for file conflicts [######################] 100%
(2/2) checking available disk space [######################] 100%
(1/2) upgrading archlinux-keyring [######################] 100%
==> Appending keys from archlinux.gpg...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 14 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 14 signed: 66 trust: 0-, 0q, 0n, 14m, 0f, 0u
gpg: depth: 2 valid: 66 signed: 7 trust: 66-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2016-10-19
==> Locally signing trusted keys in keyring...
-> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
-> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
-> Locally signing key 91FFE0700E80619CEB73235CA88E23E377514E00...
-> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
-> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
-> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
==> Importing owner trust values...
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
-> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
-> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
-> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
-> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
-> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
-> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
-> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
-> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
-> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
-> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
-> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
==> Updating trust database...
gpg: next trustdb check due at 2016-10-19
(2/2) upgrading manjaro-keyring [######################] 100%
==> Appending keys from manjaro.gpg...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 15 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 15 signed: 68 trust: 0-, 0q, 0n, 15m, 0f, 0u
gpg: depth: 2 valid: 68 signed: 7 trust: 68-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2016-10-19
==> Locally signing trusted keys in keyring...
-> Locally signing key 7C89F4D439B2BFACF425107B62443D89B35859F8...
-> Locally signing key 22C903DE964E6FE321656E318DB9F8C18DF53602...
-> Locally signing key 16DC688DF3EECC72323954237EC47C82A42D53A2...
-> Locally signing key 5A97ED6B72418199F0C22B23137C934B5DCB998E...
-> Locally signing key B4663188A692DB1E45A98EE95BD96CC4247B52CC...
-> Locally signing key 2C688B52E3FC0144B7484BABE3B3F44AC45EE0AA...
-> Locally signing key 35B4FF23EA9477582C2A0AF12B80869C5C0102A6...
-> Locally signing key 1E7908935AAB9A00D6B47503363DFFFD59152F77...
-> Locally signing key 77DC01C9971AC3C39A0626F72C089F09AC97B894...
-> Locally signing key 74C2F2CC05A0AB7D859839938934292D604F8BA2...
-> Locally signing key 39F0EC1AE50B37E5F3196F09DAD3B211663CA268...
-> Locally signing key E4CDFE50A2DA85D58C8A8C70CAA6A59611C7F07E...
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabling key FAA6840E8C3FC7F89BEE0DC8AC7AB10BCB6CDD17...
-> Disabling key 540DE7083B89314CF70EA6F0C1B1AD0DA80EBF3E...
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 18 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 18 signed: 66 trust: 0-, 0q, 0n, 18m, 0f, 0u
gpg: depth: 2 valid: 66 signed: 7 trust: 66-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2016-10-19
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: pamac: requires pacman<4.3
package-query
Code: Select all
pacman -R package-query
checking dependencies...
Packages (1) package-query-1.6.2-1
Total Removed Size: 0.08 MiB
:: Do you want to remove these packages? [Y/n] y
(1/1) removing package-query [######################] 100%
Code: Select all
root /home/guest # pacman -R pamac
checking dependencies...
Packages (1) pamac-2.4.3-3
Total Removed Size: 2.93 MiB
:: Do you want to remove these packages? [Y/n] y
(1/1) removing pamac [######################] 100%
warning: /etc/pamac.conf saved as /etc/pamac.conf.pacsave
gtk-update-icon-cache: Cache file created successfully.
==> The polkit-gnome agent is no longer autostarted by default
except in GNOME Flashback.
For Xfce, LXDE etc., lxsession is the suggested lightweight alternative.
See https://wiki.archlinux.org/index.php/Polkit#Authentication_agents
for more details.
Install them all now:
Code: Select all
root /home/guest # pacman -S package-query pamac
resolving dependencies...
looking for conflicting packages...
Packages (3) pacman-5.0.1-4 package-query-1.8-1 pamac-4.1.0-2
Total Download Size: 1.06 MiB
Total Installed Size: 7.46 MiB
Net Upgrade Size: 3.09 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
pacman-5.0.1-4-x86_64 737.1 KiB 931K/s 00:01 [######################] 100%
package-query-1.8-1... 26.1 KiB 395K/s 00:00 [######################] 100%
pamac-4.1.0-2-x86_64 321.1 KiB 841K/s 00:00 [######################] 100%
(3/3) checking keys in keyring [######################] 100%
(3/3) checking package integrity [######################] 100%
(3/3) loading package files [######################] 100%
(3/3) checking for file conflicts [######################] 100%
(3/3) checking available disk space [######################] 100%
(1/3) upgrading pacman [######################] 100%
warning: /etc/makepkg.conf installed as /etc/makepkg.conf.pacnew
warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
warning: directory permissions differ on /var/cache/pacman/pkg/
filesystem: 777 package: 755
(2/3) installing package-query [######################] 100%
(3/3) installing pamac [######################] 100%
==> An authentication agent is required
Cinnamon, Deepin, GNOME, GNOME Flashback, KDE, LXDE, LXQt, MATE and Xfce
have an authentication agent already.
See https://wiki.archlinux.org/index.php/Polkit#Authentication_agents
for other desktop environments.
Optional dependencies for pamac
yaourt: needed for AUR support
Code: Select all
root /home/guest # pacman -S yaourt
resolving dependencies...
looking for conflicting packages...
Packages (1) yaourt-1.8.1-1
Total Download Size: 0.10 MiB
Total Installed Size: 0.77 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
yaourt-1.8.1-1-any 105.8 KiB 275K/s 00:00 [######################] 100%
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) installing yaourt [######################] 100%
Optional dependencies for yaourt
aurvote: vote for favorite packages from AUR
customizepkg: automatically modify PKGBUILD during install/upgrade
rsync: retrieve PKGBUILD from official repositories [installed]
root /home/guest #
Code: Select all
root /home/guest # pacman --version
.--. Pacman v5.0.1 - libalpm v10.0.1
/ _.-' .-. .-. .-. Copyright (C) 2006-2016 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'
This program may be freely redistributed under
the terms of the GNU General Public License.
root /home/guest #
This update could be done also from the original pamac alone, if you try to proceed for a full update (keep in mind you need more than 2GB free savefile to complete this without possible file system corruption (see bug reports on this)
This will lead to first time update screens for keyring, pamac itself and pacman. This could also trigger keyring issues. I have done this but I do not remember the steps, but I think you can update without forcing to proceed to a full update (you can cancel(?)) or you have to deselect all packages exept those mentioned (pretty hard on pamac as there is no way for now to deselect all found updates).
from pamac.log
Code: Select all
...
[2016-05-30 23:25]
[2016-05-30 23:25] hint: use `pacman-mirrors` to generate and update your pacman mirrorlist.
[2016-05-30 23:25] Upgraded pacman-mirrorlist (20151220-1 -> 20160423-1)
[2016-05-30 23:25] Upgraded pacman (4.2.1-4.1 -> 5.0.1-4)
[2016-05-30 23:25] Upgraded package-query (1.6.2-1 -> 1.8-1)
[2016-05-30 23:25] Upgraded pamac (2.4.3-3 -> 4.1.0-1)
For a full update procedure there are a few additional possible conflicting files and some other issues you may care about
more issues on update:
http://forum.porteus.org/viewtopic.php? ... 255#p46302