Intrepied update-manager not offering option to upgrade to jaunty
NoOp
glgxg at sbcglobal.net
Mon May 4 23:22:42 UTC 2009
On 05/04/2009 03:46 PM, drew einhorn wrote:
> But if I dig a little deeper I see the following
>
> gksu --desktop /usr/share/applications/software-properties.desktop
> /usr/bin/software-properties-gtk
> /usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API
> not stable yet
> warnings.warn("apt API not stable yet", FutureWarning)
> Traceback (most recent call last):
> File "/usr/bin/software-properties-gtk", line 101, in <module>
> app = SoftwarePropertiesGtk(datadir=data_dir, options=options,
> file=file)
> File
> "/usr/lib/python2.5/site-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py",
> line 75, in __init__
> SoftwareProperties.__init__(self, options=options, datadir=datadir)
> File
> "/usr/lib/python2.5/site-packages/softwareproperties/SoftwareProperties.py",
> line 78, in __init__
> self.reload_sourceslist()
> File
> "/usr/lib/python2.5/site-packages/softwareproperties/SoftwareProperties.py",
> line 516, in reload_sourceslist
> self.distro.get_sources(self.sourceslist)
> File "/usr/lib/python2.5/site-packages/aptsources/distro.py", line 85, in
> get_sources
>
> sudo update-manager -c
>
> runs but does not offer the upgrade.
> "Error: could not find a distribution template")
Ah. That last leads to a few similar bug reports:
<http://www.google.com/search?complete=0&hl=en&q=ubuntu+%2B"Error%3A+could+not+find+a+distribution+template&btnG=Google+Search>
You might check /usr/share/python-apt/templates/Ubuntu.info
This is what I have on this hardy system (I'm too lazy to boot the
intrepid system just now :-). Your results should be similar, just
replacing hardy info for intrepid.
$ cat /usr/share/python-apt/templates/Ubuntu.info
ChangelogURI:
http://changelogs.ubuntu.com/changelogs/pool/%s/%s/%s/%s_%s/changelog
Suite: hardy
RepositoryType: deb
BaseURI: http://archive.ubuntu.com/ubuntu/
MatchURI: archive.ubuntu.com/ubuntu
BaseURI-powerpc: http://ports.ubuntu.com/
MatchURI-powerpc: ports.ubuntu.com|archive.ubuntu.com
MirrorsFile-amd64: /usr/share/python-apt/templates/Ubuntu.mirrors
MirrorsFile-i386: /usr/share/python-apt/templates/Ubuntu.mirrors
Description: Ubuntu 8.04 'Hardy Heron'
Component: main
CompDescription: Officially supported
CompDescriptionLong: Canonical-supported Open Source software
Component: universe
CompDescription: Community-maintained
CompDescriptionLong: Community-maintained Open Source software
Component: restricted
CompDescription: Non-free drivers
CompDescriptionLong: Proprietary drivers for devices
Component: multiverse
CompDescription: Restricted software
CompDescriptionLong: Software restricted by copyright or legal issues
Suite: hardy
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*8.04
Description: Cdrom with Ubuntu 8.04 'Hardy Heron'
Available: False
Component: main
CompDescription: Officially supported
Component: restricted
CompDescription: Restricted copyright
Suite: hardy-security
ParentSuite: hardy
RepositoryType: deb
BaseURI: http://security.ubuntu.com/ubuntu/
MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
BaseURI-powerpc: http://ports.ubuntu.com/
MatchURI-powerpc: ports.ubuntu.com/ubuntu
Description: Important security updates
Suite: hardy-updates
ParentSuite: hardy
RepositoryType: deb
Description: Recommended updates
Suite: hardy-proposed
ParentSuite: hardy
RepositoryType: deb
Description: Pre-released updates
Suite: hardy-backports
ParentSuite: hardy
RepositoryType: deb
Description: Unsupported updates
More information about the ubuntu-users
mailing list