Hi everyone, I`m new in linux and I use Linux Mint 12 I tried to install wine with a lot of problems, so I decided to re install and this is what happens Code: osvaldo at atpub:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa [sudo] password for osvaldo: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 65, in <module> if not sp.add_source_from_line(line): File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 630, in add_source_from_line (deb_line, file) = expand_ppa_line(line.strip(), self.distro.codename) File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 47, in expand_ppa_line sourceslistd = apt_pkg.Config.find_dir("Dir::Etc::sourceparts") AttributeError: 'module' object has no attribute 'Config' I don't know what to do
varongitano wrote:> Hi everyone, I`m new in linux and I use Linux Mint 12 > > I tried to install wine with a lot of problems, so I decided to re install > and this is what happens > > > Code: > osvaldo at atpub:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa > [sudo] password for osvaldo: > Traceback (most recent call last): > File "/usr/bin/add-apt-repository", line 65, in <module> > if not sp.add_source_from_line(line): > File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 630, in add_source_from_line > (deb_line, file) = expand_ppa_line(line.strip(), self.distro.codename) > File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 47, in expand_ppa_line > sourceslistd = apt_pkg.Config.find_dir("Dir::Etc::sourceparts") > AttributeError: 'module' object has no attribute 'Config' > > > > > > I don't know what to doAsk your distro. This is a package manager problem.