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

Questions about applications and software
Forum rules
Before you post please read this

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

Postby lahirdenganselamat on Sun Oct 28, 2012 10:38 am

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 lahirdenganselamat on Tue Oct 30, 2012 10:49 am, edited 1 time in total.
ASUS 1215B AMD E-350 with Linux Mint 15 KDE, Precise Puppy, and Saluki
User avatar
lahirdenganselamat
Level 4
Level 4
 
Posts: 437
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

Linux Mint is funded by ads and donations.
 

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

Postby zerozero on Sun Oct 28, 2012 10:55 pm

[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
zerozero
Level 16
Level 16
 
Posts: 6472
Joined: Tue Jul 07, 2009 2:29 pm

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

Postby lahirdenganselamat on Tue Oct 30, 2012 9:47 am

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??
ASUS 1215B AMD E-350 with Linux Mint 15 KDE, Precise Puppy, and Saluki
User avatar
lahirdenganselamat
Level 4
Level 4
 
Posts: 437
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

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

Postby zerozero on Tue Oct 30, 2012 9:59 am

zerozero
Level 16
Level 16
 
Posts: 6472
Joined: Tue Jul 07, 2009 2:29 pm

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

Postby lahirdenganselamat on Tue Oct 30, 2012 10:25 am

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..
ASUS 1215B AMD E-350 with Linux Mint 15 KDE, Precise Puppy, and Saluki
User avatar
lahirdenganselamat
Level 4
Level 4
 
Posts: 437
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

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

Postby zerozero on Tue Oct 30, 2012 10:32 am

:?: 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
zerozero
Level 16
Level 16
 
Posts: 6472
Joined: Tue Jul 07, 2009 2:29 pm

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

Postby lahirdenganselamat on Tue Oct 30, 2012 10:48 am

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 $
ASUS 1215B AMD E-350 with Linux Mint 15 KDE, Precise Puppy, and Saluki
User avatar
lahirdenganselamat
Level 4
Level 4
 
Posts: 437
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 6 guests