Page 1 of 1
[solved]LMDE-KDE: synaptic's software-properties?
Posted: Sun Oct 28, 2012 10:38 am
by lahirdenganselamat
zerozero wrote:ok, that's good
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"
Re: LMDE-KDE: synaptic's software-properties?
Posted: Sun Oct 28, 2012 10:55 pm
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)
Re: LMDE-KDE: synaptic's software-properties?
Posted: Tue Oct 30, 2012 9:47 am
by lahirdenganselamat
thanks zerozero, the post subject also great
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??
Re: LMDE-KDE: synaptic's software-properties?
Posted: Tue Oct 30, 2012 9:59 am
by zerozero
Re: LMDE-KDE: synaptic's software-properties?
Posted: Tue Oct 30, 2012 10:25 am
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
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..
Re: LMDE-KDE: synaptic's software-properties?
Posted: Tue Oct 30, 2012 10:32 am
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
Re: LMDE-KDE: synaptic's software-properties?
Posted: Tue Oct 30, 2012 10:48 am
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..
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 $