Discussion:
[devinfo] Yum Error on update in SME10a2
Terry Fage
2017-03-16 04:24:08 UTC
Permalink
Just trying to verify a bug, when I attempt to update the
package..before I lodge a bug, any quick solutions?

[***@sme10a2base plugins]# yum update qpsmtpd-plugins
--enablerepo=smeupdates-testing
Loaded plugins: fastestmirror, smeserver
smeupdates-testing
| 2.9 kB 00:00:00
smeupdates-testing/primary_db
| 1.3 MB 00:00:05
Loading mirror speeds from cached hostfile
* base: mirror.ventraip.net.au
* smeaddons: mirror.canada.pialasse.com
* smeextras: mirror.canada.pialasse.com
* smeos: mirror.canada.pialasse.com
* smeupdates: mirror.canada.pialasse.com
* smeupdates-testing: mirror.canada.pialasse.com
* updates: mirror.ventraip.net.au
Resolving Dependencies
--> Running transaction check
---> Package qpsmtpd-plugins.noarch 0:0.0.1-4.el7.sme will be updated
---> Package qpsmtpd-plugins.noarch 0:0.0.1-5.el7.sme will be an update
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
Package Arch Version
Repository Size
====================================================================================================
Updating:
qpsmtpd-plugins noarch 0.0.1-5.el7.sme
smeupdates-testing 18 k

Transaction Summary
====================================================================================================
Upgrade 1 Package

Total download size: 18 k
Is this ok [y/d/N]: y
Downloading packages:
qpsmtpd-plugins-0.0.1-5.el7.sme.noarch.rpm
| 18 kB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : qpsmtpd-plugins-0.0.1-5.el7.sme.noarch
1/2
Cleanup : qpsmtpd-plugins-0.0.1-4.el7.sme.noarch
2/2
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 370, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 276, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 773, in doTransaction
resultobject = self.runTransaction(cb=cb)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1937,
in runTransaction
self.plugins.run('posttrans')
File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/smeserver.py", line 173, in posttrans_hook
if servicenames[pkg]:
KeyError: 'qpsmtpd'
_______________________________________________
Server Development Discussion
To unsubscribe, e-mail devinfo-***@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/devinfo/
Michael Doerner - Technologywise
2017-03-16 04:59:02 UTC
Permalink
Sorry, do not know a (quick) solution :-(
Post by Terry Fage
Just trying to verify a bug, when I attempt to update the
package..before I lodge a bug, any quick solutions?
--enablerepo=smeupdates-testing
Loaded plugins: fastestmirror, smeserver
smeupdates-testing | 2.9 kB 00:00:00
smeupdates-testing/primary_db | 1.3 MB 00:00:05
Loading mirror speeds from cached hostfile
* base: mirror.ventraip.net.au
* smeaddons: mirror.canada.pialasse.com
* smeextras: mirror.canada.pialasse.com
* smeos: mirror.canada.pialasse.com
* smeupdates: mirror.canada.pialasse.com
* smeupdates-testing: mirror.canada.pialasse.com
* updates: mirror.ventraip.net.au
Resolving Dependencies
--> Running transaction check
---> Package qpsmtpd-plugins.noarch 0:0.0.1-4.el7.sme will be updated
---> Package qpsmtpd-plugins.noarch 0:0.0.1-5.el7.sme will be an update
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================
Package Arch Version
Repository Size
====================================================================================================
qpsmtpd-plugins noarch 0.0.1-5.el7.sme
smeupdates-testing 18 k
Transaction Summary
====================================================================================================
Upgrade 1 Package
Total download size: 18 k
Is this ok [y/d/N]: y
qpsmtpd-plugins-0.0.1-5.el7.sme.noarch.rpm | 18 kB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : qpsmtpd-plugins-0.0.1-5.el7.sme.noarch
1/2
Cleanup : qpsmtpd-plugins-0.0.1-4.el7.sme.noarch
2/2
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 370, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 276, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 773, in doTransaction
resultobject = self.runTransaction(cb=cb)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1937,
in runTransaction
self.plugins.run('posttrans')
File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/smeserver.py", line 173, in posttrans_hook
KeyError: 'qpsmtpd'
_______________________________________________
Server Development Discussion
Searchable archive at https://lists.contribs.org/mailman/public/devinfo/
_______________________________________________
Server Development Discussion
To unsubscribe, e-mail devinfo-***@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/devinfo/
Terry Fage
2017-03-16 05:14:27 UTC
Permalink
Post by Michael Doerner - Technologywise
Sorry, do not know a (quick) solution :-(
Although I get the error the update appears to have been successful..

[***@sme10a2base ~]# rpm -qa qpsmtpd-plugins
qpsmtpd-plugins-0.0.1-5.el7.sme.noarch

So issue with the cleanup?

_______________________________________________
Server Development Discussion
To unsubscribe, e-mail devinfo-***@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/devinfo/
Jean-Philippe PIALASSE
2017-03-16 14:46:22 UTC
Permalink
Post by Terry Fage
Post by Michael Doerner - Technologywise
Sorry, do not know a (quick) solution :-(
Although I get the error the update appears to have been successful..
qpsmtpd-plugins-0.0.1-5.el7.sme.noarch
So issue with the cleanup?
I would guess, works for ne :

# yum update qpsmtpd-plugins --enablerepo=smeupdates-testing
Modules complémentaires chargés : fastestmirror, smeserver
http://centos.mirror.rafal.ca/7.3.1611/os/x86_64/repodata/repomd.xml:
[Errno 12] Timeout on
http://centos.mirror.rafal.ca/7.3.1611/os/x86_64/repodata/repomd.xml:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last
30 seconds')
Essai d'un autre miroir.
base | 3.6 kB
00:00
smeaddons | 2.9 kB
00:00
smeextras | 2.9 kB
00:00
smeos | 3.1 kB
00:00
smeupdates | 2.9 kB
00:00
smeupdates-testing | 2.9 kB
00:00
http://centos.mirror.rafal.ca/7.3.1611/updates/x86_64/repodata/repomd.xml:
[Errno 14] curl#7 - "Failed to connect to
2604:1500:f001:0:216:3eff:fe3f:746b: Le réseau n'est pas accessible"
Essai d'un autre miroir.
updates | 3.4 kB
00:00
smeupdates-testing/primary_db | 1.3 MB
00:00
Loading mirror speeds from cached hostfile
* base: mirror2.evolution-host.com
* smeaddons: mirror.canada.pialasse.com
* smeextras: mirror.canada.pialasse.com
* smeos: mirror.canada.pialasse.com
* smeupdates: mirror.canada.pialasse.com
* smeupdates-testing: mirror.canada.pialasse.com
* updates: mirror.gpmidi.net
Résolution des dépendances
--> Lancement de la transaction de test
---> Le paquet qpsmtpd-plugins.noarch 0:0.0.1-4.el7.sme sera mis à jour
---> Le paquet qpsmtpd-plugins.noarch 0:0.0.1-5.el7.sme sera utilisé
--> Résolution des dépendances terminée

Dépendances résolues

================================================================================
Package Architecture
Version
Dépôt Taille
================================================================================
Mise à jour :
qpsmtpd-plugins noarch 0.0.1-5.el7.sme
smeupdates-testing 18 k

Résumé de la transaction
================================================================================
Mettre à jour 1 Paquet

Taille totale des téléchargements : 18 k
Is this ok [y/d/N]: y
Downloading packages:
qpsmtpd-plugins-0.0.1-5.el7.sme.noarch.rpm | 18 kB
00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Mise à jour :
qpsmtpd-plugins-0.0.1-5.el7.sme.noarch 1/2
Nettoyage :
qpsmtpd-plugins-0.0.1-4.el7.sme.noarch 2/2
Migrating existing database configuration
Migrating existing database accounts
Migrating existing database hosts
Migrating existing database spamassassin
Migrating existing database mailpatterns
Migrating existing database yum_available
Migrating existing database yum_installed
Migrating existing database yum_repositories
Migrating existing database yum_updates
Migrating existing database domains
Migrating existing database networks
Migrating existing database backups
Vérification :
qpsmtpd-plugins-0.0.1-5.el7.sme.noarch 1/2
Vérification :
qpsmtpd-plugins-0.0.1-4.el7.sme.noarch 2/2

Mis à jour :
qpsmtpd-plugins.noarch
0:0.0.1-5.el7.sme

Terminé !


_______________________________________________
Server Development Discussion
To unsubscribe, e-mail devinfo-***@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/devinfo/
Terry Fage
2017-03-16 21:49:24 UTC
Permalink
Post by Michael Doerner - Technologywise
Sorry, do not know a (quick) solution :-(
OK, obviousely it was time to wipe that VM and use a new one..

Worked fine on another VM that had not had multiple verifications
performed on it :-)

Downgrade also worked fine..

On On...for those HHH members :-)


TerryF
_______________________________________________
Server Development Discussion
To unsubscribe, e-mail devinfo-***@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/devinfo/
Jean-Philippe PIALASSE
2017-03-16 22:03:19 UTC
Permalink
Post by Terry Fage
OK, obviousely it was time to wipe that VM and use a new one..
Terry,

I do not know what kind of vm solution you use but I am able with
proxmox and also with phpvirtualbox to make shapshots of the vm. This
way I make a snapshot after install, after full current update, and I am
able to roll back as it were a clean install with only 2 clicks.

JP
_______________________________________________
Server Development Discussion
To unsubscribe, e-mail devinfo-***@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/devinfo/
Loading...