Craig White | 4 Oct 2005 05:09

smart .39 issues

Should be self-explanatory... Something isn't working

[root <at> lin-workstation ~]# smart channel --show
[rpm-db]
type = rpm-sys
name = RPM Database on this system
priority = 10

[rpmforge]
type = rpm-md
name = Extra packages from RPMforge.net for Fedora Core 3 - i386 - dag
baseurl = http://apt.sw.be/fedora/3/en/i386/dag/

[os]
type = rpm-md
name = OS packages from Red Hat for Fedora Core 3 - i386
priority = 10
baseurl = http://ayo.freshrpms.net/fedora/linux/3/i386/core

[updates]
type = rpm-md
name = Updated packages from Red Hat for Fedora Core 3 - i386
priority = 10
baseurl = http://ayo.freshrpms.net/fedora/linux/3/i386/updates

[root <at> lin-workstation ~]# smart --version
smart 0.39
[root <at> lin-workstation ~]# smart upgrade
Loading cache...
Updating cache...
############################################################################# [100%]

Computing transaction...

Upgrading packages (29):
  cups                              mozilla-mail
xorg-x11                          xorg-x11-tools
  cups-devel                        mozilla-nspr
xorg-x11-Mesa-libGL               xorg-x11-twm
  cups-libs                         mozilla-nss
xorg-x11-Mesa-libGLU              xorg-x11-xauth
  firefox                           openmotif
xorg-x11-deprecated-libs          xorg-x11-xdm
  gtk2                              openmotif-devel
xorg-x11-deprecated-libs-devel    xorg-x11-xfs
  gtk2-devel                        rp-pppoe
xorg-x11-devel
  kernel                            system-config-bind
xorg-x11-font-utils
  mozilla                           termcap
xorg-x11-libs

78.2MB of package files are needed. 49.5MB will be used.

Confirm changes? (Y/n): y

Committing transaction...
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line
252, in _rpmoutthread
    self._rpmout(True)
  File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line
262, in _rpmout
    output = self.rpmout.read(BLOCKSIZE)
  File "/usr/lib/python2.3/site-packages/smart/util/protectedread.py",
line 27, in protectedread
    if self.charbuffer:
  File "/usr/lib/python2.3/codecs.py", line 343, in __getattr__
    return getattr(self.stream, name)
AttributeError: 'file' object has no attribute 'charbuffer'
Traceback (most recent call last):
  File "/usr/bin/smart", line 193, in ?
    main(sys.argv[1:])
  File "/usr/bin/smart", line 166, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.3/site-packages/smart/interface.py", line 53,
in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.3/site-packages/smart/commands/upgrade.py",
line 182, in main
    ctrl.commitTransaction(trans, confirm=confirm)
  File "/usr/lib/python2.3/site-packages/smart/control.py", line 464, in
commitTransaction
    return self.commitChangeSet(trans.getChangeSet(), caching, confirm)
  File "/usr/lib/python2.3/site-packages/smart/control.py", line 518, in
commitChangeSet
    pmclass().commit(pmcs, pkgpaths)
  File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line
192, in commit
    cb.grabOutput(False)
  File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line
246, in grabOutput
    self.rpmoutlock.release()
thread.error: release unlocked lock

--

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Gmane