braneludio
April 30th, 2015, 12:47 PM
Hi guys,
Well as one guy said "I know I shouldn't have done it, but I did it anyway ..." I installed different DE-s on my 14.04.2 Ubuntu including: gnome-shell, kde, xubuntu, mate, cinammon, awesome, i3wm and pantheon. This messed up my unity (mainly kde and pantheon which required gnome3 ppas), so I wanted to get back to unity and had to downgrade a lot of installed stuff using aptitude build-dep ...
So far I've managed to get back almost to square 1 (after 2 months of fun : ) but there are a couple of things left to fix:
1. I can't start Software and Updates
I tried reinstalling but I get:
$ sudo aptitude reinstall update-manager
The following packages will be REINSTALLED:
update-manager
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 9 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
E: Can't find a source to download version '1:0.196.13' of 'update-manager:amd64'
E: Can't find a source to download version '1:0.196.13' of 'update-manager:amd64'
E: Internal error: couldn't generate list of packages to download
I also tried reinstalling python3-apt but I get:
$ sudo aptitude reinstall python3-apt
The following packages will be REINSTALLED:
python3-apt
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 9 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
E: Can't find a source to download version '0.9.3.5+elementary4~ubuntu0.3.1' of 'python3-apt:amd64'
E: Can't find a source to download version '0.9.3.5+elementary4~ubuntu0.3.1' of 'python3-apt:amd64'
E: Internal error: couldn't generate list of packages to download
2. I can't add repositories using add-apt-repository
I get this:
$ sudo add-apt-repository ppa:conky-companions/ppa
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 91, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/n/a
3. my power indicator doesn't refresh
I tried reinstalling but also get
$ sudo aptitude reinstall gnome-power-manager
The following packages will be REINSTALLED:
gnome-power-manager
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 9 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
E: Can't find a source to download version '3.8.2-1ubuntu3~trusty1.1' of 'gnome-power-manager:amd64'
E: Can't find a source to download version '3.8.2-1ubuntu3~trusty1.1' of 'gnome-power-manager:amd64'
E: Internal error: couldn't generate list of packages to download
I dunno if it's all connected - but I sure don't want to do a clean install because of all the stuff I need to redo ... help?
Branko
Well as one guy said "I know I shouldn't have done it, but I did it anyway ..." I installed different DE-s on my 14.04.2 Ubuntu including: gnome-shell, kde, xubuntu, mate, cinammon, awesome, i3wm and pantheon. This messed up my unity (mainly kde and pantheon which required gnome3 ppas), so I wanted to get back to unity and had to downgrade a lot of installed stuff using aptitude build-dep ...
So far I've managed to get back almost to square 1 (after 2 months of fun : ) but there are a couple of things left to fix:
1. I can't start Software and Updates
I tried reinstalling but I get:
$ sudo aptitude reinstall update-manager
The following packages will be REINSTALLED:
update-manager
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 9 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
E: Can't find a source to download version '1:0.196.13' of 'update-manager:amd64'
E: Can't find a source to download version '1:0.196.13' of 'update-manager:amd64'
E: Internal error: couldn't generate list of packages to download
I also tried reinstalling python3-apt but I get:
$ sudo aptitude reinstall python3-apt
The following packages will be REINSTALLED:
python3-apt
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 9 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
E: Can't find a source to download version '0.9.3.5+elementary4~ubuntu0.3.1' of 'python3-apt:amd64'
E: Can't find a source to download version '0.9.3.5+elementary4~ubuntu0.3.1' of 'python3-apt:amd64'
E: Internal error: couldn't generate list of packages to download
2. I can't add repositories using add-apt-repository
I get this:
$ sudo add-apt-repository ppa:conky-companions/ppa
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 91, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/n/a
3. my power indicator doesn't refresh
I tried reinstalling but also get
$ sudo aptitude reinstall gnome-power-manager
The following packages will be REINSTALLED:
gnome-power-manager
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 9 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
E: Can't find a source to download version '3.8.2-1ubuntu3~trusty1.1' of 'gnome-power-manager:amd64'
E: Can't find a source to download version '3.8.2-1ubuntu3~trusty1.1' of 'gnome-power-manager:amd64'
E: Internal error: couldn't generate list of packages to download
I dunno if it's all connected - but I sure don't want to do a clean install because of all the stuff I need to redo ... help?
Branko