[ubuntu-dev] Bug#768193: gdebi-kde: Fails to install package with message "package file does not exist"

Chris Ure cure1245 at gmail.com
Tue Nov 25 00:04:29 UTC 2014


Package: gdebi-kde
Version: 0.9.5.5+nmu1
Followup-For: Bug #768193

Dear Maintainer,

I also get this behavior; however, I notice that this only occurs when ran as a non-root user: gdebi-kde opens and reads the package metadata fine: the error only occurs after reopened via kdesu. The kdesu dialog passes "/usr/bin/gdebi-kde -- -n /home/chris/Downloads/dropbox_1.6.2_amd64.deb"


Console output:

chris at debian-pc:~$ gdebi-kde Downloads/dropbox_1.6.2_amd64.deb 2>&1
kdesu(4872)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ ../../kdesu/process.cpp : 293 ]  Running "/bin/su"
kdesu(4872)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ ../../kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(4872)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ ../../kdesu/process.cpp : 293 ]  Running "/bin/su"
kdesu(4872)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ ../../kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(4872)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ ../../kdesu/process.cpp : 379 ]  Child pid 4890
kdesu(4872)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ ../../kdesu/su.cpp : 259 ]  Read line ""
kdesu(4872)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ ../../kdesu/su.cpp : 259 ]  Read line "kdesu_stub"
kdesu(4872)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ ../../kdesu/process.cpp : 293 ]  Running "/bin/su"
kdesu(4872)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ ../../kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(4872)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ ../../kdesu/process.cpp : 379 ]  Child pid 4907
kdesu(4872)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ ../../kdesu/su.cpp : 259 ]  Read line ""
kdesu(4872)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ ../../kdesu/su.cpp : 259 ]  Read line "kdesu_stub"
chris at debian-pc:~$ echo $?
1

Not sure if this is related or not, but running under pdb doesn't even open the gui window:

chris at debian-pc:~$ python -m pdb /usr/share/gdebi/gdebi-kde
Downloads/dropbox_1.6.2_amd64.deb
> /usr/share/gdebi/gdebi-kde(25)<module>()
-> import sys
(Pdb) cont
Traceback (most recent call last):
  File "/usr/lib/python2.7/pdb.py", line 1314, in main
    pdb._runscript(mainpyfile)
  File "/usr/lib/python2.7/pdb.py", line 1233, in _runscript
    self.run(statement)
  File "/usr/lib/python2.7/bdb.py", line 400, in run
    exec cmd in globals, locals
  File "<string>", line 1, in <module>
  File "/usr/share/gdebi/gdebi-kde", line 25, in <module>
    import sys
TypeError: str() takes at most 1 argument (2 given)
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /usr/share/gdebi/gdebi-kde(25)<module>()
-> import sys
(Pdb) n
Post mortem debugger finished. The /usr/share/gdebi/gdebi-kde will be restarted
> /usr/share/gdebi/gdebi-kde(25)<module>()
-> import sys
(Pdb) n
> /usr/share/gdebi/gdebi-kde(26)<module>()
-> from PyKDE4.kdecore import KCmdLineArgs, KAboutData, KCmdLineOptions, ki18n
(Pdb) n
> /usr/share/gdebi/gdebi-kde(27)<module>()
-> from PyKDE4.kdeui import KApplication, KMessageBox
(Pdb) n
.
.
<snip>
.
.
(Pdb) n
> /usr/share/gdebi/gdebi-kde(60)<module>()
-> programName = ki18n (bytes("GDebi", 'utf-8'))
(Pdb) n
TypeError: 'str() takes at most 1 argument (2 given)'
> /usr/share/gdebi/gdebi-kde(60)<module>()
-> programName = ki18n (bytes("GDebi", 'utf-8'))
(Pdb) n
> /usr/share/gdebi/gdebi-kde(92)<module>()
-> except SystemError as e:
(Pdb) n
--Return--
> /usr/share/gdebi/gdebi-kde(92)<module>()->None
-> except SystemError as e:
(Pdb) n
TypeError: TypeErro...given)',)
> <string>(1)<module>()->None
(Pdb) n
--Return--
> <string>(1)<module>()->None
(Pdb) n
Traceback (most recent call last):
  File "/usr/lib/python2.7/pdb.py", line 1314, in main
    pdb._runscript(mainpyfile)
  File "/usr/lib/python2.7/pdb.py", line 1233, in _runscript
    self.run(statement)
  File "/usr/lib/python2.7/bdb.py", line 400, in run
    exec cmd in globals, locals
  File "<string>", line 1, in <module>
  File "/usr/share/gdebi/gdebi-kde", line 60, in <module>
    programName = ki18n (bytes("GDebi", 'utf-8'))
TypeError: str() takes at most 1 argument (2 given)
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /usr/share/gdebi/gdebi-kde(60)<module>()->None
-> programName = ki18n (bytes("GDebi", 'utf-8'))
(Pdb) exit
Post mortem debugger finished. The /usr/share/gdebi/gdebi-kde will be restarted
> /usr/share/gdebi/gdebi-kde(25)<module>()
-> import sys
(Pdb) exit



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gdebi-kde depends on:
ii  gdebi-core       0.9.5.5+nmu1
ii  kde-runtime      4:4.14.2-1
ii  kdebase-runtime  4:4.14.2-1
ii  kdesudo          3.4.2.4-2
ii  python3-pykde4   4:4.14.0-1
pn  python3:any      <none>

Versions of packages gdebi-kde recommends:
ii  shared-mime-info  1.3-1

gdebi-kde suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/ubuntu-dev-team/attachments/20141124/7e3e1344/attachment.sig>


More information about the ubuntu-dev-team mailing list