I've been having an odd problem recently with smart. When trying to run
smart update it's been failing like so:
Code:
linux:/var/lib/smart/channels # smart upgrade Loading cache...
Updating cache...************** ######################################## [100%]
Computing transaction...
Upgrading packages (23):
**ImageMagick************** ethereal******************libtunepimp-mp4
**ImageMagick-Magick++******k3b********************** liferea
**MPlayer****************** kbarcode******************mono-core
**amarok********************kino**********************mono-data
**amarok-helix-backend******libffmpeg0****************mono-data-sqlite
**amarok-xine************** libmp4v2******************mono-web
**avahi******************** libtunepimp************** x264
**csound********************libtunepimp-mad
Installing packages (2):
**amarok-helix** twolame
64.6MB of package files are needed. 1.6MB will be freed.
Confirm changes? (Y/n): y
Committing transaction...
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID f9558872
Trying to import the key bfb4e362f9558872 from pgp.mit.edu...
gpg: requesting key F9558872 from hkp server pgp.mit.edu
gpg: key F9558872: "Marcus Huewe (RPM signing key) <marcus@links2linux.de>" not changed
gpg: Total number processed: 1
gpg:**************unchanged: 1
Traceback (most recent call last):
**File "/usr/bin/smart", line 194, in ?
****main(sys.argv[1:])
**File "/usr/bin/smart", line 167, in main
****exitcode = iface.run(opts.command, opts.argv)
**File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run
****result = _command.main(self._ctrl, opts)
**File "/usr/lib/python2.4/site-packages/smart/commands/upgrade.py", line 182, in main
****ctrl.commitTransaction(trans, confirm=confirm)
**File "/usr/lib/python2.4/site-packages/smart/control.py", line 464, in commitTransaction
****return self.commitChangeSet(trans.getChangeSet(), caching, confirm)
**File "/usr/lib/python2.4/site-packages/smart/control.py", line 518, in commitChangeSet
****pmclass().commit(pmcs, pkgpaths)
**File "/usr/lib/python2.4/site-packages/smart/backends/rpm/pm.py", line 202, in commit
****if iface.askYesNo(popen_out, False):
**File "/usr/lib/python2.4/site-packages/smart/interfaces/text/interface.py", line 65, in askYesNo
****res = raw_input(mask % question).strip().lower()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 429: ordinal not in range(128)
I turned off the key check with
smart config --set rpm-check-signatures=false and it updated without a problem, so something with the key check is failing. I'm not sure what yet (maybe a corrupt key on the pgp server at MIT?). Anyone else ran into this?
FYI, I'm using the Guru smart packages and I've deleted everything from /var/lib/smart/channels/* as well as done a
smart clean as well.