Ubuntu Forums Archive Viewer

In case you can't open software sources

Archived thread 1595893 from Natty Narwhal Testing and Discussion (CLOSED). Markdown source: Natty_Narwhal_Testing_and_Discussion_(CLOSED)/thread_1595893_In_case_you_can't_open_software_sources.md

Original URL About this archive
#1
sudo vim /usr/share/python-apt/templates/Ubuntu.info

and add the following before the line "Suite: maverick"

Suite: natty

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 BaseURI-lpia: http://ports.ubuntu.com/ MatchURI-lpia: 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 11.04 'Natty Narwhal' 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: natty MatchName: .* BaseURI: cdrom:\[Ubuntu.*11.04 MatchURI: cdrom:\[Ubuntu.*11.04 Description: Cdrom with Ubuntu 11.04 'Natty Narwhal' Available: False Component: main CompDescription: Officially supported Component: restricted CompDescription: Restricted copyright

Suite: natty Official: false RepositoryType: deb BaseURI: http://archive.canonical.com MatchURI: archive.canonical.com Description: Canonical Partners Component: partner CompDescription: Software packaged by Canonical for their partners CompDescriptionLong: This software is not part of Ubuntu.

Suite: natty Official: false RepositoryType: deb BaseURI: http://extras.ubuntu.com MatchURI: extras.ubuntu.com Description: Independent Component: main CompDescription: Provided by third-party software developers CompDescriptionLong: Software offered by third party developers.

Suite: natty-security ParentSuite: natty 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 BaseURI-lpia: http://ports.ubuntu.com/ MatchURI-lpia: ports.ubuntu.com/ubuntu Description: Important security updates

Suite: natty-updates ParentSuite: natty RepositoryType: deb Description: Recommended updates

Suite: natty-proposed ParentSuite: natty RepositoryType: deb Description: Pre-released updates

Suite: natty-backports ParentSuite: natty RepositoryType: deb Description: Unsupported updates

#2

Thanks for the tip!

#3

Was hoping that would be fixed for Natty.

#4

Slug71 said: Was hoping that would be fixed for Natty.

apparently not.:P

#5

It's saying ''vim: command not found''

:(

#6

andymorton said: It's saying ''vim: command not found''

:(

:(..maybe you ought to substitute vim with gedit... try it..:)

#7

Or even nano. :)

#8

Vanishing said: :(..maybe you ought to substitute vim with gedit...

try it..:)

Thanks!

#9

@Vanishing

Thanks!

cariboo907 said: Or even nano. :)

+1 for nano. Not because I like it, but it's installed by default.

#10

Or you could go to Synaptic and try to get in from there. I haven't had trouble with either so it may well be that neither will work.

#11

ranch hand said: Or you could go to Synaptic and try to get in from there. I haven't had trouble with either so it may well be that neither will work.

So they fixed it? :popcorn:

#12

Or simply %s/maverick/natty/g in vim.

#13

xebian said: Or simply %s/maverick/natty/g in vim.

unless you want to wipe the maverick branch out in that file..:P

#14

“if” instead of “unless”. Lest people do inadvertently search & replace all mavericks with natties.

#15

Vanishing said:

sudo vim /usr/share/python-apt/templates/Ubuntu.info

and add the following before the line "Suite: maverick"Is it my age or my endogenous level of intelligence, but I forget on this little change every time new testing starts! Thank You...
The only excuse is a withdrawal anxiety I feel several weeks before a release is released... :)
#16

11.4 -> 11.04 ;)

#17

This is fixed now with this update: “python-apt” 0.7.98.1ubuntu1 source package in The Natty Narwhal It is at the moment "NEW". But of course you may download the files from launchpad and use dpkg.

#18

MacUntu said: 11.4 -> 11.04 ;)

right...:popcorn: please pardon my poor math skills.:(

#19

Vanishing said:

please pardon my poor math skills.:(

If it's any comfort to you, you are not alone: http://www.google.com/search?q=%22Ubuntu+10.4%22 :P

#20

Thanks for this thread ! :)

#21

Harry33 said: This is fixed now with this update:

“python-apt” 0.7.98.1ubuntu1 source package in The Natty Narwhal It is at the moment "NEW". But of course you may download the files from launchpad and use dpkg.

And if you do choose this manual installation method, note that package python-apt now depends on python-apt-common too. Here: https://launchpad.net/ubuntu/natty/+source/python-apt/0.7.98.1ubuntu1