[solved]LMDE-KDE: synaptic's software-properties?

Archived topics about LMDE 1 and LMDE 2
Locked
User avatar
lahirdenganselamat
Level 4
Level 4
Posts: 420
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

[solved]LMDE-KDE: synaptic's software-properties?

Post by lahirdenganselamat »

zerozero wrote:ok, that's good :D for a minute a though that you were using lmde.
zz, is that mean LMDE user cannot use software-properties-gtk/kde ?? one great feature of that package is the ability to search the fastest official repo (well, its handy for a newbie) and I cannot find more simple way to do that..

Code: Select all

aragorn@aragorn-1215b ~ $ sudo software-properties-gtk
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 104, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 85, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 96, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 584, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template
aragorn@aragorn-1215b ~ $ kdesudo software-properties-kde 
Traceback (most recent call last):
  File "/usr/bin/software-properties-kde", line 127, in <module>
    app = SoftwarePropertiesKDE(datadir=data_dir, options=options, file=file, attachWinID=attachWinID)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 67, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 96, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 584, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template
aragorn@aragorn-1215b ~ $ inxi -S
System:    Host: aragorn-1215b Kernel: 3.2.0-3-amd64 x86_64 (64 bit) Desktop: KDE 4.8.4 Distro: Linux Mint Debian Edition
I'm using Schoelje's LMDE KDE up4 and tracking debian testing repo
sudo nano /etc/lsb-release showing:
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=1
DISTRIB_CODENAME=debian
DISTRIB_DESCRIPTION="Linux Mint Debian Edition"
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
zerozero

Re: LMDE-KDE: synaptic's software-properties?

Post by zerozero »

[guess it's better to give this a topic on its own]
aragorn,
check if you have all the deps installed http://packages.debian.org/wheezy/softw ... erties-kde
specially:

Code: Select all

Commit Log for Tue Jul 31 16:06:39 2012


Installed the following packages:
libqapt-runtime (1.3.0-2)
libqapt1 (1.3.0-2)
qapt-batch (1.3.0-2)
software-properties-kde (0.82.7.1debian1)
Image
User avatar
lahirdenganselamat
Level 4
Level 4
Posts: 420
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

Re: LMDE-KDE: synaptic's software-properties?

Post by lahirdenganselamat »

thanks zerozero, the post subject also great :D hehe..

So, I've check on synaptic, and the dependency is installed:

Code: Select all

python 
python-kde4
python-qt4
python-software-properties
python2.7
qapt-batch
I try to reinstall that packages. but software-properties-kde still wont run (why it runs on yours???? aghhh.. I envy you).. well, it's displaying the password dialog

Code: Select all

aragorn@aragorn-1215b ~ $ kdesudo software-properties-kde 
Traceback (most recent call last):
  File "/usr/bin/software-properties-kde", line 127, in <module>
    app = SoftwarePropertiesKDE(datadir=data_dir, options=options, file=file, attachWinID=attachWinID)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 67, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 96, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 584, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template                                                                                                      
aragorn@aragorn-1215b ~ $      
my search about "could not find a distribution template" always lead me to lsb-release, and I don't think that's the problem... any other suggestion??
zerozero

Re: LMDE-KDE: synaptic's software-properties?

Post by zerozero »

aragorn, do you have mintupdate installed?
check this topic >> http://forums.linuxmint.com/viewtopic.php?f=47&t=114982 and this http://forums.linuxmint.com/viewtopic.php?f=47&t=91476
User avatar
lahirdenganselamat
Level 4
Level 4
Posts: 420
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

Re: LMDE-KDE: synaptic's software-properties?

Post by lahirdenganselamat »

zz, i removed mintupdate-debian because i think its useless for testing user like me.. IMO, it works best on UP repo, not testing repo.. well, if that package is the key to solved this problem, so I'd mark this post as solved then (but i wont install mint update :D hehe.. the dependency have a script to edit sources.list and I dont like it)

on the 2nd post, i notice that on my /usr/share/python-apt/templates/ , there's no mint.info, its only debian and ubuntu..
zerozero

Re: LMDE-KDE: synaptic's software-properties?

Post by zerozero »

:?: maybe

Code: Select all

zerozero@deb-kde /usr/share/python-apt/templates $ ls
Debian.info     gNewSense.info     LinuxMint.info     Ubuntu.info
Debian.mirrors  gNewSense.mirrors  LinuxMint.mirrors  Ubuntu.mirrors
LinuxMint.info
User avatar
lahirdenganselamat
Level 4
Level 4
Posts: 420
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

Re: LMDE-KDE: synaptic's software-properties?

Post by lahirdenganselamat »

haha.. get it.. it caused by that 2 files (mint info and mint mirror).. I get the mint info from you and the mint mirror from my katya partition.. hehe.. :D it works now.. thanks zerozero (btw, why don't you show up on IRC??)

Code: Select all

aragorn@aragorn-1215b /usr/share/python-apt/templates $ kdesudo software-properties-kde 
gpg: /tmp/tmpRCoDil/trustdb.gpg: trustdb created
aragorn@aragorn-1215b /usr/share/python-apt/templates $ 
Locked

Return to “LMDE Archive”