Public bug reported:

I was trying to add the oneiric-proposed pocket to my
/etc/apt/sources.list with add-apt-repository instead of using vi.  I
was using the following command:

sudo apt-add-repository "http://archive.ubuntu.com/ubuntu/ oneiric-
proposed main universe"

and the following line appeared in my sources.list

deb http://archive.ubuntu.com/ubuntu/ oneiric oneiric-proposed main universe
deb-src http://archive.ubuntu.com/ubuntu/ oneiric oneiric-proposed main universe

Notice that oneiric was added before oneiric-proposed.  The
documentation for add-apt-repository indicates that:

<sourceline> - The apt repository source line to add. This is one of:
   a complete apt line in quotes, 

I did provide a complete apt line and it was modified by apt-add-
repository and now I can't run 'apt-get updates'.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-software-properties 0.81.13.1
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: 2e6ecd139611830c78226ad04ff4c093
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Sun Dec  4 16:10:50 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: Upgraded to oneiric on 2011-09-29 (66 days ago)

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900081

Title:
  sources line is modified if a complete apt line is given

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/900081/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to